Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
This commit is contained in:
commit
38be0d1383
14
INSTALL
Normal file
14
INSTALL
Normal file
@ -0,0 +1,14 @@
|
||||
INSTALLING Qt Source Package Version %VERSION%.
|
||||
|
||||
For full installation instructions for each supported platform, please
|
||||
see http://qt.nokia.com/doc/%SHORTVERSION%/installation.html, the file
|
||||
doc/html/installation.html in this package, or follow one of the following
|
||||
links:
|
||||
|
||||
Embedded Linux: http://qt.nokia.com/doc/%SHORTVERSION%/qt-embedded-install.html
|
||||
Mac OS X: http://qt.nokia.com/doc/%SHORTVERSION%/install-mac.html
|
||||
Windows: http://qt.nokia.com/doc/%SHORTVERSION%/install-win.html
|
||||
Windows CE: http://qt.nokia.com/doc/%SHORTVERSION%/install-wince.html
|
||||
X11 Platforms: http://qt.nokia.com/doc/%SHORTVERSION%/install-x11.html
|
||||
Symbian Platform: http://qt.nokia.com/doc/%SHORTVERSION%/install-symbian.html
|
||||
|
22
LGPL_EXCEPTION.txt
Normal file
22
LGPL_EXCEPTION.txt
Normal file
@ -0,0 +1,22 @@
|
||||
Nokia Qt LGPL Exception version 1.1
|
||||
|
||||
As an additional permission to the GNU Lesser General Public License version
|
||||
2.1, the object code form of a "work that uses the Library" may incorporate
|
||||
material from a header file that is part of the Library. You may distribute
|
||||
such object code under terms of your choice, provided that:
|
||||
(i) the header files of the Library have not been modified; and
|
||||
(ii) the incorporated material is limited to numerical parameters, data
|
||||
structure layouts, accessors, macros, inline functions and
|
||||
templates; and
|
||||
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
||||
Public License version 2.1.
|
||||
|
||||
Moreover, you may apply this exception to a modified version of the Library,
|
||||
provided that such modification does not involve copying material from the
|
||||
Library into the modified Library's header files unless such material is
|
||||
limited to (i) numerical parameters; (ii) data structure layouts;
|
||||
(iii) accessors; and (iv) small macros, templates and inline functions of
|
||||
five lines or less in length.
|
||||
|
||||
Furthermore, you are not required to apply this additional permission to a
|
||||
modified version of the Library.
|
450
LICENSE.FDL
Normal file
450
LICENSE.FDL
Normal file
@ -0,0 +1,450 @@
|
||||
GNU Free Documentation License
|
||||
Version 1.3, 3 November 2008
|
||||
|
||||
|
||||
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
||||
<http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
0. PREAMBLE
|
||||
|
||||
The purpose of this License is to make a manual, textbook, or other
|
||||
functional and useful document "free" in the sense of freedom: to
|
||||
assure everyone the effective freedom to copy and redistribute it,
|
||||
with or without modifying it, either commercially or noncommercially.
|
||||
Secondarily, this License preserves for the author and publisher a way
|
||||
to get credit for their work, while not being considered responsible
|
||||
for modifications made by others.
|
||||
|
||||
This License is a kind of "copyleft", which means that derivative
|
||||
works of the document must themselves be free in the same sense. It
|
||||
complements the GNU General Public License, which is a copyleft
|
||||
license designed for free software.
|
||||
|
||||
We have designed this License in order to use it for manuals for free
|
||||
software, because free software needs free documentation: a free
|
||||
program should come with manuals providing the same freedoms that the
|
||||
software does. But this License is not limited to software manuals;
|
||||
it can be used for any textual work, regardless of subject matter or
|
||||
whether it is published as a printed book. We recommend this License
|
||||
principally for works whose purpose is instruction or reference.
|
||||
|
||||
|
||||
1. APPLICABILITY AND DEFINITIONS
|
||||
|
||||
This License applies to any manual or other work, in any medium, that
|
||||
contains a notice placed by the copyright holder saying it can be
|
||||
distributed under the terms of this License. Such a notice grants a
|
||||
world-wide, royalty-free license, unlimited in duration, to use that
|
||||
work under the conditions stated herein. The "Document", below,
|
||||
refers to any such manual or work. Any member of the public is a
|
||||
licensee, and is addressed as "you". You accept the license if you
|
||||
copy, modify or distribute the work in a way requiring permission
|
||||
under copyright law.
|
||||
|
||||
A "Modified Version" of the Document means any work containing the
|
||||
Document or a portion of it, either copied verbatim, or with
|
||||
modifications and/or translated into another language.
|
||||
|
||||
A "Secondary Section" is a named appendix or a front-matter section of
|
||||
the Document that deals exclusively with the relationship of the
|
||||
publishers or authors of the Document to the Document's overall
|
||||
subject (or to related matters) and contains nothing that could fall
|
||||
directly within that overall subject. (Thus, if the Document is in
|
||||
part a textbook of mathematics, a Secondary Section may not explain
|
||||
any mathematics.) The relationship could be a matter of historical
|
||||
connection with the subject or with related matters, or of legal,
|
||||
commercial, philosophical, ethical or political position regarding
|
||||
them.
|
||||
|
||||
The "Invariant Sections" are certain Secondary Sections whose titles
|
||||
are designated, as being those of Invariant Sections, in the notice
|
||||
that says that the Document is released under this License. If a
|
||||
section does not fit the above definition of Secondary then it is not
|
||||
allowed to be designated as Invariant. The Document may contain zero
|
||||
Invariant Sections. If the Document does not identify any Invariant
|
||||
Sections then there are none.
|
||||
|
||||
The "Cover Texts" are certain short passages of text that are listed,
|
||||
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
|
||||
the Document is released under this License. A Front-Cover Text may
|
||||
be at most 5 words, and a Back-Cover Text may be at most 25 words.
|
||||
|
||||
A "Transparent" copy of the Document means a machine-readable copy,
|
||||
represented in a format whose specification is available to the
|
||||
general public, that is suitable for revising the document
|
||||
straightforwardly with generic text editors or (for images composed of
|
||||
pixels) generic paint programs or (for drawings) some widely available
|
||||
drawing editor, and that is suitable for input to text formatters or
|
||||
for automatic translation to a variety of formats suitable for input
|
||||
to text formatters. A copy made in an otherwise Transparent file
|
||||
format whose markup, or absence of markup, has been arranged to thwart
|
||||
or discourage subsequent modification by readers is not Transparent.
|
||||
An image format is not Transparent if used for any substantial amount
|
||||
of text. A copy that is not "Transparent" is called "Opaque".
|
||||
|
||||
Examples of suitable formats for Transparent copies include plain
|
||||
ASCII without markup, Texinfo input format, LaTeX input format, SGML
|
||||
or XML using a publicly available DTD, and standard-conforming simple
|
||||
HTML, PostScript or PDF designed for human modification. Examples of
|
||||
transparent image formats include PNG, XCF and JPG. Opaque formats
|
||||
include proprietary formats that can be read and edited only by
|
||||
proprietary word processors, SGML or XML for which the DTD and/or
|
||||
processing tools are not generally available, and the
|
||||
machine-generated HTML, PostScript or PDF produced by some word
|
||||
processors for output purposes only.
|
||||
|
||||
The "Title Page" means, for a printed book, the title page itself,
|
||||
plus such following pages as are needed to hold, legibly, the material
|
||||
this License requires to appear in the title page. For works in
|
||||
formats which do not have any title page as such, "Title Page" means
|
||||
the text near the most prominent appearance of the work's title,
|
||||
preceding the beginning of the body of the text.
|
||||
|
||||
The "publisher" means any person or entity that distributes copies of
|
||||
the Document to the public.
|
||||
|
||||
A section "Entitled XYZ" means a named subunit of the Document whose
|
||||
title either is precisely XYZ or contains XYZ in parentheses following
|
||||
text that translates XYZ in another language. (Here XYZ stands for a
|
||||
specific section name mentioned below, such as "Acknowledgements",
|
||||
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
|
||||
of such a section when you modify the Document means that it remains a
|
||||
section "Entitled XYZ" according to this definition.
|
||||
|
||||
The Document may include Warranty Disclaimers next to the notice which
|
||||
states that this License applies to the Document. These Warranty
|
||||
Disclaimers are considered to be included by reference in this
|
||||
License, but only as regards disclaiming warranties: any other
|
||||
implication that these Warranty Disclaimers may have is void and has
|
||||
no effect on the meaning of this License.
|
||||
|
||||
2. VERBATIM COPYING
|
||||
|
||||
You may copy and distribute the Document in any medium, either
|
||||
commercially or noncommercially, provided that this License, the
|
||||
copyright notices, and the license notice saying this License applies
|
||||
to the Document are reproduced in all copies, and that you add no
|
||||
other conditions whatsoever to those of this License. You may not use
|
||||
technical measures to obstruct or control the reading or further
|
||||
copying of the copies you make or distribute. However, you may accept
|
||||
compensation in exchange for copies. If you distribute a large enough
|
||||
number of copies you must also follow the conditions in section 3.
|
||||
|
||||
You may also lend copies, under the same conditions stated above, and
|
||||
you may publicly display copies.
|
||||
|
||||
|
||||
3. COPYING IN QUANTITY
|
||||
|
||||
If you publish printed copies (or copies in media that commonly have
|
||||
printed covers) of the Document, numbering more than 100, and the
|
||||
Document's license notice requires Cover Texts, you must enclose the
|
||||
copies in covers that carry, clearly and legibly, all these Cover
|
||||
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
|
||||
the back cover. Both covers must also clearly and legibly identify
|
||||
you as the publisher of these copies. The front cover must present
|
||||
the full title with all words of the title equally prominent and
|
||||
visible. You may add other material on the covers in addition.
|
||||
Copying with changes limited to the covers, as long as they preserve
|
||||
the title of the Document and satisfy these conditions, can be treated
|
||||
as verbatim copying in other respects.
|
||||
|
||||
If the required texts for either cover are too voluminous to fit
|
||||
legibly, you should put the first ones listed (as many as fit
|
||||
reasonably) on the actual cover, and continue the rest onto adjacent
|
||||
pages.
|
||||
|
||||
If you publish or distribute Opaque copies of the Document numbering
|
||||
more than 100, you must either include a machine-readable Transparent
|
||||
copy along with each Opaque copy, or state in or with each Opaque copy
|
||||
a computer-network location from which the general network-using
|
||||
public has access to download using public-standard network protocols
|
||||
a complete Transparent copy of the Document, free of added material.
|
||||
If you use the latter option, you must take reasonably prudent steps,
|
||||
when you begin distribution of Opaque copies in quantity, to ensure
|
||||
that this Transparent copy will remain thus accessible at the stated
|
||||
location until at least one year after the last time you distribute an
|
||||
Opaque copy (directly or through your agents or retailers) of that
|
||||
edition to the public.
|
||||
|
||||
It is requested, but not required, that you contact the authors of the
|
||||
Document well before redistributing any large number of copies, to
|
||||
give them a chance to provide you with an updated version of the
|
||||
Document.
|
||||
|
||||
|
||||
4. MODIFICATIONS
|
||||
|
||||
You may copy and distribute a Modified Version of the Document under
|
||||
the conditions of sections 2 and 3 above, provided that you release
|
||||
the Modified Version under precisely this License, with the Modified
|
||||
Version filling the role of the Document, thus licensing distribution
|
||||
and modification of the Modified Version to whoever possesses a copy
|
||||
of it. In addition, you must do these things in the Modified Version:
|
||||
|
||||
A. Use in the Title Page (and on the covers, if any) a title distinct
|
||||
from that of the Document, and from those of previous versions
|
||||
(which should, if there were any, be listed in the History section
|
||||
of the Document). You may use the same title as a previous version
|
||||
if the original publisher of that version gives permission.
|
||||
B. List on the Title Page, as authors, one or more persons or entities
|
||||
responsible for authorship of the modifications in the Modified
|
||||
Version, together with at least five of the principal authors of the
|
||||
Document (all of its principal authors, if it has fewer than five),
|
||||
unless they release you from this requirement.
|
||||
C. State on the Title page the name of the publisher of the
|
||||
Modified Version, as the publisher.
|
||||
D. Preserve all the copyright notices of the Document.
|
||||
E. Add an appropriate copyright notice for your modifications
|
||||
adjacent to the other copyright notices.
|
||||
F. Include, immediately after the copyright notices, a license notice
|
||||
giving the public permission to use the Modified Version under the
|
||||
terms of this License, in the form shown in the Addendum below.
|
||||
G. Preserve in that license notice the full lists of Invariant Sections
|
||||
and required Cover Texts given in the Document's license notice.
|
||||
H. Include an unaltered copy of this License.
|
||||
I. Preserve the section Entitled "History", Preserve its Title, and add
|
||||
to it an item stating at least the title, year, new authors, and
|
||||
publisher of the Modified Version as given on the Title Page. If
|
||||
there is no section Entitled "History" in the Document, create one
|
||||
stating the title, year, authors, and publisher of the Document as
|
||||
given on its Title Page, then add an item describing the Modified
|
||||
Version as stated in the previous sentence.
|
||||
J. Preserve the network location, if any, given in the Document for
|
||||
public access to a Transparent copy of the Document, and likewise
|
||||
the network locations given in the Document for previous versions
|
||||
it was based on. These may be placed in the "History" section.
|
||||
You may omit a network location for a work that was published at
|
||||
least four years before the Document itself, or if the original
|
||||
publisher of the version it refers to gives permission.
|
||||
K. For any section Entitled "Acknowledgements" or "Dedications",
|
||||
Preserve the Title of the section, and preserve in the section all
|
||||
the substance and tone of each of the contributor acknowledgements
|
||||
and/or dedications given therein.
|
||||
L. Preserve all the Invariant Sections of the Document,
|
||||
unaltered in their text and in their titles. Section numbers
|
||||
or the equivalent are not considered part of the section titles.
|
||||
M. Delete any section Entitled "Endorsements". Such a section
|
||||
may not be included in the Modified Version.
|
||||
N. Do not retitle any existing section to be Entitled "Endorsements"
|
||||
or to conflict in title with any Invariant Section.
|
||||
O. Preserve any Warranty Disclaimers.
|
||||
|
||||
If the Modified Version includes new front-matter sections or
|
||||
appendices that qualify as Secondary Sections and contain no material
|
||||
copied from the Document, you may at your option designate some or all
|
||||
of these sections as invariant. To do this, add their titles to the
|
||||
list of Invariant Sections in the Modified Version's license notice.
|
||||
These titles must be distinct from any other section titles.
|
||||
|
||||
You may add a section Entitled "Endorsements", provided it contains
|
||||
nothing but endorsements of your Modified Version by various
|
||||
parties--for example, statements of peer review or that the text has
|
||||
been approved by an organization as the authoritative definition of a
|
||||
standard.
|
||||
|
||||
You may add a passage of up to five words as a Front-Cover Text, and a
|
||||
passage of up to 25 words as a Back-Cover Text, to the end of the list
|
||||
of Cover Texts in the Modified Version. Only one passage of
|
||||
Front-Cover Text and one of Back-Cover Text may be added by (or
|
||||
through arrangements made by) any one entity. If the Document already
|
||||
includes a cover text for the same cover, previously added by you or
|
||||
by arrangement made by the same entity you are acting on behalf of,
|
||||
you may not add another; but you may replace the old one, on explicit
|
||||
permission from the previous publisher that added the old one.
|
||||
|
||||
The author(s) and publisher(s) of the Document do not by this License
|
||||
give permission to use their names for publicity for or to assert or
|
||||
imply endorsement of any Modified Version.
|
||||
|
||||
|
||||
5. COMBINING DOCUMENTS
|
||||
|
||||
You may combine the Document with other documents released under this
|
||||
License, under the terms defined in section 4 above for modified
|
||||
versions, provided that you include in the combination all of the
|
||||
Invariant Sections of all of the original documents, unmodified, and
|
||||
list them all as Invariant Sections of your combined work in its
|
||||
license notice, and that you preserve all their Warranty Disclaimers.
|
||||
|
||||
The combined work need only contain one copy of this License, and
|
||||
multiple identical Invariant Sections may be replaced with a single
|
||||
copy. If there are multiple Invariant Sections with the same name but
|
||||
different contents, make the title of each such section unique by
|
||||
adding at the end of it, in parentheses, the name of the original
|
||||
author or publisher of that section if known, or else a unique number.
|
||||
Make the same adjustment to the section titles in the list of
|
||||
Invariant Sections in the license notice of the combined work.
|
||||
|
||||
In the combination, you must combine any sections Entitled "History"
|
||||
in the various original documents, forming one section Entitled
|
||||
"History"; likewise combine any sections Entitled "Acknowledgements",
|
||||
and any sections Entitled "Dedications". You must delete all sections
|
||||
Entitled "Endorsements".
|
||||
|
||||
|
||||
6. COLLECTIONS OF DOCUMENTS
|
||||
|
||||
You may make a collection consisting of the Document and other
|
||||
documents released under this License, and replace the individual
|
||||
copies of this License in the various documents with a single copy
|
||||
that is included in the collection, provided that you follow the rules
|
||||
of this License for verbatim copying of each of the documents in all
|
||||
other respects.
|
||||
|
||||
You may extract a single document from such a collection, and
|
||||
distribute it individually under this License, provided you insert a
|
||||
copy of this License into the extracted document, and follow this
|
||||
License in all other respects regarding verbatim copying of that
|
||||
document.
|
||||
|
||||
|
||||
7. AGGREGATION WITH INDEPENDENT WORKS
|
||||
|
||||
A compilation of the Document or its derivatives with other separate
|
||||
and independent documents or works, in or on a volume of a storage or
|
||||
distribution medium, is called an "aggregate" if the copyright
|
||||
resulting from the compilation is not used to limit the legal rights
|
||||
of the compilation's users beyond what the individual works permit.
|
||||
When the Document is included in an aggregate, this License does not
|
||||
apply to the other works in the aggregate which are not themselves
|
||||
derivative works of the Document.
|
||||
|
||||
If the Cover Text requirement of section 3 is applicable to these
|
||||
copies of the Document, then if the Document is less than one half of
|
||||
the entire aggregate, the Document's Cover Texts may be placed on
|
||||
covers that bracket the Document within the aggregate, or the
|
||||
electronic equivalent of covers if the Document is in electronic form.
|
||||
Otherwise they must appear on printed covers that bracket the whole
|
||||
aggregate.
|
||||
|
||||
|
||||
8. TRANSLATION
|
||||
|
||||
Translation is considered a kind of modification, so you may
|
||||
distribute translations of the Document under the terms of section 4.
|
||||
Replacing Invariant Sections with translations requires special
|
||||
permission from their copyright holders, but you may include
|
||||
translations of some or all Invariant Sections in addition to the
|
||||
original versions of these Invariant Sections. You may include a
|
||||
translation of this License, and all the license notices in the
|
||||
Document, and any Warranty Disclaimers, provided that you also include
|
||||
the original English version of this License and the original versions
|
||||
of those notices and disclaimers. In case of a disagreement between
|
||||
the translation and the original version of this License or a notice
|
||||
or disclaimer, the original version will prevail.
|
||||
|
||||
If a section in the Document is Entitled "Acknowledgements",
|
||||
"Dedications", or "History", the requirement (section 4) to Preserve
|
||||
its Title (section 1) will typically require changing the actual
|
||||
title.
|
||||
|
||||
|
||||
9. TERMINATION
|
||||
|
||||
You may not copy, modify, sublicense, or distribute the Document
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense, or distribute it is void, and
|
||||
will automatically terminate your rights under this License.
|
||||
|
||||
However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, receipt of a copy of some or all of the same material does
|
||||
not give you any rights to use it.
|
||||
|
||||
|
||||
10. FUTURE REVISIONS OF THIS LICENSE
|
||||
|
||||
The Free Software Foundation may publish new, revised versions of the
|
||||
GNU Free Documentation License from time to time. Such new versions
|
||||
will be similar in spirit to the present version, but may differ in
|
||||
detail to address new problems or concerns. See
|
||||
http://www.gnu.org/copyleft/.
|
||||
|
||||
Each version of the License is given a distinguishing version number.
|
||||
If the Document specifies that a particular numbered version of this
|
||||
License "or any later version" applies to it, you have the option of
|
||||
following the terms and conditions either of that specified version or
|
||||
of any later version that has been published (not as a draft) by the
|
||||
Free Software Foundation. If the Document does not specify a version
|
||||
number of this License, you may choose any version ever published (not
|
||||
as a draft) by the Free Software Foundation. If the Document
|
||||
specifies that a proxy can decide which future versions of this
|
||||
License can be used, that proxy's public statement of acceptance of a
|
||||
version permanently authorizes you to choose that version for the
|
||||
Document.
|
||||
|
||||
11. RELICENSING
|
||||
|
||||
"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
|
||||
World Wide Web server that publishes copyrightable works and also
|
||||
provides prominent facilities for anybody to edit those works. A
|
||||
public wiki that anybody can edit is an example of such a server. A
|
||||
"Massive Multiauthor Collaboration" (or "MMC") contained in the site
|
||||
means any set of copyrightable works thus published on the MMC site.
|
||||
|
||||
"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
|
||||
license published by Creative Commons Corporation, a not-for-profit
|
||||
corporation with a principal place of business in San Francisco,
|
||||
California, as well as future copyleft versions of that license
|
||||
published by that same organization.
|
||||
|
||||
"Incorporate" means to publish or republish a Document, in whole or in
|
||||
part, as part of another Document.
|
||||
|
||||
An MMC is "eligible for relicensing" if it is licensed under this
|
||||
License, and if all works that were first published under this License
|
||||
somewhere other than this MMC, and subsequently incorporated in whole or
|
||||
in part into the MMC, (1) had no cover texts or invariant sections, and
|
||||
(2) were thus incorporated prior to November 1, 2008.
|
||||
|
||||
The operator of an MMC Site may republish an MMC contained in the site
|
||||
under CC-BY-SA on the same site at any time before August 1, 2009,
|
||||
provided the MMC is eligible for relicensing.
|
||||
|
||||
|
||||
ADDENDUM: How to use this License for your documents
|
||||
|
||||
To use this License in a document you have written, include a copy of
|
||||
the License in the document and put the following copyright and
|
||||
license notices just after the title page:
|
||||
|
||||
Copyright (c) YEAR YOUR NAME.
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
||||
A copy of the license is included in the section entitled "GNU
|
||||
Free Documentation License".
|
||||
|
||||
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
|
||||
replace the "with...Texts." line with this:
|
||||
|
||||
with the Invariant Sections being LIST THEIR TITLES, with the
|
||||
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
|
||||
|
||||
If you have Invariant Sections without Cover Texts, or some other
|
||||
combination of the three, merge those two alternatives to suit the
|
||||
situation.
|
||||
|
||||
If your document contains nontrivial examples of program code, we
|
||||
recommend releasing these examples in parallel under your choice of
|
||||
free software license, such as the GNU General Public License,
|
||||
to permit their use in free software.
|
514
LICENSE.LGPL
Normal file
514
LICENSE.LGPL
Normal file
@ -0,0 +1,514 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
|
||||
The Qt GUI Toolkit is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
GNU Lesser General Public License version 2.1, which is displayed below.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
629
LICENSE.PREVIEW.COMMERCIAL
Normal file
629
LICENSE.PREVIEW.COMMERCIAL
Normal file
@ -0,0 +1,629 @@
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT
|
||||
|
||||
For individuals and/or legal entities resident in the Americas (North
|
||||
America, Central America and South America), the applicable licensing
|
||||
terms are specified under the heading "Technology Preview License
|
||||
Agreement: The Americas".
|
||||
|
||||
For individuals and/or legal entities not resident in The Americas, the
|
||||
applicable licensing terms are specified under the heading "Technology
|
||||
Preview License Agreement: Rest of the World".
|
||||
|
||||
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT: The Americas
|
||||
Agreement version 2.4
|
||||
|
||||
This Technology Preview License Agreement ("Agreement") is a legal
|
||||
agreement between Nokia Inc. ("Nokia"), with its registered office at
|
||||
102 Corporate Park Drive, White Plains, N.Y., U.S.A. 10604 and you (either an
|
||||
individual or a legal entity) ("Licensee") for the Licensed Software (as
|
||||
defined below).
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||
indirectly controlling such Party; (ii) which is under the same direct
|
||||
or indirect ownership or control as such Party; or (iii) which is
|
||||
directly or indirectly owned or controlled by such Party. For these
|
||||
purposes, an entity shall be treated as being controlled by another if
|
||||
that other entity has fifty percent (50 %) or more of the votes in such
|
||||
entity, is able to direct its affairs and/or to control the composition
|
||||
of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software which may include portions of the Licensed Software.
|
||||
|
||||
"Term" shall mean the period of time six (6) months from the later of
|
||||
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||
initially delivered to Licensee by Nokia. If no specific Effective Date
|
||||
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||
the date the Licensed Software was initially delivered to Licensee.
|
||||
|
||||
"Licensed Software" shall mean the computer software, "online" or
|
||||
electronic documentation, associated media and printed materials,
|
||||
including the source code, example programs and the documentation
|
||||
delivered by Nokia to Licensee in conjunction with this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or Nokia.
|
||||
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and
|
||||
treaties. The Licensed Software is licensed, not sold.
|
||||
|
||||
If Licensee provides any findings, proposals, suggestions or other
|
||||
feedback ("Feedback") to Nokia regarding the Licensed Software, Nokia
|
||||
shall own all right, title and interest including the intellectual
|
||||
property rights in and to such Feedback, excluding however any existing
|
||||
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||
patents for such Feedback Licensee hereby grants to Nokia and its
|
||||
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||
derivative works thereof, (ii) to make (and have made), use, import,
|
||||
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||
exploit any products or services of Nokia containing Feedback,, and
|
||||
(iii) sublicense all the foregoing rights to third party licensees and
|
||||
customers of Nokia and/or its Affiliates.
|
||||
|
||||
|
||||
3. VALIDITY OF THE AGREEMENT
|
||||
|
||||
By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||
does not agree to the terms of this Agreement, Licensee may not install,
|
||||
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||
of the terms and conditions of this Agreement, Nokia grants Licensee the
|
||||
right to use the Licensed Software in the manner provided below.
|
||||
|
||||
|
||||
4. LICENSES
|
||||
|
||||
4.1. Using and Copying
|
||||
|
||||
Nokia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||
license to use and copy the Licensed Software for sole purpose of
|
||||
designing, developing and testing Applications, and evaluating and the
|
||||
Licensed Software during the Term.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited
|
||||
number of computers provided that (a) if an individual, only such
|
||||
individual; or (b) if a legal entity only its employees; use the
|
||||
Licensed Software for the authorized purposes.
|
||||
|
||||
4.2 No Distribution or Modifications
|
||||
|
||||
Licensee may not disclose, modify, sell, market, commercialise,
|
||||
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||
copy of it or use the Licensed Software for any purpose that is not
|
||||
expressly granted in this Section 4. Licensee may not alter or remove
|
||||
any details of ownership, copyright, trademark or other property right
|
||||
connected with the Licensed Software. Licensee may not distribute any
|
||||
software statically or dynamically linked with the Licensed Software.
|
||||
|
||||
4.3 No Technical Support
|
||||
|
||||
Nokia has no obligation to furnish Licensee with any technical support
|
||||
whatsoever. Any such support is subject to separate agreement between
|
||||
the Parties.
|
||||
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
The Licensed Software contains pre-release code that is not at the level
|
||||
of performance and compatibility of a final, generally available,
|
||||
product offering. The Licensed Software may not operate correctly and
|
||||
may be substantially modified prior to the first commercial product
|
||||
release, if any. Nokia is not obligated to make this or any later
|
||||
version of the Licensed Software commercially available. The License
|
||||
Software is "Not for Commercial Use" and may only be used for the
|
||||
purposes described in Section 4. The Licensed Software may not be used
|
||||
in a live operating environment where it may be relied upon to perform
|
||||
in the same manner as a commercially released product or with data that
|
||||
has not been sufficiently backed up.
|
||||
|
||||
6. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions.
|
||||
Third Party Software does not comprise part of the Licensed Software. In
|
||||
some cases, access to Third Party Software may be included along with
|
||||
the Licensed Software delivery as a convenience for development and
|
||||
testing only. Such source code and libraries may be listed in the
|
||||
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||
documented in the Licensed Software where the Third Party Software is
|
||||
used, as may be amended from time to time, do not comprise the Licensed
|
||||
Software. Licensee acknowledges (1) that some part of Third Party
|
||||
Software may require additional licensing of copyright and patents from
|
||||
the owners of such, and (2) that distribution of any of the Licensed
|
||||
Software referencing any portion of a Third Party Software may require
|
||||
appropriate licensing from such third parties.
|
||||
|
||||
|
||||
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||
extent permitted by applicable law, Nokia on behalf of itself and its
|
||||
suppliers, disclaims all warranties and conditions, either express or
|
||||
implied, including, but not limited to, implied warranties of
|
||||
merchantability, fitness for a particular purpose, title and
|
||||
non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
8. LIMITATION OF LIABILITY
|
||||
|
||||
If, Nokia's warranty disclaimer notwithstanding, Nokia is held liable to
|
||||
Licensee, whether in contract, tort or any other legal theory, based on
|
||||
the Licensed Software, Nokia's entire liability to Licensee and
|
||||
Licensee's exclusive remedy shall be, at Nokia's option, either (A)
|
||||
return of the price Licensee paid for the Licensed Software, or (B)
|
||||
repair or replacement of the Licensed Software, provided Licensee
|
||||
returns to Nokia all copies of the Licensed Software as originally
|
||||
delivered to Licensee. Nokia shall not under any circumstances be liable
|
||||
to Licensee based on failure of the Licensed Software if the failure
|
||||
resulted from accident, abuse or misapplication, nor shall Nokia under
|
||||
any circumstances be liable for special damages, punitive or exemplary
|
||||
damages, damages for loss of profits or interruption of business or for
|
||||
loss or corruption of data. Any award of damages from Nokia to Licensee
|
||||
shall not exceed the total amount Licensee has paid to Nokia in
|
||||
connection with this Agreement.
|
||||
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each party acknowledges that during the Term of this Agreement it shall
|
||||
have access to information about the other party's business, business
|
||||
methods, business plans, customers, business relations, technology, and
|
||||
other information, including the terms of this Agreement, that is
|
||||
confidential and of great value to the other party, and the value of
|
||||
which would be significantly reduced if disclosed to third parties (the
|
||||
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||
Party") receives Confidential Information from another party (the
|
||||
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||
employees and agents and employees and agents of its Affiliates to: (i)
|
||||
maintain the Confidential Information in strict confidence; (ii) not
|
||||
disclose the Confidential Information to a third party without the
|
||||
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||
indirectly, use the Confidential Information for any purpose other than
|
||||
for exercising its rights and fulfilling its responsibilities pursuant
|
||||
to this Agreement. Each party shall take reasonable measures to protect
|
||||
the Confidential Information of the other party, which measures shall
|
||||
not be less than the measures taken by such party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
"Confidential Information" shall not include information that (a) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||
prior to the disclosure hereunder and was not subject to limitations on
|
||||
disclosure or use; (c) is developed by the Receiving Party without
|
||||
access to the Confidential Information of the Disclosing Party or by
|
||||
persons who have not had access to the Confidential Information of the
|
||||
Disclosing Party as proven by the written records of the Receiving
|
||||
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||
restrictions, by a third party not under an obligation of
|
||||
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||
disclose the information, in which case the Receiving Party shall assert
|
||||
the privileged and confidential nature of the information and cooperate
|
||||
fully with the Disclosing Party to protect against and prevent
|
||||
disclosure of any Confidential Information and to limit the scope of
|
||||
disclosure and the dissemination of disclosed Confidential Information
|
||||
by all legally available means.
|
||||
|
||||
The obligations of the Receiving Party under this Section shall continue
|
||||
during the Initial Term and for a period of five (5) years after
|
||||
expiration or termination of this Agreement. To the extent that the
|
||||
terms of the Non-Disclosure Agreement between Nokia and Licensee
|
||||
conflict with the terms of this Section 9, this Section 9 shall be
|
||||
controlling over the terms of the Non-Disclosure Agreement.
|
||||
|
||||
|
||||
10. GENERAL PROVISIONS
|
||||
|
||||
10.1 No Assignment
|
||||
|
||||
Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior
|
||||
written consent of Nokia, which shall not be unreasonably withheld.
|
||||
|
||||
10.2 Termination
|
||||
|
||||
Nokia may terminate the Agreement at any time immediately upon written
|
||||
notice by Nokia to Licensee if Licensee breaches this Agreement.
|
||||
|
||||
Upon termination of this Agreement, Licensee shall return to Nokia all
|
||||
copies of Licensed Software that were supplied by Nokia. All other
|
||||
copies of Licensed Software in the possession or control of Licensee
|
||||
must be erased or destroyed. An officer of Licensee must promptly
|
||||
deliver to Nokia a written confirmation that this has occurred.
|
||||
|
||||
10.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably
|
||||
should survive a cancellation or termination of this Agreement shall
|
||||
also be deemed to survive. Such terms and conditions include, but are
|
||||
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||
|
||||
10.4 Entire Agreement
|
||||
|
||||
This Agreement constitutes the complete agreement between the parties
|
||||
and supersedes all prior or contemporaneous discussions,
|
||||
representations, and proposals, written or oral, with respect to the
|
||||
subject matters discussed herein, with the exception of the
|
||||
non-disclosure agreement executed by the parties in connection with this
|
||||
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||
Section 9. No modification of this Agreement shall be effective unless
|
||||
contained in a writing executed by an authorized representative of each
|
||||
party. No term or condition contained in Licensee's purchase order shall
|
||||
apply unless expressly accepted by Nokia in writing. If any provision of
|
||||
the Agreement is found void or unenforceable, the remainder shall remain
|
||||
valid and enforceable according to its terms. If any remedy provided is
|
||||
determined to have failed for its essential purpose, all limitations of
|
||||
liability and exclusions of damages set forth in this Agreement shall
|
||||
remain in effect.
|
||||
|
||||
10.5 Export Control
|
||||
|
||||
Licensee acknowledges that the Licensed Software may be subject to
|
||||
export control restrictions of various countries. Licensee shall fully
|
||||
comply with all applicable export license restrictions and requirements
|
||||
as well as with all laws and regulations relating to the importation of
|
||||
the Licensed Software and shall procure all necessary governmental
|
||||
authorizations, including without limitation, all necessary licenses,
|
||||
approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Licensed Software.,
|
||||
|
||||
10.6 Governing Law and Legal Venue
|
||||
|
||||
This Agreement shall be governed by and construed in accordance with the
|
||||
federal laws of the United States of America and the internal laws of
|
||||
the State of New York without given effect to any choice of law rule
|
||||
that would result in the application of the laws of any other
|
||||
jurisdiction. The United Nations Convention on Contracts for the
|
||||
International Sale of Goods (CISG) shall not apply. Each Party (a)
|
||||
hereby irrevocably submits itself to and consents to the jurisdiction of
|
||||
the United States District Court for the Southern District of New York
|
||||
(or if such court lacks jurisdiction, the state courts of the State of
|
||||
New York) for the purposes of any action, claim, suit or proceeding
|
||||
between the Parties in connection with any controversy, claim, or
|
||||
dispute arising out of or relating to this Agreement; and (b) hereby
|
||||
waives, and agrees not to assert by way of motion, as a defense or
|
||||
otherwise, in any such action, claim, suit or proceeding, any claim that
|
||||
is not personally subject to the jurisdiction of such court(s), that the
|
||||
action, claim, suit or proceeding is brought in an inconvenient forum or
|
||||
that the venue of the action, claim, suit or proceeding is improper.
|
||||
Notwithstanding the foregoing, nothing in this Section 9.6 is intended
|
||||
to, or shall be deemed to, constitute a submission or consent to, or
|
||||
selection of, jurisdiction, forum or venue for any action for patent
|
||||
infringement, whether or not such action relates to this Agreement.
|
||||
|
||||
10.7 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder,
|
||||
shall remain with Nokia and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with
|
||||
any other software or hardware not delivered by Nokia under this
|
||||
Agreement.
|
||||
|
||||
10.8 Government End Users
|
||||
|
||||
A "U.S. Government End User" shall mean any agency or entity of the
|
||||
government of the United States. The following shall apply if Licensee
|
||||
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||
consisting of "commercial computer software" and "commercial computer
|
||||
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||
the Licensed Software with only those rights set forth herein. The
|
||||
Licensed Software (including related documentation) is provided to U.S.
|
||||
Government End Users: (a) only as a commercial end item; and (b) only
|
||||
pursuant to this Agreement.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT: Rest of the World
|
||||
Agreement version 2.4
|
||||
|
||||
This Technology Preview License Agreement ("Agreement") is a legal
|
||||
agreement between Nokia Corporation ("Nokia"), with its registered
|
||||
office at Keilalahdentie 4, 02150 Espoo, Finland and you (either an
|
||||
individual or a legal entity) ("Licensee") for the Licensed Software (as
|
||||
defined below).
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||
indirectly controlling such Party; (ii) which is under the same direct
|
||||
or indirect ownership or control as such Party; or (iii) which is
|
||||
directly or indirectly owned or controlled by such Party. For these
|
||||
purposes, an entity shall be treated as being controlled by another if
|
||||
that other entity has fifty percent (50 %) or more of the votes in such
|
||||
entity, is able to direct its affairs and/or to control the composition
|
||||
of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software which may include portions of the Licensed Software.
|
||||
|
||||
"Term" shall mean the period of time six (6) months from the later of
|
||||
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||
initially delivered to Licensee by Nokia. If no specific Effective Date
|
||||
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||
the date the Licensed Software was initially delivered to Licensee.
|
||||
|
||||
"Licensed Software" shall mean the computer software, "online" or
|
||||
electronic documentation, associated media and printed materials,
|
||||
including the source code, example programs and the documentation
|
||||
delivered by Nokia to Licensee in conjunction with this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or Nokia.
|
||||
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and
|
||||
treaties. The Licensed Software is licensed, not sold.
|
||||
|
||||
If Licensee provides any findings, proposals, suggestions or other
|
||||
feedback ("Feedback") to Nokia regarding the Licensed Software, Nokia
|
||||
shall own all right, title and interest including the intellectual
|
||||
property rights in and to such Feedback, excluding however any existing
|
||||
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||
patents for such Feedback Licensee hereby grants to Nokia and its
|
||||
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||
derivative works thereof, (ii) to make (and have made), use, import,
|
||||
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||
exploit any products or services of Nokia containing Feedback,, and
|
||||
(iii) sublicense all the foregoing rights to third party licensees and
|
||||
customers of Nokia and/or its Affiliates.
|
||||
|
||||
3. VALIDITY OF THE AGREEMENT
|
||||
|
||||
By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||
does not agree to the terms of this Agreement, Licensee may not install,
|
||||
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||
of the terms and conditions of this Agreement, Nokia grants Licensee the
|
||||
right to use the Licensed Software in the manner provided below.
|
||||
|
||||
|
||||
4. LICENSES
|
||||
|
||||
4.1. Using and Copying
|
||||
|
||||
Nokia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||
license to use and copy the Licensed Software for sole purpose of
|
||||
designing, developing and testing Applications, and evaluating and the
|
||||
Licensed Software during the Term.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited
|
||||
number of computers provided that (a) if an individual, only such
|
||||
individual; or (b) if a legal entity only its employees; use the
|
||||
Licensed Software for the authorized purposes.
|
||||
|
||||
4.2 No Distribution or Modifications
|
||||
|
||||
Licensee may not disclose, modify, sell, market, commercialise,
|
||||
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||
copy of it or use the Licensed Software for any purpose that is not
|
||||
expressly granted in this Section 4. Licensee may not alter or remove
|
||||
any details of ownership, copyright, trademark or other property right
|
||||
connected with the Licensed Software. Licensee may not distribute any
|
||||
software statically or dynamically linked with the Licensed Software.
|
||||
|
||||
4.3 No Technical Support
|
||||
|
||||
Nokia has no obligation to furnish Licensee with any technical support
|
||||
whatsoever. Any such support is subject to separate agreement between
|
||||
the Parties.
|
||||
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
|
||||
The Licensed Software contains pre-release code that is not at the level
|
||||
of performance and compatibility of a final, generally available,
|
||||
product offering. The Licensed Software may not operate correctly and
|
||||
may be substantially modified prior to the first commercial product
|
||||
release, if any. Nokia is not obligated to make this or any later
|
||||
version of the Licensed Software commercially available. The License
|
||||
Software is "Not for Commercial Use" and may only be used for the
|
||||
purposes described in Section 4. The Licensed Software may not be used
|
||||
in a live operating environment where it may be relied upon to perform
|
||||
in the same manner as a commercially released product or with data that
|
||||
has not been sufficiently backed up.
|
||||
|
||||
6. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions.
|
||||
Third Party Software does not comprise part of the Licensed Software. In
|
||||
some cases, access to Third Party Software may be included along with
|
||||
the Licensed Software delivery as a convenience for development and
|
||||
testing only. Such source code and libraries may be listed in the
|
||||
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||
documented in the Licensed Software where the Third Party Software is
|
||||
used, as may be amended from time to time, do not comprise the Licensed
|
||||
Software. Licensee acknowledges (1) that some part of Third Party
|
||||
Software may require additional licensing of copyright and patents from
|
||||
the owners of such, and (2) that distribution of any of the Licensed
|
||||
Software referencing any portion of a Third Party Software may require
|
||||
appropriate licensing from such third parties.
|
||||
|
||||
|
||||
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||
extent permitted by applicable law, Nokia on behalf of itself and its
|
||||
suppliers, disclaims all warranties and conditions, either express or
|
||||
implied, including, but not limited to, implied warranties of
|
||||
merchantability, fitness for a particular purpose, title and
|
||||
non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
8. LIMITATION OF LIABILITY
|
||||
|
||||
If, Nokia's warranty disclaimer notwithstanding, Nokia is held liable to
|
||||
Licensee, whether in contract, tort or any other legal theory, based on
|
||||
the Licensed Software, Nokia's entire liability to Licensee and
|
||||
Licensee's exclusive remedy shall be, at Nokia's option, either (A)
|
||||
return of the price Licensee paid for the Licensed Software, or (B)
|
||||
repair or replacement of the Licensed Software, provided Licensee
|
||||
returns to Nokia all copies of the Licensed Software as originally
|
||||
delivered to Licensee. Nokia shall not under any circumstances be liable
|
||||
to Licensee based on failure of the Licensed Software if the failure
|
||||
resulted from accident, abuse or misapplication, nor shall Nokia under
|
||||
any circumstances be liable for special damages, punitive or exemplary
|
||||
damages, damages for loss of profits or interruption of business or for
|
||||
loss or corruption of data. Any award of damages from Nokia to Licensee
|
||||
shall not exceed the total amount Licensee has paid to Nokia in
|
||||
connection with this Agreement.
|
||||
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each party acknowledges that during the Term of this Agreement it shall
|
||||
have access to information about the other party's business, business
|
||||
methods, business plans, customers, business relations, technology, and
|
||||
other information, including the terms of this Agreement, that is
|
||||
confidential and of great value to the other party, and the value of
|
||||
which would be significantly reduced if disclosed to third parties (the
|
||||
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||
Party") receives Confidential Information from another party (the
|
||||
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||
employees and agents and employees and agents of its Affiliates to: (i)
|
||||
maintain the Confidential Information in strict confidence; (ii) not
|
||||
disclose the Confidential Information to a third party without the
|
||||
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||
indirectly, use the Confidential Information for any purpose other than
|
||||
for exercising its rights and fulfilling its responsibilities pursuant
|
||||
to this Agreement. Each party shall take reasonable measures to protect
|
||||
the Confidential Information of the other party, which measures shall
|
||||
not be less than the measures taken by such party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
"Confidential Information" shall not include information that (a) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||
prior to the disclosure hereunder and was not subject to limitations on
|
||||
disclosure or use; (c) is developed by the Receiving Party without
|
||||
access to the Confidential Information of the Disclosing Party or by
|
||||
persons who have not had access to the Confidential Information of the
|
||||
Disclosing Party as proven by the written records of the Receiving
|
||||
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||
restrictions, by a third party not under an obligation of
|
||||
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||
disclose the information, in which case the Receiving Party shall assert
|
||||
the privileged and confidential nature of the information and cooperate
|
||||
fully with the Disclosing Party to protect against and prevent
|
||||
disclosure of any Confidential Information and to limit the scope of
|
||||
disclosure and the dissemination of disclosed Confidential Information
|
||||
by all legally available means.
|
||||
|
||||
The obligations of the Receiving Party under this Section shall continue
|
||||
during the Initial Term and for a period of five (5) years after
|
||||
expiration or termination of this Agreement. To the extent that the
|
||||
terms of the Non-Disclosure Agreement between Nokia and Licensee
|
||||
conflict with the terms of this Section 9, this Section 9 shall be
|
||||
controlling over the terms of the Non-Disclosure Agreement.
|
||||
|
||||
|
||||
10. GENERAL PROVISIONS
|
||||
|
||||
10.1 No Assignment
|
||||
|
||||
Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior
|
||||
written consent of Nokia, which shall not be unreasonably withheld.
|
||||
|
||||
10.2 Termination
|
||||
|
||||
Nokia may terminate the Agreement at any time immediately upon written
|
||||
notice by Nokia to Licensee if Licensee breaches this Agreement.
|
||||
|
||||
Upon termination of this Agreement, Licensee shall return to Nokia all
|
||||
copies of Licensed Software that were supplied by Nokia. All other
|
||||
copies of Licensed Software in the possession or control of Licensee
|
||||
must be erased or destroyed. An officer of Licensee must promptly
|
||||
deliver to Nokia a written confirmation that this has occurred.
|
||||
|
||||
10.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably
|
||||
should survive a cancellation or termination of this Agreement shall
|
||||
also be deemed to survive. Such terms and conditions include, but are
|
||||
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||
|
||||
10.4 Entire Agreement
|
||||
|
||||
This Agreement constitutes the complete agreement between the parties
|
||||
and supersedes all prior or contemporaneous discussions,
|
||||
representations, and proposals, written or oral, with respect to the
|
||||
subject matters discussed herein, with the exception of the
|
||||
non-disclosure agreement executed by the parties in connection with this
|
||||
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||
Section 9. No modification of this Agreement shall be effective unless
|
||||
contained in a writing executed by an authorized representative of each
|
||||
party. No term or condition contained in Licensee's purchase order shall
|
||||
apply unless expressly accepted by Nokia in writing. If any provision of
|
||||
the Agreement is found void or unenforceable, the remainder shall remain
|
||||
valid and enforceable according to its terms. If any remedy provided is
|
||||
determined to have failed for its essential purpose, all limitations of
|
||||
liability and exclusions of damages set forth in this Agreement shall
|
||||
remain in effect.
|
||||
|
||||
10.5 Export Control
|
||||
|
||||
Licensee acknowledges that the Licensed Software may be subject to
|
||||
export control restrictions of various countries. Licensee shall fully
|
||||
comply with all applicable export license restrictions and requirements
|
||||
as well as with all laws and regulations relating to the importation of
|
||||
the Licensed Software and shall procure all necessary governmental
|
||||
authorizations, including without limitation, all necessary licenses,
|
||||
approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Licensed Software.,
|
||||
|
||||
10.6 Governing Law and Legal Venue
|
||||
|
||||
This Agreement shall be construed and interpreted in accordance with the
|
||||
laws of Finland, excluding its choice of law provisions. Any disputes
|
||||
arising out of or relating to this Agreement shall be resolved in
|
||||
arbitration under the Rules of Arbitration of the Chamber of Commerce of
|
||||
Helsinki, Finland. The arbitration tribunal shall consist of one (1), or
|
||||
if either Party so requires, of three (3), arbitrators. The award shall
|
||||
be final and binding and enforceable in any court of competent
|
||||
jurisdiction. The arbitration shall be held in Helsinki, Finland and the
|
||||
process shall be conducted in the English language.
|
||||
|
||||
10.7 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder,
|
||||
shall remain with Nokia and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with
|
||||
any other software or hardware not delivered by Nokia under this
|
||||
Agreement.
|
||||
|
||||
10.8 Government End Users
|
||||
|
||||
A "U.S. Government End User" shall mean any agency or entity of the
|
||||
government of the United States. The following shall apply if Licensee
|
||||
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||
consisting of "commercial computer software" and "commercial computer
|
||||
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||
the Licensed Software with only those rights set forth herein. The
|
||||
Licensed Software (including related documentation) is provided to U.S.
|
||||
Government End Users: (a) only as a commercial end item; and (b) only
|
||||
pursuant to this Agreement.
|
||||
|
||||
|
||||
|
||||
|
3
bin/createpackage
Executable file
3
bin/createpackage
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
scriptpath=`dirname $0`
|
||||
perl $scriptpath/createpackage.pl "$@"
|
44
bin/createpackage.bat
Executable file
44
bin/createpackage.bat
Executable file
@ -0,0 +1,44 @@
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
::
|
||||
:: Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
:: All rights reserved.
|
||||
:: Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
::
|
||||
:: This file is part of the test suite of the Qt Toolkit.
|
||||
::
|
||||
:: $QT_BEGIN_LICENSE:LGPL$
|
||||
:: No Commercial Usage
|
||||
:: This file contains pre-release code and may not be distributed.
|
||||
:: You may use this file in accordance with the terms and conditions
|
||||
:: contained in the Technology Preview License Agreement accompanying
|
||||
:: this package.
|
||||
::
|
||||
:: GNU Lesser General Public License Usage
|
||||
:: Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
:: General Public License version 2.1 as published by the Free Software
|
||||
:: Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
:: packaging of this file. Please review the following information to
|
||||
:: ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
::
|
||||
:: In addition, as a special exception, Nokia gives you certain additional
|
||||
:: rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
::
|
||||
:: If you have questions regarding the use of this file, please contact
|
||||
:: Nokia at qt-info@nokia.com.
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
:: $QT_END_LICENSE$
|
||||
::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
@echo off
|
||||
set scriptpath=%~dp0
|
||||
perl %scriptpath%createpackage.pl %*
|
433
bin/createpackage.pl
Executable file
433
bin/createpackage.pl
Executable file
@ -0,0 +1,433 @@
|
||||
#!/usr/bin/perl
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## All rights reserved.
|
||||
## Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
##
|
||||
## This file is part of the S60 port of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## No Commercial Usage
|
||||
## This file contains pre-release code and may not be distributed.
|
||||
## You may use this file in accordance with the terms and conditions
|
||||
## contained in the Technology Preview License Agreement accompanying
|
||||
## this package.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## If you have questions regarding the use of this file, please contact
|
||||
## Nokia at qt-info@nokia.com.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
############################################################################################
|
||||
#
|
||||
# Convenience script for creating signed packages you can install on your phone.
|
||||
#
|
||||
############################################################################################
|
||||
|
||||
use strict;
|
||||
|
||||
# use a command-line parsing module
|
||||
use Getopt::Long;
|
||||
# Use file name parsing module
|
||||
use File::Basename;
|
||||
# Use File::Spec services mainly rel2abs
|
||||
use File::Spec;
|
||||
# Use File::Path - to make stub sis target directory
|
||||
use File::Path;
|
||||
# use CWD abs_bath, which is exported only on request
|
||||
use Cwd 'abs_path';
|
||||
use File::Copy;
|
||||
|
||||
sub Usage() {
|
||||
print <<ENDUSAGESTRING;
|
||||
|
||||
==============================================================================================
|
||||
Convenience script for creating signed packages you can install on your phone.
|
||||
|
||||
Usage: createpackage.pl [options] templatepkg [target]-[platform] [certificate key [passphrase]]
|
||||
|
||||
Where supported options are as follows:
|
||||
[-i|install] = Install the package right away using PC suite.
|
||||
[-p|preprocess] = Only preprocess the template .pkg file.
|
||||
[-c|certfile <file>] = The file containing certificate information for signing.
|
||||
The file can have several certificates, each specified in
|
||||
separate line. The certificate, key and passphrase in line
|
||||
must be ';' separated. Lines starting with '#' are treated
|
||||
as a comments. Also empty lines are ignored. The paths in
|
||||
<file> can be absolute or relative to <file>.
|
||||
[-u|unsigned] = Preserves the unsigned package.
|
||||
[-o|only-unsigned] = Creates only unsigned package.
|
||||
[-s|stub] = Generates stub sis for ROM.
|
||||
[-n|sisname <name>] = Specifies the final sis name.
|
||||
[-g|gcce-is-armv5] = Convert gcce platform to armv5.
|
||||
[-d|dont-patch] = Skip automatic patching of capabilities and pkg file if default certificate
|
||||
is used. Instead non-self-signable capabilities just cause warnings.
|
||||
[-t|tmp-dir <path>] = Specifies temporary directory to be used for package creation.
|
||||
Defaults to 'createpackage_tmp' under same directory as templatepkg.
|
||||
Where parameters are as follows:
|
||||
templatepkg = Name of .pkg file template
|
||||
target = Either debug or release
|
||||
platform = One of the supported platform
|
||||
winscw | gcce | armv5 | armv6 | armv7
|
||||
Note that when packaging binaries built using gcce and symbian-sbsv2
|
||||
mkspec, armv5 must be used for platform instead of gcce.
|
||||
certificate = The certificate file used for signing
|
||||
key = The certificate's private key file
|
||||
passphrase = The passphrase of the certificate's private key file
|
||||
|
||||
Example:
|
||||
createpackage.pl fluidlauncher_template.pkg release-armv5
|
||||
|
||||
Example with certfile:
|
||||
createpackage.pl -c=mycerts.txt fluidlauncher_template.pkg release-armv5
|
||||
|
||||
Content of 'mycerts.txt' must be something like this:
|
||||
# This is comment line, also the empty lines are ignored
|
||||
rd.cer;rd-key.pem
|
||||
.\\cert\\mycert.cer;.\\cert\\mykey.key;yourpassword
|
||||
X:\\QtS60\\s60installs\\selfsigned.cer;X:\\QtS60\\s60installs\\selfsigned.key
|
||||
|
||||
If no certificate and key files are provided, either a RnD certificate or
|
||||
a self-signed certificate from QtDir\\src\\s60installs directory is used.
|
||||
In the latter case the resulting package will also be automatically patched
|
||||
using patch_capabilities.pl script, which makes it unsuitable for distribution.
|
||||
Always specify certificates explicitly if you wish to distribute your package.
|
||||
|
||||
==============================================================================================
|
||||
|
||||
ENDUSAGESTRING
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
# Read given options
|
||||
my $install = "";
|
||||
my $preprocessonly = "";
|
||||
my $certfile = "";
|
||||
my $preserveUnsigned = "";
|
||||
my $stub = "";
|
||||
my $signed_sis_name = "";
|
||||
my $onlyUnsigned = "";
|
||||
my $convertGcce = "";
|
||||
my $dontPatchCaps = "";
|
||||
my $tempPackageDir = "";
|
||||
|
||||
unless (GetOptions('i|install' => \$install,
|
||||
'p|preprocess' => \$preprocessonly,
|
||||
'c|certfile=s' => \$certfile,
|
||||
'u|unsigned' => \$preserveUnsigned,
|
||||
'o|only-unsigned' => \$onlyUnsigned,
|
||||
's|stub' => \$stub,
|
||||
'n|sisname=s' => \$signed_sis_name,
|
||||
'g|gcce-is-armv5' => \$convertGcce,
|
||||
'd|dont-patch' => \$dontPatchCaps,
|
||||
't|tmp-dir=s' => \$tempPackageDir,)) {
|
||||
Usage();
|
||||
}
|
||||
|
||||
my $epocroot = $ENV{EPOCROOT};
|
||||
my $epocToolsDir = "";
|
||||
if ($epocroot ne "") {
|
||||
$epocroot =~ s,\\,/,g;
|
||||
if ($epocroot =~ m,[^/]$,) {
|
||||
$epocroot = $epocroot."/";
|
||||
}
|
||||
$epocToolsDir = "${epocroot}epoc32/tools/";
|
||||
}
|
||||
|
||||
my $certfilepath = abs_path(dirname($certfile));
|
||||
|
||||
# Read params to variables
|
||||
my $templatepkg = $ARGV[0];
|
||||
my $targetplatform = lc $ARGV[1];
|
||||
|
||||
if ($targetplatform eq "") {
|
||||
$targetplatform = "-";
|
||||
}
|
||||
|
||||
my @tmpvalues = split('-', $targetplatform);
|
||||
my $target;
|
||||
$target = $tmpvalues[0] or $target = "";
|
||||
my $platform;
|
||||
$platform = $tmpvalues[1] or $platform = "";
|
||||
|
||||
if ($platform =~ m/^gcce$/i) {
|
||||
if (($convertGcce ne "")) {
|
||||
$platform = "armv5";
|
||||
} elsif ($ENV{SBS_HOME}) {
|
||||
# Print a informative note in case suspected misuse is detected.
|
||||
print "\nNote: You should use armv5 as platform or specify -g parameter to convert platform\n";
|
||||
print " when packaging gcce binaries built using symbian-sbsv2 mkspec.\n\n";
|
||||
}
|
||||
}
|
||||
|
||||
# Convert visual target to real target (debug->udeb and release->urel)
|
||||
$target =~ s/debug/udeb/i;
|
||||
$target =~ s/release/urel/i;
|
||||
|
||||
my $certificate;
|
||||
$certificate = $ARGV[2] or $certificate = "";
|
||||
my $key;
|
||||
$key = $ARGV[3] or $key = "";
|
||||
my $passphrase;
|
||||
$passphrase = $ARGV[4] or $passphrase = "";
|
||||
|
||||
if ($tempPackageDir eq "") {
|
||||
my ($templateVolume, $templatePath, $templateFileName) = File::Spec->splitpath($templatepkg);
|
||||
$tempPackageDir = File::Spec->catpath($templateVolume, $templatePath."createpackage_tmp", "");
|
||||
}
|
||||
|
||||
mkpath($tempPackageDir);
|
||||
|
||||
# Generate output pkg basename (i.e. file name without extension)
|
||||
my $pkgoutputbasename = $templatepkg;
|
||||
$pkgoutputbasename =~ s/_template/_$targetplatform/g;
|
||||
$pkgoutputbasename =~ s/_installer\.pkg/_installer___temp\.pkg/g;
|
||||
$pkgoutputbasename =~ s/\.pkg//g;
|
||||
|
||||
# Store output file names to variables
|
||||
my ($dummy1, $dummy2, $pkgoutput) = File::Spec->splitpath($pkgoutputbasename.".pkg");
|
||||
$pkgoutput = $tempPackageDir."/".$pkgoutput;
|
||||
my $sisoutputbasename;
|
||||
if ($signed_sis_name eq "") {
|
||||
$sisoutputbasename = $pkgoutputbasename;
|
||||
$sisoutputbasename =~ s/_$targetplatform//g;
|
||||
$sisoutputbasename =~ s/_installer___temp/_installer/g;
|
||||
$signed_sis_name = $sisoutputbasename.".sis";
|
||||
} else {
|
||||
$sisoutputbasename = $signed_sis_name;
|
||||
if ($sisoutputbasename =~ m/(\.sis$|\.sisx$)/i) {
|
||||
$sisoutputbasename =~ s/$1//i;
|
||||
} else {
|
||||
$signed_sis_name = $signed_sis_name.".sis";
|
||||
}
|
||||
}
|
||||
|
||||
my $installer_unsigned_app_sis_name = "";
|
||||
my $installer_app_sis_name = "";
|
||||
|
||||
if ($templatepkg =~ m/_installer\.pkg$/i && $onlyUnsigned) {
|
||||
$installer_unsigned_app_sis_name = $templatepkg;
|
||||
$installer_unsigned_app_sis_name =~ s/_installer.pkg$/_unsigned.sis/i;
|
||||
$installer_app_sis_name = $installer_unsigned_app_sis_name;
|
||||
$installer_app_sis_name =~ s/_unsigned.sis$/.sis/;
|
||||
}
|
||||
|
||||
my $unsigned_sis_name = $sisoutputbasename."_unsigned.sis";
|
||||
my $stub_sis_name = $sisoutputbasename.".sis";
|
||||
|
||||
# Store some utility variables
|
||||
my $scriptpath = dirname(__FILE__);
|
||||
my $certtext = $certificate;
|
||||
# certificates are one step up in hierarchy
|
||||
my $certpath = File::Spec->catdir($scriptpath, File::Spec->updir(), "src/s60installs/");
|
||||
|
||||
# Check some pre-conditions and print error messages if needed.
|
||||
unless (length($templatepkg)) {
|
||||
print "\nERROR: Template PKG filename is not defined!\n";
|
||||
Usage();
|
||||
}
|
||||
|
||||
# Check template exist
|
||||
stat($templatepkg);
|
||||
unless( -e _ ) {
|
||||
print "\nERROR: Package description file '$templatepkg' does not exist!\n";
|
||||
Usage();
|
||||
}
|
||||
|
||||
# Check certifcate preconditions and set default certificate variables if needed
|
||||
if (length($certificate)) {
|
||||
unless(length($key)) {
|
||||
print "\nERROR: Custom certificate key file parameter missing.!\n";
|
||||
Usage();
|
||||
}
|
||||
} else {
|
||||
#If no certificate is given, check default options
|
||||
$certtext = "RnD";
|
||||
$certificate = File::Spec->catfile($certpath, "rd.cer");
|
||||
$key = File::Spec->catfile($certpath, "rd-key.pem");
|
||||
|
||||
stat($certificate);
|
||||
unless( -e _ ) {
|
||||
$certtext = "Self Signed";
|
||||
$certificate = File::Spec->catfile($certpath, "selfsigned.cer");
|
||||
$key = File::Spec->catfile($certpath, "selfsigned.key");
|
||||
}
|
||||
}
|
||||
|
||||
# Read the certificates from file to two dimensional array
|
||||
my @certificates;
|
||||
if (length($certfile)) {
|
||||
open CERTFILE, "<$certfile" or die $!;
|
||||
while(<CERTFILE>){
|
||||
s/#.*//; # ignore comments by erasing them
|
||||
next if /^(\s)*$/; # skip blank lines
|
||||
chomp; # remove trailing newline characters
|
||||
my @certinfo = split(';', $_); # split row to certinfo
|
||||
|
||||
# Trim spaces
|
||||
for(@certinfo) {
|
||||
s/^\s+//;
|
||||
s/\s+$//;
|
||||
}
|
||||
|
||||
# Do some validation
|
||||
unless(scalar(@certinfo) >= 2 && scalar(@certinfo) <= 3 && length($certinfo[0]) && length($certinfo[1]) ) {
|
||||
print "\nERROR: $certfile line '$_' does not contain valid information!\n";
|
||||
Usage();
|
||||
}
|
||||
|
||||
push @certificates, [@certinfo]; # push data to two dimensional array
|
||||
}
|
||||
}
|
||||
|
||||
# Remove any existing .sis packages
|
||||
unlink $unsigned_sis_name;
|
||||
if (!$onlyUnsigned) {
|
||||
unlink $signed_sis_name;
|
||||
}
|
||||
unlink $pkgoutput;
|
||||
|
||||
# Preprocess PKG
|
||||
|
||||
local $/;
|
||||
# read template file
|
||||
open( TEMPLATE, $templatepkg) or die "ERROR: '$templatepkg': $!";
|
||||
$_=<TEMPLATE>;
|
||||
close (TEMPLATE);
|
||||
|
||||
# If the pkg file does not contain macros, there is no need for platform or target.
|
||||
if (m/\$\(PLATFORM\)/) {
|
||||
unless (length($platform) && length($target)) {
|
||||
print "\nERROR: Platform or target is not defined!\n";
|
||||
Usage();
|
||||
}
|
||||
}
|
||||
|
||||
# replace the PKG variables
|
||||
s/\$\(PLATFORM\)/$platform/gm;
|
||||
s/\$\(TARGET\)/$target/gm;
|
||||
|
||||
if ($installer_unsigned_app_sis_name ne "") {
|
||||
s/$installer_app_sis_name\"/$installer_unsigned_app_sis_name\"/;
|
||||
}
|
||||
|
||||
#write the output
|
||||
open( OUTPUT, ">$pkgoutput" ) or die "ERROR: '$pkgoutput' $!";
|
||||
print OUTPUT $_;
|
||||
close OUTPUT;
|
||||
|
||||
if ($preprocessonly) {
|
||||
# Copy preprocessed file from tmp dir to pkg file dir
|
||||
my ($templateVolume, $templatePath, $templateFileName) = File::Spec->splitpath($templatepkg);
|
||||
my ($dummy1, $dummy2, $copyFileName) = File::Spec->splitpath($pkgoutput);
|
||||
my $copyTarget = File::Spec->catpath($templateVolume, $templatePath, $copyFileName);
|
||||
copy($pkgoutput, $copyTarget) or die "Preprocessed pkg file '$pkgoutput' cannot be copied.";
|
||||
exit;
|
||||
}
|
||||
|
||||
if($stub) {
|
||||
if(!($epocroot)) { die("ERROR: EPOCROOT must be set to create stub sis files"); }
|
||||
my $systeminstall = "${epocroot}epoc32/data/z/system/install";
|
||||
mkpath($systeminstall);
|
||||
my $stub_sis_name = $systeminstall."/".$stub_sis_name;
|
||||
# Create stub SIS.
|
||||
system ("${epocToolsDir}makesis -s $pkgoutput $stub_sis_name");
|
||||
} else {
|
||||
if ($certtext eq "Self Signed"
|
||||
&& !@certificates
|
||||
&& $templatepkg !~ m/_installer\.pkg$/i
|
||||
&& !$onlyUnsigned) {
|
||||
my $patch_capabilities = File::Spec->catfile(dirname($0), "patch_capabilities");
|
||||
if ($dontPatchCaps) {
|
||||
system ("$patch_capabilities -c $pkgoutput") and print ("Warning: Package check for self-signing viability failed. Installing the package on a device will most likely fail!\n\n");
|
||||
} else {
|
||||
print("Auto-patching self-signed package.\n");
|
||||
system ("$patch_capabilities -t $tempPackageDir $pkgoutput") and die ("ERROR: Automatic patching failed");
|
||||
}
|
||||
}
|
||||
|
||||
# Create SIS.
|
||||
# The 'and' is because system uses 0 to indicate success.
|
||||
system ("${epocToolsDir}makesis $pkgoutput $unsigned_sis_name") and die ("ERROR: makesis failed");
|
||||
|
||||
print("\n");
|
||||
|
||||
my $targetInsert = "";
|
||||
if ($targetplatform ne "-") {
|
||||
$targetInsert = " for $targetplatform";
|
||||
}
|
||||
|
||||
if ($onlyUnsigned) {
|
||||
stat($unsigned_sis_name);
|
||||
if( -e _ ) {
|
||||
print ("Successfully created unsigned package ${unsigned_sis_name}${targetInsert}!\n");
|
||||
} else {
|
||||
print ("\nUnsigned package creation failed!\n");
|
||||
}
|
||||
|
||||
print ("\n");
|
||||
exit;
|
||||
}
|
||||
|
||||
# Sign SIS with certificate info given as an argument.
|
||||
my $relcert = File::Spec->abs2rel($certificate);
|
||||
my $relkey = File::Spec->abs2rel($key);
|
||||
# The 'and' is because system uses 0 to indicate success.
|
||||
system ("${epocToolsDir}signsis $unsigned_sis_name $signed_sis_name $relcert $relkey $passphrase") and die ("ERROR: signsis failed");
|
||||
|
||||
# Check if creating signed SIS Succeeded
|
||||
stat($signed_sis_name);
|
||||
if( -e _ ) {
|
||||
print ("Successfully created signed package ${signed_sis_name}${targetInsert} using certificate: $certtext!\n");
|
||||
|
||||
# Sign with additional certificates & keys
|
||||
for my $row ( @certificates ) {
|
||||
# Get certificate absolute file names, relative paths are relative to certfilepath
|
||||
my $relcert = File::Spec->abs2rel(File::Spec->rel2abs( $row->[0], $certfilepath));
|
||||
my $relkey = File::Spec->abs2rel(File::Spec->rel2abs( $row->[1], $certfilepath));
|
||||
|
||||
system ("${epocToolsDir}signsis $signed_sis_name $signed_sis_name $relcert $relkey $row->[2]");
|
||||
print ("\tAdditionally signed the SIS with certificate: $row->[0]!\n");
|
||||
}
|
||||
|
||||
# remove temporary unsigned sis
|
||||
if (!$preserveUnsigned) {
|
||||
unlink $unsigned_sis_name;
|
||||
}
|
||||
|
||||
# Install the sis if requested
|
||||
if ($install) {
|
||||
print ("\nInstalling $signed_sis_name...\n");
|
||||
system ("$signed_sis_name");
|
||||
}
|
||||
} else {
|
||||
# Lets leave the generated PKG for problem solving purposes
|
||||
print ("\nSIS creation failed!\n");
|
||||
}
|
||||
print ("\n");
|
||||
}
|
||||
|
||||
#end of file
|
3
bin/elf2e32_qtwrapper
Executable file
3
bin/elf2e32_qtwrapper
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
scriptpath=`dirname $0`
|
||||
perl $scriptpath/elf2e32_qtwrapper.pl "$@"
|
3
bin/elf2e32_qtwrapper.bat
Normal file
3
bin/elf2e32_qtwrapper.bat
Normal file
@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
set scriptpath=%~dp0
|
||||
perl %scriptpath%elf2e32_qtwrapper.pl %*
|
325
bin/elf2e32_qtwrapper.pl
Executable file
325
bin/elf2e32_qtwrapper.pl
Executable file
@ -0,0 +1,325 @@
|
||||
#!/usr/bin/perl -w
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## All rights reserved.
|
||||
## Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
##
|
||||
## This file is part of the utilities of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## No Commercial Usage
|
||||
## This file contains pre-release code and may not be distributed.
|
||||
## You may use this file in accordance with the terms and conditions
|
||||
## contained in the Technology Preview License Agreement accompanying
|
||||
## this package.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## If you have questions regarding the use of this file, please contact
|
||||
## Nokia at qt-info@nokia.com.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# A script to get around some shortcomings in elf2e32, namely:
|
||||
# - Returning 0 even when there are errors.
|
||||
# - Excluding symbols from the dso file even when they are present in the ELF file.
|
||||
# - Including symbols in the the dso file even when they are not present in the ELF file.
|
||||
# - Overwriting the old dso file even when there are no changes (increases build time).
|
||||
|
||||
use File::Copy;
|
||||
|
||||
my @args = ();
|
||||
my @definput;
|
||||
my @defoutput;
|
||||
my @dso;
|
||||
my @tmpdso;
|
||||
foreach (@ARGV) {
|
||||
if (/^--definput/o) {
|
||||
@definput = split('=', $_);
|
||||
} elsif (/^--defoutput/o) {
|
||||
@defoutput = split('=', $_);
|
||||
} elsif (/^--dso/o) {
|
||||
@dso = split('=', $_);
|
||||
} elsif (/^--tmpdso/o) {
|
||||
@tmpdso = split('=', $_);
|
||||
$tmpdso[0] = "--dso";
|
||||
} else {
|
||||
push(@args, $_);
|
||||
}
|
||||
}
|
||||
|
||||
@definput = () if (!@definput || ! -e $definput[1]);
|
||||
|
||||
if (@dso && !@tmpdso || !@dso && @tmpdso) {
|
||||
print("--dso and --tmpdso must be used together.\n");
|
||||
exit 1;
|
||||
}
|
||||
|
||||
my $buildingLibrary = (@defoutput && @dso) ? 1 : 0;
|
||||
|
||||
my $fixupFile = "";
|
||||
my $runCount = 0;
|
||||
my $returnCode = 0;
|
||||
|
||||
# For debugging. Make it nonzero to give verbose output.
|
||||
my $debugScript = 1;
|
||||
my @usedDefFiles;
|
||||
sub recordDefFile {
|
||||
return if (!$debugScript);
|
||||
|
||||
my ($msg, $file) = @_;
|
||||
my $content = "$msg, $file:\n";
|
||||
my $defFileFd;
|
||||
if (!open($defFileFd, "< $file")) {
|
||||
print("Warning: Could not open $file (for debug analysis)\n");
|
||||
return;
|
||||
}
|
||||
while (<$defFileFd>) {
|
||||
$content .= $_;
|
||||
}
|
||||
|
||||
push(@usedDefFiles, $content);
|
||||
}
|
||||
sub printRecordedDefFiles {
|
||||
return if (!$debugScript);
|
||||
|
||||
foreach (@usedDefFiles) {
|
||||
print ("$_\n");
|
||||
}
|
||||
}
|
||||
|
||||
sub missingSymbolMismatch
|
||||
{
|
||||
my $missingSymbolSum = $_[0];
|
||||
|
||||
printRecordedDefFiles;
|
||||
|
||||
print("Bug in the native elf2e32 tool: Number of missing symbols does not\n");
|
||||
print("match number of removed symbols in the output DEF file.\n\n");
|
||||
|
||||
print("Original elf2e32 output:\n");
|
||||
print(" $missingSymbolSum Frozen Export\(s\) missing from the ELF file\n\n");
|
||||
|
||||
print("However $defoutput[1] contains more missing entries than that.\n\n");
|
||||
|
||||
print("This needs to be fixed manually in the DEF file.\n");
|
||||
exit(2);
|
||||
}
|
||||
|
||||
if ($debugScript) {
|
||||
print("PATH: $ENV{PATH}\n");
|
||||
print("EPOCROOT: $ENV{EPOCROOT}\n");
|
||||
}
|
||||
|
||||
while (1) {
|
||||
if (++$runCount > 2) {
|
||||
printRecordedDefFiles if ($debugScript);
|
||||
print("Internal error in $0, link succeeded, but exports may be wrong.\n");
|
||||
last;
|
||||
}
|
||||
|
||||
my $elf2e32Pipe;
|
||||
my $elf2e32Cmd = "elf2e32 @args"
|
||||
. " " . join("=", @definput)
|
||||
. " " . join("=", @defoutput)
|
||||
. " " . join("=", @tmpdso);
|
||||
open($elf2e32Pipe, "$elf2e32Cmd 2>&1 |") or die ("Could not run elf2e32");
|
||||
|
||||
my %fixupSymbols;
|
||||
my $foundBrokenSymbols = 0;
|
||||
my $missingSymbolSum = 0;
|
||||
my $missingSymbolCount = 0;
|
||||
my $errors = 0;
|
||||
while (<$elf2e32Pipe>) {
|
||||
print;
|
||||
if (/Error:/io) {
|
||||
$errors = 1;
|
||||
} elsif (/symbol ([a-z0-9_]+) absent in the DEF file, but present in the ELF file/io) {
|
||||
$fixupSymbols{$1} = 1;
|
||||
$foundBrokenSymbols = 1;
|
||||
} elsif (/([0-9]+) Frozen Export\(s\) missing from the ELF file/io) {
|
||||
$missingSymbolSum = $1;
|
||||
$foundBrokenSymbols = 1;
|
||||
}
|
||||
}
|
||||
close($elf2e32Pipe);
|
||||
|
||||
if ($debugScript) {
|
||||
recordDefFile("Run no $runCount, elf2e32 DEF file input", "$definput[1]");
|
||||
recordDefFile("Run no $runCount, elf2e32 DEF file output", "$defoutput[1]");
|
||||
}
|
||||
|
||||
if ($errors) {
|
||||
$returnCode = 1;
|
||||
last;
|
||||
}
|
||||
|
||||
if ($buildingLibrary && $runCount == 1) {
|
||||
my $tmpDefFile;
|
||||
my $newDefFile;
|
||||
my $origDefFile;
|
||||
my $savedNewDefFileLine = "";
|
||||
if ($definput[1]) {
|
||||
open($origDefFile, "< $definput[1]") or die("Could not open $definput[1]");
|
||||
}
|
||||
open($newDefFile, "< $defoutput[1]") or die("Could not open $defoutput[1]");
|
||||
open($tmpDefFile, "> $defoutput[1].tmp") or die("Could not open $defoutput[1].tmp");
|
||||
print($tmpDefFile "EXPORTS\n") or die("Could not write to temporary DEF file: $!");
|
||||
$fixupFile = "$defoutput[1].tmp";
|
||||
while (1) {
|
||||
my $origDefLine;
|
||||
my $origSym;
|
||||
my $origOrdinal;
|
||||
my $origExtraData;
|
||||
my $newDefLine;
|
||||
my $newSym;
|
||||
my $newOrdinal;
|
||||
my $newExtraData;
|
||||
my $defLine;
|
||||
my $sym;
|
||||
my $ordinal;
|
||||
my $extraData;
|
||||
if ($definput[1]) {
|
||||
# Read from original def file, and skip non-symbol lines
|
||||
while (1) {
|
||||
$origDefLine = <$origDefFile>;
|
||||
if (defined($origDefLine)) {
|
||||
$origDefLine =~ s/[\n\r]//;
|
||||
if ($origDefLine =~ /([a-z0-9_]+) +\@ *([0-9]+) (.*)/i) {
|
||||
$origSym = $1;
|
||||
$origOrdinal = $2;
|
||||
$origExtraData = $3;
|
||||
last;
|
||||
}
|
||||
} else {
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($savedNewDefFileLine) {
|
||||
# This happens if the new def file was missing an entry.
|
||||
$newDefLine = $savedNewDefFileLine;
|
||||
$newDefLine =~ /([a-z0-9_]+) +\@ *([0-9]+) (.*)/i or die("$0: Shouldn't happen");
|
||||
$newSym = $1;
|
||||
$newOrdinal = $2;
|
||||
$newExtraData = $3;
|
||||
} else {
|
||||
# Read from new def file, and skip non-symbol lines
|
||||
while (1) {
|
||||
$newDefLine = <$newDefFile>;
|
||||
if (defined($newDefLine)) {
|
||||
$newDefLine =~ s/[\n\r]//;
|
||||
if ($newDefLine =~ /([a-z0-9_]+) +\@ *([0-9]+) (.*)/i) {
|
||||
$newSym = $1;
|
||||
$newOrdinal = $2;
|
||||
$newExtraData = $3;
|
||||
last;
|
||||
}
|
||||
} else {
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
$savedNewDefFileLine = "";
|
||||
last if (!defined($origDefLine) && !defined($newDefLine));
|
||||
|
||||
if (defined($origOrdinal) && (!defined($newOrdinal) || $origOrdinal != $newOrdinal)) {
|
||||
# If the symbol is missing from the new def file, use the original symbol.
|
||||
$savedNewDefFileLine = $newDefLine;
|
||||
$defLine = $origDefLine;
|
||||
$sym = $origSym;
|
||||
$ordinal = $origOrdinal;
|
||||
$extraData = $origExtraData;
|
||||
} else {
|
||||
$defLine = $newDefLine;
|
||||
$sym = $newSym;
|
||||
$ordinal = $newOrdinal;
|
||||
if ($newExtraData =~ /ABSENT/) {
|
||||
# Special case to keep "DATA [0-9]+" data in absent entries.
|
||||
$extraData = $origExtraData;
|
||||
} else {
|
||||
$extraData = $newExtraData;
|
||||
}
|
||||
}
|
||||
if (exists($fixupSymbols{$sym})) {
|
||||
# Fix symbols that have returned after first being marked ABSENT.
|
||||
$extraData =~ s/ ABSENT//;
|
||||
} elsif ($defLine =~ s/; MISSING://) {
|
||||
# Auto-absent symbols.
|
||||
$extraData .= " ABSENT";
|
||||
if (++$missingSymbolCount > $missingSymbolSum) {
|
||||
missingSymbolMismatch($missingSymbolSum);
|
||||
}
|
||||
}
|
||||
print($tmpDefFile "\t$sym \@ $ordinal $extraData\n") or die("Could not write to temporary DEF file: $!");
|
||||
}
|
||||
print($tmpDefFile "\n") or die("Could not write to temporary DEF file: $!");
|
||||
close($origDefFile) if ($definput[1]);
|
||||
close($newDefFile);
|
||||
close($tmpDefFile);
|
||||
|
||||
$definput[1] = "$defoutput[1].tmp";
|
||||
|
||||
}
|
||||
if (!$foundBrokenSymbols || $errors) {
|
||||
last;
|
||||
}
|
||||
|
||||
print("Rerunning elf2e32 due to DEF file / ELF file mismatch\n");
|
||||
};
|
||||
|
||||
if ($fixupFile) {
|
||||
unlink($defoutput[1]);
|
||||
move($fixupFile, $defoutput[1]);
|
||||
}
|
||||
|
||||
exit $returnCode if ($returnCode != 0);
|
||||
|
||||
if ($buildingLibrary) {
|
||||
my $differenceFound = 0;
|
||||
|
||||
if (-e $dso[1]) {
|
||||
my $dsoFile;
|
||||
my $tmpdsoFile;
|
||||
my $dsoBuf;
|
||||
my $tmpdsoBuf;
|
||||
open($dsoFile, "< $dso[1]") or die("Could not open $dso[1]");
|
||||
open($tmpdsoFile, "< $tmpdso[1]") or die("Could not open $tmpdso[1]");
|
||||
binmode($dsoFile);
|
||||
binmode($tmpdsoFile);
|
||||
while(read($dsoFile, $dsoBuf, 4096) && read($tmpdsoFile, $tmpdsoBuf, 4096)) {
|
||||
if ($dsoBuf ne $tmpdsoBuf) {
|
||||
$differenceFound = 1;
|
||||
}
|
||||
}
|
||||
close($tmpdsoFile);
|
||||
close($dsoFile);
|
||||
} else {
|
||||
$differenceFound = 1;
|
||||
}
|
||||
|
||||
if ($differenceFound) {
|
||||
copy($tmpdso[1], $dso[1]) or die("Could not copy $tmpdso[1] to $dso[1]: $!");
|
||||
}
|
||||
}
|
189
bin/findtr
Executable file
189
bin/findtr
Executable file
@ -0,0 +1,189 @@
|
||||
#!/usr/bin/perl -w
|
||||
# vi:wrap:
|
||||
|
||||
# See Qt I18N documentation for usage information.
|
||||
|
||||
use POSIX qw(strftime);
|
||||
|
||||
$projectid='PROJECT VERSION';
|
||||
$datetime = strftime "%Y-%m-%d %X %Z", localtime;
|
||||
$charset='iso-8859-1';
|
||||
$translator='FULLNAME <EMAIL@ADDRESS>';
|
||||
$revision_date='YYYY-MM-DD';
|
||||
|
||||
$real_mark = "tr";
|
||||
$noop_mark = "QT_TR_NOOP";
|
||||
$scoped_mark = "qApp->translate";
|
||||
$noop_scoped_mark = "QT_TRANSLATE_NOOP";
|
||||
|
||||
$header=
|
||||
'# This is a Qt message file in .po format. Each msgid starts with
|
||||
# a scope. This scope should *NOT* be translated - eg. translating
|
||||
# from French to English, "Foo::Bar" would be translated to "Pub",
|
||||
# not "Foo::Pub".
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: '.$projectid.'\n"
|
||||
"POT-Creation-Date: '.$datetime.'\n"
|
||||
"PO-Revision-Date: '.$revision_date.'\n"
|
||||
"Last-Translator: '.$translator.'\n"
|
||||
"Content-Type: text/plain; charset='.$charset.'\n"
|
||||
|
||||
';
|
||||
|
||||
|
||||
|
||||
|
||||
$scope = "";
|
||||
|
||||
if ( $#ARGV < 0 ) {
|
||||
print STDERR "Usage: findtr sourcefile ... >project.po\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
|
||||
sub outmsg {
|
||||
my ($file, $line, $scope, $msgid) = @_;
|
||||
# unesc
|
||||
$msgid =~ s/$esc:$esc:$esc/::/gs;
|
||||
$msgid =~ s|$esc/$esc/$esc|//|gs;
|
||||
|
||||
# Remove blank lines
|
||||
$msgid =~ s/\n\n+/\n/gs;
|
||||
$msgid = "\"\"\n$msgid" if $msgid =~ /\n/s;
|
||||
print "#: $file:$line\n";
|
||||
$msgid =~ s/^"//; #"emacs bug
|
||||
print "msgid \"${scope}::$msgid\n";
|
||||
#print "msgstr \"$msgid\n";
|
||||
print "msgstr \"\"\n";
|
||||
print "\n";
|
||||
}
|
||||
|
||||
sub justlines {
|
||||
my $l = @_;
|
||||
$l =~ tr|\n||dc;
|
||||
return $l;
|
||||
}
|
||||
|
||||
print $header;
|
||||
|
||||
|
||||
foreach $file ( @ARGV ) {
|
||||
next unless open( I, "< $file" );
|
||||
|
||||
$source = join( "", <I> );
|
||||
|
||||
# Find esc. Avoid bad case 1/// -> 1/1/1/1 -> ///1
|
||||
$esc = 1;
|
||||
while ( $source =~ m!(?:$esc/$esc/$esc)|(?:$esc///)
|
||||
|(?:$esc:$esc:$esc)|(?:$esc:\:\:)! ) {
|
||||
$esc++;
|
||||
}
|
||||
|
||||
# Hide quoted :: in practically all strings
|
||||
$source =~ s/\"([^"\n]*)::([^"\n]*)\"/\"$1$esc:$esc:$esc$2\"/g;
|
||||
|
||||
# Hide quoted // in practically all strings
|
||||
$source =~ s|\"([^"\n]*)//([^"\n]*)\"|\"$1$esc/$esc/$esc$2\"|g;
|
||||
|
||||
|
||||
# strip comments -- does not handle "/*" in strings
|
||||
while( $source =~ s|/\*(.*?)\*/|justlines($1)|ges ) { }
|
||||
while( $source =~ s|//(.*?)\n|\n|g ) { }
|
||||
|
||||
while( $source =~ /
|
||||
(?:
|
||||
# Some doublequotes are "escaped" to help vim syntax highlight
|
||||
|
||||
# $1 = scope; $2 = parameters etc.
|
||||
(?:
|
||||
# Scoped function name ($1 is scope).
|
||||
(\w+)::(?:\w+)
|
||||
\s*
|
||||
# Parameters etc up to open-curly - no semicolons
|
||||
\(([^();]*)\)
|
||||
\s*
|
||||
(?:\{|:)
|
||||
)
|
||||
|
|
||||
# $3 - one-argument msgid
|
||||
(?:\b
|
||||
# One of the marks
|
||||
(?:$real_mark|$noop_mark)
|
||||
\s*
|
||||
# The parameter
|
||||
\(\s*((?:"(?:[^"]|[^\\]\\")*"\s*)+)\)
|
||||
)
|
||||
|
|
||||
# $4,$5 - two-argument msgid
|
||||
(?:\b
|
||||
# One of the scoped marks
|
||||
(?:$scoped_mark|$noop_scoped_mark)
|
||||
\s*
|
||||
# The parameters
|
||||
\(
|
||||
# The scope parameter
|
||||
\s*"([^\"]*)"
|
||||
\s*,\s*
|
||||
# The msgid parameter
|
||||
\s*((?:\"(?:[^"]|[^\\]\\")*"\s*)+) #"emacs
|
||||
\)
|
||||
)
|
||||
|
|
||||
# $6,$7 - scoped one-argument msgid
|
||||
(?:\b
|
||||
# The scope
|
||||
(\w+)::
|
||||
# One of the marks
|
||||
(?:$real_mark)
|
||||
\s*
|
||||
# The parameter
|
||||
\(\s*((?:"(?:[^"]|[^\\]\\")*"\s*)+)\)
|
||||
)
|
||||
)/gsx )
|
||||
{
|
||||
@lines = split /^/m, "$`";
|
||||
$line = @lines;
|
||||
if ( defined( $1 ) ) {
|
||||
if ( $scope ne $1 ) {
|
||||
$sc=$1;
|
||||
$etc=$2;
|
||||
# remove strings
|
||||
$etc =~ s/"(?:[^"]|[^\\]\\")"//g;
|
||||
# count ( and )
|
||||
@open = split /\(/m, $etc;
|
||||
@close = split /\)/m, $etc;
|
||||
if ( $#open == $#close ) {
|
||||
$scope = $sc;
|
||||
}
|
||||
}
|
||||
next;
|
||||
}
|
||||
|
||||
if ( defined( $3 ) ) {
|
||||
$this_scope = $scope;
|
||||
$msgid = $3;
|
||||
} elsif ( defined( $4 ) ) {
|
||||
$this_scope = $4;
|
||||
$msgid = $5;
|
||||
} elsif ( defined( $6 ) ) {
|
||||
$this_scope = $6;
|
||||
$msgid = $7;
|
||||
} else {
|
||||
next;
|
||||
}
|
||||
|
||||
$msgid =~ s/^\s*//;
|
||||
$msgid =~ s/\s*$//;
|
||||
|
||||
# Might still be non-unique eg. tr("A" "B") vs. tr("A" "B").
|
||||
|
||||
$location{"${this_scope}::${msgid}"} = "$file:$line";
|
||||
}
|
||||
}
|
||||
|
||||
for $scoped_msgid ( sort keys %location ) {
|
||||
($scope,$msgid) = $scoped_msgid =~ m/([^:]*)::(.*)/s;
|
||||
($file,$line) = $location{$scoped_msgid} =~ m/([^:]*):(.*)/s;
|
||||
outmsg($file,$line,$scope,$msgid);
|
||||
}
|
3
bin/patch_capabilities
Executable file
3
bin/patch_capabilities
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
scriptpath=`dirname $0`
|
||||
perl $scriptpath/patch_capabilities.pl "$@"
|
1
bin/patch_capabilities.bat
Normal file
1
bin/patch_capabilities.bat
Normal file
@ -0,0 +1 @@
|
||||
@perl.exe -S %~dp0patch_capabilities.pl %*
|
398
bin/patch_capabilities.pl
Executable file
398
bin/patch_capabilities.pl
Executable file
@ -0,0 +1,398 @@
|
||||
#!/usr/bin/perl
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## All rights reserved.
|
||||
## Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
##
|
||||
## This file is part of the S60 port of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## No Commercial Usage
|
||||
## This file contains pre-release code and may not be distributed.
|
||||
## You may use this file in accordance with the terms and conditions
|
||||
## contained in the Technology Preview License Agreement accompanying
|
||||
## this package.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## If you have questions regarding the use of this file, please contact
|
||||
## Nokia at qt-info@nokia.com.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
#######################################################################
|
||||
#
|
||||
# A script for setting binary capabilities based on .pkg file contents.
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
#
|
||||
# Note: Please make sure to output all changes done to the pkg file in a print statements
|
||||
# starting with "Patching: " to ease integration into IDEs!
|
||||
#
|
||||
|
||||
use File::Copy;
|
||||
use File::Spec;
|
||||
use File::Path;
|
||||
|
||||
sub Usage() {
|
||||
print("This script can be used to set capabilities of all binaries\n");
|
||||
print("specified for deployment in a .pkg file.\n");
|
||||
print("If no capabilities are given, the binaries will be given the\n");
|
||||
print("capabilities supported by self-signed certificates.\n\n");
|
||||
print(" *** NOTE: If *_template.pkg file is given and one is using symbian-abld or\n");
|
||||
print(" symbian-sbsv2 platform, 'target-platform' is REQUIRED. ***\n\n");
|
||||
print(" *** NOTE2: When patching gcce binaries built with symbian-sbsv2 toolchain,\n");
|
||||
print(" armv5 must be specified as platform.\n");
|
||||
print("\nUsage: patch_capabilities.pl [-c|-t tmp_path] pkg_filename [target-platform [capability list]]\n");
|
||||
print("\nE.g. patch_capabilities.pl myapp_template.pkg release-armv5 \"All -TCB\"\n");
|
||||
print("\nThe parameter -c can be used to just check if package is compatible with self-signing\n");
|
||||
print("without actually doing any patching.\n");
|
||||
print("Explicit capability list cannot be used with -c parameter.\n");
|
||||
print("\nThe parameter -t can be used to specify a dir under which the temporary files are created.\n");
|
||||
print("Defaults to 'patch_capabilities_tmp' under the path to pkg file.\n");
|
||||
exit();
|
||||
}
|
||||
|
||||
sub trim($) {
|
||||
my $string = shift;
|
||||
$string =~ s/^\s+//;
|
||||
$string =~ s/\s+$//;
|
||||
return $string;
|
||||
}
|
||||
|
||||
my $epocroot = $ENV{EPOCROOT};
|
||||
my $epocToolsDir = "";
|
||||
if ($epocroot ne "") {
|
||||
$epocroot =~ s,\\,/,g;
|
||||
if ($epocroot =~ m,[^/]$,) {
|
||||
$epocroot = $epocroot."/";
|
||||
}
|
||||
$epocToolsDir = "${epocroot}epoc32/tools/";
|
||||
}
|
||||
|
||||
my $nullDevice = "/dev/null";
|
||||
$nullDevice = "NUL" if ($^O =~ /MSWin/);
|
||||
|
||||
my @capabilitiesToAllow = ("LocalServices", "NetworkServices", "ReadUserData", "UserEnvironment", "WriteUserData", "Location");
|
||||
my @capabilitiesSpecified = ();
|
||||
|
||||
# If arguments were given to the script,
|
||||
if (@ARGV)
|
||||
{
|
||||
# Parse the first given script argument as a ".pkg" file name.
|
||||
my $pkgFileName = shift(@ARGV);
|
||||
my $justCheck = "";
|
||||
my $msgPrefix = "Patching:";
|
||||
my $tempPatchPath = "";
|
||||
|
||||
if ($pkgFileName eq "-c") {
|
||||
$pkgFileName = shift(@ARGV);
|
||||
$justCheck = true;
|
||||
$msgPrefix = "Warning:";
|
||||
}
|
||||
|
||||
if ($pkgFileName eq "-t") {
|
||||
$tempPatchPath = shift(@ARGV);
|
||||
$pkgFileName = shift(@ARGV);
|
||||
}
|
||||
|
||||
my ($pkgVolume, $pkgPath, $pkgPlainFileName) = File::Spec->splitpath($pkgFileName);
|
||||
if ($tempPatchPath eq "") {
|
||||
$tempPatchPath = File::Spec->catpath($pkgVolume, $pkgPath."patch_capabilities_tmp", "");
|
||||
}
|
||||
|
||||
mkpath($tempPatchPath);
|
||||
|
||||
# These variables will only be set for template .pkg files.
|
||||
my $target;
|
||||
my $platform;
|
||||
|
||||
# Check if using template .pkg and set target/platform variables
|
||||
if (($pkgFileName =~ m|_template\.pkg$|i) && -r($pkgFileName))
|
||||
{
|
||||
my $targetplatform;
|
||||
my $templateFile;
|
||||
my $templateContents;
|
||||
open($templateFile, "< $pkgFileName") or die ("Could not open $pkgFileName");
|
||||
$templateContents = <$templateFile>;
|
||||
close($templateFile);
|
||||
unless (($targetplatform = shift(@ARGV)) || $templateContents !~ /\$\(PLATFORM\)/)
|
||||
{
|
||||
Usage();
|
||||
}
|
||||
$targetplatform = "-" if (!$targetplatform);
|
||||
my @tmpvalues = split('-', $targetplatform);
|
||||
$target = $tmpvalues[0];
|
||||
$platform = $tmpvalues[1];
|
||||
|
||||
# Convert visual target to real target (debug->udeb and release->urel)
|
||||
$target =~ s/debug/udeb/i;
|
||||
$target =~ s/release/urel/i;
|
||||
|
||||
if (($platform =~ m/^gcce$/i) && ($ENV{SBS_HOME})) {
|
||||
# Print a informative note in case suspected misuse is detected.
|
||||
print "\nNote: You must use armv5 as platform when packaging gcce binaries built using symbian-sbsv2 mkspec.\n";
|
||||
}
|
||||
}
|
||||
|
||||
# If the specified ".pkg" file exists (and can be read),
|
||||
if (($pkgFileName =~ m|\.pkg$|i) && -r($pkgFileName))
|
||||
{
|
||||
print ("\n");
|
||||
if ($justCheck) {
|
||||
print ("Checking");
|
||||
} else {
|
||||
print ("Patching");
|
||||
}
|
||||
print (" package file and relevant binaries...\n");
|
||||
|
||||
if (!$justCheck) {
|
||||
# If there are more arguments given, parse them as capabilities.
|
||||
if (@ARGV)
|
||||
{
|
||||
@capabilitiesSpecified = ();
|
||||
while (@ARGV)
|
||||
{
|
||||
push (@capabilitiesSpecified, pop(@ARGV));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Start with no binaries listed.
|
||||
my @binaries = ();
|
||||
my $binariesDelimeter = "///";
|
||||
|
||||
my $tempPkgFileName = $tempPatchPath."/__TEMP__".$pkgPlainFileName;
|
||||
|
||||
if (!$justCheck) {
|
||||
unlink($tempPkgFileName);
|
||||
open (NEW_PKG, ">>".$tempPkgFileName);
|
||||
}
|
||||
open (PKG, "<".$pkgFileName);
|
||||
|
||||
my $checkFailed = "";
|
||||
my $somethingPatched = "";
|
||||
|
||||
# Parse each line.
|
||||
while (<PKG>)
|
||||
{
|
||||
my $line = $_;
|
||||
my $newLine = $line;
|
||||
|
||||
# Patch pkg UID if it's in protected range
|
||||
if ($line =~ m/^\#.*\((0x[0-7][0-9a-fA-F]*)\).*$/)
|
||||
{
|
||||
my $oldUID = $1;
|
||||
print ("$msgPrefix UID $oldUID is not compatible with self-signing!\n");
|
||||
|
||||
if ($justCheck) {
|
||||
$checkFailed = true;
|
||||
} else {
|
||||
my $newUID = $oldUID;
|
||||
$newUID =~ s/0x./0xE/i;
|
||||
$newLine =~ s/$oldUID/$newUID/;
|
||||
print ("$msgPrefix Package UID changed to: $newUID.\n");
|
||||
$somethingPatched = true;
|
||||
}
|
||||
}
|
||||
|
||||
# If the line specifies a file, parse the source and destination locations.
|
||||
if ($line =~ m|^ *\"([^\"]+)\"\s*\-\s*\"([^\"]+)\"|)
|
||||
{
|
||||
my $sourcePath = $1;
|
||||
|
||||
# If the given file is a binary, check the target and binary type (+ the actual filename) from its path.
|
||||
if ($sourcePath =~ m:\w+(\.dll|\.exe)$:i)
|
||||
{
|
||||
# Do preprocessing for template pkg,
|
||||
# In case of template pkg target and platform variables are set
|
||||
if(length($target) && length($platform))
|
||||
{
|
||||
$sourcePath =~ s/\$\(PLATFORM\)/$platform/gm;
|
||||
$sourcePath =~ s/\$\(TARGET\)/$target/gm;
|
||||
}
|
||||
|
||||
my ($dummy1, $dummy2, $binaryBaseName) = File::Spec->splitpath($sourcePath);
|
||||
|
||||
if ($justCheck) {
|
||||
push (@binaries, $binaryBaseName.$binariesDelimeter.$sourcePath);
|
||||
} else {
|
||||
# Copy original files over to patching dir
|
||||
# Patching dir will be flat to make it cleanable with QMAKE_CLEAN, so path
|
||||
# will be collapsed into the file name to avoid name collisions in the rare
|
||||
# case where custom pkg rules are used to install files with same names from
|
||||
# different directories (probably using platform checks to choose only one of them.)
|
||||
my $patchedSourcePath = $sourcePath;
|
||||
$patchedSourcePath =~ s/[\/\\:]/_/g;
|
||||
$patchedSourcePath = "$tempPatchPath/$patchedSourcePath";
|
||||
$newLine =~ s/^.*(\.dll|\.exe)(.*)(\.dll|\.exe)/\"$patchedSourcePath$2$3/i;
|
||||
|
||||
copy($sourcePath, $patchedSourcePath) or die "$sourcePath cannot be copied for patching.";
|
||||
push (@binaries, $binaryBaseName.$binariesDelimeter.$patchedSourcePath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
print NEW_PKG $newLine;
|
||||
|
||||
chomp ($line);
|
||||
}
|
||||
|
||||
close (PKG);
|
||||
if (!$justCheck) {
|
||||
close (NEW_PKG);
|
||||
|
||||
unlink($pkgFileName);
|
||||
rename($tempPkgFileName, $pkgFileName);
|
||||
}
|
||||
print ("\n");
|
||||
|
||||
my $baseCommandToExecute = "${epocToolsDir}elftran -vid 0x0 -capability \"%s\" ";
|
||||
|
||||
# Actually set the capabilities of the listed binaries.
|
||||
foreach my $binariesItem(@binaries)
|
||||
{
|
||||
$binariesItem =~ m|^(.*)$binariesDelimeter(.*)$|;
|
||||
my $binaryBaseName = $1;
|
||||
my $binaryPath = $2;
|
||||
|
||||
# Create the command line for setting the capabilities.
|
||||
my $commandToExecute = $baseCommandToExecute;
|
||||
my $executeNeeded = "";
|
||||
if (@capabilitiesSpecified)
|
||||
{
|
||||
$commandToExecute = sprintf($baseCommandToExecute, join(" ", @capabilitiesSpecified));
|
||||
$executeNeeded = true;
|
||||
my $capString = join(" ", @capabilitiesSpecified);
|
||||
print ("$msgPrefix Patching the the Vendor ID to 0 and the capabilities used to: \"$capString\" in \"$binaryBaseName\".\n");
|
||||
} else {
|
||||
# Test which capabilities are present and then restrict them to the allowed set.
|
||||
# This avoid raising the capabilities of apps that already have none.
|
||||
my $dllCaps;
|
||||
open($dllCaps, "${epocToolsDir}elftran -dump s $binaryPath |") or die ("ERROR: Could not execute elftran");
|
||||
my $capsFound = 0;
|
||||
my $originalVid;
|
||||
my @capabilitiesToSet;
|
||||
my $capabilitiesToAllow = join(" ", @capabilitiesToAllow);
|
||||
my @capabilitiesToDrop;
|
||||
while (<$dllCaps>) {
|
||||
if (/^Secure ID: ([0-7][0-9a-fA-F]*)$/) {
|
||||
my $exeSid = $1;
|
||||
if ($binaryBaseName =~ /\.exe$/) {
|
||||
# Installer refuses to install protected executables in a self signed package, so abort if one is detected.
|
||||
# We can't simply just patch the executable SID, as any registration resources executable uses will be linked to it via SID.
|
||||
print ("$msgPrefix Executable with SID in the protected range (0x$exeSid) detected: \"$binaryBaseName\". A self-signed sis with protected executables is not supported.\n\n");
|
||||
$checkFailed = true;
|
||||
}
|
||||
}
|
||||
if (/^Vendor ID: ([0-9a-fA-F]*)$/) {
|
||||
$originalVid = "$1";
|
||||
}
|
||||
if (!$capsFound) {
|
||||
$capsFound = 1 if (/Capabilities:/);
|
||||
} else {
|
||||
$_ = trim($_);
|
||||
if ($capabilitiesToAllow =~ /$_/) {
|
||||
push(@capabilitiesToSet, $_);
|
||||
if (Location =~ /$_/i) {
|
||||
print ("$msgPrefix \"Location\" capability detected for binary: \"$binaryBaseName\". This capability is not self-signable for S60 3rd edition feature pack 1 devices, so installing this package on those devices will most likely not work.\n\n");
|
||||
}
|
||||
} else {
|
||||
push(@capabilitiesToDrop, $_);
|
||||
}
|
||||
}
|
||||
}
|
||||
close($dllCaps);
|
||||
if ($originalVid !~ "00000000") {
|
||||
print ("$msgPrefix Non-zero vendor ID (0x$originalVid) is incompatible with self-signed packages in \"$binaryBaseName\"");
|
||||
if ($justCheck) {
|
||||
print (".\n\n");
|
||||
$checkFailed = true;
|
||||
} else {
|
||||
print (", setting it to zero.\n\n");
|
||||
$executeNeeded = true;
|
||||
}
|
||||
}
|
||||
if ($#capabilitiesToDrop) {
|
||||
my $capsToDropStr = join("\", \"", @capabilitiesToDrop);
|
||||
$capsToDropStr =~ s/\", \"$//;
|
||||
|
||||
if ($justCheck) {
|
||||
print ("$msgPrefix The following capabilities used in \"$binaryBaseName\" are not compatible with a self-signed package: \"$capsToDropStr\".\n\n");
|
||||
$checkFailed = true;
|
||||
} else {
|
||||
if ($binaryBaseName =~ /\.exe$/) {
|
||||
# While libraries often have capabilities they do not themselves need just to enable them to be loaded by wider variety of processes,
|
||||
# executables are more likely to need every capability they have been assigned or they won't function correctly.
|
||||
print ("$msgPrefix Executable with capabilities incompatible with self-signing detected: \"$binaryBaseName\". (Incompatible capabilities: \"$capsToDropStr\".) Reducing capabilities is only supported for libraries.\n");
|
||||
$checkFailed = true;
|
||||
} else {
|
||||
print ("$msgPrefix The following capabilities used in \"$binaryBaseName\" are not compatible with a self-signed package and will be removed: \"$capsToDropStr\".\n");
|
||||
$executeNeeded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
$commandToExecute = sprintf($baseCommandToExecute, join(" ", @capabilitiesToSet));
|
||||
}
|
||||
$commandToExecute .= $binaryPath;
|
||||
|
||||
if ($executeNeeded) {
|
||||
# Actually execute the elftran command to set the capabilities.
|
||||
print ("\n");
|
||||
system ("$commandToExecute > $nullDevice");
|
||||
$somethingPatched = true;
|
||||
}
|
||||
}
|
||||
|
||||
if ($checkFailed) {
|
||||
print ("\n");
|
||||
if ($justCheck) {
|
||||
print ("$msgPrefix The package is not compatible with self-signing.\n");
|
||||
} else {
|
||||
print ("$msgPrefix Unable to patch the package for self-singing.\n");
|
||||
}
|
||||
print ("Use a proper developer certificate for signing this package.\n\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ($justCheck) {
|
||||
print ("Package is compatible with self-signing.\n");
|
||||
} else {
|
||||
if ($somethingPatched) {
|
||||
print ("NOTE: A patched package may not work as expected due to reduced capabilities and other modifications,\n");
|
||||
print (" so it should not be used for any kind of Symbian signing or distribution!\n");
|
||||
print (" Use a proper certificate to avoid the need to patch the package.\n");
|
||||
} else {
|
||||
print ("No patching was required!\n");
|
||||
}
|
||||
}
|
||||
print ("\n");
|
||||
} else {
|
||||
Usage();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Usage();
|
||||
}
|
163
bin/setcepaths.bat
Executable file
163
bin/setcepaths.bat
Executable file
@ -0,0 +1,163 @@
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
::
|
||||
:: Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
:: All rights reserved.
|
||||
:: Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
::
|
||||
:: This file is part of the tools applications of the Qt Toolkit.
|
||||
::
|
||||
:: $QT_BEGIN_LICENSE:LGPL$
|
||||
:: No Commercial Usage
|
||||
:: This file contains pre-release code and may not be distributed.
|
||||
:: You may use this file in accordance with the terms and conditions
|
||||
:: contained in the Technology Preview License Agreement accompanying
|
||||
:: this package.
|
||||
::
|
||||
:: GNU Lesser General Public License Usage
|
||||
:: Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
:: General Public License version 2.1 as published by the Free Software
|
||||
:: Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
:: packaging of this file. Please review the following information to
|
||||
:: ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
::
|
||||
:: In addition, as a special exception, Nokia gives you certain additional
|
||||
:: rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
::
|
||||
:: If you have questions regarding the use of this file, please contact
|
||||
:: Nokia at qt-info@nokia.com.
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
:: $QT_END_LICENSE$
|
||||
::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
@echo off
|
||||
IF "%1" EQU "wincewm50pocket-msvc2005" (
|
||||
checksdk.exe -sdk "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 5.01 for Pocket PC selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm50smart-msvc2005" (
|
||||
checksdk.exe -sdk "Windows Mobile 5.0 Smartphone SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 5.01 for Smartphone for arm selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-x86-msvc2005" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (x86)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-armv4i-msvc2005" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for arm selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-mipsii-msvc2005" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (MIPSII)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for mips-ii selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-mipsiv-msvc2005" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (MIPSIV)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for mips-iv selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-sh4-msvc2005" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (SH4)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for sh4 selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm60professional-msvc2005" (
|
||||
checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 6 Professional selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm65professional-msvc2005" (
|
||||
checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 6 Professional selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm60standard-msvc2005" (
|
||||
checksdk.exe -sdk "Windows Mobile 6 Standard SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 6 Standard selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm50pocket-msvc2008" (
|
||||
checksdk.exe -sdk "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 5.01 for Pocket PC selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm50smart-msvc2008" (
|
||||
checksdk.exe -sdk "Windows Mobile 5.0 Smartphone SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 5.01 for Smartphone for arm selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-x86-msvc2008" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (x86)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-armv4i-msvc2008" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for arm selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-mipsii-msvc2008" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (MIPSII)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for mips-ii selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-mipsiv-msvc2008" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (MIPSIV)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for mips-iv selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wince50standard-sh4-msvc2008" (
|
||||
checksdk.exe -sdk "STANDARDSDK_500 (SH4)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Standard SDK for sh4 selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm60professional-msvc2008" (
|
||||
checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 6 Professional selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm65professional-msvc2008" (
|
||||
checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 6 Professional selected, environment is set up
|
||||
) ELSE IF "%1" EQU "wincewm60standard-msvc2008" (
|
||||
checksdk.exe -sdk "Windows Mobile 6 Standard SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
|
||||
tmp_created_script_setup.bat
|
||||
del tmp_created_script_setup.bat
|
||||
echo Windows Mobile 6 Standard selected, environment is set up
|
||||
) ELSE (
|
||||
echo no SDK to build Windows CE selected
|
||||
echo.
|
||||
echo Current choices are:
|
||||
echo wincewm50pocket-msvc2005 - SDK for Windows Mobile 5.01 PocketPC
|
||||
echo wincewm50smart-msvc2005 - SDK for Windows Mobile 5.01 Smartphone
|
||||
echo wince50standard-x86-msvc2005 - Build for the WinCE standard SDK 5.0
|
||||
echo with x86 platform preset
|
||||
echo wince50standard-armv4i-msvc2005 - Build for the WinCE standard SDK 5.0
|
||||
echo with armv4i platform preset
|
||||
echo wince50standard-mipsiv-msvc2005 - Build for the WinCE standard SDK 5.0
|
||||
echo with mips platform preset
|
||||
echo wince50standard-sh4-msvc2005 - Build for the WinCE standard SDK 5.0
|
||||
echo with sh4 platform preset
|
||||
echo wincewm60professional-msvc2005 - SDK for Windows Mobile 6 professional
|
||||
echo wincewm60standard-msvc2005 - SDK for Windows Mobile 6 Standard
|
||||
echo and the corresponding versions for msvc2008.
|
||||
echo.
|
||||
)
|
||||
|
||||
|
||||
|
1121
bin/syncqt
Executable file
1121
bin/syncqt
Executable file
File diff suppressed because it is too large
Load Diff
42
bin/syncqt.bat
Executable file
42
bin/syncqt.bat
Executable file
@ -0,0 +1,42 @@
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
::
|
||||
:: Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
:: All rights reserved.
|
||||
:: Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
::
|
||||
:: This file is part of the tools applications of the Qt Toolkit.
|
||||
::
|
||||
:: $QT_BEGIN_LICENSE:LGPL$
|
||||
:: No Commercial Usage
|
||||
:: This file contains pre-release code and may not be distributed.
|
||||
:: You may use this file in accordance with the terms and conditions
|
||||
:: contained in the Technology Preview License Agreement accompanying
|
||||
:: this package.
|
||||
::
|
||||
:: GNU Lesser General Public License Usage
|
||||
:: Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
:: General Public License version 2.1 as published by the Free Software
|
||||
:: Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
:: packaging of this file. Please review the following information to
|
||||
:: ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
::
|
||||
:: In addition, as a special exception, Nokia gives you certain additional
|
||||
:: rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
::
|
||||
:: If you have questions regarding the use of this file, please contact
|
||||
:: Nokia at qt-info@nokia.com.
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
:: $QT_END_LICENSE$
|
||||
::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
@rem ***** This assumes PERL is in the PATH *****
|
||||
@perl.exe -S syncqt %*
|
9
config.profiles/harmattan/QMLViewer.desktop
Normal file
9
config.profiles/harmattan/QMLViewer.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=QMLViewer
|
||||
Exec=/usr/bin/qmlviewer -graphicssystem meego
|
||||
Icon=/usr/share/icons/hicolor/64x64/apps/QMLViewer.png
|
||||
Categories=X-MeeGo;
|
||||
OnlyShowIn=X-MeeGo;
|
BIN
config.profiles/harmattan/QMLViewer.png
Normal file
BIN
config.profiles/harmattan/QMLViewer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
58
config.profiles/harmattan/README.source
Normal file
58
config.profiles/harmattan/README.source
Normal file
@ -0,0 +1,58 @@
|
||||
This package uses quilt to manage all modifications to the upstream
|
||||
source. Changes are stored in the source package as diffs in
|
||||
debian/patches and applied during the build.
|
||||
|
||||
To configure quilt to use debian/patches instead of patches, you want
|
||||
either to export QUILT_PATCHES=debian/patches in your environment
|
||||
or use this snippet in your ~/.quiltrc:
|
||||
|
||||
for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
|
||||
if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
|
||||
export QUILT_PATCHES=debian/patches
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
To get the fully patched source after unpacking the source package, cd to
|
||||
the root level of the source package and run:
|
||||
|
||||
quilt push -a
|
||||
|
||||
The last patch listed in debian/patches/series will become the current
|
||||
patch.
|
||||
|
||||
To add a new set of changes, first run quilt push -a, and then run:
|
||||
|
||||
quilt new <patch>
|
||||
|
||||
where <patch> is a descriptive name for the patch, used as the filename in
|
||||
debian/patches. Then, for every file that will be modified by this patch,
|
||||
run:
|
||||
|
||||
quilt add <file>
|
||||
|
||||
before editing those files. You must tell quilt with quilt add what files
|
||||
will be part of the patch before making changes or quilt will not work
|
||||
properly. After editing the files, run:
|
||||
|
||||
quilt refresh
|
||||
|
||||
to save the results as a patch.
|
||||
|
||||
Alternately, if you already have an external patch and you just want to
|
||||
add it to the build system, run quilt push -a and then:
|
||||
|
||||
quilt import -P <patch> /path/to/patch
|
||||
quilt push -a
|
||||
|
||||
(add -p 0 to quilt import if needed). <patch> as above is the filename to
|
||||
use in debian/patches. The last quilt push -a will apply the patch to
|
||||
make sure it works properly.
|
||||
|
||||
To remove an existing patch from the list of patches that will be applied,
|
||||
run:
|
||||
|
||||
quilt delete <patch>
|
||||
|
||||
You may need to run quilt pop -a to unapply patches first before running
|
||||
this command.
|
120
config.profiles/harmattan/api
Normal file
120
config.profiles/harmattan/api
Normal file
@ -0,0 +1,120 @@
|
||||
interface: Phonon
|
||||
type: library
|
||||
libs-pkg: libqt4-phonon
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/phonon/*
|
||||
|
||||
interface: QtCore
|
||||
type: library
|
||||
libs-pkg: libqtcore4
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtCore/*
|
||||
|
||||
interface: QtDBus
|
||||
type: library
|
||||
libs-pkg: libqt4-dbus
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtDBus/*
|
||||
|
||||
interface: QtDeclarative
|
||||
type: library
|
||||
libs-pkg: libqt4-declarative
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtDeclarative/*
|
||||
|
||||
interface: QtGui
|
||||
type: library
|
||||
libs-pkg: libqtgui4
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtGui/*
|
||||
|
||||
interface: QtHelp
|
||||
type: library
|
||||
libs-pkg: libqt4-help
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtHelp/*
|
||||
|
||||
interface: QtMultimedia
|
||||
type: library
|
||||
libs-pkg: libqt4-multimedia
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtMultimedia/*
|
||||
|
||||
interface: QtNetwork
|
||||
type: library
|
||||
libs-pkg: libqt4-network
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtNetwork/*
|
||||
|
||||
interface: QtOpenGL
|
||||
type: library
|
||||
libs-pkg: libqt4-opengl
|
||||
dev-pkg: libqt4-dev libqt4-opengl-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtOpenGL/*
|
||||
|
||||
interface: QtScript
|
||||
type: library
|
||||
libs-pkg: libqt4-script
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtScript/*
|
||||
|
||||
interface: QtSql
|
||||
type: library
|
||||
libs-pkg: libqt4-sql-sqlite libqt4-sql
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtSql/*
|
||||
|
||||
interface: QtSvg
|
||||
type: library
|
||||
libs-pkg: libqt4-svg
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtSvg/*
|
||||
|
||||
interface: QtTest
|
||||
type: library
|
||||
libs-pkg: libqt4-test
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtTest/*
|
||||
|
||||
interface: QtXml
|
||||
type: library
|
||||
libs-pkg: libqt4-xml
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtXml/*
|
||||
|
||||
interface: QtXmlPatterns
|
||||
type: library
|
||||
libs-pkg: libqt4-xmlpatterns
|
||||
dev-pkg: libqt4-dev
|
||||
state: stable
|
||||
scope: Nokia MeeGo
|
||||
headers: /usr/include/qt4/QtXmlPatterns/*
|
||||
|
2039
config.profiles/harmattan/changelog
Normal file
2039
config.profiles/harmattan/changelog
Normal file
File diff suppressed because it is too large
Load Diff
231
config.profiles/harmattan/collection/qtdemo.qhc.uu
Normal file
231
config.profiles/harmattan/collection/qtdemo.qhc.uu
Normal file
@ -0,0 +1,231 @@
|
||||
begin 644 qtdemo.qhc
|
||||
M4U%,:71E(&9O<FUA="`S``0``0$`0"`@````%@````````````````````8`
|
||||
M```!```````````````"````````````````````````````````````````
|
||||
M``````````````4````!`_L`````"`/[````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M```````````````````````````````````````````&`PT````"`MT``X$"
|
||||
MW0``````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M``"!(0(%`'6!76,`;P!M`"X`=`!R`&\`;`!L`'0`90!C`&@`+@!D`&4`<P!I
|
||||
M`&<`;@!E`'(`+@`T`#0`,``N`"X`+P`N`"X`+P`N`"X`+P`N`"X`+P!S`&@`
|
||||
M80!R`&4`+P!Q`'0`-``O`&0`;P!C`"\`:`!T`&T`;``M`&0`90!S`&D`9P!N
|
||||
M`&4`<@`O`&0`90!S`&D`9P!N`&4`<@`N`'$`8P!H`'T!!0!=@2UC`&\`;0`N
|
||||
M`'0`<@!O`&P`;`!T`&4`8P!H`"X`<0!T`"X`-``T`#``+@`N`"\`+@`N`"\`
|
||||
M+@`N`"\`+@`N`"\`<P!H`&$`<@!E`"\`<0!T`#0`+P!D`&\`8P`O`&@`=`!M
|
||||
M`&P`+0!Q`'0`+P!Q`'0`+@!Q`&,`:``-`````@/B``/Q`^(`````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````#0($``$=`G$`9`!O`&,`#0$$
|
||||
M``$=`7$`9`!O`&,`#0````4#KP`#]P/H`],#Q`.O````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M`````````````!,%`P`M9`!E`',`:0!G`&X`90!R``T$`P`A=`!O`&\`;`!S
|
||||
M`!,#`P`M<0!T`'(`90!F`&0`;P!C``T"`P`A-``N`#0`+@`P``<!`P`5<0!T
|
||||
M``T````"`\(``^L#P@``````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````)P(#`%51`'0`(`!$`&4`<P!I`&<`;@!E`'(`
|
||||
M(`!-`&$`;@!U`&$`;``3`0,`+5$`=``@`#0`+@`T`"X`,``-`````P$_``$_
|
||||
M`BH##P``````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````@6@!!R%%
|
||||
M10&"270`80!B`&P`90!.`&$`;0!E`',`<`!A`&,`90!4`&$`8@!L`&4`3@!A
|
||||
M`&T`90!S`'``80!C`&4`5`!A`&(`;`!E``)#`%(`10!!`%0`10`@`%0`00!"
|
||||
M`$P`10`@`$X`80!M`&4`<P!P`&$`8P!E`%0`80!B`&P`90`@`"@`20!D`"``
|
||||
M20!.`%0`10!'`$4`4@`@`%``4@!)`$T`00!2`%D`(`!+`$4`60`L`"``3@!A
|
||||
M`&T`90`@`%0`10!8`%0`+``@`$8`:0!L`&4`4`!A`'0`:``@`%0`10!8`%0`
|
||||
M(``I`(%B`@<A.3D!@E5T`&$`8@!L`&4`1@!O`&P`9`!E`'(`5`!A`&(`;`!E
|
||||
M`$8`;P!L`&0`90!R`%0`80!B`&P`90`#0P!2`$4`00!4`$4`(`!4`$$`0@!,
|
||||
M`$4`(`!&`&\`;`!D`&4`<@!4`&$`8@!L`&4`(``H`$D`9``@`$D`3@!4`$4`
|
||||
M1P!%`%(`(`!0`%(`20!-`$$`4@!9`"``2P!%`%D`+``@`$X`80!M`&4`<P!P
|
||||
M`&$`8P!E`$D`9``@`$D`3@!4`$4`1P!%`%(`+``@`$X`80!M`&4`(`!4`$4`
|
||||
M6`!4`"``*0"!;@,'(5U=`8(E=`!A`&(`;`!E`$8`:0!L`'0`90!R`$$`=`!T
|
||||
M`'(`:0!B`'4`=`!E`%0`80!B`&P`90!&`&D`;`!T`&4`<@!!`'0`=`!R`&D`
|
||||
M8@!U`'0`90!4`&$`8@!L`&4`!$,`4@!%`$$`5`!%`"``5`!!`$(`3`!%`"``
|
||||
M1@!I`&P`=`!E`'(`00!T`'0`<@!I`&(`=0!T`&4`5`!A`&(`;`!E`"``*`!)
|
||||
M`&0`(`!)`$X`5`!%`$<`10!2`"``4`!2`$D`30!!`%(`60`@`$L`10!9`"P`
|
||||
M(`!.`&$`;0!E`"``5`!%`%@`5``@`"D`#0````4#W0`#^0/R`^L#Y`/=````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M```````````````````````````````%!0,!`0(%!00#`0$"!`4#`P$!`@$%
|
||||
M`@,!`0$"!0$#`0$!`0T"7@`$`2L``F(#-0$K`?``````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````@4(&
|
||||
M!R%!00&"!70`80!B`&P`90!3`&4`=`!T`&D`;@!G`',`5`!A`&(`;`!E`%,`
|
||||
M90!T`'0`:0!N`&<`<P!4`&$`8@!L`&4`"4,`4@!%`$$`5`!%`"``5`!!`$(`
|
||||
M3`!%`"``4P!E`'0`=`!I`&X`9P!S`%0`80!B`&P`90`@`"@`2P!E`'D`(`!4
|
||||
M`$4`6`!4`"``4`!2`$D`30!!`%(`60`@`$L`10!9`"P`(`!6`&$`;`!U`&4`
|
||||
M(`!"`$P`3P!"`"``*0!L!P<A@0U!`0!I`&X`9`!E`'@`<P!Q`&P`:0!T`&4`
|
||||
M7P!A`'4`=`!O`&D`;@!D`&4`>`!?`%,`90!T`'0`:0!N`&<`<P!4`&$`8@!L
|
||||
M`&4`7P`Q`%,`90!T`'0`:0!N`&<`<P!4`&$`8@!L`&4`"@````2!4`0'(4E)
|
||||
M`8(1=`!A`&(`;`!E`$8`:0!L`'0`90!R`$X`80!M`&4`5`!A`&(`;`!E`$8`
|
||||
M:0!L`'0`90!R`$X`80!M`&4`5`!A`&(`;`!E``5#`%(`10!!`%0`10`@`%0`
|
||||
M00!"`$P`10`@`$8`:0!L`'0`90!R`$X`80!M`&4`5`!A`&(`;`!E`"``*`!)
|
||||
M`&0`(`!)`$X`5`!%`$<`10!2`"``4`!2`$D`30!!`%(`60`@`$L`10!9`"P`
|
||||
M(`!.`&$`;0!E`"``5`!%`%@`5``@`"D`@4@%!R$Y.0&"(70`80!B`&P`90!&
|
||||
M`&D`;`!T`&4`<@!4`&$`8@!L`&4`1@!I`&P`=`!E`'(`5`!A`&(`;`!E``=#
|
||||
M`%(`10!!`%0`10`@`%0`00!"`$P`10`@`$8`:0!L`'0`90!R`%0`80!B`&P`
|
||||
M90`@`"@`3@!A`&T`90!)`&0`(`!)`$X`5`!%`$<`10!2`"P`(`!&`&D`;`!T
|
||||
M`&4`<@!!`'0`=`!R`&D`8@!U`'0`90!)`&0`(`!)`$X`5`!%`$<`10!2`"``
|
||||
M*0`-``````0`````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````"@`````$````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
9````````````````````````````````````
|
||||
`
|
||||
end
|
1
config.profiles/harmattan/compat
Normal file
1
config.profiles/harmattan/compat
Normal file
@ -0,0 +1 @@
|
||||
7
|
122
config.profiles/harmattan/configure-pulse.sh
Executable file
122
config.profiles/harmattan/configure-pulse.sh
Executable file
@ -0,0 +1,122 @@
|
||||
#/bin/sh
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## All rights reserved.
|
||||
## Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
##
|
||||
## This file is the build configuration utility of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## No Commercial Usage
|
||||
## This file contains pre-release code and may not be distributed.
|
||||
## You may use this file in accordance with the terms and conditions
|
||||
## contained in the Technology Preview License Agreement accompanying
|
||||
## this package.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## If you have questions regarding the use of this file, please contact
|
||||
## Nokia at qt-info@nokia.com.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
|
||||
# Fail on error
|
||||
set -e
|
||||
# We will assume that if TOOLCHAIN_PATH is not set, that other required actions have not been done either
|
||||
# so advise the user - N.B.: PATH & PKG_CONFIG_PATH may already be set to system values so we can't
|
||||
# simply check for them being unset.
|
||||
if [ -z "$TOOLCHAIN_PATH" ]; then
|
||||
echo
|
||||
echo "TOOLCHAIN_PATH must be set to the path of the columbus toolchain, e.g.:" 1>&2
|
||||
echo " export TOOLCHAIN_PATH=/opt/toolchains/columbus/cs2007q3-glibc2.5-arm7" 1>&2
|
||||
echo "PATH should have the path to toolchain's bin dir at beginning, e.g.:" 1>&2
|
||||
echo " export PATH=\$TOOLCHAIN_PATH/bin:\$PATH" 1>&2
|
||||
echo "PKG_CONFIG_PREFIX should have the prefix for pkg config, e.g.:" 1>&2
|
||||
echo " export PKG_CONFIG_PREFIX=\$TOOLCHAIN_PATH/arm-none-linux-gnueabi" 1>&2
|
||||
echo "PKG_CONFIG_PATH must be set to the path(s) to pkg config .pc file location(s), e.g.:" 1>&2
|
||||
echo " export PKG_CONFIG_PATH=\$PKG_CONFIG_PREFIX/libc/lib/pkgconfig:\$PKG_CONFIG_PREFIX/libc/usr/lib/pkgconfig" 1>&2
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# We assume the current dir is the depot and we are not shadow building
|
||||
# Blast the mkspec we use, if it exists, and copy it out of debian dir
|
||||
rm -rf mkspecs/linux-g++-cross
|
||||
cp -a debian/mkspecs/linux-g++-cross mkspecs/
|
||||
|
||||
# maemo does the next two lines, no idea why, left them for referance
|
||||
# rm -rf mkspecs/glibc-g++
|
||||
# cp -a mkspecs/linux-g++ mkspecs/glibc-g++
|
||||
|
||||
# Run configure - we take extra arguments if given
|
||||
exec ./configure -nokia-developer \
|
||||
-prefix "/usr" \
|
||||
-bindir "/usr/bin" \
|
||||
-libdir "/usr/lib" \
|
||||
-docdir "/usr/share/qt4/doc" \
|
||||
-headerdir "/usr/include/qt4" \
|
||||
-datadir "/usr/share/qt4" \
|
||||
-plugindir "/usr/lib/qt4/plugins" \
|
||||
-translationdir "/usr/share/qt4/translations" \
|
||||
-sysconfdir "/etc/xdg" \
|
||||
-arch arm \
|
||||
-xplatform linux-g++-cross \
|
||||
-fast \
|
||||
-mitshm \
|
||||
-no-optimized-qmake \
|
||||
-reduce-relocations \
|
||||
-no-separate-debug-info \
|
||||
-system-zlib \
|
||||
-system-libtiff \
|
||||
-system-libpng \
|
||||
-system-libjpeg \
|
||||
-no-nas-sound \
|
||||
-qt-gif \
|
||||
-no-qt3support \
|
||||
-no-libmng \
|
||||
-opengl es2 \
|
||||
-no-accessibility \
|
||||
-nomake examples \
|
||||
-nomake demos \
|
||||
-little-endian \
|
||||
-I${TOOLCHAIN_PATH}/libc/usr/include/freetype2 \
|
||||
-lfontconfig \
|
||||
-no-cups \
|
||||
-no-gtkstyle \
|
||||
-exceptions \
|
||||
-no-xinerama \
|
||||
-dbus \
|
||||
-glib \
|
||||
-no-pch \
|
||||
-gstreamer \
|
||||
-svg \
|
||||
-webkit \
|
||||
-no-sql-ibase \
|
||||
-xmlpatterns \
|
||||
-system-sqlite \
|
||||
-plugin-sql-sqlite \
|
||||
-openssl \
|
||||
-DQT_QLOCALE_USES_FCVT \
|
||||
"$@"
|
||||
# End of Script
|
648
config.profiles/harmattan/control
Normal file
648
config.profiles/harmattan/control
Normal file
@ -0,0 +1,648 @@
|
||||
Source: qt4-x11
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Petri Latvala <ext-petri.latvala@nokia.com>
|
||||
Build-Depends: cdbs, debhelper (>= 7), flex, quilt, sharutils,
|
||||
libdbus-1-dev, libfreetype6-dev, libglib2.0-dev, libice-dev, libjpeg62-dev,
|
||||
libpng12-dev, libreadline5-dev | libreadline4-dev, libsm-dev, libtiff4-dev, libx11-dev,
|
||||
libxext-dev, libxft-dev, libxi-dev, libxmu-dev,
|
||||
libxrandr-dev, libxrender-dev, libxslt1-dev, libxt-dev, x11proto-core-dev,
|
||||
zlib1g-dev, libgstreamer-plugins-base0.10-dev, libgstreamer0.10-dev, libicu-dev,
|
||||
libgles2-sgx-img-dev [arm armel] | libgles2-dev [arm armel], libgles2 [arm armel],
|
||||
opengles-sgx-img-common-dev [arm armel], opengles-sgx-img-common [arm armel],
|
||||
libgl-dev [i386], libgl1 [i386],
|
||||
libxau-dev, libxcb1-dev, libxdmcp-dev, libexpat1-dev,
|
||||
libsqlite3-dev, libsqlite3-0, libssl-dev, libasound2-dev, libxv-dev,
|
||||
icd2-dev, icd2-osso-ic-dev, osso-wlan-dev, libconnsettings0-dev
|
||||
Standards-Version: 3.9.1.0
|
||||
|
||||
Package: libqtcore4
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1), libqt4-gui (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 core module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtCore module contains core non-GUI functionality.
|
||||
|
||||
Package: libqtcore4-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqtcore4 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 Core libraries.
|
||||
|
||||
Package: libqt4-core
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version}), libqt4-network (= ${binary:Version}), libqt4-script (= ${binary:Version}), libqt4-xml (= ${binary:Version}), libqt4-dbus (= ${binary:Version})
|
||||
Description: transitional package for Qt 4 core non-GUI runtime libraries
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This is a dummy transitional package to enable installation of other Debian
|
||||
packages linked against Qt 4.3 or earlier Qt 4 releases previously shipped
|
||||
in Debian.
|
||||
|
||||
Package: libqtgui4
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version}), fontconfig, opengles-sgx-img-common [arm armel], libgles2 [arm armel]
|
||||
Conflicts: libqt4-designer (<< 4.4.0~beta1-1)
|
||||
Replaces: libqt4-core (<< 4.0.1-3), libqt4-gui (<< 4.4.0),
|
||||
qt4-designer (<< 4.1.4), libqt4-designer (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 GUI module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtGui module extends QtCore with GUI functionality.
|
||||
|
||||
Package: libqtgui4-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqtgui4 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 GUI libraries.
|
||||
|
||||
Package: libqt4-gui
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtgui4 (= ${binary:Version}), libqt4-svg (= ${binary:Version})
|
||||
Description: transitional package for Qt 4 GUI runtime libraries
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This is a dummy transitional package depending on the Qt4 GUI library
|
||||
packages which the package of the same name used to provide in Qt 4.3.4
|
||||
and earlier Debian packages of Qt4.
|
||||
|
||||
Package: libqt4-network
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 network module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtNetwork module offers classes that allow you to write TCP/IP clients and
|
||||
servers. It provides classes to make network programming easier and portable.
|
||||
|
||||
Package: libqt4-network-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-network (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 Network libraries.
|
||||
|
||||
Package: libqt4-script
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-dbus (= ${binary:Version}), libqtcore4 (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 script module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtScript module provides classes for making Qt applications scriptable.
|
||||
|
||||
Package: libqt4-script-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-script (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 Script libraries.
|
||||
|
||||
Package: libqt4-sql
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version})
|
||||
Recommends: libqt4-sql-sqlite
|
||||
Suggests: libqt4-dev
|
||||
Description: Qt 4 SQL module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtSql module helps you provide seamless database integration to your Qt
|
||||
applications.
|
||||
.
|
||||
If you wish to use the SQL module for development, you should install the
|
||||
libqt4-dev package.
|
||||
|
||||
Package: libqt4-sql-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-sql (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 SQL libraries.
|
||||
|
||||
Package: libqt4-sql-sqlite
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql (= ${binary:Version})
|
||||
Description: Qt 4 SQLite plugin
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
|
||||
Package: libqt4-sql-sqlite-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-sql-sqlite (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 SQL SQLite plugin.
|
||||
|
||||
Package: libqt4-svg
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version}), libqtgui4 (= ${binary:Version})
|
||||
Conflicts: libqt4-gui (<< 4.4.0~beta1-1)
|
||||
Replaces: libqt4-gui (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 SVG module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtSvg module provides classes for displaying the contents of SVG files.
|
||||
.
|
||||
Scalable Vector Graphics (SVG) is a language for describing two-dimensional
|
||||
graphics and graphical applications in XML.
|
||||
|
||||
Package: libqt4-svg-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-svg (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 SVG libraries.
|
||||
|
||||
Package: libqt4-webkit
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtwebkit4 (>= 2.0~)
|
||||
Description: Qt 4 WebKit module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This is a dummy transitional package to enable installation of other packages
|
||||
linked against Qt WebKit 4.4 - 4.7 releases previously shipped from Qt source.
|
||||
|
||||
Package: libqt4-xml
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 XML module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtXml module provides a stream reader and writer for XML documents,
|
||||
and C++ implementations of SAX and DOM.
|
||||
|
||||
Package: libqt4-xml-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-xml (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 XML libraries.
|
||||
|
||||
Package: libqt4-xmlpatterns
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version}), libqt4-xml (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 XML Patterns module
|
||||
lorem ipsum
|
||||
.
|
||||
and all that
|
||||
|
||||
Package: libqt4-xmlpatterns-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-xmlpatterns (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 XML patterns library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 XML patterns
|
||||
library.
|
||||
|
||||
Package: libqt4-dbus
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-xml (= ${binary:Version}), libqtcore4 (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 D-Bus module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtDBus module is a Unix-only library that you can use to make Inter-Process
|
||||
Communication using the D-Bus protocol.
|
||||
.
|
||||
Applications using the QtDBus module can provide services to other, remote
|
||||
applications by exporting objects, as well as use services exported by those
|
||||
applications by placing calls and accessing properties.
|
||||
|
||||
Package: libqt4-dbus-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-dbus (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 DBus libraries.
|
||||
|
||||
Package: libqt4-help
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql (= ${binary:Version}), libqtcore4 (= ${binary:Version}), libqtgui4 (= ${binary:Version})
|
||||
Description: Qt 4 help module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtHelp module provides classes for integrating online documentation in
|
||||
applications.
|
||||
|
||||
Package: libqt4-help-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-help (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 Help libraries.
|
||||
|
||||
Package: libqt4-test
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 test module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtTest module provides classes for unit testing Qt applications and
|
||||
libraries.
|
||||
|
||||
Package: libqt4-test-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-test (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 Test libraries.
|
||||
|
||||
Package: libqt4-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||
libqt4-dbus (= ${binary:Version}),
|
||||
libqt4-xml (= ${binary:Version}), libqtcore4 (= ${binary:Version}),
|
||||
libqt4-network (= ${binary:Version}), libqtgui4 (= ${binary:Version}),
|
||||
libqt4-svg (= ${binary:Version}), libqt4-sql (= ${binary:Version}),
|
||||
libqt4-script (= ${binary:Version}), libqt4-help (= ${binary:Version}),
|
||||
libqt4-test (= ${binary:Version}), libqt4-phonon (= ${binary:Version}),
|
||||
libqt4-xmlpatterns (= ${binary:Version}),
|
||||
libqt4-multimedia (= ${binary:Version}), libqt4-opengl (= ${binary:Version}),
|
||||
libqt4-declarative (= ${binary:Version}), qt4-linguist-tools (= ${binary:Version}),
|
||||
libqt4-meegographicssystemhelper-dev (= ${binary:Version}) [arm armel],
|
||||
libgl-dev [i386], libgles2-sgx-img-dev [arm armel],
|
||||
opengles-sgx-img-common-dev [arm armel], libxv-dev, libc6-dev
|
||||
Conflicts: qt3-dev-tools (<= 3:3.3.4-7)
|
||||
Replaces: libqt4-opengl-dev (<< 4.4.0-2)
|
||||
Suggests: libmysqlclient15-dev, libsqlite0-dev, libsqlite3-dev, libpq-dev, libiodbc2-dev, firebird2.0-dev
|
||||
Description: Qt 4 development files
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the header development files and development programs
|
||||
such as qmake used for building Qt4 applications.
|
||||
|
||||
Package: qt4-linguist-tools
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Qt 4 development files
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the Qt Linguist development tool
|
||||
such as lrelease used for building Qt4 applications.
|
||||
|
||||
Package: libqt4
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: libqt4-core (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 dummy package
|
||||
This is a dummy alias-package.
|
||||
|
||||
Package: libqt4-phonon
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (= ${binary:Version}), libqt4-xml (= ${binary:Version}), libqtgui4 (= ${binary:Version}), libqt4-opengl (= ${binary:Version}), libqt4-dbus (= ${binary:Version})
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 Phonon Libraries
|
||||
Qt 4 media playing libraries
|
||||
|
||||
Package: libqt4-phonon-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-phonon (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 phonon module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbol for the Qt phonon library.
|
||||
|
||||
Package: libqt4-multimedia
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Qt 4 Multimedia Libraries
|
||||
Qt 4 media playing libraries
|
||||
|
||||
Package: libqt4-multimedia-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-multimedia (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 multimedia module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbol for the Qt multimedia library.
|
||||
|
||||
Package: libqt4-opengl
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: libqtcore4 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, opengles-sgx-img-common [arm armel], libgles2 [arm armel], libgl1 [i386]
|
||||
Replaces: libqt4-core (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 OpenGL module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtOpenGL module offers classes that make it easy to use OpenGL in Qt
|
||||
applications.
|
||||
.
|
||||
OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D
|
||||
rendering and provides little or no support for GUI programming issues.
|
||||
.
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the development files needed to build Qt 4 applications
|
||||
using QtOpenGL library.
|
||||
|
||||
Package: libqt4-opengl-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-opengl (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 OpenGL libraries.
|
||||
|
||||
Package: libqt4-opengl-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libqt4-dev (= ${binary:Version}), ${misc:Depends}
|
||||
Replaces: libqt4-dev (<< 4.4.0~beta1-1)
|
||||
Description: Qt 4 OpenGL library development files
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This is a transitional package for libqt4-opengl-dev, and can be safely removed
|
||||
after the installation is complete.
|
||||
|
||||
Package: qt4-acceptance-tests
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: ci-testing, ${shlibs:Depends}, ${misc:Depends}
|
||||
XB-Maemo-CI-Packages: libqtcore4
|
||||
XB-Maemo-CI-Stage: staging, acceptance
|
||||
Description: Tests for libqtcore4
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains selected autotest cases for CI testing.
|
||||
|
||||
Package: qt4-maemo-auto-tests
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: ci-testing, ${shlibs:Depends}, ${misc:Depends}
|
||||
XB-Maemo-CI-Packages: libqtcore4
|
||||
XB-Maemo-CI-Stage: staging
|
||||
Description: Tests for Qt4
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains selected autotest cases for CI testing.
|
||||
|
||||
Package: libqt4-declarative
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Qt 4 declarative module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtDeclarative module contains declarative UI functionality.
|
||||
|
||||
Package: libqt4-declarative-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-declarative (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the debugging symbols for the Qt 4 Declarative
|
||||
libraries.
|
||||
|
||||
Package: libqt4-declarative-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libqt4-dev (>= ${binary:Version}), ${misc:Depends}
|
||||
Description: Qt 4 Declarative development files
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This is a transitional package for libqt4-declarative-dev, and can be
|
||||
safely removed after the installation is complete.
|
||||
|
||||
Package: qt4-declarative-qmlviewer
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Depends: libqt4-declarative (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Qt 4 declarative module
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
The QtDeclarative viewer allows viewing QML files
|
||||
|
||||
Package: libqt4-gui-tests
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: ci-testing, ${shlibs:Depends}, ${misc:Depends}
|
||||
XB-Maemo-CI-Packages: libqtgui4
|
||||
XB-Maemo-CI-Stage: staging
|
||||
Description: Tests for Qt4
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains selected autotest cases for CI testing.
|
||||
|
||||
Package: libqt4-doc
|
||||
Section: doc
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: Qt 4 documentation
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the documentation for Qt 4.
|
||||
|
||||
Package: libqt4-meegographicssystem
|
||||
Architecture: arm armel
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-meegographicssystemhelper
|
||||
Conflicts: libqt4-meego (<< 4.7.2~git20110119)
|
||||
Replaces: libqt4-meego (<< 4.7.2~git20110119)
|
||||
Description: Qt 4 MeeGo graphics system plugin
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the MeeGo graphics system plugin.
|
||||
|
||||
Package: libqt4-meegographicssystemhelper
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-meegographicssystem [arm armel]
|
||||
Conflicts: libqt4-meego (<< 4.7.2~git20110119)
|
||||
Replaces: libqt4-meego (<< 4.7.2~git20110119)
|
||||
Provides: libqt4-meego
|
||||
Description: Qt 4 MeeGo graphics system helper
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the MeeGo graphics system helper library.
|
||||
|
||||
Package: libqt4-meegographicssystemhelper-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libqt4-meegographicssystemhelper (= ${binary:Version}), ${misc:Depends}
|
||||
Conflicts: libqt4-meego-dev (<< 4.7.2~git20110119)
|
||||
Replaces: libqt4-meego-dev (<< 4.7.2~git20110119)
|
||||
Provides: libqt4-meego-dev
|
||||
Description: Qt 4 MeeGo graphics system development libraries and headers
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package contains the MeeGo graphics system header files and
|
||||
development libraries.
|
||||
|
||||
Package: libqt4-meegographicssystemhelper-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: libqt4-meegographicssystemhelper (= ${binary:Version}), ${misc:Depends}
|
||||
Conflicts: libqt4-meego-dbg (<< 4.7.2~git20110119)
|
||||
Replaces: libqt4-meego-dbg (<< 4.7.2~git20110119)
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package provides the debugging symbols for the MeeGo support
|
||||
libraries.
|
||||
|
||||
Package: libqt4-meegographicssystem-dbg
|
||||
Priority: extra
|
||||
Architecture: arm armel
|
||||
Section: debug
|
||||
Depends: libqt4-meegographicssystem (= ${binary:Version}), ${misc:Depends}
|
||||
Conflicts: libqt4-meego-dbg (<< 4.7.2~git20110119)
|
||||
Replaces: libqt4-meego-dbg (<< 4.7.2~git20110119)
|
||||
Description: Qt 4 library debugging symbols
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package provides the debugging symbols for the MeeGo graphics
|
||||
system plugin.
|
||||
|
||||
Package: libqt4-meego
|
||||
Architecture: all
|
||||
Section: oldlibs
|
||||
Depends: libqt4-meegographicssystemhelper, libqt4-meegographicssystem [arm armel]
|
||||
Description: Qt 4 MeeGo support libraries transitional package
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package is for transitioning purposes only and can be removed.
|
||||
|
||||
Package: libqt4-meego-dev
|
||||
Architecture: all
|
||||
Section: oldlibs
|
||||
Depends: libqt4-meegographicssystemhelper-dev
|
||||
Description: Qt 4 MeeGo support libraries transitional package
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package is for transitioning purposes only and can be removed.
|
||||
|
||||
Package: libqt4-meego-dbg
|
||||
Priority: extra
|
||||
Architecture: all
|
||||
Section: debug
|
||||
Depends: libqt4-meegographicssystemhelper-dbg, libqt4-meegographicssystem-dbg [arm armel]
|
||||
Description: Qt 4 MeeGo support libraries transitional package
|
||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||
is its rich set of widgets that provide standard GUI functionality.
|
||||
.
|
||||
This package is for transitioning purposes only and can be removed.
|
1
config.profiles/harmattan/libqt4-core.lintian
Normal file
1
config.profiles/harmattan/libqt4-core.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-core: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-dbus-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-dbus-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-dbus-dbg: unknown-control-file digsigsums
|
3
config.profiles/harmattan/libqt4-dbus.install
Normal file
3
config.profiles/harmattan/libqt4-dbus.install
Normal file
@ -0,0 +1,3 @@
|
||||
usr/lib/libQtDBus.so.*
|
||||
usr/bin/qdbus
|
||||
|
2
config.profiles/harmattan/libqt4-dbus.lintian
Normal file
2
config.profiles/harmattan/libqt4-dbus.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-dbus: package-name-doesnt-match-sonames libQtDBus4
|
||||
libqt4-dbus: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-declarative-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-declarative-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-declarative-dbg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-declarative-dev.lintian
Normal file
1
config.profiles/harmattan/libqt4-declarative-dev.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-declarative-dev: unknown-control-file digsigsums
|
4
config.profiles/harmattan/libqt4-declarative.install
Normal file
4
config.profiles/harmattan/libqt4-declarative.install
Normal file
@ -0,0 +1,4 @@
|
||||
usr/lib/libQtDeclarative.so.*
|
||||
usr/lib/qt4/imports/Qt/labs/folderlistmodel
|
||||
usr/lib/qt4/imports/Qt/labs/gestures
|
||||
usr/lib/qt4/imports/Qt/labs/particles
|
2
config.profiles/harmattan/libqt4-declarative.lintian
Normal file
2
config.profiles/harmattan/libqt4-declarative.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-declarative: unknown-control-file digsigsums
|
||||
libqt4-declarative: package-name-doesnt-match-sonames libQtDeclarative4
|
1
config.profiles/harmattan/libqt4-dev.dirs
Normal file
1
config.profiles/harmattan/libqt4-dev.dirs
Normal file
@ -0,0 +1 @@
|
||||
usr/share/qt4/doc/html
|
85
config.profiles/harmattan/libqt4-dev.install
Normal file
85
config.profiles/harmattan/libqt4-dev.install
Normal file
@ -0,0 +1,85 @@
|
||||
usr/bin/native-moc
|
||||
usr/bin/qdbuscpp2xml
|
||||
usr/bin/qdbusxml2cpp
|
||||
usr/bin/native-qmake
|
||||
usr/bin/qt3to4
|
||||
usr/bin/native-rcc
|
||||
usr/bin/native-uic
|
||||
usr/bin/host-moc
|
||||
usr/bin/host-qmake
|
||||
usr/bin/host-rcc
|
||||
usr/bin/host-uic
|
||||
usr/include/qt4/QtUiTools
|
||||
usr/include/qt4/QtSvg
|
||||
usr/include/qt4/QtXml
|
||||
usr/include/qt4/QtGui
|
||||
usr/include/qt4/phonon
|
||||
usr/include/qt4/QtScript
|
||||
usr/include/qt4/QtScriptTools
|
||||
usr/include/qt4/QtSql
|
||||
usr/include/qt4/QtXmlPatterns
|
||||
usr/include/qt4/QtDBus
|
||||
usr/include/qt4/QtTest
|
||||
usr/include/qt4/QtHelp
|
||||
usr/include/qt4/Qt
|
||||
usr/include/qt4/QtCore
|
||||
usr/include/qt4/QtNetwork
|
||||
usr/include/qt4/QtMultimedia
|
||||
usr/include/qt4/QtOpenGL
|
||||
usr/include/qt4/QtDeclarative
|
||||
usr/lib/libphonon.prl
|
||||
usr/lib/libphonon.so
|
||||
usr/lib/libQtCLucene.prl
|
||||
usr/lib/libQtCLucene.so
|
||||
usr/lib/libQtCore.prl
|
||||
usr/lib/libQtCore.so
|
||||
usr/lib/libQtDBus.prl
|
||||
usr/lib/libQtDBus.so
|
||||
usr/lib/libQtGui.prl
|
||||
usr/lib/libQtGui.so
|
||||
usr/lib/libQtHelp.prl
|
||||
usr/lib/libQtHelp.so
|
||||
usr/lib/libQtNetwork.prl
|
||||
usr/lib/libQtNetwork.so
|
||||
usr/lib/libQtScript.prl
|
||||
usr/lib/libQtScript.so
|
||||
usr/lib/libQtScriptTools.prl
|
||||
usr/lib/libQtScriptTools.so
|
||||
usr/lib/libQtSql.prl
|
||||
usr/lib/libQtSql.so
|
||||
usr/lib/libQtSvg.prl
|
||||
usr/lib/libQtSvg.so
|
||||
usr/lib/libQtTest.prl
|
||||
usr/lib/libQtTest.so
|
||||
usr/lib/libQtUiTools.prl
|
||||
usr/lib/libQtUiTools.a
|
||||
usr/lib/libQtXmlPatterns.prl
|
||||
usr/lib/libQtXmlPatterns.so
|
||||
usr/lib/libQtXml.prl
|
||||
usr/lib/libQtXml.so
|
||||
usr/lib/libQtMultimedia.prl
|
||||
usr/lib/libQtMultimedia.so
|
||||
usr/lib/libQtOpenGL.prl
|
||||
usr/lib/libQtOpenGL.so
|
||||
usr/lib/libQtDeclarative.so
|
||||
usr/lib/libQtDeclarative.prl
|
||||
usr/lib/pkgconfig/phonon.pc
|
||||
usr/lib/pkgconfig/QtCLucene.pc
|
||||
usr/lib/pkgconfig/QtCore.pc
|
||||
usr/lib/pkgconfig/QtDBus.pc
|
||||
usr/lib/pkgconfig/QtGui.pc
|
||||
usr/lib/pkgconfig/QtHelp.pc
|
||||
usr/lib/pkgconfig/QtNetwork.pc
|
||||
usr/lib/pkgconfig/QtScript.pc
|
||||
usr/lib/pkgconfig/QtScriptTools.pc
|
||||
usr/lib/pkgconfig/QtSql.pc
|
||||
usr/lib/pkgconfig/QtSvg.pc
|
||||
usr/lib/pkgconfig/QtTest.pc
|
||||
usr/lib/pkgconfig/QtUiTools.pc
|
||||
usr/lib/pkgconfig/QtXmlPatterns.pc
|
||||
usr/lib/pkgconfig/QtXml.pc
|
||||
usr/lib/pkgconfig/QtMultimedia.pc
|
||||
usr/lib/pkgconfig/QtOpenGL.pc
|
||||
usr/lib/pkgconfig/QtDeclarative.pc
|
||||
usr/share/qt4/q3porting.xml
|
||||
usr/share/qt4/mkspecs
|
13
config.profiles/harmattan/libqt4-dev.links
Normal file
13
config.profiles/harmattan/libqt4-dev.links
Normal file
@ -0,0 +1,13 @@
|
||||
usr/include/qt4 usr/share/qt4/include
|
||||
usr/bin/lrelease usr/share/qt4/bin/lrelease
|
||||
usr/bin/lupdate usr/share/qt4/bin/lupdate
|
||||
usr/bin/moc usr/share/qt4/bin/moc
|
||||
usr/bin/qmake usr/share/qt4/bin/qmake
|
||||
usr/bin/uic usr/share/qt4/bin/uic
|
||||
usr/bin/lrelease usr/bin/lrelease-qt4
|
||||
usr/bin/lupdate usr/bin/lupdate-qt4
|
||||
usr/bin/moc usr/bin/moc-qt4
|
||||
usr/bin/qmake usr/bin/qmake-qt4
|
||||
usr/bin/uic usr/bin/uic-qt4
|
||||
usr/bin/rcc usr/share/qt4/bin/rcc
|
||||
usr/lib/qt4/plugins usr/share/qt4/plugins
|
17
config.profiles/harmattan/libqt4-dev.lintian
Normal file
17
config.profiles/harmattan/libqt4-dev.lintian
Normal file
@ -0,0 +1,17 @@
|
||||
libqt4-dev: executable-not-elf-or-script ./usr/share/qt4/mkspecs/macx-pbuilder/Info.plist.app
|
||||
libqt4-dev: executable-not-elf-or-script ./usr/share/qt4/mkspecs/macx-xcode/Info.plist.app
|
||||
libqt4-dev: executable-not-elf-or-script ./usr/share/qt4/mkspecs/macx-xcode/qmake.conf
|
||||
libqt4-dev: executable-not-elf-or-script ./usr/share/qt4/mkspecs/macx-pbuilder/qmake.conf
|
||||
libqt4-dev: unknown-control-file digsigsums
|
||||
libqt4-dev: binary-from-other-architecture ./usr/bin/host-moc
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-moc /scratchbox/host_shared/lib
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-moc /host_usr/lib
|
||||
libqt4-dev: binary-from-other-architecture ./usr/bin/host-qmake
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-qmake /scratchbox/host_shared/lib
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-qmake /host_usr/lib
|
||||
libqt4-dev: binary-from-other-architecture ./usr/bin/host-rcc
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-rcc /scratchbox/host_shared/lib
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-rcc /host_usr/lib
|
||||
libqt4-dev: binary-from-other-architecture ./usr/bin/host-uic
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-uic /scratchbox/host_shared/lib
|
||||
libqt4-dev: binary-or-shlib-defines-rpath ./usr/bin/host-uic /host_usr/lib
|
5
config.profiles/harmattan/libqt4-dev.manpages
Normal file
5
config.profiles/harmattan/libqt4-dev.manpages
Normal file
@ -0,0 +1,5 @@
|
||||
debian/manpages/lrelease.1
|
||||
debian/manpages/lupdate.1
|
||||
debian/manpages/moc.1
|
||||
debian/manpages/qmake.1
|
||||
debian/manpages/uic.1
|
21
config.profiles/harmattan/libqt4-dev.postinst
Normal file
21
config.profiles/harmattan/libqt4-dev.postinst
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
SPECDIR=/usr/share/qt4/mkspecs
|
||||
|
||||
rm -f ${SPECDIR}/default
|
||||
ln -s ${SPECDIR}/#PLATFORM_ARG# ${SPECDIR}/default
|
||||
|
||||
PREFIX=native
|
||||
if [ -f /targets/links/scratchbox.config ]; then
|
||||
PREFIX=host
|
||||
fi
|
||||
|
||||
BINARIES="qmake moc rcc uic"
|
||||
|
||||
for bin in $BINARIES; do
|
||||
ln -sf "/usr/bin/${PREFIX}-${bin}" "/usr/bin/${bin}"
|
||||
done
|
||||
|
||||
#DEBHELPER#
|
16
config.profiles/harmattan/libqt4-dev.prerm
Normal file
16
config.profiles/harmattan/libqt4-dev.prerm
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
BINARIES="qmake moc rcc uic"
|
||||
|
||||
case "$1" in
|
||||
upgrade) ;;
|
||||
remove|failed-upgrade|deconfigure)
|
||||
for bin in $BINARIES; do
|
||||
rm -f "/usr/bin/${bin}"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
1
config.profiles/harmattan/libqt4-doc.install
Normal file
1
config.profiles/harmattan/libqt4-doc.install
Normal file
@ -0,0 +1 @@
|
||||
usr/share/qt4/doc/html/*
|
1
config.profiles/harmattan/libqt4-doc.lintian
Normal file
1
config.profiles/harmattan/libqt4-doc.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-doc: unknown-control-file digsigsums
|
64
config.profiles/harmattan/libqt4-gui-tests.lintian
Normal file
64
config.profiles/harmattan/libqt4-gui-tests.lintian
Normal file
@ -0,0 +1,64 @@
|
||||
libqt4-gui-tests: unknown-control-file digsigsums
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_modeltest
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractbutton
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractitemmodel
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractprintdialog
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractproxymodel
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractslider
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractspinbox
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstracttextdocumentlayout
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractvideobuffer
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qabstractvideosurface
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qaction
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qboxlayout
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qfileiconprovider
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qfocusframe
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qfont
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qfontmetrics
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qformlayout
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qgraphicslayout
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qnetworkcachemetadata
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qpaintengine
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qpalette
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qparallelanimationgroup
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qpauseanimation
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qpicture
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qplaintextedit
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qpointer
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qprinterinfo
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qprogressbar
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qprogressdialog
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qpropertyanimation
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qradiobutton
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qregexpvalidator
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qscriptenginedebugger
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qscrollarea
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qscrollbar
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qsharedpointer_and_qwidget
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qsignalmapper
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qslider
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qsortfilterproxymodel
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qspinbox
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstackedlayout
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstackedwidget
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstandarditem
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstandarditemmodel
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstatemachine
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstringlistmodel
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qstyleoption
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qsyntaxhighlighter
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtextblock
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtextcursor
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtextformat
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtextlist
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtextobject
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtextscriptengine
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtexttable
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtoolbox
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtoolbutton
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qtreewidgetitemiterator
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qundogroup
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qundostack
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qvideosurfaceformat
|
||||
libqt4-gui-tests: file-in-unusual-dir usr/tests/qt4/tst_qwidgetaction
|
||||
libqt4-gui-tests: non-standard-dir-in-usr usr/tests/
|
1
config.profiles/harmattan/libqt4-gui.lintian
Normal file
1
config.profiles/harmattan/libqt4-gui.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-gui: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-help-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-help-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-help-dbg: unknown-control-file digsigsums
|
4
config.profiles/harmattan/libqt4-help.install
Normal file
4
config.profiles/harmattan/libqt4-help.install
Normal file
@ -0,0 +1,4 @@
|
||||
usr/lib/libQtHelp.so.*
|
||||
usr/lib/libQtCLucene.so.*
|
||||
usr/share/qt4/translations/qt_help_de.qm
|
||||
usr/share/qt4/translations/qt_help_pl.qm
|
2
config.profiles/harmattan/libqt4-help.lintian
Normal file
2
config.profiles/harmattan/libqt4-help.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-help: package-name-doesnt-match-sonames libQtCLucene4 libQtHelp4
|
||||
libqt4-help: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-meego-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-meego-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-meego-dbg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-meego-dev.lintian
Normal file
1
config.profiles/harmattan/libqt4-meego-dev.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-meego-dev: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-meego.lintian
Normal file
2
config.profiles/harmattan/libqt4-meego.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-meego: unknown-control-file digsigsums
|
||||
libqt4-meego: package-name-doesnt-match-sonames libQtMeeGoGraphicsSystemHelper4
|
@ -0,0 +1 @@
|
||||
usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so
|
@ -0,0 +1,3 @@
|
||||
usr/include/qt4/QtMeeGoGraphicsSystemHelper
|
||||
usr/lib/libQtMeeGoGraphicsSystemHelper.so
|
||||
usr/lib/libQtMeeGoGraphicsSystemHelper.prl
|
@ -0,0 +1 @@
|
||||
usr/lib/libQtMeeGoGraphicsSystemHelper.so.*
|
1
config.profiles/harmattan/libqt4-multimedia-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-multimedia-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-multimedia-dbg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-multimedia.install
Normal file
1
config.profiles/harmattan/libqt4-multimedia.install
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/libQtMultimedia.so.*
|
2
config.profiles/harmattan/libqt4-multimedia.lintian
Normal file
2
config.profiles/harmattan/libqt4-multimedia.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-multimedia: unknown-control-file digsigsums
|
||||
libqt4-multimedia: package-name-doesnt-match-sonames libQtMultimedia4
|
1
config.profiles/harmattan/libqt4-network-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-network-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-network-dbg: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-network.install
Normal file
2
config.profiles/harmattan/libqt4-network.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/libQtNetwork.so.*
|
||||
usr/lib/qt4/plugins/bearer/libqicdbearer.so
|
2
config.profiles/harmattan/libqt4-network.lintian
Normal file
2
config.profiles/harmattan/libqt4-network.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-network: package-name-doesnt-match-sonames libQtNetwork4
|
||||
libqt4-network: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-opengl-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-opengl-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-opengl-dbg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-opengl-dev.lintian
Normal file
1
config.profiles/harmattan/libqt4-opengl-dev.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-opengl-dev: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-opengl.install
Normal file
2
config.profiles/harmattan/libqt4-opengl.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/libQtOpenGL.so.*
|
||||
usr/lib/qt4/plugins/graphicssystems/libqglgraphicssystem.so
|
3
config.profiles/harmattan/libqt4-opengl.lintian
Normal file
3
config.profiles/harmattan/libqt4-opengl.lintian
Normal file
@ -0,0 +1,3 @@
|
||||
libqt4-opengl: package-name-doesnt-match-sonames libQtOpenGL4
|
||||
libqt4-opengl: package-relation-with-self depends
|
||||
libqt4-opengl: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-phonon-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-phonon-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-phonon-dbg: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-phonon.install
Normal file
2
config.profiles/harmattan/libqt4-phonon.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/libphonon.so.*
|
||||
usr/lib/qt4/plugins/phonon_backend/libphonon_*.so
|
2
config.profiles/harmattan/libqt4-phonon.lintian
Normal file
2
config.profiles/harmattan/libqt4-phonon.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-phonon: package-name-doesnt-match-sonames libphonon4
|
||||
libqt4-phonon: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-script-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-script-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-script-dbg: unknown-control-file digsigsums
|
3
config.profiles/harmattan/libqt4-script.install
Normal file
3
config.profiles/harmattan/libqt4-script.install
Normal file
@ -0,0 +1,3 @@
|
||||
usr/lib/libQtScript.so.*
|
||||
usr/lib/libQtScriptTools.so.*
|
||||
usr/lib/qt4/plugins/script/libqtscriptdbus.so
|
2
config.profiles/harmattan/libqt4-script.lintian
Normal file
2
config.profiles/harmattan/libqt4-script.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-script: package-name-doesnt-match-sonames libQtScript4 libQtScriptTools4
|
||||
libqt4-script: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-sql-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-sql-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-sql-dbg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-sql-sqlite-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-sql-sqlite-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-sql-sqlite-dbg: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-sql-sqlite.install
Normal file
2
config.profiles/harmattan/libqt4-sql-sqlite.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/qt4/plugins/sqldrivers/libqsqlite.so
|
||||
|
1
config.profiles/harmattan/libqt4-sql-sqlite.lintian
Normal file
1
config.profiles/harmattan/libqt4-sql-sqlite.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-sql-sqlite: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-sql.install
Normal file
2
config.profiles/harmattan/libqt4-sql.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/libQtSql.so.*
|
||||
|
2
config.profiles/harmattan/libqt4-sql.lintian
Normal file
2
config.profiles/harmattan/libqt4-sql.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-sql: package-name-doesnt-match-sonames libQtSql4
|
||||
libqt4-sql: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-svg-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-svg-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-svg-dbg: unknown-control-file digsigsums
|
4
config.profiles/harmattan/libqt4-svg.install
Normal file
4
config.profiles/harmattan/libqt4-svg.install
Normal file
@ -0,0 +1,4 @@
|
||||
usr/lib/libQtSvg.so.*
|
||||
usr/lib/qt4/plugins/iconengines/libqsvgicon.so
|
||||
usr/lib/qt4/plugins/imageformats/libqsvg.so
|
||||
|
2
config.profiles/harmattan/libqt4-svg.lintian
Normal file
2
config.profiles/harmattan/libqt4-svg.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-svg: package-name-doesnt-match-sonames libQtSvg4
|
||||
libqt4-svg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-test-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-test-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-test-dbg: unknown-control-file digsigsums
|
2
config.profiles/harmattan/libqt4-test.install
Normal file
2
config.profiles/harmattan/libqt4-test.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/libQtTest.so.*
|
||||
|
2
config.profiles/harmattan/libqt4-test.lintian
Normal file
2
config.profiles/harmattan/libqt4-test.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-test: package-name-doesnt-match-sonames libQtTest4
|
||||
libqt4-test: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-webkit.lintian
Normal file
1
config.profiles/harmattan/libqt4-webkit.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-webkit: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-xml-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-xml-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-xml-dbg: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-xml.install
Normal file
1
config.profiles/harmattan/libqt4-xml.install
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/libQtXml.so.*
|
2
config.profiles/harmattan/libqt4-xml.lintian
Normal file
2
config.profiles/harmattan/libqt4-xml.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-xml: package-name-doesnt-match-sonames libQtXml4
|
||||
libqt4-xml: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4-xmlpatterns-dbg.lintian
Normal file
1
config.profiles/harmattan/libqt4-xmlpatterns-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4-xmlpatterns-dbg: unknown-control-file digsigsums
|
3
config.profiles/harmattan/libqt4-xmlpatterns.install
Normal file
3
config.profiles/harmattan/libqt4-xmlpatterns.install
Normal file
@ -0,0 +1,3 @@
|
||||
usr/lib/libQtXmlPatterns.so.*
|
||||
usr/bin/xmlpatterns
|
||||
|
2
config.profiles/harmattan/libqt4-xmlpatterns.lintian
Normal file
2
config.profiles/harmattan/libqt4-xmlpatterns.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqt4-xmlpatterns: package-name-doesnt-match-sonames libQtXmlPatterns4
|
||||
libqt4-xmlpatterns: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqt4.lintian
Normal file
1
config.profiles/harmattan/libqt4.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqt4: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqtcore4-dbg.lintian
Normal file
1
config.profiles/harmattan/libqtcore4-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqtcore4-dbg: unknown-control-file digsigsums
|
6
config.profiles/harmattan/libqtcore4.install
Normal file
6
config.profiles/harmattan/libqtcore4.install
Normal file
@ -0,0 +1,6 @@
|
||||
usr/lib/libQtCore.so.*
|
||||
usr/lib/qt4/plugins/codecs/lib*.so
|
||||
usr/share/qt4/translations/qt_??.qm
|
||||
usr/share/qt4/translations/qt_??_??.qm
|
||||
usr/share/qt4/translations/qvfb_*.qm
|
||||
|
2
config.profiles/harmattan/libqtcore4.lintian
Normal file
2
config.profiles/harmattan/libqtcore4.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqtcore4: package-name-doesnt-match-sonames libQtCLucene4 libQtCore4
|
||||
libqtcore4: unknown-control-file digsigsums
|
1
config.profiles/harmattan/libqtgui4-dbg.lintian
Normal file
1
config.profiles/harmattan/libqtgui4-dbg.lintian
Normal file
@ -0,0 +1 @@
|
||||
libqtgui4-dbg: unknown-control-file digsigsums
|
7
config.profiles/harmattan/libqtgui4.install
Normal file
7
config.profiles/harmattan/libqtgui4.install
Normal file
@ -0,0 +1,7 @@
|
||||
usr/lib/libQtGui.so.*
|
||||
usr/lib/qt4/plugins/imageformats/libqgif.so
|
||||
usr/lib/qt4/plugins/imageformats/libqico.so
|
||||
usr/lib/qt4/plugins/imageformats/libqjpeg.so
|
||||
usr/lib/qt4/plugins/imageformats/libqtiff.so
|
||||
usr/lib/qt4/plugins/inputmethods/libqimsw-multi.so
|
||||
usr/lib/qt4/plugins/accessible/libqtaccessiblewidgets.so
|
2
config.profiles/harmattan/libqtgui4.lintian
Normal file
2
config.profiles/harmattan/libqtgui4.lintian
Normal file
@ -0,0 +1,2 @@
|
||||
libqtgui4: package-name-doesnt-match-sonames libQtGui4
|
||||
libqtgui4: unknown-control-file digsigsums
|
111
config.profiles/harmattan/manpages/lrelease.1
Normal file
111
config.profiles/harmattan/manpages/lrelease.1
Normal file
@ -0,0 +1,111 @@
|
||||
.TH lrelease 1 "18 October 2001" "Nokia Corporation and/or its subsidiary(-ies)" \" -*- nroff -*-
|
||||
.\"
|
||||
.\" Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
.\" All rights reserved.
|
||||
.\" Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
.\"
|
||||
.\" This file is part of the QtGui module of the Qt Toolkit.
|
||||
.\"
|
||||
.\" $QT_BEGIN_LICENSE:LGPL$
|
||||
.\" No Commercial Usage
|
||||
.\" This file contains pre-release code and may not be distributed.
|
||||
.\" You may use this file in accordance with the terms and conditions
|
||||
.\" contained in the Technology Preview License Agreement accompanying
|
||||
.\" this package.
|
||||
.\"
|
||||
.\" GNU Lesser General Public License Usage
|
||||
.\" Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
.\" General Public License version 2.1 as published by the Free Software
|
||||
.\" Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
.\" packaging of this file. Please review the following information to
|
||||
.\" ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
.\" will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
.\"
|
||||
.\" In addition, as a special exception, Nokia gives you certain additional
|
||||
.\" rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
.\" version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
.\"
|
||||
.\" If you have questions regarding the use of this file, please contact
|
||||
.\" Nokia at qt-info@nokia.com.
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\" $QT_END_LICENSE$
|
||||
.\"
|
||||
.SH NAME
|
||||
lrelease \- generate Qt message files from Qt Linguist translation files
|
||||
.SH SYNOPSIS
|
||||
.B lrelease
|
||||
.RI "[ " options " ] " project-file
|
||||
.br
|
||||
.B lrelease
|
||||
.RI "[ " options " ] " ts-files " [ -qm " qm-file " ]"
|
||||
.SH DESCRIPTION
|
||||
This page documents the
|
||||
.B Qt Linguist Release
|
||||
tool for the Qt GUI toolkit.
|
||||
.B Lrelease
|
||||
reads a qmake/tmake project file (.pro file) and converts the
|
||||
translation files (.ts files) specified in it into Qt message files
|
||||
(.qm files) used by the application to translate.
|
||||
.PP
|
||||
The .qm file format is a compact binary format that provides
|
||||
extremely fast lookups for translations and that is used by Qt.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "-help"
|
||||
Display the usage and exit.
|
||||
.TP
|
||||
.I "-nocompress"
|
||||
Do not compress the .qm files.
|
||||
.TP
|
||||
.I "-verbose"
|
||||
Explain what is being done.
|
||||
.TP
|
||||
.I "-version"
|
||||
Display the version of
|
||||
.B lrelease
|
||||
and exit.
|
||||
.SH USAGE
|
||||
Here is an example .pro file that can be given to
|
||||
.B lrelease:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
HEADERS = funnydialog.h \\
|
||||
wackywidget.h
|
||||
SOURCES = funnydialog.cpp \\
|
||||
main.cpp \\
|
||||
wackywidget.cpp
|
||||
FORMS = fancybox.ui
|
||||
TRANSLATIONS = gnomovision_dk.ts \\
|
||||
gnomovision_fi.ts \\
|
||||
gnomovision_no.ts \\
|
||||
gnomovision_se.ts
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
When running
|
||||
.B lrelease
|
||||
on this project file, the Qt message files gnomovision_dk.qm,
|
||||
gnomovision_fi.qm, gnomovision_no.qm and gnomovision_se.qm will be
|
||||
generated from gnomovision_dk.ts, gnomovision_fi.ts,
|
||||
gnomovision_no.ts and gnomovision_se.ts, respectively.
|
||||
.PP
|
||||
.B Lrelease
|
||||
can also be invoked with a list of .ts files to convert:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
lrelease gnomovision_*.ts
|
||||
.fi
|
||||
.in -4
|
||||
.SH "SEE ALSO"
|
||||
.BR lupdate (1)
|
||||
and
|
||||
.BR http://doc.trolltech.com/i18n.html
|
117
config.profiles/harmattan/manpages/lupdate.1
Normal file
117
config.profiles/harmattan/manpages/lupdate.1
Normal file
@ -0,0 +1,117 @@
|
||||
.TH lupdate 1 "18 October 2001" "Nokia Corporation and/or its subsidiary(-ies)" \" -*- nroff -*-
|
||||
.\"
|
||||
.\" Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
.\" All rights reserved.
|
||||
.\" Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
.\"
|
||||
.\" This file is part of the QtGui module of the Qt Toolkit.
|
||||
.\"
|
||||
.\" $QT_BEGIN_LICENSE:LGPL$
|
||||
.\" No Commercial Usage
|
||||
.\" This file contains pre-release code and may not be distributed.
|
||||
.\" You may use this file in accordance with the terms and conditions
|
||||
.\" contained in the Technology Preview License Agreement accompanying
|
||||
.\" this package.
|
||||
.\"
|
||||
.\" GNU Lesser General Public License Usage
|
||||
.\" Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
.\" General Public License version 2.1 as published by the Free Software
|
||||
.\" Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
.\" packaging of this file. Please review the following information to
|
||||
.\" ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
.\" will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
.\"
|
||||
.\" In addition, as a special exception, Nokia gives you certain additional
|
||||
.\" rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
.\" version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
.\"
|
||||
.\" If you have questions regarding the use of this file, please contact
|
||||
.\" Nokia at qt-info@nokia.com.
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\" $QT_END_LICENSE$
|
||||
.\"
|
||||
.SH NAME
|
||||
lupdate \- update Qt Linguist translation files
|
||||
.SH SYNOPSIS
|
||||
.B lupdate
|
||||
.RI "[ " options " ] " project-file
|
||||
.br
|
||||
.B lupdate
|
||||
.RI "[ " options " ] " source-files " -ts " ts-files
|
||||
.SH DESCRIPTION
|
||||
This page documents the
|
||||
.B Qt Linguist Update
|
||||
tool for the Qt GUI toolkit.
|
||||
.B Lupdate
|
||||
reads a qmake/tmake project file (.pro file), finds the translatable
|
||||
strings in the specified source, header and interface files, and
|
||||
updates the translation files (.ts files) specified in it. The
|
||||
translation files are given to the translator who uses
|
||||
.B Qt Linguist
|
||||
to read the files and insert the translations.
|
||||
.PP
|
||||
The .ts file format is a simple human-readable XML format that can be
|
||||
used with version control systems if required.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "-help"
|
||||
Display the usage and exit.
|
||||
.TP
|
||||
.I "-noobsolete"
|
||||
Drop all obsolete strings.
|
||||
.TP
|
||||
.I "-verbose"
|
||||
Explain what is being done.
|
||||
.TP
|
||||
.I "-version"
|
||||
Display the version of
|
||||
.B lupdate
|
||||
and exit.
|
||||
.SH USAGE
|
||||
Here is an example .pro file that can be given to
|
||||
.B lupdate:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
HEADERS = funnydialog.h \\
|
||||
wackywidget.h
|
||||
SOURCES = funnydialog.cpp \\
|
||||
main.cpp \\
|
||||
wackywidget.cpp
|
||||
FORMS = fancybox.ui
|
||||
TRANSLATIONS = gnomovision_dk.ts \\
|
||||
gnomovision_fi.ts \\
|
||||
gnomovision_no.ts \\
|
||||
gnomovision_se.ts
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
When running
|
||||
.B lupdate
|
||||
on this project file, the translatable strings in all the files
|
||||
listed in the HEADERS, SOURCES and FORMS entries will be put in
|
||||
the translation files listed in the TRANSLATIONS entry. Previous
|
||||
translations will be reused as far as possible, and translated
|
||||
strings that have vanished from the source files are marked obsolete.
|
||||
.PP
|
||||
.B Lupdate
|
||||
can also be invoked with a list of C++ source files, .ui files
|
||||
and .ts files:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
lupdate *.cpp *.h *.ui -ts gnomovision_dk.ts
|
||||
.fi
|
||||
.in -4
|
||||
.SH "SEE ALSO"
|
||||
.BR lrelease (1)
|
||||
and
|
||||
.BR http://doc.trolltech.com/i18n.html
|
479
config.profiles/harmattan/manpages/moc.1
Normal file
479
config.profiles/harmattan/manpages/moc.1
Normal file
@ -0,0 +1,479 @@
|
||||
.TH moc 1 "24 June 2001" "Nokia Corporation and/or its subsidiary(-ies)" \" -*- nroff -*-
|
||||
.\"
|
||||
.\" Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
.\" All rights reserved.
|
||||
.\" Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
.\"
|
||||
.\" This file is part of the QtGui module of the Qt Toolkit.
|
||||
.\"
|
||||
.\" $QT_BEGIN_LICENSE:LGPL$
|
||||
.\" No Commercial Usage
|
||||
.\" This file contains pre-release code and may not be distributed.
|
||||
.\" You may use this file in accordance with the terms and conditions
|
||||
.\" contained in the Technology Preview License Agreement accompanying
|
||||
.\" this package.
|
||||
.\"
|
||||
.\" GNU Lesser General Public License Usage
|
||||
.\" Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
.\" General Public License version 2.1 as published by the Free Software
|
||||
.\" Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
.\" packaging of this file. Please review the following information to
|
||||
.\" ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
.\" will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
.\"
|
||||
.\" In addition, as a special exception, Nokia gives you certain additional
|
||||
.\" rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
.\" version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
.\"
|
||||
.\" If you have questions regarding the use of this file, please contact
|
||||
.\" Nokia at qt-info@nokia.com.
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.\" $QT_END_LICENSE$
|
||||
.\"
|
||||
.nh
|
||||
.SH NAME
|
||||
moc \- generate Qt meta object support code
|
||||
.SH SYNOPSIS
|
||||
.B moc
|
||||
[\-o file] [\-i] [\-f] [\-k] [\-ldbg] [\-nw] [\-p path] [\-q path] [\-v] file
|
||||
.SH DESCRIPTION
|
||||
This page documents the
|
||||
.B Meta Object Compiler
|
||||
for the Qt GUI application framework. The
|
||||
.B moc
|
||||
reads one or more C++ class declarations from a C++ header or source
|
||||
file and generates one C++ source file containing meta object
|
||||
information for the classes. The C++ source file generated by the
|
||||
.B moc
|
||||
must be compiled and linked with the implementation of the class (or it
|
||||
can be #included into the class's source file).
|
||||
.PP
|
||||
If you use
|
||||
.B qmake
|
||||
to create your Makefiles, build rules will be included that call the
|
||||
.B moc
|
||||
when required, so you will not need to use the
|
||||
.B moc
|
||||
directly.
|
||||
.PP
|
||||
In brief, the meta object system is a structure used by Qt (see
|
||||
.BR http://doc.trolltech.com ")"
|
||||
for component programming and run time type information. It adds
|
||||
properties and inheritance information to (some) classes and
|
||||
provides a new type of communication between those instances of those
|
||||
classes, signal\-slot
|
||||
connections.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "\-o file"
|
||||
Write output to
|
||||
.I file
|
||||
rather than to stdout.
|
||||
.TP
|
||||
.I \-f
|
||||
Force the generation of an #include statement in the output.
|
||||
This is the default for files whose name matches the regular
|
||||
expression .[hH][^.]* (i.e. the extension starts with
|
||||
.B H
|
||||
or
|
||||
.B h
|
||||
). This
|
||||
option is only useful if you have header files that do not follow the
|
||||
standard naming conventions.
|
||||
.TP
|
||||
.I "\-i"
|
||||
Do not generate an #include statement in the output. This may be used
|
||||
to run
|
||||
.B moc
|
||||
on a C++ file containing one or more class declarations. You should then
|
||||
#include the meta object code in the .cpp file (see USAGE below). If both
|
||||
.I \-f
|
||||
and
|
||||
.I \-i
|
||||
are present, the last one wins.
|
||||
.TP
|
||||
.I "\-nw"
|
||||
Do not generate any warnings. Not recommended.
|
||||
.TP
|
||||
.I "\-ldbg"
|
||||
Write a flood of lex debug information to stdout.
|
||||
.TP
|
||||
.I "\-p path"
|
||||
Makes
|
||||
.B moc
|
||||
prepend
|
||||
.IR path /
|
||||
to the file name in the generated #include statement (if one is generated).
|
||||
.TP
|
||||
.I "\-q path"
|
||||
Makes
|
||||
.B moc
|
||||
prepend
|
||||
.IR path /
|
||||
to the file name of qt #include files in the generated code.
|
||||
.TP
|
||||
.I "\-v"
|
||||
Displays the version of
|
||||
.B moc
|
||||
and Qt.
|
||||
.PP
|
||||
You can explicitly tell the
|
||||
.B moc
|
||||
not to parse parts of a header
|
||||
file. It recognizes any C++ comment (//) that contains the substrings
|
||||
MOC_SKIP_BEGIN or MOC_SKIP_END. They work as you would expect and you
|
||||
can have several levels of them. The net result as seen by the
|
||||
.B moc
|
||||
is as if you had removed all lines between a MOC_SKIP_BEGIN and a
|
||||
MOC_SKIP_END
|
||||
.SH USAGE
|
||||
.B moc
|
||||
is almost always invoked by
|
||||
.BR make (1),
|
||||
not by hand.
|
||||
.PP
|
||||
.B moc
|
||||
is typically used with an input file containing class declarations
|
||||
like this:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class YourClass : public QObject {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY( ... )
|
||||
Q_CLASSINFO( ... )
|
||||
|
||||
public:
|
||||
YourClass( QObject * parent=0, const char * name=0 );
|
||||
~YourClass();
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
Here is a useful makefile rule if you only use GNU make:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
m%.cpp: %.h
|
||||
moc $< -o $@
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
If you want to write portably, you can use individual rules of the
|
||||
following form:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
mNAME.cpp: NAME.h
|
||||
moc $< -o $@
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
You must also remember to add
|
||||
.I mNAME.cpp
|
||||
to your SOURCES (substitute your favorite name) variable and
|
||||
.I mNAME.o
|
||||
to your OBJECTS variable.
|
||||
.PP
|
||||
(While we prefer to name our C++ source files .cpp, the
|
||||
.B moc
|
||||
doesn't know that, so you can use .C, .cc, .CC, .cxx or even .c++ if
|
||||
you prefer.)
|
||||
.PP
|
||||
If you have class declarations in C++ files, we recommend that you use
|
||||
a makefile rule like this:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
NAME.o: mNAME.cpp
|
||||
|
||||
mNAME.cpp: NAME.cpp
|
||||
moc -i $< -o $@
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
This guarantees that
|
||||
.BR make (1)
|
||||
will run the
|
||||
.B moc
|
||||
before it compiles
|
||||
.IR NAME.cpp .
|
||||
You can then put
|
||||
.PP
|
||||
.ti +4
|
||||
#include "nNAME.cpp"
|
||||
.PP
|
||||
at the end of
|
||||
.IR NAME.cpp ,
|
||||
where all the classes declared in that file are fully known.
|
||||
.SH DIAGNOSTICS
|
||||
Sometimes you may get linkage errors, saying that
|
||||
YourClass::className() is undefined or that YourClass lacks a vtbl.
|
||||
Those errors happen most often when you forget to compile the
|
||||
moc-generated C++ code or include that object file in the link
|
||||
command.
|
||||
.PP
|
||||
The
|
||||
.B moc
|
||||
will warn you about a number of dangerous or illegal constructs.
|
||||
.SH BUGS
|
||||
|
||||
The
|
||||
.B moc
|
||||
does not expand #include or #define, it simply skips any preprocessor
|
||||
directives it encounters. This is regrettable, but is normally not a
|
||||
problem in practice.
|
||||
|
||||
The
|
||||
.B moc
|
||||
does not handle all of C++. The main problem is that class templates
|
||||
cannot have signals or slots. This is an important bug. Here is an
|
||||
example:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeTemplate<int> : public QFrame {
|
||||
Q_OBJECT
|
||||
....
|
||||
signals:
|
||||
void bugInMocDetected( int );
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
Less importantly, the following constructs are illegal. All of them
|
||||
have have alternatives which we think are usually better, so removing
|
||||
these limitations is not a high priority for us.
|
||||
.SS "Multiple inheritance requires QObject to be first."
|
||||
If you are using multiple inheritance,
|
||||
.B moc
|
||||
assumes that the
|
||||
.B first
|
||||
inherited class is a subclass of QObject. Also, be sure that
|
||||
.B only
|
||||
the first inherited class is a QObject.
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeClass : public QObject, public OtherClass {
|
||||
...
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
This bug is almost impossible to fix; since the
|
||||
.B moc
|
||||
does not expand
|
||||
#include or #define, it cannot find out which one of the base classes is a
|
||||
QObject.
|
||||
.SS "Function pointers cannot be arguments to signals or slots."
|
||||
In most cases where you would consider that, we think inheritance is a
|
||||
better alternative. Here is an example of illegal syntax:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeClass : public QObject {
|
||||
Q_OBJECT
|
||||
...
|
||||
public slots:
|
||||
// illegal
|
||||
void apply( void (*apply)(List *, void *), void * );
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
You can work around this restriction like this:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
typedef void (*ApplyFunctionType)( List *, void * );
|
||||
|
||||
class SomeClass : public QObject {
|
||||
Q_OBJECT
|
||||
...
|
||||
public slots:
|
||||
void apply( ApplyFunctionType, char * );
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
It may sometimes be even better to replace the function pointer with
|
||||
inheritance and virtual functions, signals or slots.
|
||||
.SS "Friend declarations cannot be placed in signals or slots sections"
|
||||
Sometimes it will work, but in general, friend declarations cannot be
|
||||
placed in
|
||||
.B signals
|
||||
or
|
||||
.B slots
|
||||
sections. Put them in the good old
|
||||
.BR private ", " protected
|
||||
or
|
||||
.B public
|
||||
sections instead. Here is an example of the illegal syntax:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeClass : public QObject {
|
||||
Q_OBJECT
|
||||
...
|
||||
signals:
|
||||
friend class ClassTemplate<char>; // illegal
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.SS "Signals and slots cannot be upgraded"
|
||||
The C++ feature of upgrading an inherited member function to
|
||||
.B public
|
||||
status is not extended to cover signals and slots. Here is an illegal
|
||||
example:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class Whatever : public QButtonGroup {
|
||||
...
|
||||
public slots:
|
||||
QButtonGroup::buttonPressed; // illegal
|
||||
...
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
The QButtonGroup::buttonPressed() slot is protected.
|
||||
.PP
|
||||
C++ quiz: What happens if you try to upgrade a protected member
|
||||
function which is overloaded?
|
||||
.IP
|
||||
- All the functions are upgraded.
|
||||
.IP
|
||||
- That is not legal C++.
|
||||
.\" Good idea, but look in the SEE ALSO section...
|
||||
.SS "Type macros cannot be used for signal and slot arguments"
|
||||
|
||||
Since the
|
||||
.B moc
|
||||
does not expand #define, type macros that take an argument
|
||||
will not work in signals and slots. Here is an illegal example:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
#ifdef ultrix
|
||||
#define SIGNEDNESS(a) unsigned a
|
||||
#else
|
||||
#define SIGNEDNESS(a) a
|
||||
#endif
|
||||
class Whatever : public QObject {
|
||||
...
|
||||
signals:
|
||||
void someSignal( SIGNEDNESS(int) ); // illegal
|
||||
};
|
||||
.PP
|
||||
A #define without arguments works.
|
||||
.fi
|
||||
.in -4
|
||||
.SS "Nested classes cannot be in the signals or slots sections nor have signals or slots"
|
||||
Here's an example:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class A {
|
||||
Q_OBJECT
|
||||
public:
|
||||
class B {
|
||||
public slots: // illegal
|
||||
void b();
|
||||
...
|
||||
};
|
||||
signals:
|
||||
class B { // illegal
|
||||
void b();
|
||||
...
|
||||
}:
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
.SS "Constructors cannot be used in signals or slots sections"
|
||||
It is a mystery to us why anyone would put a constructor on either the
|
||||
.B signals
|
||||
or
|
||||
.B slots
|
||||
sections. You can't, anyway (except that it happens to work in some
|
||||
cases). Put them in
|
||||
.BR private ", " protected
|
||||
or
|
||||
.B public
|
||||
sections, where they belong. Here is an example of the illegal syntax:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeClass : public QObject {
|
||||
Q_OBJECT
|
||||
public slots:
|
||||
SomeClass( QObject *parent, const char *name )
|
||||
: QObject( parent, name ) {} // illegal
|
||||
...
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.SS "Properties need to be declared before the public section that contains the respective get and set functions"
|
||||
.PP
|
||||
Declaring the first property within or after the public section that
|
||||
contains the type definition and the respective get and set functions
|
||||
does not work as expected. The
|
||||
.B moc
|
||||
will complain that it can neither
|
||||
find the functions nor resolve the type. Here is an example of the
|
||||
illegal syntax:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeClass : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
...
|
||||
// illegal
|
||||
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
|
||||
Q_ENUMS( Priority )
|
||||
enum Priority { High, Low, VeryHigh, VeryLow };
|
||||
void setPriority( Priority );
|
||||
Priority priority() const;
|
||||
...
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
Work around this limitation by declaring all properties at the
|
||||
beginning of the class declaration, right after Q_OBJECT:
|
||||
.PP
|
||||
.in +4
|
||||
.nf
|
||||
class SomeClass : public QObject {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
|
||||
Q_ENUMS( Priority )
|
||||
public:
|
||||
...
|
||||
enum Priority { High, Low, VeryHigh, VeryLow };
|
||||
void setPriority( Priority );
|
||||
Priority priority() const;
|
||||
...
|
||||
};
|
||||
.fi
|
||||
.in -4
|
||||
.PP
|
||||
.SH "SEE ALSO"
|
||||
.BR http://www.trolltech.com ", "
|
||||
.BR "C++ ARM, section r.11.3" " (for the answer to the quiz), and"
|
||||
.BR http://doc.trolltech.com " (for complete Qt documentation)."
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user