library/libksba: enable legacy uname
[unleashed-userland.git] / components / qt4 / qt4.license
blobb406dd984c0cd2dea2ef0f0308e2dbbfb5e7a7de
1                 GNU Free Documentation License
2                  Version 1.3, 3 November 2008
5  Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
6      <http://fsf.org/>
7  Everyone is permitted to copy and distribute verbatim copies
8  of this license document, but changing it is not allowed.
10 0. PREAMBLE
12 The purpose of this License is to make a manual, textbook, or other
13 functional and useful document "free" in the sense of freedom: to
14 assure everyone the effective freedom to copy and redistribute it,
15 with or without modifying it, either commercially or noncommercially.
16 Secondarily, this License preserves for the author and publisher a way
17 to get credit for their work, while not being considered responsible
18 for modifications made by others.
20 This License is a kind of "copyleft", which means that derivative
21 works of the document must themselves be free in the same sense.  It
22 complements the GNU General Public License, which is a copyleft
23 license designed for free software.
25 We have designed this License in order to use it for manuals for free
26 software, because free software needs free documentation: a free
27 program should come with manuals providing the same freedoms that the
28 software does.  But this License is not limited to software manuals;
29 it can be used for any textual work, regardless of subject matter or
30 whether it is published as a printed book.  We recommend this License
31 principally for works whose purpose is instruction or reference.
34 1. APPLICABILITY AND DEFINITIONS
36 This License applies to any manual or other work, in any medium, that
37 contains a notice placed by the copyright holder saying it can be
38 distributed under the terms of this License.  Such a notice grants a
39 world-wide, royalty-free license, unlimited in duration, to use that
40 work under the conditions stated herein.  The "Document", below,
41 refers to any such manual or work.  Any member of the public is a
42 licensee, and is addressed as "you".  You accept the license if you
43 copy, modify or distribute the work in a way requiring permission
44 under copyright law.
46 A "Modified Version" of the Document means any work containing the
47 Document or a portion of it, either copied verbatim, or with
48 modifications and/or translated into another language.
50 A "Secondary Section" is a named appendix or a front-matter section of
51 the Document that deals exclusively with the relationship of the
52 publishers or authors of the Document to the Document's overall
53 subject (or to related matters) and contains nothing that could fall
54 directly within that overall subject.  (Thus, if the Document is in
55 part a textbook of mathematics, a Secondary Section may not explain
56 any mathematics.)  The relationship could be a matter of historical
57 connection with the subject or with related matters, or of legal,
58 commercial, philosophical, ethical or political position regarding
59 them.
61 The "Invariant Sections" are certain Secondary Sections whose titles
62 are designated, as being those of Invariant Sections, in the notice
63 that says that the Document is released under this License.  If a
64 section does not fit the above definition of Secondary then it is not
65 allowed to be designated as Invariant.  The Document may contain zero
66 Invariant Sections.  If the Document does not identify any Invariant
67 Sections then there are none.
69 The "Cover Texts" are certain short passages of text that are listed,
70 as Front-Cover Texts or Back-Cover Texts, in the notice that says that
71 the Document is released under this License.  A Front-Cover Text may
72 be at most 5 words, and a Back-Cover Text may be at most 25 words.
74 A "Transparent" copy of the Document means a machine-readable copy,
75 represented in a format whose specification is available to the
76 general public, that is suitable for revising the document
77 straightforwardly with generic text editors or (for images composed of
78 pixels) generic paint programs or (for drawings) some widely available
79 drawing editor, and that is suitable for input to text formatters or
80 for automatic translation to a variety of formats suitable for input
81 to text formatters.  A copy made in an otherwise Transparent file
82 format whose markup, or absence of markup, has been arranged to thwart
83 or discourage subsequent modification by readers is not Transparent.
84 An image format is not Transparent if used for any substantial amount
85 of text.  A copy that is not "Transparent" is called "Opaque".
87 Examples of suitable formats for Transparent copies include plain
88 ASCII without markup, Texinfo input format, LaTeX input format, SGML
89 or XML using a publicly available DTD, and standard-conforming simple
90 HTML, PostScript or PDF designed for human modification.  Examples of
91 transparent image formats include PNG, XCF and JPG.  Opaque formats
92 include proprietary formats that can be read and edited only by
93 proprietary word processors, SGML or XML for which the DTD and/or
94 processing tools are not generally available, and the
95 machine-generated HTML, PostScript or PDF produced by some word
96 processors for output purposes only.
98 The "Title Page" means, for a printed book, the title page itself,
99 plus such following pages as are needed to hold, legibly, the material
100 this License requires to appear in the title page.  For works in
101 formats which do not have any title page as such, "Title Page" means
102 the text near the most prominent appearance of the work's title,
103 preceding the beginning of the body of the text.
105 The "publisher" means any person or entity that distributes copies of
106 the Document to the public.
108 A section "Entitled XYZ" means a named subunit of the Document whose
109 title either is precisely XYZ or contains XYZ in parentheses following
110 text that translates XYZ in another language.  (Here XYZ stands for a
111 specific section name mentioned below, such as "Acknowledgements",
112 "Dedications", "Endorsements", or "History".)  To "Preserve the Title"
113 of such a section when you modify the Document means that it remains a
114 section "Entitled XYZ" according to this definition.
116 The Document may include Warranty Disclaimers next to the notice which
117 states that this License applies to the Document.  These Warranty
118 Disclaimers are considered to be included by reference in this
119 License, but only as regards disclaiming warranties: any other
120 implication that these Warranty Disclaimers may have is void and has
121 no effect on the meaning of this License.
123 2. VERBATIM COPYING
125 You may copy and distribute the Document in any medium, either
126 commercially or noncommercially, provided that this License, the
127 copyright notices, and the license notice saying this License applies
128 to the Document are reproduced in all copies, and that you add no
129 other conditions whatsoever to those of this License.  You may not use
130 technical measures to obstruct or control the reading or further
131 copying of the copies you make or distribute.  However, you may accept
132 compensation in exchange for copies.  If you distribute a large enough
133 number of copies you must also follow the conditions in section 3.
135 You may also lend copies, under the same conditions stated above, and
136 you may publicly display copies.
139 3. COPYING IN QUANTITY
141 If you publish printed copies (or copies in media that commonly have
142 printed covers) of the Document, numbering more than 100, and the
143 Document's license notice requires Cover Texts, you must enclose the
144 copies in covers that carry, clearly and legibly, all these Cover
145 Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
146 the back cover.  Both covers must also clearly and legibly identify
147 you as the publisher of these copies.  The front cover must present
148 the full title with all words of the title equally prominent and
149 visible.  You may add other material on the covers in addition.
150 Copying with changes limited to the covers, as long as they preserve
151 the title of the Document and satisfy these conditions, can be treated
152 as verbatim copying in other respects.
154 If the required texts for either cover are too voluminous to fit
155 legibly, you should put the first ones listed (as many as fit
156 reasonably) on the actual cover, and continue the rest onto adjacent
157 pages.
159 If you publish or distribute Opaque copies of the Document numbering
160 more than 100, you must either include a machine-readable Transparent
161 copy along with each Opaque copy, or state in or with each Opaque copy
162 a computer-network location from which the general network-using
163 public has access to download using public-standard network protocols
164 a complete Transparent copy of the Document, free of added material.
165 If you use the latter option, you must take reasonably prudent steps,
166 when you begin distribution of Opaque copies in quantity, to ensure
167 that this Transparent copy will remain thus accessible at the stated
168 location until at least one year after the last time you distribute an
169 Opaque copy (directly or through your agents or retailers) of that
170 edition to the public.
172 It is requested, but not required, that you contact the authors of the
173 Document well before redistributing any large number of copies, to
174 give them a chance to provide you with an updated version of the
175 Document.
178 4. MODIFICATIONS
180 You may copy and distribute a Modified Version of the Document under
181 the conditions of sections 2 and 3 above, provided that you release
182 the Modified Version under precisely this License, with the Modified
183 Version filling the role of the Document, thus licensing distribution
184 and modification of the Modified Version to whoever possesses a copy
185 of it.  In addition, you must do these things in the Modified Version:
187 A. Use in the Title Page (and on the covers, if any) a title distinct
188    from that of the Document, and from those of previous versions
189    (which should, if there were any, be listed in the History section
190    of the Document).  You may use the same title as a previous version
191    if the original publisher of that version gives permission.
192 B. List on the Title Page, as authors, one or more persons or entities
193    responsible for authorship of the modifications in the Modified
194    Version, together with at least five of the principal authors of the
195    Document (all of its principal authors, if it has fewer than five),
196    unless they release you from this requirement.
197 C. State on the Title page the name of the publisher of the
198    Modified Version, as the publisher.
199 D. Preserve all the copyright notices of the Document.
200 E. Add an appropriate copyright notice for your modifications
201    adjacent to the other copyright notices.
202 F. Include, immediately after the copyright notices, a license notice
203    giving the public permission to use the Modified Version under the
204    terms of this License, in the form shown in the Addendum below.
205 G. Preserve in that license notice the full lists of Invariant Sections
206    and required Cover Texts given in the Document's license notice.
207 H. Include an unaltered copy of this License.
208 I. Preserve the section Entitled "History", Preserve its Title, and add
209    to it an item stating at least the title, year, new authors, and
210    publisher of the Modified Version as given on the Title Page.  If
211    there is no section Entitled "History" in the Document, create one
212    stating the title, year, authors, and publisher of the Document as
213    given on its Title Page, then add an item describing the Modified
214    Version as stated in the previous sentence.
215 J. Preserve the network location, if any, given in the Document for
216    public access to a Transparent copy of the Document, and likewise
217    the network locations given in the Document for previous versions
218    it was based on.  These may be placed in the "History" section.
219    You may omit a network location for a work that was published at
220    least four years before the Document itself, or if the original
221    publisher of the version it refers to gives permission.
222 K. For any section Entitled "Acknowledgements" or "Dedications",
223    Preserve the Title of the section, and preserve in the section all
224    the substance and tone of each of the contributor acknowledgements
225    and/or dedications given therein.
226 L. Preserve all the Invariant Sections of the Document,
227    unaltered in their text and in their titles.  Section numbers
228    or the equivalent are not considered part of the section titles.
229 M. Delete any section Entitled "Endorsements".  Such a section
230    may not be included in the Modified Version.
231 N. Do not retitle any existing section to be Entitled "Endorsements"
232    or to conflict in title with any Invariant Section.
233 O. Preserve any Warranty Disclaimers.
235 If the Modified Version includes new front-matter sections or
236 appendices that qualify as Secondary Sections and contain no material
237 copied from the Document, you may at your option designate some or all
238 of these sections as invariant.  To do this, add their titles to the
239 list of Invariant Sections in the Modified Version's license notice.
240 These titles must be distinct from any other section titles.
242 You may add a section Entitled "Endorsements", provided it contains
243 nothing but endorsements of your Modified Version by various
244 parties--for example, statements of peer review or that the text has
245 been approved by an organization as the authoritative definition of a
246 standard.
248 You may add a passage of up to five words as a Front-Cover Text, and a
249 passage of up to 25 words as a Back-Cover Text, to the end of the list
250 of Cover Texts in the Modified Version.  Only one passage of
251 Front-Cover Text and one of Back-Cover Text may be added by (or
252 through arrangements made by) any one entity.  If the Document already
253 includes a cover text for the same cover, previously added by you or
254 by arrangement made by the same entity you are acting on behalf of,
255 you may not add another; but you may replace the old one, on explicit
256 permission from the previous publisher that added the old one.
258 The author(s) and publisher(s) of the Document do not by this License
259 give permission to use their names for publicity for or to assert or
260 imply endorsement of any Modified Version.
263 5. COMBINING DOCUMENTS
265 You may combine the Document with other documents released under this
266 License, under the terms defined in section 4 above for modified
267 versions, provided that you include in the combination all of the
268 Invariant Sections of all of the original documents, unmodified, and
269 list them all as Invariant Sections of your combined work in its
270 license notice, and that you preserve all their Warranty Disclaimers.
272 The combined work need only contain one copy of this License, and
273 multiple identical Invariant Sections may be replaced with a single
274 copy.  If there are multiple Invariant Sections with the same name but
275 different contents, make the title of each such section unique by
276 adding at the end of it, in parentheses, the name of the original
277 author or publisher of that section if known, or else a unique number.
278 Make the same adjustment to the section titles in the list of
279 Invariant Sections in the license notice of the combined work.
281 In the combination, you must combine any sections Entitled "History"
282 in the various original documents, forming one section Entitled
283 "History"; likewise combine any sections Entitled "Acknowledgements",
284 and any sections Entitled "Dedications".  You must delete all sections
285 Entitled "Endorsements".
288 6. COLLECTIONS OF DOCUMENTS
290 You may make a collection consisting of the Document and other
291 documents released under this License, and replace the individual
292 copies of this License in the various documents with a single copy
293 that is included in the collection, provided that you follow the rules
294 of this License for verbatim copying of each of the documents in all
295 other respects.
297 You may extract a single document from such a collection, and
298 distribute it individually under this License, provided you insert a
299 copy of this License into the extracted document, and follow this
300 License in all other respects regarding verbatim copying of that
301 document.
304 7. AGGREGATION WITH INDEPENDENT WORKS
306 A compilation of the Document or its derivatives with other separate
307 and independent documents or works, in or on a volume of a storage or
308 distribution medium, is called an "aggregate" if the copyright
309 resulting from the compilation is not used to limit the legal rights
310 of the compilation's users beyond what the individual works permit.
311 When the Document is included in an aggregate, this License does not
312 apply to the other works in the aggregate which are not themselves
313 derivative works of the Document.
315 If the Cover Text requirement of section 3 is applicable to these
316 copies of the Document, then if the Document is less than one half of
317 the entire aggregate, the Document's Cover Texts may be placed on
318 covers that bracket the Document within the aggregate, or the
319 electronic equivalent of covers if the Document is in electronic form.
320 Otherwise they must appear on printed covers that bracket the whole
321 aggregate.
324 8. TRANSLATION
326 Translation is considered a kind of modification, so you may
327 distribute translations of the Document under the terms of section 4.
328 Replacing Invariant Sections with translations requires special
329 permission from their copyright holders, but you may include
330 translations of some or all Invariant Sections in addition to the
331 original versions of these Invariant Sections.  You may include a
332 translation of this License, and all the license notices in the
333 Document, and any Warranty Disclaimers, provided that you also include
334 the original English version of this License and the original versions
335 of those notices and disclaimers.  In case of a disagreement between
336 the translation and the original version of this License or a notice
337 or disclaimer, the original version will prevail.
339 If a section in the Document is Entitled "Acknowledgements",
340 "Dedications", or "History", the requirement (section 4) to Preserve
341 its Title (section 1) will typically require changing the actual
342 title.
345 9. TERMINATION
347 You may not copy, modify, sublicense, or distribute the Document
348 except as expressly provided under this License.  Any attempt
349 otherwise to copy, modify, sublicense, or distribute it is void, and
350 will automatically terminate your rights under this License.
352 However, if you cease all violation of this License, then your license
353 from a particular copyright holder is reinstated (a) provisionally,
354 unless and until the copyright holder explicitly and finally
355 terminates your license, and (b) permanently, if the copyright holder
356 fails to notify you of the violation by some reasonable means prior to
357 60 days after the cessation.
359 Moreover, your license from a particular copyright holder is
360 reinstated permanently if the copyright holder notifies you of the
361 violation by some reasonable means, this is the first time you have
362 received notice of violation of this License (for any work) from that
363 copyright holder, and you cure the violation prior to 30 days after
364 your receipt of the notice.
366 Termination of your rights under this section does not terminate the
367 licenses of parties who have received copies or rights from you under
368 this License.  If your rights have been terminated and not permanently
369 reinstated, receipt of a copy of some or all of the same material does
370 not give you any rights to use it.
373 10. FUTURE REVISIONS OF THIS LICENSE
375 The Free Software Foundation may publish new, revised versions of the
376 GNU Free Documentation License from time to time.  Such new versions
377 will be similar in spirit to the present version, but may differ in
378 detail to address new problems or concerns.  See
379 http://www.gnu.org/copyleft/.
381 Each version of the License is given a distinguishing version number.
382 If the Document specifies that a particular numbered version of this
383 License "or any later version" applies to it, you have the option of
384 following the terms and conditions either of that specified version or
385 of any later version that has been published (not as a draft) by the
386 Free Software Foundation.  If the Document does not specify a version
387 number of this License, you may choose any version ever published (not
388 as a draft) by the Free Software Foundation.  If the Document
389 specifies that a proxy can decide which future versions of this
390 License can be used, that proxy's public statement of acceptance of a
391 version permanently authorizes you to choose that version for the
392 Document.
394 11. RELICENSING
396 "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
397 World Wide Web server that publishes copyrightable works and also
398 provides prominent facilities for anybody to edit those works.  A
399 public wiki that anybody can edit is an example of such a server.  A
400 "Massive Multiauthor Collaboration" (or "MMC") contained in the site
401 means any set of copyrightable works thus published on the MMC site.
403 "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 
404 license published by Creative Commons Corporation, a not-for-profit 
405 corporation with a principal place of business in San Francisco, 
406 California, as well as future copyleft versions of that license 
407 published by that same organization.
409 "Incorporate" means to publish or republish a Document, in whole or in 
410 part, as part of another Document.
412 An MMC is "eligible for relicensing" if it is licensed under this 
413 License, and if all works that were first published under this License 
414 somewhere other than this MMC, and subsequently incorporated in whole or 
415 in part into the MMC, (1) had no cover texts or invariant sections, and 
416 (2) were thus incorporated prior to November 1, 2008.
418 The operator of an MMC Site may republish an MMC contained in the site
419 under CC-BY-SA on the same site at any time before August 1, 2009,
420 provided the MMC is eligible for relicensing.
423 ADDENDUM: How to use this License for your documents
425 To use this License in a document you have written, include a copy of
426 the License in the document and put the following copyright and
427 license notices just after the title page:
429     Copyright (c)  YEAR  YOUR NAME.
430     Permission is granted to copy, distribute and/or modify this document
431     under the terms of the GNU Free Documentation License, Version 1.3
432     or any later version published by the Free Software Foundation;
433     with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
434     A copy of the license is included in the section entitled "GNU
435     Free Documentation License".
437 If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
438 replace the "with...Texts." line with this:
440     with the Invariant Sections being LIST THEIR TITLES, with the
441     Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
443 If you have Invariant Sections without Cover Texts, or some other
444 combination of the three, merge those two alternatives to suit the
445 situation.
447 If your document contains nontrivial examples of program code, we
448 recommend releasing these examples in parallel under your choice of
449 free software license, such as the GNU General Public License,
450 to permit their use in free software.
451                     GNU GENERAL PUBLIC LICENSE
453  The Qt GUI Toolkit is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
454  Contact: Nokia Corporation (qt-info@nokia.com)
456  You may use, distribute and copy the Qt GUI Toolkit under the terms of
457  GNU General Public License version 3, which is displayed below.
459 -------------------------------------------------------------------------
461                     GNU GENERAL PUBLIC LICENSE
462                        Version 3, 29 June 2007
464  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
465  Everyone is permitted to copy and distribute verbatim copies
466  of this license document, but changing it is not allowed.
468                             Preamble
470   The GNU General Public License is a free, copyleft license for
471 software and other kinds of works.
473   The licenses for most software and other practical works are designed
474 to take away your freedom to share and change the works.  By contrast,
475 the GNU General Public License is intended to guarantee your freedom to
476 share and change all versions of a program--to make sure it remains free
477 software for all its users.  We, the Free Software Foundation, use the
478 GNU General Public License for most of our software; it applies also to
479 any other work released this way by its authors.  You can apply it to
480 your programs, too.
482   When we speak of free software, we are referring to freedom, not
483 price.  Our General Public Licenses are designed to make sure that you
484 have the freedom to distribute copies of free software (and charge for
485 them if you wish), that you receive source code or can get it if you
486 want it, that you can change the software or use pieces of it in new
487 free programs, and that you know you can do these things.
489   To protect your rights, we need to prevent others from denying you
490 these rights or asking you to surrender the rights.  Therefore, you have
491 certain responsibilities if you distribute copies of the software, or if
492 you modify it: responsibilities to respect the freedom of others.
494   For example, if you distribute copies of such a program, whether
495 gratis or for a fee, you must pass on to the recipients the same
496 freedoms that you received.  You must make sure that they, too, receive
497 or can get the source code.  And you must show them these terms so they
498 know their rights.
500   Developers that use the GNU GPL protect your rights with two steps:
501 (1) assert copyright on the software, and (2) offer you this License
502 giving you legal permission to copy, distribute and/or modify it.
504   For the developers' and authors' protection, the GPL clearly explains
505 that there is no warranty for this free software.  For both users' and
506 authors' sake, the GPL requires that modified versions be marked as
507 changed, so that their problems will not be attributed erroneously to
508 authors of previous versions.
510   Some devices are designed to deny users access to install or run
511 modified versions of the software inside them, although the manufacturer
512 can do so.  This is fundamentally incompatible with the aim of
513 protecting users' freedom to change the software.  The systematic
514 pattern of such abuse occurs in the area of products for individuals to
515 use, which is precisely where it is most unacceptable.  Therefore, we
516 have designed this version of the GPL to prohibit the practice for those
517 products.  If such problems arise substantially in other domains, we
518 stand ready to extend this provision to those domains in future versions
519 of the GPL, as needed to protect the freedom of users.
521   Finally, every program is threatened constantly by software patents.
522 States should not allow patents to restrict development and use of
523 software on general-purpose computers, but in those that do, we wish to
524 avoid the special danger that patents applied to a free program could
525 make it effectively proprietary.  To prevent this, the GPL assures that
526 patents cannot be used to render the program non-free.
528   The precise terms and conditions for copying, distribution and
529 modification follow.
531                        TERMS AND CONDITIONS
533   0. Definitions.
535   "This License" refers to version 3 of the GNU General Public License.
537   "Copyright" also means copyright-like laws that apply to other kinds of
538 works, such as semiconductor masks.
540   "The Program" refers to any copyrightable work licensed under this
541 License.  Each licensee is addressed as "you".  "Licensees" and
542 "recipients" may be individuals or organizations.
544   To "modify" a work means to copy from or adapt all or part of the work
545 in a fashion requiring copyright permission, other than the making of an
546 exact copy.  The resulting work is called a "modified version" of the
547 earlier work or a work "based on" the earlier work.
549   A "covered work" means either the unmodified Program or a work based
550 on the Program.
552   To "propagate" a work means to do anything with it that, without
553 permission, would make you directly or secondarily liable for
554 infringement under applicable copyright law, except executing it on a
555 computer or modifying a private copy.  Propagation includes copying,
556 distribution (with or without modification), making available to the
557 public, and in some countries other activities as well.
559   To "convey" a work means any kind of propagation that enables other
560 parties to make or receive copies.  Mere interaction with a user through
561 a computer network, with no transfer of a copy, is not conveying.
563   An interactive user interface displays "Appropriate Legal Notices"
564 to the extent that it includes a convenient and prominently visible
565 feature that (1) displays an appropriate copyright notice, and (2)
566 tells the user that there is no warranty for the work (except to the
567 extent that warranties are provided), that licensees may convey the
568 work under this License, and how to view a copy of this License.  If
569 the interface presents a list of user commands or options, such as a
570 menu, a prominent item in the list meets this criterion.
572   1. Source Code.
574   The "source code" for a work means the preferred form of the work
575 for making modifications to it.  "Object code" means any non-source
576 form of a work.
578   A "Standard Interface" means an interface that either is an official
579 standard defined by a recognized standards body, or, in the case of
580 interfaces specified for a particular programming language, one that
581 is widely used among developers working in that language.
583   The "System Libraries" of an executable work include anything, other
584 than the work as a whole, that (a) is included in the normal form of
585 packaging a Major Component, but which is not part of that Major
586 Component, and (b) serves only to enable use of the work with that
587 Major Component, or to implement a Standard Interface for which an
588 implementation is available to the public in source code form.  A
589 "Major Component", in this context, means a major essential component
590 (kernel, window system, and so on) of the specific operating system
591 (if any) on which the executable work runs, or a compiler used to
592 produce the work, or an object code interpreter used to run it.
594   The "Corresponding Source" for a work in object code form means all
595 the source code needed to generate, install, and (for an executable
596 work) run the object code and to modify the work, including scripts to
597 control those activities.  However, it does not include the work's
598 System Libraries, or general-purpose tools or generally available free
599 programs which are used unmodified in performing those activities but
600 which are not part of the work.  For example, Corresponding Source
601 includes interface definition files associated with source files for
602 the work, and the source code for shared libraries and dynamically
603 linked subprograms that the work is specifically designed to require,
604 such as by intimate data communication or control flow between those
605 subprograms and other parts of the work.
607   The Corresponding Source need not include anything that users
608 can regenerate automatically from other parts of the Corresponding
609 Source.
611   The Corresponding Source for a work in source code form is that
612 same work.
614   2. Basic Permissions.
616   All rights granted under this License are granted for the term of
617 copyright on the Program, and are irrevocable provided the stated
618 conditions are met.  This License explicitly affirms your unlimited
619 permission to run the unmodified Program.  The output from running a
620 covered work is covered by this License only if the output, given its
621 content, constitutes a covered work.  This License acknowledges your
622 rights of fair use or other equivalent, as provided by copyright law.
624   You may make, run and propagate covered works that you do not
625 convey, without conditions so long as your license otherwise remains
626 in force.  You may convey covered works to others for the sole purpose
627 of having them make modifications exclusively for you, or provide you
628 with facilities for running those works, provided that you comply with
629 the terms of this License in conveying all material for which you do
630 not control copyright.  Those thus making or running the covered works
631 for you must do so exclusively on your behalf, under your direction
632 and control, on terms that prohibit them from making any copies of
633 your copyrighted material outside their relationship with you.
635   Conveying under any other circumstances is permitted solely under
636 the conditions stated below.  Sublicensing is not allowed; section 10
637 makes it unnecessary.
639   3. Protecting Users' Legal Rights From Anti-Circumvention Law.
641   No covered work shall be deemed part of an effective technological
642 measure under any applicable law fulfilling obligations under article
643 11 of the WIPO copyright treaty adopted on 20 December 1996, or
644 similar laws prohibiting or restricting circumvention of such
645 measures.
647   When you convey a covered work, you waive any legal power to forbid
648 circumvention of technological measures to the extent such circumvention
649 is effected by exercising rights under this License with respect to
650 the covered work, and you disclaim any intention to limit operation or
651 modification of the work as a means of enforcing, against the work's
652 users, your or third parties' legal rights to forbid circumvention of
653 technological measures.
655   4. Conveying Verbatim Copies.
657   You may convey verbatim copies of the Program's source code as you
658 receive it, in any medium, provided that you conspicuously and
659 appropriately publish on each copy an appropriate copyright notice;
660 keep intact all notices stating that this License and any
661 non-permissive terms added in accord with section 7 apply to the code;
662 keep intact all notices of the absence of any warranty; and give all
663 recipients a copy of this License along with the Program.
665   You may charge any price or no price for each copy that you convey,
666 and you may offer support or warranty protection for a fee.
668   5. Conveying Modified Source Versions.
670   You may convey a work based on the Program, or the modifications to
671 produce it from the Program, in the form of source code under the
672 terms of section 4, provided that you also meet all of these conditions:
674     a) The work must carry prominent notices stating that you modified
675     it, and giving a relevant date.
677     b) The work must carry prominent notices stating that it is
678     released under this License and any conditions added under section
679     7.  This requirement modifies the requirement in section 4 to
680     "keep intact all notices".
682     c) You must license the entire work, as a whole, under this
683     License to anyone who comes into possession of a copy.  This
684     License will therefore apply, along with any applicable section 7
685     additional terms, to the whole of the work, and all its parts,
686     regardless of how they are packaged.  This License gives no
687     permission to license the work in any other way, but it does not
688     invalidate such permission if you have separately received it.
690     d) If the work has interactive user interfaces, each must display
691     Appropriate Legal Notices; however, if the Program has interactive
692     interfaces that do not display Appropriate Legal Notices, your
693     work need not make them do so.
695   A compilation of a covered work with other separate and independent
696 works, which are not by their nature extensions of the covered work,
697 and which are not combined with it such as to form a larger program,
698 in or on a volume of a storage or distribution medium, is called an
699 "aggregate" if the compilation and its resulting copyright are not
700 used to limit the access or legal rights of the compilation's users
701 beyond what the individual works permit.  Inclusion of a covered work
702 in an aggregate does not cause this License to apply to the other
703 parts of the aggregate.
705   6. Conveying Non-Source Forms.
707   You may convey a covered work in object code form under the terms
708 of sections 4 and 5, provided that you also convey the
709 machine-readable Corresponding Source under the terms of this License,
710 in one of these ways:
712     a) Convey the object code in, or embodied in, a physical product
713     (including a physical distribution medium), accompanied by the
714     Corresponding Source fixed on a durable physical medium
715     customarily used for software interchange.
717     b) Convey the object code in, or embodied in, a physical product
718     (including a physical distribution medium), accompanied by a
719     written offer, valid for at least three years and valid for as
720     long as you offer spare parts or customer support for that product
721     model, to give anyone who possesses the object code either (1) a
722     copy of the Corresponding Source for all the software in the
723     product that is covered by this License, on a durable physical
724     medium customarily used for software interchange, for a price no
725     more than your reasonable cost of physically performing this
726     conveying of source, or (2) access to copy the
727     Corresponding Source from a network server at no charge.
729     c) Convey individual copies of the object code with a copy of the
730     written offer to provide the Corresponding Source.  This
731     alternative is allowed only occasionally and noncommercially, and
732     only if you received the object code with such an offer, in accord
733     with subsection 6b.
735     d) Convey the object code by offering access from a designated
736     place (gratis or for a charge), and offer equivalent access to the
737     Corresponding Source in the same way through the same place at no
738     further charge.  You need not require recipients to copy the
739     Corresponding Source along with the object code.  If the place to
740     copy the object code is a network server, the Corresponding Source
741     may be on a different server (operated by you or a third party)
742     that supports equivalent copying facilities, provided you maintain
743     clear directions next to the object code saying where to find the
744     Corresponding Source.  Regardless of what server hosts the
745     Corresponding Source, you remain obligated to ensure that it is
746     available for as long as needed to satisfy these requirements.
748     e) Convey the object code using peer-to-peer transmission, provided
749     you inform other peers where the object code and Corresponding
750     Source of the work are being offered to the general public at no
751     charge under subsection 6d.
753   A separable portion of the object code, whose source code is excluded
754 from the Corresponding Source as a System Library, need not be
755 included in conveying the object code work.
757   A "User Product" is either (1) a "consumer product", which means any
758 tangible personal property which is normally used for personal, family,
759 or household purposes, or (2) anything designed or sold for incorporation
760 into a dwelling.  In determining whether a product is a consumer product,
761 doubtful cases shall be resolved in favor of coverage.  For a particular
762 product received by a particular user, "normally used" refers to a
763 typical or common use of that class of product, regardless of the status
764 of the particular user or of the way in which the particular user
765 actually uses, or expects or is expected to use, the product.  A product
766 is a consumer product regardless of whether the product has substantial
767 commercial, industrial or non-consumer uses, unless such uses represent
768 the only significant mode of use of the product.
770   "Installation Information" for a User Product means any methods,
771 procedures, authorization keys, or other information required to install
772 and execute modified versions of a covered work in that User Product from
773 a modified version of its Corresponding Source.  The information must
774 suffice to ensure that the continued functioning of the modified object
775 code is in no case prevented or interfered with solely because
776 modification has been made.
778   If you convey an object code work under this section in, or with, or
779 specifically for use in, a User Product, and the conveying occurs as
780 part of a transaction in which the right of possession and use of the
781 User Product is transferred to the recipient in perpetuity or for a
782 fixed term (regardless of how the transaction is characterized), the
783 Corresponding Source conveyed under this section must be accompanied
784 by the Installation Information.  But this requirement does not apply
785 if neither you nor any third party retains the ability to install
786 modified object code on the User Product (for example, the work has
787 been installed in ROM).
789   The requirement to provide Installation Information does not include a
790 requirement to continue to provide support service, warranty, or updates
791 for a work that has been modified or installed by the recipient, or for
792 the User Product in which it has been modified or installed.  Access to a
793 network may be denied when the modification itself materially and
794 adversely affects the operation of the network or violates the rules and
795 protocols for communication across the network.
797   Corresponding Source conveyed, and Installation Information provided,
798 in accord with this section must be in a format that is publicly
799 documented (and with an implementation available to the public in
800 source code form), and must require no special password or key for
801 unpacking, reading or copying.
803   7. Additional Terms.
805   "Additional permissions" are terms that supplement the terms of this
806 License by making exceptions from one or more of its conditions.
807 Additional permissions that are applicable to the entire Program shall
808 be treated as though they were included in this License, to the extent
809 that they are valid under applicable law.  If additional permissions
810 apply only to part of the Program, that part may be used separately
811 under those permissions, but the entire Program remains governed by
812 this License without regard to the additional permissions.
814   When you convey a copy of a covered work, you may at your option
815 remove any additional permissions from that copy, or from any part of
816 it.  (Additional permissions may be written to require their own
817 removal in certain cases when you modify the work.)  You may place
818 additional permissions on material, added by you to a covered work,
819 for which you have or can give appropriate copyright permission.
821   Notwithstanding any other provision of this License, for material you
822 add to a covered work, you may (if authorized by the copyright holders of
823 that material) supplement the terms of this License with terms:
825     a) Disclaiming warranty or limiting liability differently from the
826     terms of sections 15 and 16 of this License; or
828     b) Requiring preservation of specified reasonable legal notices or
829     author attributions in that material or in the Appropriate Legal
830     Notices displayed by works containing it; or
832     c) Prohibiting misrepresentation of the origin of that material, or
833     requiring that modified versions of such material be marked in
834     reasonable ways as different from the original version; or
836     d) Limiting the use for publicity purposes of names of licensors or
837     authors of the material; or
839     e) Declining to grant rights under trademark law for use of some
840     trade names, trademarks, or service marks; or
842     f) Requiring indemnification of licensors and authors of that
843     material by anyone who conveys the material (or modified versions of
844     it) with contractual assumptions of liability to the recipient, for
845     any liability that these contractual assumptions directly impose on
846     those licensors and authors.
848   All other non-permissive additional terms are considered "further
849 restrictions" within the meaning of section 10.  If the Program as you
850 received it, or any part of it, contains a notice stating that it is
851 governed by this License along with a term that is a further
852 restriction, you may remove that term.  If a license document contains
853 a further restriction but permits relicensing or conveying under this
854 License, you may add to a covered work material governed by the terms
855 of that license document, provided that the further restriction does
856 not survive such relicensing or conveying.
858   If you add terms to a covered work in accord with this section, you
859 must place, in the relevant source files, a statement of the
860 additional terms that apply to those files, or a notice indicating
861 where to find the applicable terms.
863   Additional terms, permissive or non-permissive, may be stated in the
864 form of a separately written license, or stated as exceptions;
865 the above requirements apply either way.
867   8. Termination.
869   You may not propagate or modify a covered work except as expressly
870 provided under this License.  Any attempt otherwise to propagate or
871 modify it is void, and will automatically terminate your rights under
872 this License (including any patent licenses granted under the third
873 paragraph of section 11).
875   However, if you cease all violation of this License, then your
876 license from a particular copyright holder is reinstated (a)
877 provisionally, unless and until the copyright holder explicitly and
878 finally terminates your license, and (b) permanently, if the copyright
879 holder fails to notify you of the violation by some reasonable means
880 prior to 60 days after the cessation.
882   Moreover, your license from a particular copyright holder is
883 reinstated permanently if the copyright holder notifies you of the
884 violation by some reasonable means, this is the first time you have
885 received notice of violation of this License (for any work) from that
886 copyright holder, and you cure the violation prior to 30 days after
887 your receipt of the notice.
889   Termination of your rights under this section does not terminate the
890 licenses of parties who have received copies or rights from you under
891 this License.  If your rights have been terminated and not permanently
892 reinstated, you do not qualify to receive new licenses for the same
893 material under section 10.
895   9. Acceptance Not Required for Having Copies.
897   You are not required to accept this License in order to receive or
898 run a copy of the Program.  Ancillary propagation of a covered work
899 occurring solely as a consequence of using peer-to-peer transmission
900 to receive a copy likewise does not require acceptance.  However,
901 nothing other than this License grants you permission to propagate or
902 modify any covered work.  These actions infringe copyright if you do
903 not accept this License.  Therefore, by modifying or propagating a
904 covered work, you indicate your acceptance of this License to do so.
906   10. Automatic Licensing of Downstream Recipients.
908   Each time you convey a covered work, the recipient automatically
909 receives a license from the original licensors, to run, modify and
910 propagate that work, subject to this License.  You are not responsible
911 for enforcing compliance by third parties with this License.
913   An "entity transaction" is a transaction transferring control of an
914 organization, or substantially all assets of one, or subdividing an
915 organization, or merging organizations.  If propagation of a covered
916 work results from an entity transaction, each party to that
917 transaction who receives a copy of the work also receives whatever
918 licenses to the work the party's predecessor in interest had or could
919 give under the previous paragraph, plus a right to possession of the
920 Corresponding Source of the work from the predecessor in interest, if
921 the predecessor has it or can get it with reasonable efforts.
923   You may not impose any further restrictions on the exercise of the
924 rights granted or affirmed under this License.  For example, you may
925 not impose a license fee, royalty, or other charge for exercise of
926 rights granted under this License, and you may not initiate litigation
927 (including a cross-claim or counterclaim in a lawsuit) alleging that
928 any patent claim is infringed by making, using, selling, offering for
929 sale, or importing the Program or any portion of it.
931   11. Patents.
933   A "contributor" is a copyright holder who authorizes use under this
934 License of the Program or a work on which the Program is based.  The
935 work thus licensed is called the contributor's "contributor version".
937   A contributor's "essential patent claims" are all patent claims
938 owned or controlled by the contributor, whether already acquired or
939 hereafter acquired, that would be infringed by some manner, permitted
940 by this License, of making, using, or selling its contributor version,
941 but do not include claims that would be infringed only as a
942 consequence of further modification of the contributor version.  For
943 purposes of this definition, "control" includes the right to grant
944 patent sublicenses in a manner consistent with the requirements of
945 this License.
947   Each contributor grants you a non-exclusive, worldwide, royalty-free
948 patent license under the contributor's essential patent claims, to
949 make, use, sell, offer for sale, import and otherwise run, modify and
950 propagate the contents of its contributor version.
952   In the following three paragraphs, a "patent license" is any express
953 agreement or commitment, however denominated, not to enforce a patent
954 (such as an express permission to practice a patent or covenant not to
955 sue for patent infringement).  To "grant" such a patent license to a
956 party means to make such an agreement or commitment not to enforce a
957 patent against the party.
959   If you convey a covered work, knowingly relying on a patent license,
960 and the Corresponding Source of the work is not available for anyone
961 to copy, free of charge and under the terms of this License, through a
962 publicly available network server or other readily accessible means,
963 then you must either (1) cause the Corresponding Source to be so
964 available, or (2) arrange to deprive yourself of the benefit of the
965 patent license for this particular work, or (3) arrange, in a manner
966 consistent with the requirements of this License, to extend the patent
967 license to downstream recipients.  "Knowingly relying" means you have
968 actual knowledge that, but for the patent license, your conveying the
969 covered work in a country, or your recipient's use of the covered work
970 in a country, would infringe one or more identifiable patents in that
971 country that you have reason to believe are valid.
973   If, pursuant to or in connection with a single transaction or
974 arrangement, you convey, or propagate by procuring conveyance of, a
975 covered work, and grant a patent license to some of the parties
976 receiving the covered work authorizing them to use, propagate, modify
977 or convey a specific copy of the covered work, then the patent license
978 you grant is automatically extended to all recipients of the covered
979 work and works based on it.
981   A patent license is "discriminatory" if it does not include within
982 the scope of its coverage, prohibits the exercise of, or is
983 conditioned on the non-exercise of one or more of the rights that are
984 specifically granted under this License.  You may not convey a covered
985 work if you are a party to an arrangement with a third party that is
986 in the business of distributing software, under which you make payment
987 to the third party based on the extent of your activity of conveying
988 the work, and under which the third party grants, to any of the
989 parties who would receive the covered work from you, a discriminatory
990 patent license (a) in connection with copies of the covered work
991 conveyed by you (or copies made from those copies), or (b) primarily
992 for and in connection with specific products or compilations that
993 contain the covered work, unless you entered into that arrangement,
994 or that patent license was granted, prior to 28 March 2007.
996   Nothing in this License shall be construed as excluding or limiting
997 any implied license or other defenses to infringement that may
998 otherwise be available to you under applicable patent law.
1000   12. No Surrender of Others' Freedom.
1002   If conditions are imposed on you (whether by court order, agreement or
1003 otherwise) that contradict the conditions of this License, they do not
1004 excuse you from the conditions of this License.  If you cannot convey a
1005 covered work so as to satisfy simultaneously your obligations under this
1006 License and any other pertinent obligations, then as a consequence you may
1007 not convey it at all.  For example, if you agree to terms that obligate you
1008 to collect a royalty for further conveying from those to whom you convey
1009 the Program, the only way you could satisfy both those terms and this
1010 License would be to refrain entirely from conveying the Program.
1012   13. Use with the GNU Affero General Public License.
1014   Notwithstanding any other provision of this License, you have
1015 permission to link or combine any covered work with a work licensed
1016 under version 3 of the GNU Affero General Public License into a single
1017 combined work, and to convey the resulting work.  The terms of this
1018 License will continue to apply to the part which is the covered work,
1019 but the special requirements of the GNU Affero General Public License,
1020 section 13, concerning interaction through a network will apply to the
1021 combination as such.
1023   14. Revised Versions of this License.
1025   The Free Software Foundation may publish revised and/or new versions of
1026 the GNU General Public License from time to time.  Such new versions will
1027 be similar in spirit to the present version, but may differ in detail to
1028 address new problems or concerns.
1030   Each version is given a distinguishing version number.  If the
1031 Program specifies that a certain numbered version of the GNU General
1032 Public License "or any later version" applies to it, you have the
1033 option of following the terms and conditions either of that numbered
1034 version or of any later version published by the Free Software
1035 Foundation.  If the Program does not specify a version number of the
1036 GNU General Public License, you may choose any version ever published
1037 by the Free Software Foundation.
1039   If the Program specifies that a proxy can decide which future
1040 versions of the GNU General Public License can be used, that proxy's
1041 public statement of acceptance of a version permanently authorizes you
1042 to choose that version for the Program.
1044   Later license versions may give you additional or different
1045 permissions.  However, no additional obligations are imposed on any
1046 author or copyright holder as a result of your choosing to follow a
1047 later version.
1049   15. Disclaimer of Warranty.
1051   THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1052 APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1053 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1054 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1055 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1056 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1057 IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1058 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1060   16. Limitation of Liability.
1062   IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1063 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1064 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1065 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1066 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1067 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1068 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1069 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1070 SUCH DAMAGES.
1072   17. Interpretation of Sections 15 and 16.
1074   If the disclaimer of warranty and limitation of liability provided
1075 above cannot be given local legal effect according to their terms,
1076 reviewing courts shall apply local law that most closely approximates
1077 an absolute waiver of all civil liability in connection with the
1078 Program, unless a warranty or assumption of liability accompanies a
1079 copy of the Program in return for a fee.
1081                      END OF TERMS AND CONDITIONS
1083             How to Apply These Terms to Your New Programs
1085   If you develop a new program, and you want it to be of the greatest
1086 possible use to the public, the best way to achieve this is to make it
1087 free software which everyone can redistribute and change under these terms.
1089   To do so, attach the following notices to the program.  It is safest
1090 to attach them to the start of each source file to most effectively
1091 state the exclusion of warranty; and each file should have at least
1092 the "copyright" line and a pointer to where the full notice is found.
1094     <one line to give the program's name and a brief idea of what it does.>
1095     Copyright (C) <year>  <name of author>
1097     This program is free software: you can redistribute it and/or modify
1098     it under the terms of the GNU General Public License as published by
1099     the Free Software Foundation, either version 3 of the License, or
1100     (at your option) any later version.
1102     This program is distributed in the hope that it will be useful,
1103     but WITHOUT ANY WARRANTY; without even the implied warranty of
1104     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1105     GNU General Public License for more details.
1107     You should have received a copy of the GNU General Public License
1108     along with this program.  If not, see <http://www.gnu.org/licenses/>.
1110 Also add information on how to contact you by electronic and paper mail.
1112   If the program does terminal interaction, make it output a short
1113 notice like this when it starts in an interactive mode:
1115     <program>  Copyright (C) <year>  <name of author>
1116     This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1117     This is free software, and you are welcome to redistribute it
1118     under certain conditions; type `show c' for details.
1120 The hypothetical commands `show w' and `show c' should show the appropriate
1121 parts of the General Public License.  Of course, your program's commands
1122 might be different; for a GUI interface, you would use an "about box".
1124   You should also get your employer (if you work as a programmer) or school,
1125 if any, to sign a "copyright disclaimer" for the program, if necessary.
1126 For more information on this, and how to apply and follow the GNU GPL, see
1127 <http://www.gnu.org/licenses/>.
1129   The GNU General Public License does not permit incorporating your program
1130 into proprietary programs.  If your program is a subroutine library, you
1131 may consider it more useful to permit linking proprietary applications with
1132 the library.  If this is what you want to do, use the GNU Lesser General
1133 Public License instead of this License.  But first, please read
1134 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
1136 -------------------------------------------------------------------------
1138 In addition, as a special exception, Nokia gives permission to link the
1139 code of its release of Qt with the OpenSSL project's "OpenSSL" library (or
1140 modified versions of it that use the same license as the "OpenSSL"
1141 library), and distribute the linked executables.  You must comply with the
1142 GNU General Public License versions 2.0 or 3.0 in all respects for all of
1143 the code used other than the "OpenSSL" code.  If you modify this file, you
1144 may extend this exception to your version of the file, but you are not
1145 obligated to do so.  If you do not wish to do so, delete this exception
1146 statement from your version of this file.
1147                   GNU LESSER GENERAL PUBLIC LICENSE
1148                        Version 2.1, February 1999
1150  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
1151  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
1152  Everyone is permitted to copy and distribute verbatim copies
1153  of this license document, but changing it is not allowed.
1155 [This is the first released version of the Lesser GPL.  It also counts
1156  as the successor of the GNU Library Public License, version 2, hence
1157  the version number 2.1.]
1159                             Preamble
1161   The licenses for most software are designed to take away your
1162 freedom to share and change it.  By contrast, the GNU General Public
1163 Licenses are intended to guarantee your freedom to share and change
1164 free software--to make sure the software is free for all its users.
1166   This license, the Lesser General Public License, applies to some
1167 specially designated software packages--typically libraries--of the
1168 Free Software Foundation and other authors who decide to use it.  You
1169 can use it too, but we suggest you first think carefully about whether
1170 this license or the ordinary General Public License is the better
1171 strategy to use in any particular case, based on the explanations below.
1173   When we speak of free software, we are referring to freedom of use,
1174 not price.  Our General Public Licenses are designed to make sure that
1175 you have the freedom to distribute copies of free software (and charge
1176 for this service if you wish); that you receive source code or can get
1177 it if you want it; that you can change the software and use pieces of
1178 it in new free programs; and that you are informed that you can do
1179 these things.
1181   To protect your rights, we need to make restrictions that forbid
1182 distributors to deny you these rights or to ask you to surrender these
1183 rights.  These restrictions translate to certain responsibilities for
1184 you if you distribute copies of the library or if you modify it.
1186   For example, if you distribute copies of the library, whether gratis
1187 or for a fee, you must give the recipients all the rights that we gave
1188 you.  You must make sure that they, too, receive or can get the source
1189 code.  If you link other code with the library, you must provide
1190 complete object files to the recipients, so that they can relink them
1191 with the library after making changes to the library and recompiling
1192 it.  And you must show them these terms so they know their rights.
1194   We protect your rights with a two-step method: (1) we copyright the
1195 library, and (2) we offer you this license, which gives you legal
1196 permission to copy, distribute and/or modify the library.
1198   To protect each distributor, we want to make it very clear that
1199 there is no warranty for the free library.  Also, if the library is
1200 modified by someone else and passed on, the recipients should know
1201 that what they have is not the original version, so that the original
1202 author's reputation will not be affected by problems that might be
1203 introduced by others.
1205   Finally, software patents pose a constant threat to the existence of
1206 any free program.  We wish to make sure that a company cannot
1207 effectively restrict the users of a free program by obtaining a
1208 restrictive license from a patent holder.  Therefore, we insist that
1209 any patent license obtained for a version of the library must be
1210 consistent with the full freedom of use specified in this license.
1212   Most GNU software, including some libraries, is covered by the
1213 ordinary GNU General Public License.  This license, the GNU Lesser
1214 General Public License, applies to certain designated libraries, and
1215 is quite different from the ordinary General Public License.  We use
1216 this license for certain libraries in order to permit linking those
1217 libraries into non-free programs.
1219   When a program is linked with a library, whether statically or using
1220 a shared library, the combination of the two is legally speaking a
1221 combined work, a derivative of the original library.  The ordinary
1222 General Public License therefore permits such linking only if the
1223 entire combination fits its criteria of freedom.  The Lesser General
1224 Public License permits more lax criteria for linking other code with
1225 the library.
1227   We call this license the "Lesser" General Public License because it
1228 does Less to protect the user's freedom than the ordinary General
1229 Public License.  It also provides other free software developers Less
1230 of an advantage over competing non-free programs.  These disadvantages
1231 are the reason we use the ordinary General Public License for many
1232 libraries.  However, the Lesser license provides advantages in certain
1233 special circumstances.
1235   For example, on rare occasions, there may be a special need to
1236 encourage the widest possible use of a certain library, so that it becomes
1237 a de-facto standard.  To achieve this, non-free programs must be
1238 allowed to use the library.  A more frequent case is that a free
1239 library does the same job as widely used non-free libraries.  In this
1240 case, there is little to gain by limiting the free library to free
1241 software only, so we use the Lesser General Public License.
1243   In other cases, permission to use a particular library in non-free
1244 programs enables a greater number of people to use a large body of
1245 free software.  For example, permission to use the GNU C Library in
1246 non-free programs enables many more people to use the whole GNU
1247 operating system, as well as its variant, the GNU/Linux operating
1248 system.
1250   Although the Lesser General Public License is Less protective of the
1251 users' freedom, it does ensure that the user of a program that is
1252 linked with the Library has the freedom and the wherewithal to run
1253 that program using a modified version of the Library.
1255   The precise terms and conditions for copying, distribution and
1256 modification follow.  Pay close attention to the difference between a
1257 "work based on the library" and a "work that uses the library".  The
1258 former contains code derived from the library, whereas the latter must
1259 be combined with the library in order to run.
1261                   GNU LESSER GENERAL PUBLIC LICENSE
1262    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1264   0. This License Agreement applies to any software library or other
1265 program which contains a notice placed by the copyright holder or
1266 other authorized party saying it may be distributed under the terms of
1267 this Lesser General Public License (also called "this License").
1268 Each licensee is addressed as "you".
1270   A "library" means a collection of software functions and/or data
1271 prepared so as to be conveniently linked with application programs
1272 (which use some of those functions and data) to form executables.
1274   The "Library", below, refers to any such software library or work
1275 which has been distributed under these terms.  A "work based on the
1276 Library" means either the Library or any derivative work under
1277 copyright law: that is to say, a work containing the Library or a
1278 portion of it, either verbatim or with modifications and/or translated
1279 straightforwardly into another language.  (Hereinafter, translation is
1280 included without limitation in the term "modification".)
1282   "Source code" for a work means the preferred form of the work for
1283 making modifications to it.  For a library, complete source code means
1284 all the source code for all modules it contains, plus any associated
1285 interface definition files, plus the scripts used to control compilation
1286 and installation of the library.
1288   Activities other than copying, distribution and modification are not
1289 covered by this License; they are outside its scope.  The act of
1290 running a program using the Library is not restricted, and output from
1291 such a program is covered only if its contents constitute a work based
1292 on the Library (independent of the use of the Library in a tool for
1293 writing it).  Whether that is true depends on what the Library does
1294 and what the program that uses the Library does.
1295   
1296   1. You may copy and distribute verbatim copies of the Library's
1297 complete source code as you receive it, in any medium, provided that
1298 you conspicuously and appropriately publish on each copy an
1299 appropriate copyright notice and disclaimer of warranty; keep intact
1300 all the notices that refer to this License and to the absence of any
1301 warranty; and distribute a copy of this License along with the
1302 Library.
1304   You may charge a fee for the physical act of transferring a copy,
1305 and you may at your option offer warranty protection in exchange for a
1306 fee.
1308   2. You may modify your copy or copies of the Library or any portion
1309 of it, thus forming a work based on the Library, and copy and
1310 distribute such modifications or work under the terms of Section 1
1311 above, provided that you also meet all of these conditions:
1313     a) The modified work must itself be a software library.
1315     b) You must cause the files modified to carry prominent notices
1316     stating that you changed the files and the date of any change.
1318     c) You must cause the whole of the work to be licensed at no
1319     charge to all third parties under the terms of this License.
1321     d) If a facility in the modified Library refers to a function or a
1322     table of data to be supplied by an application program that uses
1323     the facility, other than as an argument passed when the facility
1324     is invoked, then you must make a good faith effort to ensure that,
1325     in the event an application does not supply such function or
1326     table, the facility still operates, and performs whatever part of
1327     its purpose remains meaningful.
1329     (For example, a function in a library to compute square roots has
1330     a purpose that is entirely well-defined independent of the
1331     application.  Therefore, Subsection 2d requires that any
1332     application-supplied function or table used by this function must
1333     be optional: if the application does not supply it, the square
1334     root function must still compute square roots.)
1336 These requirements apply to the modified work as a whole.  If
1337 identifiable sections of that work are not derived from the Library,
1338 and can be reasonably considered independent and separate works in
1339 themselves, then this License, and its terms, do not apply to those
1340 sections when you distribute them as separate works.  But when you
1341 distribute the same sections as part of a whole which is a work based
1342 on the Library, the distribution of the whole must be on the terms of
1343 this License, whose permissions for other licensees extend to the
1344 entire whole, and thus to each and every part regardless of who wrote
1347 Thus, it is not the intent of this section to claim rights or contest
1348 your rights to work written entirely by you; rather, the intent is to
1349 exercise the right to control the distribution of derivative or
1350 collective works based on the Library.
1352 In addition, mere aggregation of another work not based on the Library
1353 with the Library (or with a work based on the Library) on a volume of
1354 a storage or distribution medium does not bring the other work under
1355 the scope of this License.
1357   3. You may opt to apply the terms of the ordinary GNU General Public
1358 License instead of this License to a given copy of the Library.  To do
1359 this, you must alter all the notices that refer to this License, so
1360 that they refer to the ordinary GNU General Public License, version 2,
1361 instead of to this License.  (If a newer version than version 2 of the
1362 ordinary GNU General Public License has appeared, then you can specify
1363 that version instead if you wish.)  Do not make any other change in
1364 these notices.
1366   Once this change is made in a given copy, it is irreversible for
1367 that copy, so the ordinary GNU General Public License applies to all
1368 subsequent copies and derivative works made from that copy.
1370   This option is useful when you wish to copy part of the code of
1371 the Library into a program that is not a library.
1373   4. You may copy and distribute the Library (or a portion or
1374 derivative of it, under Section 2) in object code or executable form
1375 under the terms of Sections 1 and 2 above provided that you accompany
1376 it with the complete corresponding machine-readable source code, which
1377 must be distributed under the terms of Sections 1 and 2 above on a
1378 medium customarily used for software interchange.
1380   If distribution of object code is made by offering access to copy
1381 from a designated place, then offering equivalent access to copy the
1382 source code from the same place satisfies the requirement to
1383 distribute the source code, even though third parties are not
1384 compelled to copy the source along with the object code.
1386   5. A program that contains no derivative of any portion of the
1387 Library, but is designed to work with the Library by being compiled or
1388 linked with it, is called a "work that uses the Library".  Such a
1389 work, in isolation, is not a derivative work of the Library, and
1390 therefore falls outside the scope of this License.
1392   However, linking a "work that uses the Library" with the Library
1393 creates an executable that is a derivative of the Library (because it
1394 contains portions of the Library), rather than a "work that uses the
1395 library".  The executable is therefore covered by this License.
1396 Section 6 states terms for distribution of such executables.
1398   When a "work that uses the Library" uses material from a header file
1399 that is part of the Library, the object code for the work may be a
1400 derivative work of the Library even though the source code is not.
1401 Whether this is true is especially significant if the work can be
1402 linked without the Library, or if the work is itself a library.  The
1403 threshold for this to be true is not precisely defined by law.
1405   If such an object file uses only numerical parameters, data
1406 structure layouts and accessors, and small macros and small inline
1407 functions (ten lines or less in length), then the use of the object
1408 file is unrestricted, regardless of whether it is legally a derivative
1409 work.  (Executables containing this object code plus portions of the
1410 Library will still fall under Section 6.)
1412   Otherwise, if the work is a derivative of the Library, you may
1413 distribute the object code for the work under the terms of Section 6.
1414 Any executables containing that work also fall under Section 6,
1415 whether or not they are linked directly with the Library itself.
1417   6. As an exception to the Sections above, you may also combine or
1418 link a "work that uses the Library" with the Library to produce a
1419 work containing portions of the Library, and distribute that work
1420 under terms of your choice, provided that the terms permit
1421 modification of the work for the customer's own use and reverse
1422 engineering for debugging such modifications.
1424   You must give prominent notice with each copy of the work that the
1425 Library is used in it and that the Library and its use are covered by
1426 this License.  You must supply a copy of this License.  If the work
1427 during execution displays copyright notices, you must include the
1428 copyright notice for the Library among them, as well as a reference
1429 directing the user to the copy of this License.  Also, you must do one
1430 of these things:
1432     a) Accompany the work with the complete corresponding
1433     machine-readable source code for the Library including whatever
1434     changes were used in the work (which must be distributed under
1435     Sections 1 and 2 above); and, if the work is an executable linked
1436     with the Library, with the complete machine-readable "work that
1437     uses the Library", as object code and/or source code, so that the
1438     user can modify the Library and then relink to produce a modified
1439     executable containing the modified Library.  (It is understood
1440     that the user who changes the contents of definitions files in the
1441     Library will not necessarily be able to recompile the application
1442     to use the modified definitions.)
1444     b) Use a suitable shared library mechanism for linking with the
1445     Library.  A suitable mechanism is one that (1) uses at run time a
1446     copy of the library already present on the user's computer system,
1447     rather than copying library functions into the executable, and (2)
1448     will operate properly with a modified version of the library, if
1449     the user installs one, as long as the modified version is
1450     interface-compatible with the version that the work was made with.
1452     c) Accompany the work with a written offer, valid for at
1453     least three years, to give the same user the materials
1454     specified in Subsection 6a, above, for a charge no more
1455     than the cost of performing this distribution.
1457     d) If distribution of the work is made by offering access to copy
1458     from a designated place, offer equivalent access to copy the above
1459     specified materials from the same place.
1461     e) Verify that the user has already received a copy of these
1462     materials or that you have already sent this user a copy.
1464   For an executable, the required form of the "work that uses the
1465 Library" must include any data and utility programs needed for
1466 reproducing the executable from it.  However, as a special exception,
1467 the materials to be distributed need not include anything that is
1468 normally distributed (in either source or binary form) with the major
1469 components (compiler, kernel, and so on) of the operating system on
1470 which the executable runs, unless that component itself accompanies
1471 the executable.
1473   It may happen that this requirement contradicts the license
1474 restrictions of other proprietary libraries that do not normally
1475 accompany the operating system.  Such a contradiction means you cannot
1476 use both them and the Library together in an executable that you
1477 distribute.
1479   7. You may place library facilities that are a work based on the
1480 Library side-by-side in a single library together with other library
1481 facilities not covered by this License, and distribute such a combined
1482 library, provided that the separate distribution of the work based on
1483 the Library and of the other library facilities is otherwise
1484 permitted, and provided that you do these two things:
1486     a) Accompany the combined library with a copy of the same work
1487     based on the Library, uncombined with any other library
1488     facilities.  This must be distributed under the terms of the
1489     Sections above.
1491     b) Give prominent notice with the combined library of the fact
1492     that part of it is a work based on the Library, and explaining
1493     where to find the accompanying uncombined form of the same work.
1495   8. You may not copy, modify, sublicense, link with, or distribute
1496 the Library except as expressly provided under this License.  Any
1497 attempt otherwise to copy, modify, sublicense, link with, or
1498 distribute the Library is void, and will automatically terminate your
1499 rights under this License.  However, parties who have received copies,
1500 or rights, from you under this License will not have their licenses
1501 terminated so long as such parties remain in full compliance.
1503   9. You are not required to accept this License, since you have not
1504 signed it.  However, nothing else grants you permission to modify or
1505 distribute the Library or its derivative works.  These actions are
1506 prohibited by law if you do not accept this License.  Therefore, by
1507 modifying or distributing the Library (or any work based on the
1508 Library), you indicate your acceptance of this License to do so, and
1509 all its terms and conditions for copying, distributing or modifying
1510 the Library or works based on it.
1512   10. Each time you redistribute the Library (or any work based on the
1513 Library), the recipient automatically receives a license from the
1514 original licensor to copy, distribute, link with or modify the Library
1515 subject to these terms and conditions.  You may not impose any further
1516 restrictions on the recipients' exercise of the rights granted herein.
1517 You are not responsible for enforcing compliance by third parties with
1518 this License.
1520   11. If, as a consequence of a court judgment or allegation of patent
1521 infringement or for any other reason (not limited to patent issues),
1522 conditions are imposed on you (whether by court order, agreement or
1523 otherwise) that contradict the conditions of this License, they do not
1524 excuse you from the conditions of this License.  If you cannot
1525 distribute so as to satisfy simultaneously your obligations under this
1526 License and any other pertinent obligations, then as a consequence you
1527 may not distribute the Library at all.  For example, if a patent
1528 license would not permit royalty-free redistribution of the Library by
1529 all those who receive copies directly or indirectly through you, then
1530 the only way you could satisfy both it and this License would be to
1531 refrain entirely from distribution of the Library.
1533 If any portion of this section is held invalid or unenforceable under any
1534 particular circumstance, the balance of the section is intended to apply,
1535 and the section as a whole is intended to apply in other circumstances.
1537 It is not the purpose of this section to induce you to infringe any
1538 patents or other property right claims or to contest validity of any
1539 such claims; this section has the sole purpose of protecting the
1540 integrity of the free software distribution system which is
1541 implemented by public license practices.  Many people have made
1542 generous contributions to the wide range of software distributed
1543 through that system in reliance on consistent application of that
1544 system; it is up to the author/donor to decide if he or she is willing
1545 to distribute software through any other system and a licensee cannot
1546 impose that choice.
1548 This section is intended to make thoroughly clear what is believed to
1549 be a consequence of the rest of this License.
1551   12. If the distribution and/or use of the Library is restricted in
1552 certain countries either by patents or by copyrighted interfaces, the
1553 original copyright holder who places the Library under this License may add
1554 an explicit geographical distribution limitation excluding those countries,
1555 so that distribution is permitted only in or among countries not thus
1556 excluded.  In such case, this License incorporates the limitation as if
1557 written in the body of this License.
1559   13. The Free Software Foundation may publish revised and/or new
1560 versions of the Lesser General Public License from time to time.
1561 Such new versions will be similar in spirit to the present version,
1562 but may differ in detail to address new problems or concerns.
1564 Each version is given a distinguishing version number.  If the Library
1565 specifies a version number of this License which applies to it and
1566 "any later version", you have the option of following the terms and
1567 conditions either of that version or of any later version published by
1568 the Free Software Foundation.  If the Library does not specify a
1569 license version number, you may choose any version ever published by
1570 the Free Software Foundation.
1572   14. If you wish to incorporate parts of the Library into other free
1573 programs whose distribution conditions are incompatible with these,
1574 write to the author to ask for permission.  For software which is
1575 copyrighted by the Free Software Foundation, write to the Free
1576 Software Foundation; we sometimes make exceptions for this.  Our
1577 decision will be guided by the two goals of preserving the free status
1578 of all derivatives of our free software and of promoting the sharing
1579 and reuse of software generally.
1581                             NO WARRANTY
1583   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1584 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1585 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1586 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1587 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1588 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1589 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1590 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1591 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1593   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1594 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1595 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1596 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1597 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1598 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1599 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1600 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1601 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1602 DAMAGES.
1604                      END OF TERMS AND CONDITIONS
1606            How to Apply These Terms to Your New Libraries
1608   If you develop a new library, and you want it to be of the greatest
1609 possible use to the public, we recommend making it free software that
1610 everyone can redistribute and change.  You can do so by permitting
1611 redistribution under these terms (or, alternatively, under the terms of the
1612 ordinary General Public License).
1614   To apply these terms, attach the following notices to the library.  It is
1615 safest to attach them to the start of each source file to most effectively
1616 convey the exclusion of warranty; and each file should have at least the
1617 "copyright" line and a pointer to where the full notice is found.
1619     <one line to give the library's name and a brief idea of what it does.>
1620     Copyright (C) <year>  <name of author>
1622     This library is free software; you can redistribute it and/or
1623     modify it under the terms of the GNU Lesser General Public
1624     License as published by the Free Software Foundation; either
1625     version 2.1 of the License, or (at your option) any later version.
1627     This library is distributed in the hope that it will be useful,
1628     but WITHOUT ANY WARRANTY; without even the implied warranty of
1629     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1630     Lesser General Public License for more details.
1632     You should have received a copy of the GNU Lesser General Public
1633     License along with this library; if not, write to the Free Software
1634     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
1636 Also add information on how to contact you by electronic and paper mail.
1638 You should also get your employer (if you work as a programmer) or your
1639 school, if any, to sign a "copyright disclaimer" for the library, if
1640 necessary.  Here is a sample; alter the names:
1642   Yoyodyne, Inc., hereby disclaims all copyright interest in the
1643   library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1645   <signature of Ty Coon>, 1 April 1990
1646   Ty Coon, President of Vice
1648 That's all there is to it!
1651 Nokia Qt LGPL Exception version 1.1
1653 As an additional permission to the GNU Lesser General Public License version
1654 2.1, the object code form of a "work that uses the Library" may incorporate
1655 material from a header file that is part of the Library.  You may distribute
1656 such object code under terms of your choice, provided that:
1657     (i)   the header files of the Library have not been modified; and 
1658     (ii)  the incorporated material is limited to numerical parameters, data
1659           structure layouts, accessors, macros, inline functions and
1660           templates; and
1661     (iii) you comply with the terms of Section 6 of the GNU Lesser General
1662           Public License version 2.1.
1664 Moreover, you may apply this exception to a modified version of the Library,
1665 provided that such modification does not involve copying material from the
1666 Library into the modified Library's header files unless such material is
1667 limited to (i) numerical parameters; (ii) data structure layouts;
1668 (iii) accessors; and (iv) small macros, templates and inline functions of
1669 five lines or less in length.
1671 Furthermore, you are not required to apply this additional permission to a
1672 modified version of the Library.