--- xulrunner-1.9-1.9~a8.orig/debian/MPL +++ xulrunner-1.9-1.9~a8/debian/MPL @@ -0,0 +1,567 @@ + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + +EXHIBIT A -Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + + ---------------------------------------------------------------------- + + AMENDMENTS + + The Netscape Public License Version 1.1 ("NPL") consists of the + Mozilla Public License Version 1.1 with the following Amendments, + including Exhibit A-Netscape Public License. Files identified with + "Exhibit A-Netscape Public License" are governed by the Netscape + Public License Version 1.1. + + Additional Terms applicable to the Netscape Public License. + I. Effect. + These additional terms described in this Netscape Public + License -- Amendments shall apply to the Mozilla Communicator + client code and to all Covered Code under this License. + + II. "Netscape's Branded Code" means Covered Code that Netscape + distributes and/or permits others to distribute under one or more + trademark(s) which are controlled by Netscape but which are not + licensed for use under this License. + + III. Netscape and logo. + This License does not grant any rights to use the trademarks + "Netscape", the "Netscape N and horizon" logo or the "Netscape + lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript", + "Smart Browsing" even if such marks are included in the Original + Code or Modifications. + + IV. Inability to Comply Due to Contractual Obligation. + Prior to licensing the Original Code under this License, Netscape + has licensed third party code for use in Netscape's Branded Code. + To the extent that Netscape is limited contractually from making + such third party code available under this License, Netscape may + choose to reintegrate such code into Covered Code without being + required to distribute such code in Source Code form, even if + such code would otherwise be considered "Modifications" under + this License. + + V. Use of Modifications and Covered Code by Initial Developer. + V.1. In General. + The obligations of Section 3 apply to Netscape, except to + the extent specified in this Amendment, Section V.2 and V.3. + + V.2. Other Products. + Netscape may include Covered Code in products other than the + Netscape's Branded Code which are released by Netscape + during the two (2) years following the release date of the + Original Code, without such additional products becoming + subject to the terms of this License, and may license such + additional products on different terms from those contained + in this License. + + V.3. Alternative Licensing. + Netscape may license the Source Code of Netscape's Branded + Code, including Modifications incorporated therein, without + such Netscape Branded Code becoming subject to the terms of + this License, and may license such Netscape Branded Code on + different terms from those contained in this License. + + VI. Litigation. + Notwithstanding the limitations of Section 11 above, the + provisions regarding litigation in Section 11(a), (b) and (c) of + the License shall apply to all disputes relating to this License. + + EXHIBIT A-Netscape Public License. + + "The contents of this file are subject to the Netscape Public + License Version 1.1 (the "License"); you may not use this file + except in compliance with the License. You may obtain a copy of + the License at http://www.mozilla.org/NPL/ + + Software distributed under the License is distributed on an "AS + IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + implied. See the License for the specific language governing + rights and limitations under the License. + + The Original Code is Mozilla Communicator client code, released + March 31, 1998. + + The Initial Developer of the Original Code is Netscape + Communications Corporation. Portions created by Netscape are + Copyright (C) 1998-1999 Netscape Communications Corporation. All + Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the + terms of the _____ license (the "[___] License"), in which case + the provisions of [______] License are applicable instead of + those above. If you wish to allow use of your version of this + file only under the terms of the [____] License and not to allow + others to use your version of this file under the NPL, indicate + your decision by deleting the provisions above and replace them + with the notice and other provisions required by the [___] + License. If you do not delete the provisions above, a recipient + may use your version of this file under either the NPL or the + [___] License." --- xulrunner-1.9-1.9~a8.orig/debian/TODO +++ xulrunner-1.9-1.9~a8/debian/TODO @@ -0,0 +1,2 @@ +- copyright file +- do we want --enable-javaxpcom ? --- xulrunner-1.9-1.9~a8.orig/debian/changelog +++ xulrunner-1.9-1.9~a8/debian/changelog @@ -0,0 +1,154 @@ +xulrunner-1.9 (1.9~a8-0ubuntu2) gutsy; urgency=low + + * debian/rules don't install link to system libnssckbi.so in order to use + xulrunner provided nss. (LP: #149822) + + -- Alexander Sack Sat, 06 Oct 2007 14:23:09 +0200 + +xulrunner-1.9 (1.9~a8-0ubuntu1) gutsy; urgency=low + + RELEASE: 1.9~a8 upload to gutsy. + + [ Alexander Sack ] + * debian/rules: use EXTRA_SYSTEM_CONFIGURE_FLAGS to only use system-nss/-nspr + for cvs and mt builds. + * debian/control: drop build-depends on system-nss/-nspr ... later this + should be depent on the same test as EXTRA_SYSTEM_CONFIGURE_FLAGS. + * debian/patches/install_pkgconfig_files_with_version.patch: update patch + to ship versioned pkgconfig files: mozilla-nspr-1.9.pc and + mozilla-nss-1.9.pc when xulrunner is not using system nspr/nss. + * debian/control: drop system nspr/nss depends of xulrunner-1.9-dev. + + -- Alexander Sack Fri, 05 Oct 2007 01:43:55 +0200 + +xulrunner-1.9 (1.9~a8-0ubuntu1~mt4) gutsy; urgency=low + + [Fabien Tassin ] + * Compile with gcc/g++ 4.2 for all archs. + * Fix a nasty variable bug in debian/rules not doing + the proper substitution in postinst/prerm + + -- Alexander Sack Fri, 28 Sep 2007 23:31:04 +0200 + +xulrunner-1.9 (1.9~a8-0ubuntu1~mt3) gutsy; urgency=low + + [ Fabien Tassin ] + * DEBIAN_XUL_DIR is evaluated too early, replace ':=' by '='. + update debian/rules + * update debian/patches/rename_venkman_addon.patch as + a file was missing + + -- Alexander Sack Fri, 28 Sep 2007 17:12:45 +0200 + +xulrunner-1.9 (1.9~a8-0ubuntu1~mt2) gutsy; urgency=low + + [ Fabien Tassin ] + * Install addons in /usr/lib/xulrunner-addons: + - add debian/xulrunner-1.9.dirs + - update debian/rules to install a symlink + for /usr/lib/xulrunner-1.9*/extensions + * Create a package called xulrunner-1.9-dom-inspector + - update debian/rules + - add debian/xulrunner-1.9-dom-inspector.install + * Create a package called xulrunner-1.9-venkman + - update debian/rules + - add debian/debian/xulrunner-1.9-venkman.install + - add debian/patches/rename_venkman_addon.patch + - update debian/patches/series + * Install /usr/bin/xulrunner as an alternative + - add debian/xulrunner-1.9.postinst.in + - add debian/xulrunner-1.9.prerm.in + - update debian/rules + - update debian/xulrunner-1.9.install + * Add debian/patches/bz384304_fix_recursive_symlinks.patch + and update debian/patches/series + * Add Conflicts xulrunner (<< 1.8.1.4-2ubuntu4) so that + we can coexist with xulrunner 1.8 using alternatives + + -- Alexander Sack Tue, 25 Sep 2007 23:59:53 +0200 + +xulrunner-1.9 (1.9~a8-0ubuntu1~mt1) gutsy; urgency=low + + Upstream Release: 1.9~a8 aka MOZILLA_1_9a8_RELEASE + + [ Fabien Tassin ] + * Add --disable-install-strip to debian/rules (introduced + by Mozilla bug #391325) + * Don't install .so libs in -dev but link them instead + Add debian/patches/dont_install_so_in_dev.patch + * Make xulrunner-1.9-dev depend on lib{nss3,nspr4}-dev + * Don't hardcode xul version in debian/xulrunner-1.9.links + but link in debian/rules instead + + [ Alexander Sack ] + * debian/rules: redirect output of finds in clean target to /dev/null + + -- Alexander Sack Tue, 25 Sep 2007 01:46:53 +0200 + +xulrunner-1.9 (1.9~a8~cvs20070913t1423-0ubuntu1~mt2) gutsy; urgency=low + + [ Fabien Tassin ] + * Remove Build-Depends-Indep as java is not needed + * Add --enable-safe-browsing to debian rules as it's good for us + and it brings the missing --enable-url-classifier + * Make the installer complain about missing files on stdout + instead of stderr so logs are easier to read. + Add debian/patches/installer_use_stdout_for_missing_files.patch + and update debian/patches/series + + -- Alexander Sack Mon, 17 Sep 2007 21:33:45 +0200 + +xulrunner-1.9 (1.9~a8~cvs20070913t1423-0ubuntu1~mt1) gutsy; urgency=low + + [ Fabien Tassin ] + * Add debian/patches/fix_ppc_ftbfs.patch to fix FTBFS on powerpcc: + now look for Linuxpowerpc instead of Linuxppc + (contributed by Luke Yelavich ) + * Add --enable-extensions to build xml-rpc, venkman, inspector, irc, gnomevfs, + cview, tasks, reporter and python/xpcom + * Add --enable-webservices + * Drop --disable-debug (it's the default) + * Add a clean rule to take care of some leftovers + * Add debian/xulrunner-1.9.links to link /usr/lib/nss/libnssckbi.so in + /usr/lib/xulrunner-1.9a8pre/libnssckbi.so in order to provide to all xul + applications CA certificates. + * update debian/patches/bz392722_fix_nsinstall_on_double_slash.patch + update from firefox-trunk to reflect upstream partial commit. + + [ Alexander Sack ] + * debian/patches/bz386610_python2.5_ftbfs_amd64.patch,series: add patch from + bugzilla 386610 that fixes ftbfs on amd64 with python2.5. + + -- Alexander Sack Sat, 08 Sep 2007 15:03:13 +0200 + +xulrunner-1.9 (1.9~a8~cvs20070829-0ubuntu1~mt1) gutsy; urgency=low + + [ Fabien Tassin ] + * new upstream snapshot (1.9a8pre cvs20070829) + * Add debian/copyright + * Update debian/changelog to use a proper versionning scheme. + * Make xulrunner-1.9-dev depend on xulrunner-1.9 (update debian/control) + * Update Maintainer in debian/control to Mozilla team. + * Update debian/control to fix Build-Depends: drop dpatch, add quilt, cdbs, + zip. + * Update debian/rules to stop running autoconf. + * Add debian/patches/bz392722_fix_nsinstall_on_double_slash.patch fixing + nsinstall (patch reused from firefox-trunk) + * Add debian/patches/install_pkgconfig_files_with_version.patch so we + can install multiple xulrunner-dev and still use pkg-config + * Add debian/patches/series + * Update debian/control to create a -dev package + * Add debian/xulrunner-1.9.install and debian/xulrunner-1.9-dev.install + to move files to -dev package + + -- Fabien Tassin Wed, 29 Aug 2007 20:53:27 +0200 + +xulrunner-1.9 (1.9~a8~cvs20070824-0ubuntu1) gutsy; urgency=low + + [ Fabien Tassin ] + * new upstream snapshot (1.9a8pre cvs20070824) + * initial packaging inspired from firefox-trunk and reusing + package descriptions from previous xulrunner package. + Create xulrunner-1.9 and xulrunner-1.9-dev. + + -- Fabien Tassin Fri, 24 Aug 2007 22:01:38 +0000 --- xulrunner-1.9-1.9~a8.orig/debian/compat +++ xulrunner-1.9-1.9~a8/debian/compat @@ -0,0 +1 @@ +5 --- xulrunner-1.9-1.9~a8.orig/debian/control +++ xulrunner-1.9-1.9~a8/debian/control @@ -0,0 +1,69 @@ +Source: xulrunner-1.9 +Section: devel +Priority: optional +Maintainer: Ubuntu Mozilla Team +Build-Depends: cdbs, debhelper (>= 5.0.37.2), g++-4.2, gcc-4.2, autotools-dev, quilt, zip, libx11-dev, libxt-dev, libidl-dev, libgtk2.0-dev, libgnomevfs2-dev, libgnome2-dev, libgnomeui-dev, libcairo2-dev, libpng12-dev, libjpeg62-dev, zlib1g-dev, libbz2-dev, libreadline5-dev | libreadline-dev, libkrb5-dev, python-dev, python-support (>= 0.3), dpkg-dev (>= 1.13.19), binutils (>= 2.17-1) [mips mipsel], libhunspell-dev (>= 1.1.5-2) +Standards-Version: 3.7.2.2 + +Package: xulrunner-1.9 +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: xulrunner (<< 1.8.1.4-2ubuntu4) +Description: XUL + XPCOM application runner + XULRunner is a single "gecko runtime" that can be used to bootstrap + multiple XUL + XPCOM applications that are as rich as Firefox and + Thunderbird. + . + XUL is Mozilla's XML based User Interface language that lets you build + feature-rich cross platform applications. These applications are easily + customized with alternative text, graphics and layout so that they can be + readily branded or localized for various markets. Web developers already + familiar with Dynamic HTML (DHTML) will learn XUL quickly and can start + building applications right away. + . + XPCOM is a cross platform component model. It has multiple language + bindings and IDL descriptions so programmers can plug their custom + functionality into the framework and connect it with other components. + . + Homepage: http://developer.mozilla.org/en/docs/XULRunner + +Package: xulrunner-1.9-dev +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9 (>= ${source:Upstream-Version}) +Description: XUL + XPCOM development files + This package contains the development headers, idl files and static libraries + needed to develop applications using Mozilla XUL Engine + . + Homepage: http://developer.mozilla.org/en/docs/XULRunner + +Package: xulrunner-1.9-dom-inspector +Architecture: all +Depends: xulrunner-1.9 (>= ${source:Upstream-Version}), xulrunner-1.9 (<< ${source:Version}.1~) +Conflicts: firefox-3.0-dom-inspector (<< 3.0~alpha8-0) +Replaces: firefox-3.0-dom-inspector +Description: tool for inspecting the DOM of pages in Mozilla Firefox + This is a tool that allows you to inspect the DOM for web pages in + Firefox. This is of great use to people who are doing Mozilla chrome + development or web page development. + . + This extension is provided by XULRunner for use by any XUL application. + +Package: xulrunner-1.9-venkman +Architecture: all +Depends: xulrunner-1.9 (>= ${source:Upstream-Version}), xulrunner-1.9 (<< ${source:Version}.1~) +Conflicts: firefox-3.0-venkman (<< 3.0~alpha8-0) +Replaces: firefox-3.0-venkman +Description: Venkman is Mozilla-based JavaScript debugger + Venkman is both a graphic and a console JavaScript debugger for Firefox + and Mozilla-based products. Features such as breakpoint management, call stack + inspection, and variable/object inspection are available from the user + interface and from console commands, letting you work in the way you are most + accustomed to. The interactive console also allows for execution of arbitrary + JavaScript code. + Venkman's keyboard shortcuts are the same as leading visual debugging + environments, and gdb users should be familiar with Venkman's /break, /step, + /next, /finish, /frame, and /where commands. + . + This extension is provided by XULRunner for use by any XUL application. --- xulrunner-1.9-1.9~a8.orig/debian/copyright +++ xulrunner-1.9-1.9~a8/debian/copyright @@ -0,0 +1,651 @@ +This package was debianized by Fabien Tassin on 2007-08-25 + +The following file has been previously maintained by Mike Hommey +and updated by Fabien Tassin as of xulrunner 1.9a8pre. + +The package was downloaded from http://ftp.mozilla.org/pub/mozilla.org/xulrunner/ + +EDIT: downloaded from CVS (until 1.9 is released) using the following commands: + cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk + make -f mozilla/client.mk checkout MOZ_CO_PROJECT=xulrunner + +The source tarball is an aggregate of several different works in which the +main one, developed by the Mozilla Project, is xulrunner. + +The contents of the debian directory are licensed like the bulk of +xulrunner, tri-licensed under the GPL/LGPL/MPL. + +Other works include gzip, bzip2, sqlite, libjpeg, libpng, cairo, and others. +Please see the sections following the copyright statements for xulrunner for +these. + +If this file is incomplete, which I'm pretty sure is the case, because it's +difficult not to forget anything in this huge amount of data, please file +a bug or contact me. + +=== xulrunner + +Overall, the xulrunner project is licensed under the terms of the Mozilla +Public License version 1.1 or, at your option, under the terms of the GNU +General Public License version 2 or subsequent, or the terms of the GNU +Lesser General Public License version 2.1 or subsequent. + +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL' ; +the complete text of the GNU Lesser General Public License can be +found in the file `/usr/share/common-licenses/LGPL'. + +The complete text of the Mozilla Public License can be found in the MPL file +in the same directory as this file. + +Some of the files are also licensed (single, dual or tri) under the terms of +the Netscape Public License (NPL) which can be found as amendments to the +MPL at the end of the file. Please refer to http://www.mozilla.org/MPL/relicensing-faq.html + +While the Mozilla Project is undergoing a global relicensing so that the +aim is to have a full tree with these tri-license terms, there are at the +moment quite some exceptions as following: + +(Note that I sometimes assumed files not explicitely licensed to be licensed +under the same terms as the files around them and that a lot of the +information has been extracted automatically, thus maybe leaving some doubt. +Again, if you find "bugs", please contact me by email or via the BTS.) + +The following files are not tri-licenced MPL/GPL/LGPL: + +- GPL only: + dom/tests/mochitest/ajax/jquery/dist/jquery.js + dom/tests/mochitest/ajax/jquery/src/jquery/jquery.js + +- MPL and GPL: + embedding/browser/activex/src/install/README.txt + +- MPL and LGPL: + gfx/cairo/cairo/* + +- GPL and LGP: + extensions/pref/system-pref/src/gconf/nsSystemPrefService.cpp + extensions/pref/system-pref/src/gconf/nsSystemPrefService.h + extensions/pref/system-pref/src/nsSystemPref.cpp + extensions/pref/system-pref/src/nsSystemPref.h + extensions/pref/system-pref/src/nsSystemPrefFactory.cpp + extensions/pref/system-pref/src/nsSystemPrefLog.h + netwerk/base/public/nsIIOService2.idl + netwerk/base/public/nsINetworkLinkService.idl + netwerk/streamconv/converters/mozTXTToHTMLConv.cpp + netwerk/streamconv/converters/mozTXTToHTMLConv.h + netwerk/streamconv/public/mozITXTToHTMLConv.idl + toolkit/system/dbus/nsDBusModule.cpp + toolkit/system/dbus/nsDBusService.cpp + toolkit/system/dbus/nsDBusService.h + toolkit/system/dbus/nsNetworkManagerListener.cpp + toolkit/system/dbus/nsNetworkManagerListener.h + +- NPL only (thus MPL): (EDIT: to investigate) + intl/uconv/ucvibm/864i.uf + intl/uconv/ucvibm/cp850.uf + intl/uconv/ucvibm/cp852.uf + intl/uconv/ucvibm/cp855.uf + intl/uconv/ucvibm/cp857.uf + intl/uconv/ucvibm/cp862.uf + intl/uconv/ucvibm/cp864.uf + intl/uconv/ucvmath/mathematica1.uf + intl/uconv/ucvmath/mathematica2.uf + intl/uconv/ucvmath/mathematica3.uf + intl/uconv/ucvmath/mathematica4.uf + intl/uconv/ucvmath/mathematica5.uf + intl/uconv/ucvmath/mtextra.uf + intl/uconv/ucvmath/texcmex-t1.uf + intl/uconv/ucvmath/texcmex-ttf.uf + intl/uconv/ucvmath/texcmmi-t1.uf + intl/uconv/ucvmath/texcmmi-ttf.uf + intl/uconv/ucvmath/texcmr-ttf.uf + intl/uconv/ucvmath/texcmsy-t1.uf + +- Public Domain: + aclocal.m4 + build/autoconf/freetype2.m4 + build/autoconf/gtk.m4 + build/autoconf/nspr.m4 + db/mork/src/morkDeque.cpp + db/mork/src/morkDeque.h + +The file db/mork/src/morkQuickSort.cpp is licensed under the following terms: + + Copyright (c) 1992, 1993 + The Regents of the University of California. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +The following files come from X11R5, without any clear licensing terms: + + build/autoconf/install-sh + directory/c-sdk/config/autoconf/install-sh + nsprpub/build/autoconf/install-sh + +The embedding/qa/mozembed/public/nsIQABrowserUIGlue.idl file and the files +under the embedding/tests directory are licensed under the following terms: + + Copyright (c) 2002 Netscape Communications Corporation and + other contributors + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this Mozilla sample software and associated documentation files + (the "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +=== sqlite + +The db/sqlite3 directory contains a copy of sqlite with the following +licensing terms: + + The author disclaims copyright to this source code. In place of + a legal notice, here is a blessing: + + May you do good and not evil. + May you find forgiveness for yourself and forgive others. + May you share freely, never taking more than you give. + +=== dbm + +The dbm directory, except the files listed under the xulrunner section, is +licensed under the following terms: + + Copyright (c) 1991, 1993, 1994 + The Regents of the University of California. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +=== myspell + +The extensions/spellcheck/myspell directory is licensed under the following +terms: + + Copyright 2002 Kevin B. Hendricks, Stratford, Ontario, Canada + And Contributors. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All modifications to the source code must be clearly marked as + such. Binary redistributions based on modified source code + must be clearly marked as modified versions in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY KEVIN B. HENDRICKS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + KEVIN B. HENDRICKS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +=== boehm + +The gc/boehm directory, except the files listed under the xulrunner section, +is licensed under the following terms: + + Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers + Copyright (c) 1991-1996 by Xerox Corporation. All rights reserved. + Copyright (c) 1996-1998 by Silicon Graphics. All rights reserved. + + THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED + OR IMPLIED. ANY USE IS AT YOUR OWN RISK. + + Permission is hereby granted to use or copy this program + for any purpose, provided the above notices are retained on all copies. + Permission to modify the code and to distribute modified code is granted, + provided the above notices are retained, and a notice that the code was + modified is included with the above copyright notice. + +=== cairo + +The gfx/cairo/cairo directory is licensed under the following terms: + + Copyright (c) 2003 University of Southern California + Copyright (c) 1999 Tom Tromey + Copyright (c) 2002, 2003 University of Southern California + Copyright (c) 2004 Calum Robinson + Copyright (c) 2004 David Reveman + Copyright (c) 2000, 2002, 2004 Keith Packard + Copyright (c) 2004, 2005 Red Hat, Inc + + Cairo is free software and is available to be redistributed and/or + modified under the terms of either the GNU Lesser General Public + License (LGPL) version 2.1 or the Mozilla Public License (MPL) version + 1.1. + +=== libpixman + +The gfx/cairo/libpixman directory is licensed under the following terms: +(from gfx/cairo/libpixman/COPYING) + + libpixregion + + Copyright 1987, 1998 The Open Group + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of The Open Group shall not be + used in advertising or otherwise to promote the sale, use or other dealings + in this Software without prior written authorization from The Open Group. + + + Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. + + All Rights Reserved + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Digital not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL + DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR + ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + + ---------------------------------------------------------------------- + libic + + Copyright © 2001 Keith Packard + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of Keith Packard not be used in + advertising or publicity pertaining to distribution of the software without + specific, written prior permission. Keith Packard makes no + representations about the suitability of this software for any purpose. It + is provided "as is" without express or implied warranty. + + KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ---------------------------------------------------------------------- + slim + + slim is Copyright © 2003 Richard Henderson + + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Richard Henderson not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. Richard Henderson + makes no representations about the suitability of this software for + any purpose. It is provided "as is" without express or implied + warranty. + + RICHARD HENDERSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL RICHARD HENDERSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + +=== libjpeg + +The jpeg directory, except the files under the xulrunner section, are licensed +under the following terms: + + The authors make NO WARRANTY or representation, either express or implied, + with respect to this software, its quality, accuracy, merchantability, or + fitness for a particular purpose. This software is provided "AS IS", and you, + its user, assume the entire risk as to its quality and accuracy. + + This software is copyright (C) 1991-1998, Thomas G. Lane. + All Rights Reserved except as specified below. + + Permission is hereby granted to use, copy, modify, and distribute this + software (or portions thereof) for any purpose, without fee, subject to these + conditions: + (1) If any part of the source code for this software is distributed, then this + README file must be included, with this copyright and no-warranty notice + unaltered; and any additions, deletions, or changes to the original files + must be clearly indicated in accompanying documentation. + (2) If only executable code is distributed, then the accompanying + documentation must state that "this software is based in part on the work of + the Independent JPEG Group". + (3) Permission for use of this software is granted only if the user accepts + full responsibility for any undesirable consequences; the authors accept + NO LIABILITY for damages of any kind. + + These conditions apply to any software derived from or based on the IJG code, + not just to the unmodified library. If you use our work, you ought to + acknowledge us. + + Permission is NOT granted for the use of any IJG author's name or company name + in advertising or publicity relating to this software or products derived from + it. This software may be referred to only as "the Independent JPEG Group's + software". + + We specifically permit and encourage the use of this software as the basis of + commercial products, provided that all warranty or liability claims are + assumed by the product vendor. + +=== bzip2 + +The modules/libbz2/src directory is licensed under the following terms: +(from modules/libbz2/src/LICENSE) + + This program, "bzip2", the associated library "libbzip2", and all + documentation, are copyright (C) 1996-2005 Julian R Seward. All + rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + Julian Seward, Cambridge, UK. + jseward@acm.org + bzip2/libbzip2 version 1.0.3 of 15 February 2005 + +=== libpng + +The directory modules/libimg/png is licensed under the following terms: +(from modules/libimg/png/LICENSE) + + This copy of the libpng notices is provided for your convenience. In case of + any discrepancy between this copy and the notices in the file png.h that is + included in the libpng distribution, the latter shall prevail. + + COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + + If you modify libpng you may insert additional notices immediately following + this sentence. + + libpng version 1.2.6, September 12, 2004, is + Copyright (c) 2004 Glenn Randers-Pehrson, and is + distributed according to the same disclaimer and license as libpng-1.2.5 + with the following individual added to the list of Contributing Authors + + Cosmin Truta + + libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are + Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are + distributed according to the same disclaimer and license as libpng-1.0.6 + with the following individuals added to the list of Contributing Authors + + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant + + and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of the + library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is with + the user. + + libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are + Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are + distributed according to the same disclaimer and license as libpng-0.96, + with the following individuals added to the list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + + libpng versions 0.89, June 1996, through 0.96, May 1997, are + Copyright (c) 1996, 1997 Andreas Dilger + Distributed according to the same disclaimer and license as libpng-0.88, + with the following individuals added to the list of Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + + libpng versions 0.5, May 1995, through 0.88, January 1996, are + Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. + + For the purposes of this copyright and license, "Contributing Authors" + is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + + The PNG Reference Library is supplied "AS IS". The Contributing Authors + and Group 42, Inc. disclaim all warranties, expressed or implied, + including, without limitation, the warranties of merchantability and of + fitness for any purpose. The Contributing Authors and Group 42, Inc. + assume no liability for direct, indirect, incidental, special, exemplary, + or consequential damages, which may result from the use of the PNG + Reference Library, even if advised of the possibility of such damage. + + Permission is hereby granted to use, copy, modify, and distribute this + source code, or portions hereof, for any purpose, without fee, subject + to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + The Contributing Authors and Group 42, Inc. specifically permit, without + fee, and encourage the use of this source code as a component to + supporting the PNG file format in commercial products. If you use this + source code in a product, acknowledgment is not required but would be + appreciated. + + + A "png_get_copyright" function is available, for convenient use in "about" + boxes and the like: + + printf("%s",png_get_copyright(NULL)); + + Also, the PNG logo (in PNG format, of course) is supplied in the + files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). + + Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a + certification mark of the Open Source Initiative. + + Glenn Randers-Pehrson + glennrp@users.sourceforge.net + September 12, 2004 + +=== zlib + +The directories modules/zlib/src and security/nss/cmd/zlib are licensed under +the following terms: + + (C) 1995-2004 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + + If you use the zlib library in a product, we would appreciate *not* + receiving lengthy legal documents to sign. The sources are provided + for free but without warranty of any kind. The library has been + entirely written by Jean-loup Gailly and Mark Adler; it does not + include third-party code. + + If you redistribute modified sources, we would appreciate that you include + in the file ChangeLog history information documenting your changes. Please + read the FAQ for more information on the distribution of modified source + versions. + +=== expat + +The directory parser/expat is licensed under the following terms: +(from parser/expat/COPYING) + + Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd + and Clark Cooper + Copyright (c) 2001, 2002 Expat maintainers. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- xulrunner-1.9-1.9~a8.orig/debian/docs +++ xulrunner-1.9-1.9~a8/debian/docs @@ -0,0 +1 @@ +debian/MPL --- xulrunner-1.9-1.9~a8.orig/debian/patches/bz384304_fix_recursive_symlinks.patch +++ xulrunner-1.9-1.9~a8/debian/patches/bz384304_fix_recursive_symlinks.patch @@ -0,0 +1,26 @@ +--- + xulrunner/app/mozilla.in | 1 + + 1 file changed, 1 insertion(+) + +Index: mozilla/xulrunner/app/mozilla.in +=================================================================== +--- mozilla.orig/xulrunner/app/mozilla.in ++++ mozilla/xulrunner/app/mozilla.in +@@ -107,16 +107,17 @@ + dist_bin="$curdir" + found=1 + else + here=`/bin/pwd` + while [ -h "$progname" ]; do + bn=`basename "$progname"` + cd `dirname "$progname"` + progname=`/bin/ls -l "$bn" | sed -e 's/^.* -> //' ` ++ progbase=`basename "$progname"` + if [ ! -x "$progname" ]; then + break + fi + curdir=`dirname "$progname"` + run_moz="$curdir/run-mozilla.sh" + if [ -x "$run_moz" ]; then + cd "$curdir" + dist_bin=`pwd` --- xulrunner-1.9-1.9~a8.orig/debian/patches/bz386610_python2.5_ftbfs_amd64.patch +++ xulrunner-1.9-1.9~a8/debian/patches/bz386610_python2.5_ftbfs_amd64.patch @@ -0,0 +1,144 @@ +--- + extensions/python/xpcom/src/PyGInputStream.cpp | 19 ++++++++++++------- + extensions/python/xpcom/src/PyIInputStream.cpp | 21 +++++++++++++++++---- + extensions/python/xpcom/src/PyXPCOM.h | 6 ++++++ + 3 files changed, 35 insertions(+), 11 deletions(-) + +Index: mozilla/extensions/python/xpcom/src/PyGInputStream.cpp +=================================================================== +--- mozilla.orig/extensions/python/xpcom/src/PyGInputStream.cpp ++++ mozilla/extensions/python/xpcom/src/PyGInputStream.cpp +@@ -98,28 +98,33 @@ + { + NS_PRECONDITION(_retval, "null pointer"); + NS_PRECONDITION(buf, "null pointer"); + CEnterLeavePython _celp; + PyObject *ret; + const char *methodName = "read"; + nsresult nr = InvokeNativeViaPolicy(methodName, &ret, "i", count); + if (NS_SUCCEEDED(nr)) { +- PRUint32 py_size; ++ Py_ssize_t py_size; + const void *py_buf; +- if (PyObject_AsReadBuffer(ret, &py_buf, (int *)&py_size)!=0) { ++ if (PyObject_AsReadBuffer(ret, &py_buf, &py_size)!=0) { + PyErr_Format(PyExc_TypeError, "nsIInputStream::read() method must return a buffer object - not a '%s' object", ret->ob_type->tp_name); + nr = HandleNativeGatewayError(methodName); + } else { +- if (py_size > count) { +- PyXPCOM_LogWarning("nsIInputStream::read() was asked for %d bytes, but the string returned is %d bytes - truncating!\n", count, py_size); +- py_size = count; ++ if ( (py_size & 0xFFFFFFFF) != py_size) { ++ PyErr_SetString(PyExc_RuntimeError, "Python Buffer length overflows 32-bit in PyObject_AsWriteBuffer"); ++ nr = HandleNativeGatewayError(methodName); ++ } else { ++ if (py_size > count) { ++ PyXPCOM_LogWarning("nsIInputStream::read() was asked for %d bytes, but the string returned is %d bytes - truncating!\n", count, py_size); ++ py_size = count; ++ } ++ memcpy(buf, py_buf, py_size); ++ *_retval = py_size; + } +- memcpy(buf, py_buf, py_size); +- *_retval = py_size; + } + } + return nr; + } + + + NS_IMETHODIMP + PyG_nsIInputStream::ReadSegments(nsWriteSegmentFun writer, void * closure, PRUint32 count, PRUint32 *_retval) +Index: mozilla/extensions/python/xpcom/src/PyIInputStream.cpp +=================================================================== +--- mozilla.orig/extensions/python/xpcom/src/PyIInputStream.cpp ++++ mozilla/extensions/python/xpcom/src/PyIInputStream.cpp +@@ -60,22 +60,29 @@ + } + return (nsIInputStream *)Py_nsISupports::GetI(self); + } + + static PyObject *DoPyRead_Buffer(nsIInputStream *pI, PyObject *obBuffer, PRUint32 n) + { + PRUint32 nread; + void *buf; +- PRUint32 buf_len; +- if (PyObject_AsWriteBuffer(obBuffer, &buf, (int *)&buf_len) != 0) { ++ Py_ssize_t buf_len; ++ if (PyObject_AsWriteBuffer(obBuffer, &buf, &buf_len) != 0) { + PyErr_Clear(); + PyErr_SetString(PyExc_TypeError, "The buffer object does not have a write buffer!"); + return NULL; + } ++ ++ if ( (buf_len & 0xFFFFFFFF) != buf_len) { ++ PyErr_Clear(); ++ PyErr_SetString(PyExc_RuntimeError, "Python Buffer length overflows 32-bit in PyObject_AsWriteBuffer"); ++ return NULL; ++ } ++ + if (n==(PRUint32)-1) { + n = buf_len; + } else { + if (n > buf_len) { + NS_WARNING("Warning: PyIInputStream::read() was passed an integer size greater than the size of the passed buffer! Buffer size used.\n"); + n = buf_len; + } + } +@@ -111,21 +118,27 @@ + Py_BEGIN_ALLOW_THREADS; + r = pI->Read(buf, n, &nread); + Py_END_ALLOW_THREADS; + PyObject *rc = NULL; + if ( NS_SUCCEEDED(r) ) { + rc = PyBuffer_New(nread); + if (rc != NULL) { + void *ob_buf; +- PRUint32 buf_len; +- if (PyObject_AsWriteBuffer(rc, &ob_buf, (int *)&buf_len) != 0) { ++ Py_ssize_t buf_len; ++ if (PyObject_AsWriteBuffer(rc, &ob_buf, &buf_len) != 0) { + // should never fail - we just created it! + return NULL; + } ++ ++ if ( (buf_len & 0xFFFFFFFF) != buf_len) { ++ PyErr_SetString(PyExc_RuntimeError, "Python Buffer length overflows 32-bit in PyObject_AsWriteBuffer"); ++ return NULL; ++ } ++ + if (buf_len != nread) { + PyErr_SetString(PyExc_RuntimeError, "New buffer isn't the size we created it!"); + return NULL; + } + memcpy(ob_buf, buf, nread); + } + } else + PyXPCOM_BuildPyException(r); +Index: mozilla/extensions/python/xpcom/src/PyXPCOM.h +=================================================================== +--- mozilla.orig/extensions/python/xpcom/src/PyXPCOM.h ++++ mozilla/extensions/python/xpcom/src/PyXPCOM.h +@@ -73,16 +73,22 @@ + #endif // HAVE_LONG_LONG + + #ifdef _POSIX_C_SOURCE // Ditto here + # undef _POSIX_C_SOURCE + #endif // _POSIX_C_SOURCE + + #include + ++// python 2.4 doesn't have Py_ssize_t ++// => fallback to int ++#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) ++typedef int Py_ssize_t; ++#endif ++ + // PYXPCOM_EXPORT means 'exported from the pyxpcom core lib' - which changes + // spelling depending on whether pyxpcom is being built or just referenced. + #ifdef BUILD_PYXPCOM + /* We are building the main dll */ + # define PYXPCOM_EXPORT NS_EXPORT + #else + /* This module uses the dll */ + # define PYXPCOM_EXPORT NS_IMPORT --- xulrunner-1.9-1.9~a8.orig/debian/patches/bz392722_fix_nsinstall_on_double_slash.patch +++ xulrunner-1.9-1.9~a8/debian/patches/bz392722_fix_nsinstall_on_double_slash.patch @@ -0,0 +1,53 @@ +--- + nsprpub/config/nsinstall.c | 3 +-- + security/coreconf/nsinstall/nsinstall.c | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) + +Index: mozilla/nsprpub/config/nsinstall.c +=================================================================== +--- mozilla.orig/nsprpub/config/nsinstall.c ++++ mozilla/nsprpub/config/nsinstall.c +@@ -130,18 +130,17 @@ + mkdirs(char *path, mode_t mode) + { + char *cp; + struct stat sb; + int res; + + while (*path == '/' && path[1] == '/') + path++; +- while ((cp = strrchr(path, '/')) && cp[1] == '\0') +- *cp = '\0'; ++ for (cp = strrchr(path, '/'); cp && cp != path && *(cp - 1) == '/'; cp--); + if (cp && cp != path) { + *cp = '\0'; + if ((stat(path, &sb) < 0 || !S_ISDIR(sb.st_mode)) && + mkdirs(path, mode) < 0) { + return -1; + } + *cp = '/'; + } +Index: mozilla/security/coreconf/nsinstall/nsinstall.c +=================================================================== +--- mozilla.orig/security/coreconf/nsinstall/nsinstall.c ++++ mozilla/security/coreconf/nsinstall/nsinstall.c +@@ -120,18 +120,17 @@ + char * cp; + int rv; + struct stat sb; + + if (!path || !path[0]) + fail("Null pointer or empty string passed to mkdirs()"); + while (*path == '/' && path[1] == '/') + path++; +- while ((cp = strrchr(path, '/')) && cp[1] == '\0') +- *cp = '\0'; ++ for (cp = strrchr(path, '/'); cp && cp != path && *(cp - 1) == '/'; cp--); + if (cp && cp != path) { + *cp = '\0'; + if ((stat(path, &sb) < 0 || !S_ISDIR(sb.st_mode)) && + mkdirs(path, mode) < 0) { + return -1; + } + *cp = '/'; + } --- xulrunner-1.9-1.9~a8.orig/debian/patches/dont_install_so_in_dev.patch +++ xulrunner-1.9-1.9~a8/debian/patches/dont_install_so_in_dev.patch @@ -0,0 +1,29 @@ +--- + toolkit/mozapps/installer/packager.mk | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +Index: mozilla/toolkit/mozapps/installer/packager.mk +=================================================================== +--- mozilla.orig/toolkit/mozapps/installer/packager.mk ++++ mozilla/toolkit/mozapps/installer/packager.mk +@@ -417,17 +417,19 @@ + (cd $(DESTDIR)$(idldir)/stable && tar -xf -) + (cd $(DIST)/idl && tar $(TAR_CREATE_FLAGS) - .) | \ + (cd $(DESTDIR)$(idldir)/unstable && tar -xf -) + # SDK directory is the libs + a bunch of symlinks + $(NSINSTALL) -D $(DESTDIR)$(sdkdir)/sdk/lib + if test -f $(DIST)/sdk/include/xpcom-config.h; then \ + $(SYSINSTALL) $(IFLAGS1) $(DIST)/sdk/include/xpcom-config.h $(DESTDIR)$(sdkdir); \ + fi +- (cd $(DIST)/sdk/lib && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DESTDIR)$(sdkdir)/sdk/lib && tar -xf -) ++ (cd $(DIST)/sdk/lib && tar --exclude='*.so' $(TAR_CREATE_FLAGS) - .) | (cd $(DESTDIR)$(sdkdir)/sdk/lib && tar -xf -) ++ ln -s $(installdir)/libxul.so $(DESTDIR)$(sdkdir)/sdk/lib ++ ln -s $(installdir)/libxpcom.so $(DESTDIR)$(sdkdir)/sdk/lib + $(RM) -f $(DESTDIR)$(sdkdir)/lib $(DESTDIR)$(sdkdir)/bin $(DESTDIR)$(sdkdir)/sdk/include $(DESTDIR)$(sdkdir)/include $(DESTDIR)$(sdkdir)/sdk/idl $(DESTDIR)$(sdkdir)/idl + ln -s $(sdkdir)/sdk/lib $(DESTDIR)$(sdkdir)/lib + ln -s $(installdir) $(DESTDIR)$(sdkdir)/bin + ln -s $(includedir)/stable $(DESTDIR)$(sdkdir)/sdk/include + ln -s $(includedir)/unstable $(DESTDIR)$(sdkdir)/include + ln -s $(idldir)/stable $(DESTDIR)$(sdkdir)/sdk/idl + ln -s $(idldir)/unstable $(DESTDIR)$(sdkdir)/idl + endif # INSTALL_SDK --- xulrunner-1.9-1.9~a8.orig/debian/patches/fix_ppc_ftbfs.patch +++ xulrunner-1.9-1.9~a8/debian/patches/fix_ppc_ftbfs.patch @@ -0,0 +1,27 @@ +--- + xpcom/reflect/xptcall/src/md/unix/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in +=================================================================== +--- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in ++++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in +@@ -263,17 +263,17 @@ + + # #24617 Building the CPP's (CXX) optimized causes a crash + CXXFLAGS := $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS)) + endif + + # + # Linux/PPC + # +-ifeq ($(OS_ARCH)$(OS_TEST),Linuxppc) ++ifneq (,$(findstring Linuxpowerpc,$(OS_ARCH)$(OS_TEST))) + CPPSRCS := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp + ASFILES := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s + AS := $(CC) -c -x assembler-with-cpp + endif + + # + # NetBSD/PPC + # --- xulrunner-1.9-1.9~a8.orig/debian/patches/install_pkgconfig_files_with_version.patch +++ xulrunner-1.9-1.9~a8/debian/patches/install_pkgconfig_files_with_version.patch @@ -0,0 +1,57 @@ +--- + xulrunner/installer/Makefile.in | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +Index: mozilla/xulrunner/installer/Makefile.in +=================================================================== +--- mozilla.orig/xulrunner/installer/Makefile.in ++++ mozilla/xulrunner/installer/Makefile.in +@@ -78,40 +78,40 @@ + install:: $(MOZILLA_VERSION).system.conf + $(NSINSTALL) -D $(DESTDIR)$(regdir) + $(SYSINSTALL) $^ $(DESTDIR)$(regdir) + endif + + # Add pkg-config files to the install:: target + + pkg_config_files = \ +- libxul.pc \ +- libxul-embedding.pc \ +- mozilla-js.pc \ +- mozilla-plugin.pc \ ++ libxul-1.9.pc \ ++ libxul-embedding-1.9.pc \ ++ mozilla-js-1.9.pc \ ++ mozilla-plugin-1.9.pc \ + $(NULL) + + ifdef MOZ_NATIVE_NSPR + NSPR_NAME=nspr + NSPR_VERSION=$(shell $(NSPR_CONFIG) --version) + else +-pkg_config_files += mozilla-nspr.pc +-NSPR_NAME=mozilla-nspr ++pkg_config_files += mozilla-nspr-1.9.pc ++NSPR_NAME=mozilla-nspr-1.9 + FULL_NSPR_CFLAGS=-I\$${includedir}/stable + FULL_NSPR_LIBS=$(subst $(prefix),\$${sdkdir},$(shell $(DEPTH)/nsprpub/config/nspr-config --libs)) + NSPR_VERSION=$(shell $(DEPTH)/nsprpub/config/nspr-config --version) + endif + + $(warning FULL_NSPR_CFLAGS=$(FULL_NSPR_CFLAGS)) + + ifndef MOZ_NATIVE_NSS +-pkg_config_files += mozilla-nss.pc ++pkg_config_files += mozilla-nss-1.9.pc + endif + +-%.pc: $(srcdir)/%.pc.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk ++%-1.9.pc: $(srcdir)/%.pc.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk + cat $< | sed \ + -e "s|%prefix%|$(prefix)|" \ + -e "s|%includedir%|$(includedir)|" \ + -e "s|%idldir%|$(idldir)|" \ + -e "s|%sdkdir%|$(sdkdir)|" \ + -e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \ + -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \ + -e "s|%FULL_NSPR_LIBS%|$(FULL_NSPR_LIBS)|" \ --- xulrunner-1.9-1.9~a8.orig/debian/patches/installer_use_stdout_for_missing_files.patch +++ xulrunner-1.9-1.9~a8/debian/patches/installer_use_stdout_for_missing_files.patch @@ -0,0 +1,27 @@ +--- + xpinstall/packager/Packager.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: mozilla/xpinstall/packager/Packager.pm +=================================================================== +--- mozilla.orig/xpinstall/packager/Packager.pm ++++ mozilla/xpinstall/packager/Packager.pm +@@ -142,17 +142,17 @@ + (-d "$srcdir/$line") && do { + ($debug >= 10) && print "directory copy.\n"; + do_copydir ("$srcdir/$line"); + next LINE; + }; + + # if we hit this, it's either a file in the package file that is + # not in the src directory, or it is not a valid entry. +- warn "Warning: package error or possible missing or unnecessary file: $line ($package, $lineno).\n"; ++ print "Warning: package error or possible missing or unnecessary file: $line ($package, $lineno).\n"; + + } # LINE + + close (MANIFEST); + chdir ($saved_cwd); + + } + --- xulrunner-1.9-1.9~a8.orig/debian/patches/rename_venkman_addon.patch +++ xulrunner-1.9-1.9~a8/debian/patches/rename_venkman_addon.patch @@ -0,0 +1,73 @@ +--- + extensions/venkman/Makefile.in | 2 +- + extensions/venkman/resources/Makefile.in | 2 +- + extensions/venkman/xpi/resources/install.rdf | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +Index: mozilla/extensions/venkman/Makefile.in +=================================================================== +--- mozilla.orig/extensions/venkman/Makefile.in ++++ mozilla/extensions/venkman/Makefile.in +@@ -51,17 +51,17 @@ + EXTRA_COMPONENTS = js/venkman-service.js + DIST_FILES = xpi/resources/install.rdf + + VENKMAN_VERSION=$(shell cat $(srcdir)/version.txt) + + ifdef MOZ_XUL_APP + XPI_NAME = venkman + NO_JAR_AUTO_REG = 1 +-INSTALL_EXTENSION_ID = {f13b157f-b174-47e7-a34d-4815ddfdfeb8} ++INSTALL_EXTENSION_ID = venkman@mozilla.org + XPI_PKGNAME = venkman-$(VENKMAN_VERSION) + endif + + XUL_APP_DEFINES += -DVENKMAN_VERSION=$(VENKMAN_VERSION) + DEFINES += -DVENKMAN_VERSION=$(VENKMAN_VERSION) + + include $(topsrcdir)/config/rules.mk + +Index: mozilla/extensions/venkman/xpi/resources/install.rdf +=================================================================== +--- mozilla.orig/extensions/venkman/xpi/resources/install.rdf ++++ mozilla/extensions/venkman/xpi/resources/install.rdf +@@ -1,16 +1,16 @@ + + + #filter substitution + + + + +- {f13b157f-b174-47e7-a34d-4815ddfdfeb8} ++ venkman@mozilla.org + @VENKMAN_VERSION@ + + + + + {ec8030f7-c20a-464f-9b0e-13a3a9e97384} + 0.9 + 3.0 +Index: mozilla/extensions/venkman/resources/Makefile.in +=================================================================== +--- mozilla.orig/extensions/venkman/resources/Makefile.in ++++ mozilla/extensions/venkman/resources/Makefile.in +@@ -44,16 +44,16 @@ + include $(DEPTH)/config/autoconf.mk + + VENKMAN_VERSION=$(shell cat $(srcdir)/../version.txt) + + ifdef MOZ_XUL_APP + XPI_NAME = venkman + USE_EXTENSION_MANIFEST = 1 + NO_JAR_AUTO_REG = 1 +-INSTALL_EXTENSION_ID = {f13b157f-b174-47e7-a34d-4815ddfdfeb8} ++INSTALL_EXTENSION_ID = venkman@mozilla.org + XPI_PKGNAME = venkman-$(VENKMAN_VERSION) + endif + + DEFINES += -DVENKMAN_VERSION=$(VENKMAN_VERSION) + + include $(topsrcdir)/config/rules.mk + --- xulrunner-1.9-1.9~a8.orig/debian/patches/series +++ xulrunner-1.9-1.9~a8/debian/patches/series @@ -0,0 +1,8 @@ +fix_ppc_ftbfs.patch +bz392722_fix_nsinstall_on_double_slash.patch +install_pkgconfig_files_with_version.patch +bz386610_python2.5_ftbfs_amd64.patch +installer_use_stdout_for_missing_files.patch +dont_install_so_in_dev.patch +rename_venkman_addon.patch +bz384304_fix_recursive_symlinks.patch --- xulrunner-1.9-1.9~a8.orig/debian/rules +++ xulrunner-1.9-1.9~a8/debian/rules @@ -0,0 +1,147 @@ +#!/usr/bin/make -f + +MOZ_CVS_ROOT := :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +DEB_MOZ_APPLICATION=xulrunner-1.9 + +DEBIAN_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p') +DEBIAN_UPSTREAM_VERSION := $(shell echo $(DEBIAN_VERSION) | sed 's/^\(.*\)-[^-]*$$/\1/') +DEBIAN_REV_CODE := $(shell echo $(DEBIAN_VERSION) | sed 's/^.*-\([0-9]*\)[^-]*$$/0\1/ ; s/^.*\(..\)$$/\1/') +DEBIAN_DATE ?= $(shell echo $(DEBIAN_VERSION) | sed 's/^.*cvs\([0-9]*\).*$$/\1/') + +DEBIAN_XUL_DIR := /usr/lib/xulrunner-$(shell tail -1 mozilla/config/milestone.txt) + +DEB_SRCDIR := mozilla + +EXTRA_SYSTEM_CONFIGURE_FLAGS = $(NULL) + +ifneq (,$(findstring ~cvs,$(DEBIAN_VERSION))$(findstring ~mt,$(DEBIAN_VERSION))) + EXTRA_SYSTEM_CONFIGURE_FLAGS = \ + --with-system-nspr \ + --with-system-nss \ + $(NULL) +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + OPTFLAGS = -O0 +else + OPTFLAGS = -O2 -fno-strict-aliasing +endif + +OPTFLAGS += -g + +CXX=g++-4.2 +CC=gcc-4.2 +export CXX CC + +#DEB_AUTO_UPDATE_AUTOCONF=2.13 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_AUTO_UPDATE_DEBIAN_CONTROL=0 +MOZ_APPLICATION=xulrunner + +# List all extensions we want. This is MOZ_EXTENSIONS_ALL, except: +# - remove 'wallet' (fail to build) +# - remove 'layout-debug' (build system order issue) +# - remove 'help' (not compatible with MOZ_XUL_APP) +# - remove 'sroaming' (need xpcom obsolete) +# - remove 'typeaheadfind' (build system issue with missing -lgkgfx) +# - remove 'datetime' (fail to build) +# - remove 'finger' (fail to build) +# - remove 'sql' (fail to build) +# - remove 'xforms' (fail to build) +# - remove 'schema-validation' (fail to build) +# - add 'python/xpcom' +# - can't add python/dom (fail to link libpyxpcom.a) +DEB_MOZ_EXTENSIONS=xml-rpc,venkman,inspector,irc,gnomevfs,cview,tasks,reporter,python/xpcom + +DEB_CONFIGURE_USER_FLAGS= \ + $(EXTRA_SYSTEM_CONFIGURE_FLAGS) \ + --enable-application=$(MOZ_APPLICATION) \ + --enable-extensions=$(DEB_MOZ_EXTENSIONS) \ + --enable-webservices \ + --enable-safe-browsing \ + --with-default-mozilla-five-home=$(LIB_DIR) \ + --with-user-appdir=.mozilla \ + --with-system-jpeg=/usr \ + --with-system-zlib=/usr \ + --disable-javaxpcom \ + --disable-crashreporter \ + --disable-elf-dynstr-gc \ + --disable-installer \ + --disable-strip \ + --disable-strip-libs \ + --disable-install-strip \ + --disable-tests \ + --disable-updater \ + --enable-optimize="-pipe -w $(OPTFLAGS)" \ + --with-distribution-id=com.ubuntu \ + $(NULL) + +USE_SYSTEM_CAIRO := $(shell pkg-config --exists 'cairo >= 1.4.0'; a=$$?; if test $$a != 1; then echo 1; fi) + +# disabled as of 3.0a7 because of the infamous assert() on shutdown with Gutsy's libcairo-1.4.10 +USE_SYSTEM_CAIRO=0 + +# for old cairo versions we cannot use system cairo +ifeq (1, $(USE_SYSTEM_CAIRO)) + DEB_CONFIGURE_USER_FLAGS += \ + --enable-system-cairo +else + DEB_CONFIGURE_USER_FLAGS += \ + --disable-system-cairo +endif + +debian/$(DEB_MOZ_APPLICATION).postinst: debian/$(DEB_MOZ_APPLICATION).postinst.in + DEBIAN_XUL_DIR=$(DEBIAN_XUL_DIR) ; \ + sed -e 's,@XULDIR@,$(DEBIAN_XUL_DIR),g' \ + debian/$(DEB_MOZ_APPLICATION).postinst.in > debian/$(DEB_MOZ_APPLICATION).postinst + +debian/$(DEB_MOZ_APPLICATION).prerm: debian/$(DEB_MOZ_APPLICATION).prerm.in + DEBIAN_XUL_DIR=$(DEBIAN_XUL_DIR) ; \ + sed -e 's,@XULDIR@,$(DEBIAN_XUL_DIR),g' \ + debian/$(DEB_MOZ_APPLICATION).prerm.in > debian/$(DEB_MOZ_APPLICATION).prerm + +post-patches:: debian/$(DEB_MOZ_APPLICATION).postinst debian/$(DEB_MOZ_APPLICATION).prerm + +binary-install/$(DEB_MOZ_APPLICATION):: + dh_link usr/lib/xulrunner-addons $(DEBIAN_XUL_DIR)/extensions + +# Clean is not totally clean +clean:: + test -d $(DEB_SRCDIR)/_tests && rm -rf $(DEB_SRCDIR)/_tests ; \ + test -d $(DEB_SRCDIR)/staticlib && rm -rf $(DEB_SRCDIR)/staticlib ; \ + find $(DEB_SRCDIR) -type f -name \*.pyc -exec rm {} \; &> /dev/null; \ + find $(DEB_SRCDIR) -type l -exec rm {} \; &> /dev/null + rm -f debian/$(DEB_MOZ_APPLICATION).postinst debian/$(DEB_MOZ_APPLICATION).prerm + +date := $(shell date +%Y%m%d) + +mozilla: +ifeq (HEAD, $(DEBIAN_DATE)) + set -e; sh -c "cvs -d$(MOZ_CVS_ROOT) co mozilla/client.mk; cd mozilla && make -f client.mk checkout MOZ_CO_PROJECT=$(MOZ_APPLICATION)" +else + set -e; sh -c "cvs -d$(MOZ_CVS_ROOT) co mozilla/client.mk; cd mozilla && make -f client.mk checkout MOZ_CO_DATE=$(DEBIAN_DATE) MOZ_CO_PROJECT=$(MOZ_APPLICATION)" +endif + rm -f cvsco* + +../$(DEB_MOZ_APPLICATION)_$(DEBIAN_UPSTREAM_VERSION).orig.tar.gz: mozilla + set -e; rm -rf $(DEB_MOZ_APPLICATION)-$(DEBIAN_UPSTREAM_VERSION); \ + mkdir $(DEB_MOZ_APPLICATION)-$(DEBIAN_UPSTREAM_VERSION); \ + mv mozilla $(DEB_MOZ_APPLICATION)-$(DEBIAN_UPSTREAM_VERSION); \ + tar cvzf $@ $(DEB_MOZ_APPLICATION)-$(DEB_UPSTREAM_VERSION)/; \ + rm -rf $(DEB_MOZ_APPLICATION)-$(DEBIAN_UPSTREAM_VERSION) + +neworig: ../$(DEB_MOZ_APPLICATION)_$(DEBIAN_UPSTREAM_VERSION).orig.tar.gz + +CFLAGS = +CXXFLAGS = --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9-dev.install +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/include/xulrunner-1.9*/ +debian/tmp/usr/share/idl/xulrunner-1.9*/ +debian/tmp/usr/lib/xulrunner-devel-1.9*/ + +debian/tmp/usr/lib/pkgconfig/* /usr/lib/pkgconfig/ + --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9-dom-inspector.install +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9-dom-inspector.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/xulrunner-1.9*/extensions/inspector@mozilla.org/[cdi]* usr/lib/xulrunner-addons/inspector@mozilla.org +debian/tmp/usr/lib/xulrunner-1.9*/extensions/inspector@mozilla.org/platform/Linux usr/lib/xulrunner-addons/inspector@mozilla.org/platform --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9-venkman.install +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9-venkman.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/xulrunner-1.9*/extensions/venkman@mozilla.org usr/lib/xulrunner-addons --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9.dirs +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9.dirs @@ -0,0 +1 @@ +usr/lib/xulrunner-addons --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9.install +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9.install @@ -0,0 +1,2 @@ +debian/tmp/etc/gre.d/1.9*.system.conf +debian/tmp/usr/lib/xulrunner-1.9*/[LRcdg-z]* --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9.postinst.in +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9.postinst.in @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + /usr/sbin/update-alternatives --install /usr/bin/xulrunner \ + xulrunner @XULDIR@/xulrunner 50 +fi +#DEBHELPER# --- xulrunner-1.9-1.9~a8.orig/debian/xulrunner-1.9.prerm.in +++ xulrunner-1.9-1.9~a8/debian/xulrunner-1.9.prerm.in @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e +if [ "$1" = "remove" ]; then + /usr/sbin/update-alternatives --remove xulrunner @XULDIR@/xulrunner + if [ "$(update-alternatives --list xulrunner | wc -l)" = "0" ]; then + /usr/sbin/update-alternatives --remove-all xulrunner + fi +fi +#DEBHELPER# +