--- xulrunner-1.9-1.9~b3+nobinonly.orig/xulrunner-1.9~b3-source.tar.bz2.cdbs-config_list +++ xulrunner-1.9-1.9~b3+nobinonly/xulrunner-1.9~b3-source.tar.bz2.cdbs-config_list @@ -0,0 +1,79 @@ +mozilla/build/autoconf/config.guess +mozilla/build/autoconf/config.sub +mozilla/nsprpub/build/autoconf/config.guess +mozilla/nsprpub/build/autoconf/config.sub +mozilla/nsprpub/config/config.mk +mozilla/security/nss/cmd/crmf-cgi/config.mk +mozilla/security/nss/cmd/crmftest/config.mk +mozilla/security/nss/cmd/lib/config.mk +mozilla/security/nss/cmd/libpkix/config.mk +mozilla/security/nss/cmd/libpkix/testutil/config.mk +mozilla/security/nss/cmd/zlib/config.mk +mozilla/security/nss/lib/base/config.mk +mozilla/security/nss/lib/certdb/config.mk +mozilla/security/nss/lib/certhigh/config.mk +mozilla/security/nss/lib/ckfw/builtins/config.mk +mozilla/security/nss/lib/ckfw/config.mk +mozilla/security/nss/lib/ckfw/capi/config.mk +mozilla/security/nss/lib/ckfw/dbm/config.mk +mozilla/security/nss/lib/ckfw/nssmkey/config.mk +mozilla/security/nss/lib/crmf/config.mk +mozilla/security/nss/lib/cryptohi/config.mk +mozilla/security/nss/lib/dev/config.mk +mozilla/security/nss/lib/freebl/config.mk +mozilla/security/nss/lib/jar/config.mk +mozilla/security/nss/lib/libpkix/include/config.mk +mozilla/security/nss/lib/libpkix/config.mk +mozilla/security/nss/lib/libpkix/pkix/certsel/config.mk +mozilla/security/nss/lib/libpkix/pkix/config.mk +mozilla/security/nss/lib/libpkix/pkix/checker/config.mk +mozilla/security/nss/lib/libpkix/pkix/crlsel/config.mk +mozilla/security/nss/lib/libpkix/pkix/params/config.mk +mozilla/security/nss/lib/libpkix/pkix/results/config.mk +mozilla/security/nss/lib/libpkix/pkix/store/config.mk +mozilla/security/nss/lib/libpkix/pkix/top/config.mk +mozilla/security/nss/lib/libpkix/pkix/util/config.mk +mozilla/security/nss/lib/libpkix/pkix_pl_nss/module/config.mk +mozilla/security/nss/lib/libpkix/pkix_pl_nss/config.mk +mozilla/security/nss/lib/libpkix/pkix_pl_nss/pki/config.mk +mozilla/security/nss/lib/libpkix/pkix_pl_nss/system/config.mk +mozilla/security/nss/lib/nss/config.mk +mozilla/security/nss/lib/pk11wrap/config.mk +mozilla/security/nss/lib/pkcs12/config.mk +mozilla/security/nss/lib/pkcs7/config.mk +mozilla/security/nss/lib/pki/config.mk +mozilla/security/nss/lib/pki1/config.mk +mozilla/security/nss/lib/smime/config.mk +mozilla/security/nss/lib/softoken/legacydb/config.mk +mozilla/security/nss/lib/softoken/config.mk +mozilla/security/nss/lib/sqlite/config.mk +mozilla/security/nss/lib/ssl/config.mk +mozilla/security/nss/lib/util/config.mk +mozilla/security/nss/tests/pkcs11/netscape/suites/security/pkcs11/config.mk +mozilla/security/nss/tests/pkcs11/netscape/suites/security/config.mk +mozilla/security/nss/tests/pkcs11/netscape/suites/security/ssl/config.mk +mozilla/security/nss/tests/pkcs11/netscape/suites/config.mk +mozilla/security/nss/tests/pkcs11/netscape/trivial/config.h.in +mozilla/security/coreconf/config.mk +mozilla/security/dbm/config/config.mk +mozilla/security/dbm/src/config.mk +mozilla/js/src/config.mk +mozilla/config/config.mk +mozilla/extensions/cck/browser/resources/content/cckwizard/config.xul +mozilla/extensions/irc/locales/en-US/chrome/config.dtd +mozilla/extensions/irc/xul/content/config.css +mozilla/extensions/irc/xul/content/config.js +mozilla/extensions/irc/xul/content/config.xul +mozilla/toolkit/components/viewconfig/content/config.js +mozilla/toolkit/components/viewconfig/content/config.xul +mozilla/toolkit/crashreporter/google-breakpad/autotools/config.guess +mozilla/toolkit/crashreporter/google-breakpad/autotools/config.sub +mozilla/toolkit/crashreporter/google-breakpad/src/config.h.in +mozilla/toolkit/locales/en-US/chrome/global/config.dtd +mozilla/toolkit/locales/en-US/chrome/global/config.properties +mozilla/toolkit/themes/pinstripe/global/config.css +mozilla/toolkit/themes/winstripe/global/config.css +mozilla/xpfe/global/resources/content/config.js +mozilla/xpfe/global/resources/content/config.xul +mozilla/xpfe/global/resources/locale/en-US/config.dtd +mozilla/xpfe/global/resources/locale/en-US/config.properties --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/xulrunner-1.9.prerm +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e +if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then + /usr/sbin/update-alternatives --remove xulrunner /usr/bin/xulrunner-1.9 + if [ "$(update-alternatives --list xulrunner | wc -l)" = "0" ]; then + /usr/sbin/update-alternatives --remove-all xulrunner + fi +fi + +#DEBHELPER# --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/xulrunner-1.9-venkman.install +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9-venkman.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/xulrunner-1.9*/extensions/venkman@mozilla.org usr/lib/xulrunner-addons/extensions --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/changelog +++ xulrunner-1.9-1.9~b3+nobinonly/debian/changelog @@ -0,0 +1,477 @@ +xulrunner-1.9 (1.9~b3+nobinonly-0ubuntu1) hardy; urgency=low + + * release FIREFOX_3_0b3_RELEASE + + [ Alexander Sack ] + * submit patch that ships xpcshell to bugzilla + - rename debian/patches/ship_xpcshell.patch => + debian/patches/bz410617_att295212_ship_xpcshell.patch + - update debian/patches/series + * fix tooltip in epiphany: previously displayed out of screen bounds + (LP: #37507) + - add debian/patches/bz233371_att297343_fix_outofscreen_embed_tooltip.patch + - update debian/patches/series + * use default upstream gcc tweaks for improved performance - especially of the + javascript engine + - update debian/rules + * update global extension/plugin patch to apply cleanly against latest code + - update debian/patches/bzXXX_gre_extension_plugin_support.patch + * fix pyxpcom build failure introduced by recent commit + - add debian/patches/bzXXX_fix_pyxpcom_build_failure.patch + - update debian/patches/series + * add distro independent global install locations for extensions, + /usr/lib/mozilla/extensions and /usr/share/mozilla/extensions + - update debian/xulrunner-1.9.dirs + * support embedded tarball layout when either there is a *.tar.bz2 in orig tarball + or if DEBIAN_MOZCLIENT_EMBEDDED is not unset (you will need this to produce embedded + tarballs during |get-orig-source| + - update debian/rules + * bump minimum libnss3-dev build requirements to >= 3.12.0~1.9b3 + - update debian/control + * bump minimum libnspr4-dev build requirements to >= 4.7.0~1.9b3 + - update debian/control + + [ Fabien Tassin ] + * Drop patches applied upstream + - drop debian/patches/bz410617_att295212_ship_xpcshell.patch + - drop debian/patches/bz404634_att294921.patch + - drop debian/patches/bz386610_python2.5_ftbfs_amd64.patch + - drop debian/patches/bz373918_att295042.patch + - drop debian/patches/bz408062_unstable_pc.patch + - drop debian/patches/bz384304_fix_recursive_symlinks.patch + - update debian/patches/series + * Refresh diverged patches: + - update debian/patches/bzXXX_pc_honour_system_nspr_nss.patch + - update debian/patches/rename_venkman_addon.patch + - update debian/patches/bz344818_cairo_xrender.patch + * Install links for all .so libs in the -dev package + - update debian/patches/dont_install_so_in_dev.patch + * Bump gtk requirement to 2.12 as per Mozilla bug 412432 + - update debian/control + * Add #DEBHELPER# token to postinst/prerm scripts + - update debian/xulrunner-1.9.{postinst,prerm} + * Install previously missed libdbusservice.so + - update debian/xulrunner-1.9.install + * Update venkman patch to also rename locales + - update debian/patches/rename_venkman_addon.patch + * Bump requirement for system cairo to >= 1.5.8 as we now need + the newly added cairo_path_extents() + - update debian/rules + * Include mozilla-devscripts file using -include so ifneq could be omitted + - update debian/rules + * Fix missing .so symlinks regression + - update debian/patches/dont_install_so_in_dev.patch + + -- Alexander Sack Wed, 13 Feb 2008 11:47:21 +0100 + +xulrunner-1.9 (1.9~b3~cvs20080101t1000+nobinonly-0ubuntu1) hardy; urgency=low + + * happy new year release for hardy (1.9b3 pre, CVS 20080101t1000) features: + - use system-cairo (LP: #152210, LP: #164640) + - use system-nspr/nss (LP: #177280) + - proper pkg-config files for -unstable and system-nspr/nss (see below) + - backed-out microb changes (back to square zero) + - fix various embedding issues (see below) + + [ Fabien Tassin ] + * Disable bz404634_att290373.patch and bz373196_att281782.patch until trunk + is back in shape after the MicroB mass back out (See MozBug #408238) + - update debian/patches/series + * new upstream snapshot (1.9b3 pre, CVS 20071228t0918) + * Drop patch committed upstream: + - drop debian/patches/bz287150_att291740_hppa_fix.patch + - update debian/patches/series + * Add support for mozilla-devscripts + - update debian/control + - update debian/rules + + [ Alexander Sack ] + * drop patches for mozilla bug #404634 completely to prepare landing of + improved patch: + - drop debian/patches/bz404634_att290305.patch + - drop debian/patches/bz404634_att290373.patch + - update debian/patches/series + * land improved patch for mozilla bug #404634 that properly disables + url-classifier if no profile is setup and makes nsUrlClassifierDBService + fall-back to NS_APP_USER_PROFILE_50_DIR if NS_APP_USER_PROFILE_LOCAL_50_DIR + is not provided by embedding app. + - add debian/patches/bz404634_att294921.patch + - update debian/patches/series + * remove bz373196_att281782.patch completely from tree as it tackled a MICROB + regression, which should now be fixed. + * add %FULL_NSPR_CFLAGS% to libxul-embedding* Cflags .pc files to fix + builds of embedders that link against system-nspr enabled xul + - update debian/patches/bzXXX_pc_honour_system_nspr_nss.patch + * do not export zlib headers with bogus symbols during make install if + system zlib is used. This breaks embedders and happens if MOZ_INSTALLER + is enabled. + - add debian/patches/bzXXX_no_zlib_export_if_native.patch + - update debian/patches/series + * drop mozilla-devscripts from build-depends as its not needed for the + actual package build process. Take care that debian/rules disables the + mozilla-devscripts include if it doesn't exist + - update debian/control + - update debian/rules + * add gtkmozembed_internal.h symbols to glue (mozilla bug 373918): + - add debian/patches/bz373918_att295042.patch + - update debian/patches/series + * add support for GRE extensions and plugins. We now search in PROFILE, APP + and GRE dir. + - add debian/patches/bzXXX_gre_extension_plugin_support.patch + - update debian/patches/series + * explicitly create addon directories /usr/lib/xulrunner-addons/{plugins,extensions} + - update debian/xulrunner-1.9.dirs + * drop hard-coded --with-system-nspr and --with-system-nss from CONFIGURE + flags + - update debian/rules + * don't enforce lower bound of system cairo and system nss versions + - update debian/control + + -- Alexander Sack Wed, 02 Jan 2008 14:55:34 +0100 + +xulrunner-1.9 (1.9~b2+nobinonly-0ubuntu1) hardy; urgency=low + + [ Fabien Tassin ] + * new upstream snapshot (1.9b2) from tag FIREFOX_3_0b2_RELEASE + * Update diverged patch: + - update debian/patches/bz399589_fix_missing_symbol_with_new_nss.patch + * Fix FTBFS on Hardy when using system nss. See MozBug #403994. + - add debian/patches/bz403994_dont_install_nss_includes_with_system_nss.patch + - update debian/patches/series + * Drop patches for bugs which recently landed + - drop debian/patches/bz405424_att290202.patch + - drop debian/patches/fix_ppc_ftbfs.patch + - update debian/patches/series + * Update rules for system cairo >= 1.5.4. It's still conditioned + by the presence or not of libcairo 1.5.* in hardy, also conditioning + lcd sub-pixel rendering + - update debian/rules + - add debian/patches/bz344818_cairo_xrender.patch + - update debian/patches/series + * add libpixman-1-dev to build-deps, needed by cairo + - update debian/control + * Update Standards-Version to 3.7.3 + - update debian/control + * Re-enable DEB_AUTO_UPDATE_AUTOCONF=2.13 and depends on autoconf2.13 + (will be dropped for final release) + - update debian/control + - update debian/rules + * Fold Build-Depends line making changes easier to track in diffs + and update versions based on http://wiki.mozilla.org/Linux/Runtime_Requirements + - update debian/control + * Add --enable-startup-notification and libstartup-notification0-dev to build-deps + - update debian/rules + - update debian/control + * Rewrite detection code for system nss and nspr, to ease backports to gutsy + - update debian/rules + * Fix FTBFS on hppa (See MozBug #287150) + - add debian/patches/bz287150_att291740_hppa_fix.patch + - update debian/patches/series + + [ Alexander Sack ] + * force system cairo by adding versioned build-depends >= 1.5.4 + - update debian/control + * provide libxul-unstable.pc and libxul-embedding-unstable.pc + - add debian/patches/bz408062_unstable_pc.patch + - update debian/patches/series + * fix missing icons if no gnome-support package is installed: move + libimgicon.so component from gnome-support package to plain xulrunner-1.9 + - update debian/xulrunner-1.9.install + - update debian/xulrunner-1.9-gnome-support.install + * fix mozilla-nspr.pc for --with-system-nspr builds: mozilla-nspr.pc points + to the cflags and libs of system nspr now + - add debian/patches/bzXXX_pc_honour_system_nspr_nss.patch + - update debian/patches/series + * enforce libnss3-dev version (>= 3.12.0~1.9b2) + - update debian/control + + -- Fabien Tassin Wed, 19 Dec 2007 20:23:23 +0100 + +xulrunner-1.9 (1.9~b1+nobinonly-0ubuntu2) hardy; urgency=low + + [ Alexander Sack ] + * don't ship versioned .pc files anymore: + - remove debian/patches/install_pkgconfig_files_with_version.patch + - update debian/patches/series + * in turn xulrunner-1.9-dev package needs to Conflicts: on (old) mozilla-dev + - update debian/control + + [ Fabien Tassin ] + * Add Homepage: and Vcs-Bzr: fields in control file + - update debian/control + + -- Alexander Sack Fri, 07 Dec 2007 00:11:43 +0100 + +xulrunner-1.9 (1.9~b1+nobinonly-0ubuntu1) hardy; urgency=low + + * new upstream snapshot (1.9b1 from FIREFOX_3_0b1_RELEASE) + - update debian/changelog + * Fix shell redirection in clean rule leaving orphaned processes + in buildd. (LP: #162723) + - update debian/rules + * Move extensions dir from /usr/lib/xulrunner-addons to + /usr/lib/xulrunner-addons/extensions and move plugins dir + from non-stable /usr/lib/xulrunner-1.9b1/plugins to + /usr/lib/xulrunner-addons/plugins + - update debian/rules + - update debian/xulrunner-1.9.install + - update debian/xulrunner-1.9-dom-inspector.install + - update debian/xulrunner-1.9-venkman.install + * new upstream snapshot (1.9b2pre cvs20071120t1456) + * Drop patches for MozBug #399589 and #403994 which landed: + - drop debian/patches/bz399589_fix_missing_symbol_with_new_nss.patch + - drop debian/patches/bz403994_dont_install_nss_includes_with_system_nss.patch + - update debian/patches/series + * Add libdbus-glib-1-dev >= 0.60 to build-deps. See MozBug #388743. + - update debian/control + * Add a postrm script to clean up left-overs from python/xpcom + - add debian/xulrunner-1.9.postrm.in + - update debian/rules + * Add support for Prism in the dom inspector addon + - add debian/patches/dom_inspector_support_for_prism.patch + - update debian/patches/series + + [ Alexander Sack ] + * GtkEmbed DirectoryProvider provides NS_APP_USER_PROFILE_LOCAL_50_DIR special + directory now: + - add debian/patches/bz404634_att290373.patch + - update debian/patches/series (include currently applied patch) + * GtkEmbedEventListener.cpp now deals properly with selections: + - add debian/patches/bz373196_att281782.patch + - update debian/patches/series + * Fix ia64 build failure (thanks to Raúl Porcel) + - add debian/patches/bz405424_att290202.patch + - update debian/patches/series + * Fix url-classifier for embedders that don't provide a profile path. Use + a temp file to setup the url-classifier database and remove that one when + shutting down cleanly: + - add debian/patches/bz404634_att290305.patch + - update debian/patches/series + + -- Fabien Tassin Tue, 27 Nov 2007 16:01:49 +0100 + +xulrunner-1.9 (1.9~b1~rc3+nobinonly-0ubuntu1) hardy; urgency=low + + [ Fabien Tassin ] + * new upstream snapshot (1.9a9pre cvs20071012t0843) + * Drop debian/patches/bz392722_fix_nsinstall_on_double_slash.patch + (MozBug #397296 bumped nss/nspr requirements) + - update debian/patches/series + * Fix ftbfs with new nss caused by landing of MozBug #286642. + See MozBug 399589 + - add debian/patches/bz399589_fix_missing_symbol_with_new_nss.patch + - update debian/patches/series + * Ship xpcshell as /usr/bin/xpcshell-1.9 (LP: #151400) + - update debian/rules + - add debian/patches/ship_xpcshell.patch + - update debian/patches/series + * new upstream snapshot (1.9a9pre cvs20071105t0339) + - update debian/changelogs + * Move gnome libs from xulrunner-1.9 to xulrunner-1.9-gnome-support + - update debian/control + - update debian/xulrunner-1.9.install + - add debian/xulrunner-1.9-gnome-support.install + * new upstream snapshot (1.9b1 rc3 from FIREFOX_3_0b1_RC3) + - update debian/changelogs + * Fix broken --with-default-mozilla-five-home value + - update debian/rules + + [ Alexander Sack ] + * fix alternative migration bug that appears to happen on upstream version + upgrades: uninstall xulrunner alternative during "remove" and "upgrade" in + xulrunner-1.9.prerm + - update debian/xulrunner-1.9.prerm + + -- Fabien Tassin Wed, 14 Nov 2007 15:09:56 +0100 + +xulrunner-1.9 (1.9~a9~cvs20071003t0648-0ubuntu1~mt2) gutsy; urgency=low + + RELEASE: 1.9~a9~cvs20071003t0648-0ubuntu1~mt2 to gutsy/PPA + + * Add /usr/bin/xulrunner-1.9 and make the alternative point to it so + xul apps that need xul 1.9 can use it. subst is no longer needed for + postinst/prerm scripts. + - rename and update: + - debian/xulrunner-1.9.postinst.in => debian/xulrunner-1.9.postinst + - debian/xulrunner-1.9.prerm.in => debian/xulrunner-1.9.prerm + - update debian/rules + + -- Fabien Tassin Mon, 08 Oct 2007 16:44:01 +0200 + +xulrunner-1.9 (1.9~a9~cvs20071003t0648-0ubuntu1~mt1) gutsy; urgency=low + + RELEASE: 1.9~a9~cvs20071003t0648-0ubuntu1~mt1 to gutsy/PPA + + [ Fabien Tassin ] + * Add --disable-mochitest to debian/rules + * Protect tests targets by ifdefs so --disable-tests does the proper thing. + This is usefull for the stripped tarball. + - add debian/patches/protect_tests_by_ifdefs.patch + - update debian/patches/series + * Remove strict version check for extensions + - update debian/control + + [ Alexander Sack ] + * unify test for dev-package in var DEV_PACKAGE_INDICATION and determine + whether to point libnssckbi.so to system nss using this test. + * drop versions from build-depends and depends on libnspr4-dev, libnss3-dev. + We use this to be able to use the same sources for both official uploads + (which uses in-xul nspr/nss) and dev/ppa uploads (which use system + nspr/nss). + + -- Fabien Tassin Sun, 07 Oct 2007 20:52:39 +0200 + +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~b3+nobinonly.orig/debian/copyright +++ xulrunner-1.9-1.9~b3+nobinonly/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~b3+nobinonly.orig/debian/xulrunner-1.9.install +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9.install @@ -0,0 +1,11 @@ +debian/tmp/etc/gre.d/1.9*.system.conf +debian/tmp/usr/lib/xulrunner-1.9*/[A-Zdabdf-oq-z]* +debian/tmp/usr/lib/xulrunner-1.9*/platform.ini +debian/tmp/usr/lib/xulrunner-1.9*/plugins usr/lib/xulrunner-addons +debian/tmp/usr/lib/xulrunner-1.9*/python +debian/tmp/usr/lib/xulrunner-1.9*/chrome +debian/tmp/usr/lib/xulrunner-1.9*/components/[A-Za-km-z]* +debian/tmp/usr/lib/xulrunner-1.9*/components/l[a-hj-z]* +debian/tmp/usr/lib/xulrunner-1.9*/components/libpyloader.so +debian/tmp/usr/lib/xulrunner-1.9*/components/libimgicon.so +debian/tmp/usr/lib/xulrunner-1.9*/components/libdbusservice.so --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/xulrunner-1.9-dom-inspector.install +++ xulrunner-1.9-1.9~b3+nobinonly/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/extensions/inspector@mozilla.org +debian/tmp/usr/lib/xulrunner-1.9*/extensions/inspector@mozilla.org/platform/Linux usr/lib/xulrunner-addons/extensions/inspector@mozilla.org/platform --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/xulrunner-1.9.postrm.in +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9.postrm.in @@ -0,0 +1,19 @@ +#! /bin/sh + +set -e + +case "$1" in + remove|abort-install|purge|upgrade|failed-upgrade|abort-upgrade|disappear) + rm -f @XULDIR@/python/xpcom/__init__.pyo + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/MPL +++ xulrunner-1.9-1.9~b3+nobinonly/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~b3+nobinonly.orig/debian/xulrunner-1.9.postinst +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9.postinst @@ -0,0 +1,8 @@ +#!/bin/sh +set -e +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + /usr/sbin/update-alternatives --install /usr/bin/xulrunner \ + xulrunner /usr/bin/xulrunner-1.9 50 +fi + +#DEBHELPER# --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/bz233371_att297343_fix_outofscreen_embed_tooltip.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/bz233371_att297343_fix_outofscreen_embed_tooltip.patch @@ -0,0 +1,137 @@ +Index: embedding/browser/gtk/src/EmbedWindow.cpp +=================================================================== +RCS file: /cvsroot/mozilla/embedding/browser/gtk/src/EmbedWindow.cpp,v +retrieving revision 1.43 +diff -u -p -8 -r1.43 EmbedWindow.cpp +--- a/embedding/browser/gtk/src/EmbedWindow.cpp 11 Jan 2008 22:16:15 -0000 1.43 ++++ b/embedding/browser/gtk/src/EmbedWindow.cpp 16 Jan 2008 00:08:24 -0000 +@@ -379,72 +379,95 @@ tooltips_paint_window(GtkWidget *window) + + return FALSE; + } + + NS_IMETHODIMP + EmbedWindow::OnShowTooltip(PRInt32 aXCoords, PRInt32 aYCoords, + const PRUnichar *aTipText) + { +- nsAutoString tipText ( aTipText ); +- +- const char* tipString = ToNewUTF8String(tipText); ++ NS_ENSURE_STATE(mOwner && mOwner->mOwningWidget && ++ GTK_WIDGET_REALIZED(mOwner->mOwningWidget)); + + if (sTipWindow) + gtk_widget_destroy(sTipWindow); + +- // get the root origin for this content window +- nsCOMPtr mainWidget; +- mBaseWindow->GetMainWidget(getter_AddRefs(mainWidget)); +- GdkWindow *window; +- window = static_cast(mainWidget->GetNativeData(NS_NATIVE_WINDOW)); +- gint root_x, root_y; +- gdk_window_get_origin(window, &root_x, &root_y); +- +- // XXX work around until I can get pink to figure out why +- // tooltips vanish if they show up right at the origin of the +- // cursor. +- root_y += 10; + + sTipWindow = gtk_window_new(GTK_WINDOW_POPUP); ++ GtkWindow *tipWinAsWindow = GTK_WINDOW(sTipWindow); ++ + gtk_widget_set_app_paintable(sTipWindow, TRUE); +- gtk_window_set_resizable(GTK_WINDOW(sTipWindow), TRUE); ++ gtk_window_set_resizable(tipWinAsWindow, FALSE); + // needed to get colors + fonts etc correctly + gtk_widget_set_name(sTipWindow, "gtk-tooltips"); ++ gtk_container_set_border_width(GTK_CONTAINER(sTipWindow), 4); + + // set up the popup window as a transient of the widget. +- GtkWidget *toplevel_window; +- toplevel_window = gtk_widget_get_toplevel(GTK_WIDGET(mOwner->mOwningWidget)); +- if (!GTK_WINDOW(toplevel_window)) { ++ GtkWidget *widget = (GtkWidget *) mOwner->mOwningWidget; ++ GtkWidget *toplevel = gtk_widget_get_toplevel(widget); ++ if (!GTK_IS_WINDOW(toplevel) || !GTK_WIDGET_TOPLEVEL(toplevel)) { + NS_ERROR("no gtk window in hierarchy!\n"); + return NS_ERROR_FAILURE; + } +- gtk_window_set_transient_for(GTK_WINDOW(sTipWindow), +- GTK_WINDOW(toplevel_window)); ++ gtk_window_set_transient_for(tipWinAsWindow, GTK_WINDOW(toplevel)); + +- // realize the widget +- gtk_widget_realize(sTipWindow); +- +- g_signal_connect(G_OBJECT(sTipWindow), "expose_event", +- G_CALLBACK(tooltips_paint_window), NULL); ++ g_signal_connect (sTipWindow, "expose-event", ++ G_CALLBACK(tooltips_paint_window), NULL); + + // set up the label for the tooltip +- GtkWidget *label = gtk_label_new(tipString); ++ GtkWidget *label = gtk_label_new(NS_ConvertUTF16toUTF8(aTipText).get()); + // wrap automatically + gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); ++ gtk_misc_set_alignment (GTK_MISC(label), 0.5, 0.5); + gtk_container_add(GTK_CONTAINER(sTipWindow), label); +- gtk_container_set_border_width(GTK_CONTAINER(sTipWindow), 4); +- // set the coords for the widget +- gtk_widget_set_uposition(sTipWindow, aXCoords + root_x, +- aYCoords + root_y); ++ gtk_widget_show(label); ++ ++ GdkScreen *screen = gtk_widget_get_screen(widget); ++ gtk_window_set_screen (tipWinAsWindow, screen); ++ ++ gint monitor_num = gdk_screen_get_monitor_at_window(screen, widget->window); ++ if (monitor_num < 0) ++ monitor_num = 0; ++ ++ GdkRectangle monitor; ++ gdk_screen_get_monitor_geometry(screen, monitor_num, &monitor); ++ ++ gtk_widget_ensure_style(sTipWindow); ++ ++ GtkRequisition req; ++ gtk_widget_size_request(sTipWindow, &req); ++ ++ gint x, y; ++ gdk_window_get_origin(widget->window, &x, &y); ++ ++ x += aXCoords; ++ y += aYCoords; ++ ++ // Ideally we'd query the cursor size and hotspot, ++ // but there appears to be no way to do that */ ++ int xoffset = 8, yoffset = 8; ++ ++ if (gtk_widget_get_direction(widget) == GTK_TEXT_DIR_RTL) { ++ x -= req.width + xoffset; ++ } else { ++ x += xoffset; ++ } + +- // and show it. +- gtk_widget_show_all(sTipWindow); ++ if (x + req.width > monitor.x + monitor.width) ++ x = monitor.x + monitor.width - req.width; ++ else if (x < monitor.x) ++ x = monitor.x; ++ ++ if (y + req.height + yoffset <= monitor.y + monitor.height) ++ y += yoffset; ++ else ++ y -= req.height + yoffset; + +- nsMemory::Free( (void*)tipString ); ++ gtk_window_move(tipWinAsWindow, x, y); ++ gtk_widget_show(sTipWindow); + + return NS_OK; + } + + NS_IMETHODIMP + EmbedWindow::OnHideTooltip(void) + { + if (sTipWindow) --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/bzXXX_pc_honour_system_nspr_nss.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/bzXXX_pc_honour_system_nspr_nss.patch @@ -0,0 +1,114 @@ +--- + xulrunner/installer/Makefile.in | 17 ++++++++++++++--- + xulrunner/installer/libxul-embedding-unstable.pc.in | 2 +- + xulrunner/installer/libxul-embedding.pc.in | 2 +- + xulrunner/installer/mozilla-nss.pc.in | 6 +++--- + 4 files changed, 19 insertions(+), 8 deletions(-) + +Index: mozilla/xulrunner/installer/Makefile.in +=================================================================== +--- mozilla.orig/xulrunner/installer/Makefile.in ++++ mozilla/xulrunner/installer/Makefile.in +@@ -90,40 +90,51 @@ + mozilla-plugin.pc \ + mozilla-gtkmozembed.pc \ + mozilla-gtkmozembed-embedding.pc \ + $(NULL) + + ifdef MOZ_NATIVE_NSPR + NSPR_NAME=nspr + NSPR_VERSION=$(shell $(NSPR_CONFIG) --version) ++FULL_NSPR_CFLAGS=$(shell $(NSPR_CONFIG) --cflags) ++FULL_NSPR_LIBS=$(shell $(NSPR_CONFIG) --libs) + else +-pkg_config_files += mozilla-nspr.pc + NSPR_NAME=mozilla-nspr + 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 ++pkg_config_files += mozilla-nspr.pc + + $(warning FULL_NSPR_CFLAGS=$(FULL_NSPR_CFLAGS)) + +-ifndef MOZ_NATIVE_NSS +-pkg_config_files += mozilla-nss.pc ++ifdef MOZ_NATIVE_NSS ++NSPR_VERSION=$(shell $(NSS_CONFIG) --version) ++FULL_NSS_CFLAGS=$(shell $(NSS_CONFIG) --cflags) ++FULL_NSS_LIBS=$(shell $(NSS_CONFIG) --libs) ++else ++NSS_VERSION=$(shell $(DEPTH)/nsprpub/config/nss-config --version) ++FULL_NSS_CFLAGS=-I\$${includedir}/stable ++FULL_NSS_LIBS=$(subst $(prefix),\$${sdkdir},$(shell $(DEPTH)/nsprpub/config/nss-config --libs)) + endif ++pkg_config_files += mozilla-nss.pc + + %.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)|" \ + -e "s|%FULL_NSPR_CFLAGS%|$(FULL_NSPR_CFLAGS)|" \ ++ -e "s|%FULL_NSS_LIBS%|$(FULL_NSS_LIBS)|" \ ++ -e "s|%FULL_NSS_CFLAGS%|$(FULL_NSS_CFLAGS)|" \ + -e "s|%NSPR_NAME%|$(NSPR_NAME)|" \ + -e "s|%NSPR_VERSION%|$(NSPR_VERSION)|" > $@ + chmod 644 $@ + + install:: $(pkg_config_files) + @echo pkg_config_file: $(pkg_config_files) + $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(libdir)/pkgconfig + +Index: mozilla/xulrunner/installer/libxul-embedding-unstable.pc.in +=================================================================== +--- mozilla.orig/xulrunner/installer/libxul-embedding-unstable.pc.in ++++ mozilla/xulrunner/installer/libxul-embedding-unstable.pc.in +@@ -3,9 +3,9 @@ + includedir=%includedir% + idldir=%idldir% + includetype=unstable + + Name: libxul-embedding-unstable + Description: Static library for version-independent embedding of the Mozilla runtime (unstable API) + Version: %MOZILLA_VERSION% + Libs: -L${sdkdir}/lib -lxpcomglue +-Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar ++Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar %FULL_NSPR_CFLAGS% +Index: mozilla/xulrunner/installer/libxul-embedding.pc.in +=================================================================== +--- mozilla.orig/xulrunner/installer/libxul-embedding.pc.in ++++ mozilla/xulrunner/installer/libxul-embedding.pc.in +@@ -7,9 +7,9 @@ + # Note: the default pkg-config cflags will only list include directories + # that contain stable (frozen or safe for linking) header files. To include + # nonfrozen headers, run pkg-config with --define-variable=includetype=unstable + + Name: libxul-embedding + Description: Static library for version-independent embedding of the Mozilla runtime + Version: %MOZILLA_VERSION% + Libs: -L${sdkdir}/lib -lxpcomglue +-Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar ++Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar %FULL_NSPR_CFLAGS% +Index: mozilla/xulrunner/installer/mozilla-nss.pc.in +=================================================================== +--- mozilla.orig/xulrunner/installer/mozilla-nss.pc.in ++++ mozilla/xulrunner/installer/mozilla-nss.pc.in +@@ -1,10 +1,10 @@ + prefix=%prefix% + sdkdir=%sdkdir% + includedir=%includedir% + + Name: NSS + Description: Mozilla Network Security Services +-Version: %MOZILLA_VERSION% ++Version: %NSS_VERSION% + Requires: %NSPR_NAME% >= %NSPR_VERSION% +-Libs: -L${sdkdir}/lib -lnss3 -lnssutil3 -lsmime3 -lssl3 -lsoftokn3 +-Cflags: -I${includedir}/stable ++Libs: %FULL_NSS_LIBS% ++Cflags: %FULL_NSS_CFLAGS% --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/bzXXX_fix_pyxpcom_build_failure.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/bzXXX_fix_pyxpcom_build_failure.patch @@ -0,0 +1,23 @@ +Index: mozilla/extensions/python/xpcom/src/PyIInterfaceInfo.cpp +=================================================================== +--- mozilla.orig/extensions/python/xpcom/src/PyIInterfaceInfo.cpp ++++ mozilla/extensions/python/xpcom/src/PyIInterfaceInfo.cpp +@@ -83,17 +83,17 @@ + { + if (!PyArg_ParseTuple(args, ":GetIID")) + return NULL; + + nsIInterfaceInfo *pI = GetI(self); + if (pI==NULL) + return NULL; + +- nsIID *iid_ret; ++ const nsIID *iid_ret; + nsresult r; + Py_BEGIN_ALLOW_THREADS; + r = pI->GetIIDShared(&iid_ret); + Py_END_ALLOW_THREADS; + if ( NS_FAILED(r) ) + return PyXPCOM_BuildPyException(r); + PyObject *ret = Py_nsIID::PyObjectFromIID(*iid_ret); + return ret; --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/series +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/series @@ -0,0 +1,11 @@ +installer_use_stdout_for_missing_files.patch +dont_install_so_in_dev.patch +rename_venkman_addon.patch +protect_tests_by_ifdefs.patch +dom_inspector_support_for_prism.patch +bz344818_cairo_xrender.patch +bzXXX_pc_honour_system_nspr_nss.patch +bzXXX_no_zlib_export_if_native.patch +bzXXX_gre_extension_plugin_support.patch +bz233371_att297343_fix_outofscreen_embed_tooltip.patch +bzXXX_fix_pyxpcom_build_failure.patch --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/dont_install_so_in_dev.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/dont_install_so_in_dev.patch @@ -0,0 +1,28 @@ +--- + toolkit/mozapps/installer/packager.mk | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: mozilla/toolkit/mozapps/installer/packager.mk +=================================================================== +--- mozilla.orig/toolkit/mozapps/installer/packager.mk ++++ mozilla/toolkit/mozapps/installer/packager.mk +@@ -419,17 +419,18 @@ + (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 $(addprefix $(installdir)/,$(notdir $(wildcard $(DIST)/sdk/lib/*.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~b3+nobinonly.orig/debian/patches/bz344818_cairo_xrender.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/bz344818_cairo_xrender.patch @@ -0,0 +1,30 @@ +--- + configure.in | 5 +++++ + 1 file changed, 5 insertions(+) + +Index: mozilla/configure.in +=================================================================== +--- mozilla.orig/configure.in ++++ mozilla/configure.in +@@ -6975,16 +6975,21 @@ + MOZ_CAIRO_LIBS="$MOZ_CAIRO_LIBS "'-L$(DEPTH)/gfx/cairo/glitz/src/wgl -lmozglitzwgl' + fi + fi + fi + else + PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_VERSION freetype2 fontconfig) + MOZ_CAIRO_CFLAGS=$CAIRO_CFLAGS + MOZ_CAIRO_LIBS=$CAIRO_LIBS ++ if test "$MOZ_X11"; then ++ PKG_CHECK_MODULES(CAIRO_XRENDER, cairo-xlib-xrender >= $CAIRO_VERSION) ++ MOZ_CAIRO_LIBS="$MOZ_CAIRO_LIBS $XLDFLAGS $CAIRO_XRENDER_LIBS" ++ MOZ_CAIRO_CFLAGS="$MOZ_CAIRO_CFLAGS $CAIRO_XRENDER_CFLAGS" ++ fi + fi + + AC_SUBST(MOZ_TREE_CAIRO) + AC_SUBST(MOZ_CAIRO_CFLAGS) + AC_SUBST(MOZ_CAIRO_LIBS) + + dnl ======================================================== + dnl Check for lcms --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/dom_inspector_support_for_prism.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/dom_inspector_support_for_prism.patch @@ -0,0 +1,34 @@ +--- + extensions/inspector/install.rdf | 9 +++++++++ + 1 file changed, 9 insertions(+) + +Index: mozilla/extensions/inspector/install.rdf +=================================================================== +--- mozilla.orig/extensions/inspector/install.rdf ++++ mozilla/extensions/inspector/install.rdf +@@ -40,16 +40,25 @@ + + {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} + 1.5a + @SEAMONKEY_VERSION@ + + + + ++ ++ ++ prism@developer.mozilla.org ++ 0.4 ++ 1.0.0.* ++ ++ ++ ++ + + + toolkit@mozilla.org + 1.9a1 + @EXTENSION_VERSION@ + + + --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/bz384304_fix_recursive_symlinks.patch +++ xulrunner-1.9-1.9~b3+nobinonly/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~b3+nobinonly.orig/debian/patches/installer_use_stdout_for_missing_files.patch +++ xulrunner-1.9-1.9~b3+nobinonly/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~b3+nobinonly.orig/debian/patches/bzXXX_gre_extension_plugin_support.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/bzXXX_gre_extension_plugin_support.patch @@ -0,0 +1,389 @@ +--- + toolkit/mozapps/extensions/src/nsExtensionManager.js.in | 27 ++++++--- + xpcom/io/nsAppDirectoryServiceDefs.h | 1 + xpcom/io/nsAppFileLocationProvider.cpp | 47 ++++++++++++++-- + xpcom/io/nsAppFileLocationProvider.h | 2 + 4 files changed, 67 insertions(+), 10 deletions(-) + +Index: mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in +=================================================================== +--- mozilla.orig/toolkit/mozapps/extensions/src/nsExtensionManager.js.in ++++ mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in +@@ -91,16 +91,17 @@ + const UNKNOWN_XPCOM_ABI = "unknownABI"; + + const FILE_DEFAULT_THEME_JAR = "classic.jar"; + const TOOLKIT_ID = "toolkit@mozilla.org" + + const KEY_PROFILEDIR = "ProfD"; + const KEY_PROFILEDS = "ProfDS"; + const KEY_APPDIR = "XCurProcD"; ++const KEY_GREDIR = "GreD"; + const KEY_TEMPDIR = "TmpD"; + + const EM_ACTION_REQUESTED_TOPIC = "em-action-requested"; + const EM_ITEM_INSTALLED = "item-installed"; + const EM_ITEM_UPGRADED = "item-upgraded"; + const EM_ITEM_UNINSTALLED = "item-uninstalled"; + const EM_ITEM_ENABLED = "item-enabled"; + const EM_ITEM_DISABLED = "item-disabled"; +@@ -110,16 +111,17 @@ + const OP_NEEDS_INSTALL = "needs-install"; + const OP_NEEDS_UPGRADE = "needs-upgrade"; + const OP_NEEDS_UNINSTALL = "needs-uninstall"; + const OP_NEEDS_ENABLE = "needs-enable"; + const OP_NEEDS_DISABLE = "needs-disable"; + + const KEY_APP_PROFILE = "app-profile"; + const KEY_APP_GLOBAL = "app-global"; ++const KEY_GRE_GLOBAL = "gre-global"; + const KEY_APP_SYSTEM_LOCAL = "app-system-local"; + const KEY_APP_SYSTEM_SHARE = "app-system-share"; + const KEY_APP_SYSTEM_USER = "app-system-user"; + + const CATEGORY_INSTALL_LOCATIONS = "extension-install-locations"; + const CATEGORY_UPDATE_PARAMS = "extension-update-params"; + + const PREFIX_NS_EM = "http://www.mozilla.org/2004/em-rdf#"; +@@ -1971,16 +1973,17 @@ + " ... rolling back file moves and aborting installation."); + rollbackMove(); + cleanUpTrash(itemLocationTrash); + throw e; + } + } + } + else if (installLocation.name == KEY_APP_PROFILE || ++ installLocation.name == KEY_GRE_GLOBAL || + installLocation.name == KEY_APP_GLOBAL || + installLocation.name == KEY_APP_SYSTEM_USER) { + // Check for a pointer file and move it aside if it exists + var pointerFile = installLocation.location.clone(); + pointerFile.append(itemID); + if (pointerFile.exists() && !pointerFile.isDirectory()) { + var trashFileName = itemID + "-trash"; + var itemLocationTrash = installLocation.location.clone(); +@@ -2373,17 +2376,25 @@ + + gConsole = Cc["@mozilla.org/consoleservice;1"]. + getService(Ci.nsIConsoleService); + + gRDF = Cc["@mozilla.org/rdf/rdf-service;1"]. + getService(Ci.nsIRDFService); + gInstallManifestRoot = gRDF.GetResource(RDFURI_INSTALL_MANIFEST_ROOT); + +- // Register Global Install Location ++ // Register Global GRE Install Location ++ var greGlobalExtensions = getDirNoCreate(KEY_GREDIR, [DIR_EXTENSIONS]); ++ var priority = Ci.nsIInstallLocation.PRIORITY_APP_SYSTEM_GLOBAL; ++ var greGlobalLocation = new DirectoryInstallLocation(KEY_GRE_GLOBAL, ++ greGlobalExtensions, true, ++ priority); ++ InstallLocations.put(greGlobalLocation); ++ ++ // Register Global Application Install Location + var appGlobalExtensions = getDirNoCreate(KEY_APPDIR, [DIR_EXTENSIONS]); + var priority = Ci.nsIInstallLocation.PRIORITY_APP_SYSTEM_GLOBAL; + var globalLocation = new DirectoryInstallLocation(KEY_APP_GLOBAL, + appGlobalExtensions, true, + priority, false); + InstallLocations.put(globalLocation); + + // Register App-Profile Install Location +@@ -3518,17 +3529,17 @@ + while (elements.hasMoreElements()) { + var itemResource = elements.getNext().QueryInterface(Ci.nsIRDFResource); + var id = stripPrefix(itemResource.Value, PREFIX_ITEM_URI); + if (ds.getItemProperty(id, "appManaged") == "true") { + // Force an update of the metadata for appManaged extensions since the + // last modified time is not updated for directories on FAT / FAT32 + // filesystems when software update applies a new version of the app. + var location = this.getInstallLocation(id); +- if (location.name == KEY_APP_GLOBAL) { ++ if (location.name == KEY_APP_GLOBAL || location.name == KEY_GRE_GLOBAL) { + var installRDF = location.getItemFile(id, FILE_INSTALL_MANIFEST); + if (installRDF.exists()) { + var metadataDS = getInstallManifest(installRDF); + ds.addItemMetadata(id, metadataDS, location); + ds.updateProperty(id, "compatible"); + } + } + } +@@ -3647,17 +3658,17 @@ + + // return early to avoid migrating data twice if we already have a + // toolkit 1.8 extension datasource. + if (dsExists) + return; + + // Prepare themes for installation + // Only enumerate directories in the app-profile and app-global locations. +- var locations = [KEY_APP_PROFILE, KEY_APP_GLOBAL]; ++ var locations = [KEY_APP_PROFILE, KEY_APP_GLOBAL, KEY_GRE_GLOBAL]; + for (var i = 0; i < locations.length; ++i) { + var location = InstallLocations.get(locations[i]); + if (!location.canAccess) + continue; + + var entries = location.itemLocations; + var entry; + while ((entry = entries.nextFile)) { +@@ -3713,17 +3724,18 @@ + // items since the datasource hasn't been created yet. + var itemsToCheck = []; + if (this._checkForFileChanges()) { + // Create a list of all items that are to be installed so we can migrate + // these items's settings to the new datasource. + var items = PendingOperations.getOperations(OP_NEEDS_INSTALL); + for (i = items.length - 1; i >= 0; --i) { + if (items[i].locationKey == KEY_APP_PROFILE || +- items[i].locationKey == KEY_APP_GLOBAL) ++ items[i].locationKey == KEY_APP_GLOBAL || ++ items[i].locationKey == KEY_GRE_GLOBAL) + itemsToCheck.push(items[i].id); + } + this._finishOperations(); + } + + // If there are no items to migrate settings for return early. + if (itemsToCheck.length == 0) + return; +@@ -4750,16 +4762,17 @@ + // Clear the op flag from the Startup Cache + StartupCache.put(installLocation, id, OP_NONE, true); + var restartRequired = this.installRequiresRestart(id, ds.getItemProperty(id, "type")) + this._updateManifests(restartRequired); + return; + } + } + else if (installLocation.name == KEY_APP_PROFILE || ++ installLocation.name == KEY_GRE_GLOBAL || + installLocation.name == KEY_APP_GLOBAL || + installLocation.name == KEY_APP_SYSTEM_USER) { + // Check for a pointer file and remove it if it exists + var pointerFile = installLocation.location.clone(); + pointerFile.append(id); + if (pointerFile.exists() && !pointerFile.isDirectory()) + pointerFile.remove(false); + } +@@ -6892,17 +6905,17 @@ + // with and maintained by this application AND it is installed in the + // global install location (i.e. the place installed by the app installer) + // it is and can be managed by the update file - it's not an item that has + // been manually installed by the user into their profile dir, and as such + // it is always compatible with the next release of the application since + // we will continue to support it. + var locationKey = this.getItemProperty(id, "installLocation"); + var appManaged = this.getItemProperty(id, "appManaged") == "true"; +- if (appManaged && locationKey == KEY_APP_GLOBAL) ++ if (appManaged && (locationKey == KEY_APP_GLOBAL || locationKey == KEY_GRE_GLOBAL)) + continue; + + if (type != -1 && (type & desiredType) && + !this.isCompatible(this, item, appVersion, platformVersion)) + items.push(this.getItemForID(id)); + } + return items; + }, +@@ -7457,17 +7470,17 @@ + // Assert properties with single values + var singleProps = ["version", "updateURL", "updateService", "optionsURL", + "aboutURL", "iconURL", "internalName", "updateKey"]; + + // Items installed into restricted Install Locations can also be locked + // (can't be removed or disabled), and hidden (not shown in the UI) + if (installLocation.restricted) + singleProps = singleProps.concat(["locked", "hidden"]); +- if (installLocation.name == KEY_APP_GLOBAL) ++ if (installLocation.name == KEY_APP_GLOBAL || installLocation.name == KEY_GRE_GLOBAL) + singleProps = singleProps.concat(["appManaged"]); + for (var i = 0; i < singleProps.length; ++i) { + var property = EM_R(singleProps[i]); + var literal = installManifest.GetTarget(gInstallManifestRoot, property, true); + // If literal is null, _setProperty will remove any existing. + this._setProperty(this._inner, targetRes, property, literal); + } + +@@ -8124,17 +8137,17 @@ + + /** + * Get the em:appManaged property. This prevents extensions from hiding + * extensions installed into locations other than the app-global location. + */ + _rdfGet_appManaged: function(item, property) { + var id = stripPrefix(item.Value, PREFIX_ITEM_URI); + var locationKey = this.getItemProperty(id, "installLocation"); +- if (locationKey != KEY_APP_GLOBAL) ++ if (locationKey != KEY_APP_GLOBAL && locationKey != KEY_GRE_GLOBAL) + return EM_L("false"); + return null; + }, + + /** + * Get the em:hidden property. This prevents extensions from hiding + * extensions installed into locations other than restricted locations. + */ +Index: mozilla/xpcom/io/nsAppDirectoryServiceDefs.h +=================================================================== +--- mozilla.orig/xpcom/io/nsAppDirectoryServiceDefs.h ++++ mozilla/xpcom/io/nsAppDirectoryServiceDefs.h +@@ -71,16 +71,17 @@ + + #define NS_APP_USER_PROFILES_ROOT_DIR "DefProfRt" // The dir where user profile dirs live. + #define NS_APP_USER_PROFILES_LOCAL_ROOT_DIR "DefProfLRt" // The dir where user profile temp dirs live. + + #define NS_APP_RES_DIR "ARes" + #define NS_APP_CHROME_DIR "AChrom" + #define NS_APP_PLUGINS_DIR "APlugns" // Deprecated - use NS_APP_PLUGINS_DIR_LIST + #define NS_APP_SEARCH_DIR "SrchPlugns" ++#define NS_GRE_PLUGINS_DIR "GrePlugns" // Usually you want NS_APP_PLUGINS_DIR_LIST + + #define NS_APP_CHROME_DIR_LIST "AChromDL" + #define NS_APP_PLUGINS_DIR_LIST "APluginsDL" + #define NS_APP_SEARCH_DIR_LIST "SrchPluginsDL" + + // -------------------------------------------------------------------------------------- + // Files and directories which exist on a per-profile basis + // These locations are typically provided by the profile mgr +Index: mozilla/xpcom/io/nsAppFileLocationProvider.cpp +=================================================================== +--- mozilla.orig/xpcom/io/nsAppFileLocationProvider.cpp ++++ mozilla/xpcom/io/nsAppFileLocationProvider.cpp +@@ -194,16 +194,22 @@ + rv = localFile->AppendRelativeNativePath(RES_DIR_NAME); + } + else if (nsCRT::strcmp(prop, NS_APP_CHROME_DIR) == 0) + { + rv = CloneMozBinDirectory(getter_AddRefs(localFile)); + if (NS_SUCCEEDED(rv)) + rv = localFile->AppendRelativeNativePath(CHROME_DIR_NAME); + } ++ else if (nsCRT::strcmp(prop, NS_GRE_PLUGINS_DIR) == 0) ++ { ++ rv = CloneMozGreDirectory(getter_AddRefs(localFile)); ++ if (NS_SUCCEEDED(rv)) ++ rv = localFile->AppendRelativeNativePath(PLUGINS_DIR_NAME); ++ } + else if (nsCRT::strcmp(prop, NS_APP_PLUGINS_DIR) == 0) + { + rv = CloneMozBinDirectory(getter_AddRefs(localFile)); + if (NS_SUCCEEDED(rv)) + rv = localFile->AppendRelativeNativePath(PLUGINS_DIR_NAME); + } + #ifdef XP_MACOSX + else if (nsCRT::strcmp(prop, NS_MACOSX_USER_PLUGIN_DIR) == 0) +@@ -276,16 +282,51 @@ + + if (localFile && NS_SUCCEEDED(rv)) + return localFile->QueryInterface(NS_GET_IID(nsIFile), (void**)_retval); + + return rv; + } + + ++NS_METHOD nsAppFileLocationProvider::CloneMozGreDirectory(nsILocalFile **aLocalFile) ++{ ++ NS_ENSURE_ARG_POINTER(aLocalFile); ++ nsresult rv; ++ ++ if (!mMozGreDirectory) ++ { ++ // Get the mozilla bin directory ++ // 1. Check the directory service first for NS_XPCOM_CURRENT_PROCESS_DIR ++ // This will be set if a directory was passed to NS_InitXPCOM ++ // 2. If that doesn't work, set it to be the current process directory ++ nsCOMPtr ++ directoryService(do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID, &rv)); ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ rv = directoryService->Get(NS_GRE_DIR, NS_GET_IID(nsIFile), getter_AddRefs(mMozGreDirectory)); ++ if (NS_FAILED(rv)) ++ return rv; ++ } ++ ++ nsCOMPtr aFile; ++ rv = mMozGreDirectory->Clone(getter_AddRefs(aFile)); ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ nsCOMPtr lfile = do_QueryInterface (aFile); ++ if (!lfile) ++ return NS_ERROR_FAILURE; ++ ++ NS_IF_ADDREF(*aLocalFile = lfile); ++ return NS_OK; ++} ++ ++ + NS_METHOD nsAppFileLocationProvider::CloneMozBinDirectory(nsILocalFile **aLocalFile) + { + NS_ENSURE_ARG_POINTER(aLocalFile); + nsresult rv; + + if (!mMozBinDirectory) + { + // Get the mozilla bin directory +@@ -578,30 +619,30 @@ + { + NS_ENSURE_ARG_POINTER(_retval); + *_retval = nsnull; + nsresult rv = NS_ERROR_FAILURE; + + if (!nsCRT::strcmp(prop, NS_APP_PLUGINS_DIR_LIST)) + { + #ifdef XP_MACOSX +- static const char* osXKeys[] = { NS_APP_PLUGINS_DIR, NS_MACOSX_USER_PLUGIN_DIR, NS_MACOSX_LOCAL_PLUGIN_DIR, nsnull }; +- static const char* os9Keys[] = { NS_APP_PLUGINS_DIR, NS_MAC_CLASSIC_PLUGIN_DIR, nsnull }; ++ static const char* osXKeys[] = { NS_APP_PLUGINS_DIR, NS_GRE_PLUGINS_DIR, NS_MACOSX_USER_PLUGIN_DIR, NS_MACOSX_LOCAL_PLUGIN_DIR, nsnull }; ++ static const char* os9Keys[] = { NS_APP_PLUGINS_DIR, NS_GRE_PLUGINS_DIR, NS_MAC_CLASSIC_PLUGIN_DIR, nsnull }; + static const char** keys; + + if (!keys) { + OSErr err; + long response; + err = ::Gestalt(gestaltSystemVersion, &response); + keys = (!err && response >= 0x00001000) ? osXKeys : os9Keys; + } + + *_retval = new nsAppDirectoryEnumerator(this, keys); + #else +- static const char* keys[] = { nsnull, NS_USER_PLUGINS_DIR, NS_APP_PLUGINS_DIR, nsnull }; ++ static const char* keys[] = { nsnull, NS_USER_PLUGINS_DIR, NS_APP_PLUGINS_DIR, NS_GRE_PLUGINS_DIR, nsnull }; + if (!keys[0] && !(keys[0] = PR_GetEnv("MOZ_PLUGIN_PATH"))) { + static const char nullstr = 0; + keys[0] = &nullstr; + } + *_retval = new nsPathsDirectoryEnumerator(this, keys); + #endif + NS_IF_ADDREF(*_retval); + rv = *_retval ? NS_OK : NS_ERROR_OUT_OF_MEMORY; +Index: mozilla/xpcom/io/nsAppFileLocationProvider.h +=================================================================== +--- mozilla.orig/xpcom/io/nsAppFileLocationProvider.h ++++ mozilla/xpcom/io/nsAppFileLocationProvider.h +@@ -55,22 +55,24 @@ + NS_DECL_NSIDIRECTORYSERVICEPROVIDER + NS_DECL_NSIDIRECTORYSERVICEPROVIDER2 + + private: + ~nsAppFileLocationProvider() {} + + protected: + NS_METHOD CloneMozBinDirectory(nsILocalFile **aLocalFile); ++ NS_METHOD CloneMozGreDirectory(nsILocalFile **aLocalFile); + /** + * Get the product directory. This is a user-specific directory for storing + * application settings (e.g. the Application Data directory on windows + * systems). + * @param aLocal If true, should try to get a directory that is only stored + * locally (ie not transferred with roaming profiles) + */ + NS_METHOD GetProductDirectory(nsILocalFile **aLocalFile, + PRBool aLocal = PR_FALSE); + NS_METHOD GetDefaultUserProfileRoot(nsILocalFile **aLocalFile, + PRBool aLocal = PR_FALSE); + + nsCOMPtr mMozBinDirectory; ++ nsCOMPtr mMozGreDirectory; + }; --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/protect_tests_by_ifdefs.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/protect_tests_by_ifdefs.patch @@ -0,0 +1,94 @@ +--- + content/xul/content/Makefile.in | 6 +++++- + dom/Makefile.in | 6 +++++- + toolkit/components/commandlines/Makefile.in | 5 ++++- + toolkit/components/downloads/Makefile.in | 6 +++++- + 4 files changed, 19 insertions(+), 4 deletions(-) + +Index: mozilla/content/xul/content/Makefile.in +=================================================================== +--- mozilla.orig/content/xul/content/Makefile.in ++++ mozilla/content/xul/content/Makefile.in +@@ -38,12 +38,16 @@ + DEPTH = ../../.. + topsrcdir = @top_srcdir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + + MODULE = xul +-DIRS = src test ++DIRS = src ++ ++ifdef ENABLE_TESTS ++DIRS += test ++endif + + include $(topsrcdir)/config/rules.mk + +Index: mozilla/toolkit/components/downloads/Makefile.in +=================================================================== +--- mozilla.orig/toolkit/components/downloads/Makefile.in ++++ mozilla/toolkit/components/downloads/Makefile.in +@@ -37,12 +37,16 @@ + + DEPTH = ../../.. + topsrcdir = @top_srcdir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + +-DIRS = public src test ++DIRS = public src ++ ++ifdef ENABLE_TESTS ++DIRS += test ++endif + + include $(topsrcdir)/config/rules.mk + +Index: mozilla/toolkit/components/commandlines/Makefile.in +=================================================================== +--- mozilla.orig/toolkit/components/commandlines/Makefile.in ++++ mozilla/toolkit/components/commandlines/Makefile.in +@@ -40,12 +40,15 @@ + srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + + DIRS = \ + public \ + src \ +- test \ + $(NULL) + ++ifdef ENABLE_TESTS ++DIRS += test ++endif ++ + include $(topsrcdir)/config/rules.mk +Index: mozilla/dom/Makefile.in +=================================================================== +--- mozilla.orig/dom/Makefile.in ++++ mozilla/dom/Makefile.in +@@ -38,12 +38,16 @@ + DEPTH = .. + topsrcdir = @top_srcdir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + + MODULE = dom +-DIRS = public src locales tests ++DIRS = public src locales ++ ++ifdef ENABLE_TESTS ++DIRS += tests ++endif + + include $(topsrcdir)/config/rules.mk + --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/rename_venkman_addon.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/rename_venkman_addon.patch @@ -0,0 +1,120 @@ +--- + extensions/venkman/Makefile.in | 2 +- + extensions/venkman/locales/Makefile.in | 2 +- + extensions/venkman/locales/generic/install.rdf | 2 +- + extensions/venkman/resources/Makefile.in | 2 +- + extensions/venkman/xpi/resources/install.rdf | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +Index: mozilla/extensions/venkman/Makefile.in +=================================================================== +--- mozilla.orig/extensions/venkman/Makefile.in ++++ mozilla/extensions/venkman/Makefile.in +@@ -48,17 +48,17 @@ + + EXTRA_COMPONENTS = js/venkman-service.js + DIST_FILES = xpi/resources/install.rdf + + VENKMAN_VERSION=$(shell cat $(srcdir)/version.txt) + + 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) + + # include config.mk before using the AB_CD var it sets in an if statement + include $(topsrcdir)/config/config.mk + + # always build en-US locale, add build locale if supported + BUILD_LOCALES = en-US + ifneq (,$(filter $(AB_CD),$(shell cat $(srcdir)/locales/all-locales))) +Index: mozilla/extensions/venkman/locales/Makefile.in +=================================================================== +--- mozilla.orig/extensions/venkman/locales/Makefile.in ++++ mozilla/extensions/venkman/locales/Makefile.in +@@ -43,17 +43,17 @@ + relativesrcdir = extensions/venkman/locales + + VENKMAN_VERSION=$(shell cat $(srcdir)/../version.txt) + VENKMAN_BASE_VERSION=$(shell echo "$(VENKMAN_VERSION)" | sed "s|\([0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\).*|\1|") + + 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) + + # include config.mk before we override the AB_CD var it sets + include $(topsrcdir)/config/config.mk + + # if the wanted language is not in all-locales, fall back to en-US + ifeq (,$(filter $(AB_CD),$(shell cat $(srcdir)/all-locales))) + override AB_CD = en-US +Index: mozilla/extensions/venkman/locales/generic/install.rdf +=================================================================== +--- mozilla.orig/extensions/venkman/locales/generic/install.rdf ++++ mozilla/extensions/venkman/locales/generic/install.rdf +@@ -10,17 +10,17 @@ + em:homepageURL="@MOZ_LANGPACK_HOMEPAGE@"> + #ifdef MOZ_LANGPACK_CONTRIBUTORS + @MOZ_LANGPACK_CONTRIBUTORS@ + #endif + + + + +- {f13b157f-b174-47e7-a34d-4815ddfdfeb8} ++ venkman@mozilla.org + @VENKMAN_BASE_VERSION@ + @VENKMAN_BASE_VERSION@.* + + + + + + +Index: mozilla/extensions/venkman/resources/Makefile.in +=================================================================== +--- mozilla.orig/extensions/venkman/resources/Makefile.in ++++ mozilla/extensions/venkman/resources/Makefile.in +@@ -43,15 +43,15 @@ + + include $(DEPTH)/config/autoconf.mk + + VENKMAN_VERSION=$(shell cat $(srcdir)/../version.txt) + + 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) + + 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 --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/patches/bzXXX_no_zlib_export_if_native.patch +++ xulrunner-1.9-1.9~b3+nobinonly/debian/patches/bzXXX_no_zlib_export_if_native.patch @@ -0,0 +1,27 @@ +Index: modules/zlib/standalone/Makefile.in +=================================================================== +RCS file: /cvsroot/mozilla/modules/zlib/standalone/Makefile.in,v +retrieving revision 1.20 +diff -u -p -8 -r1.20 Makefile.in +--- mozilla/modules/zlib/standalone/Makefile.in 31 Dec 2005 16:02:07 -0000 1.20 ++++ mozilla/modules/zlib/standalone/Makefile.in 1 Jan 2008 23:27:42 -0000 +@@ -43,17 +43,19 @@ VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + include $(srcdir)/../src/objs.mk + + MODULE = zlib + LIBRARY_NAME = mozz_s + + CSRCS = $(MODULES_ZLIB_SRC_LCSRCS) ++ifndef MOZ_NATIVE_ZLIB + EXPORTS = $(MODULES_ZLIB_SRC_EXPORTS) ++endif + + FORCE_STATIC_LIB = 1 + SRCS_IN_OBJDIR = 1 + + ifeq ($(OS_ARCH),WINNT) + USE_STATIC_LIBS=1 + endif + --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/xulrunner-1.9-dev.install +++ xulrunner-1.9-1.9~b3+nobinonly/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~b3+nobinonly.orig/debian/xulrunner-1.9.dirs +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9.dirs @@ -0,0 +1,7 @@ +# ubuntu global extension and plugin directories +usr/lib/xulrunner-addons/extensions +usr/lib/xulrunner-addons/plugins + +# distro independent extensions directories for third party installer +usr/lib/mozilla/extensions +usr/share/mozilla/extensions --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/compat +++ xulrunner-1.9-1.9~b3+nobinonly/debian/compat @@ -0,0 +1 @@ +5 --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/TODO +++ xulrunner-1.9-1.9~b3+nobinonly/debian/TODO @@ -0,0 +1,2 @@ +- copyright file +- do we want --enable-javaxpcom ? --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/control +++ xulrunner-1.9-1.9~b3+nobinonly/debian/control @@ -0,0 +1,96 @@ +Source: xulrunner-1.9 +Section: devel +Priority: optional +Maintainer: Ubuntu Mozilla Team +Homepage: http://developer.mozilla.org/en/docs/XULRunner +Vcs-Bzr: https://code.launchpad.net/~mozillateam/xulrunner/xulrunner-1.9.dev +Build-Depends: cdbs, debhelper (>= 5.0.37.2), dpkg-dev (>= 1.13.19), quilt, + g++-4.2, gcc-4.2, + autoconf2.13, autotools-dev, + libx11-dev (>= 2:1.0), libxt-dev, + libidl-dev, + libgtk2.0-dev (>= 2.12), libglib2.0-dev (>= 2.12), + libstartup-notification0-dev, + libgnomevfs2-dev (>= 1:2.16), libgnome2-dev (>= 2.16), libgnomeui-dev (>= 2.16), + libdbus-1-dev (>= 1.0.0), libdbus-glib-1-dev (>= 0.60), + libhal-dev (>= 0.5.8), + libcairo2-dev, + libpixman-1-dev, + libpng12-dev (>= 1.2.0), + libjpeg62-dev (>= 6b), + zlib1g-dev (>= 1:1.2.3), libbz2-dev, zip, + libreadline5-dev | libreadline-dev, + libkrb5-dev, + python-dev, python-support (>= 0.3), + binutils (>= 2.17-1) [mips mipsel], + libhunspell-dev (>= 1.1.5-2), + libnspr4-dev (>= 4.7.0~1.9b3), libnss3-dev (>= 3.12.0~1.9b3) +Standards-Version: 3.7.3 + +Package: xulrunner-1.9 +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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. + +Package: xulrunner-1.9-dev +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9 (>= ${source:Upstream-Version}), libnspr4-dev, libnss3-dev +Conflicts: libxul-dev, mozilla-dev +Description: XUL + XPCOM development files + This package contains the development headers, idl files and static libraries + needed to develop applications using Mozilla XUL Engine + +Package: xulrunner-1.9-gnome-support +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9 (= ${binary:Version}) +Description: Support for Gnome in xulrunner-1.9 applications + This is an extension to xulrunner-1.9 that allows XUL applications to use + protocol handlers from Gnome-VFS, such as smb or sftp, and other Gnome + integration features. + +Package: xulrunner-1.9-dom-inspector +Architecture: all +Depends: xulrunner-1.9 +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 +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~b3+nobinonly.orig/debian/docs +++ xulrunner-1.9-1.9~b3+nobinonly/debian/docs @@ -0,0 +1 @@ +debian/MPL --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/xulrunner-1.9-gnome-support.install +++ xulrunner-1.9-1.9~b3+nobinonly/debian/xulrunner-1.9-gnome-support.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/xulrunner-1.9*/components/libmozgnome.so +debian/tmp/usr/lib/xulrunner-1.9*/components/libnkgnomevfs.so --- xulrunner-1.9-1.9~b3+nobinonly.orig/debian/rules +++ xulrunner-1.9-1.9~b3+nobinonly/debian/rules @@ -0,0 +1,137 @@ +#!/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_VERSION=1.9 +DEB_MOZ_APPLICATION=xulrunner-$(DEB_MOZ_VERSION) + +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_XUL_DIR = /usr/lib/xulrunner-$(shell tail -1 mozilla/config/milestone.txt) + +DEB_SRCDIR := mozilla + +EXTRA_SYSTEM_CONFIGURE_FLAGS = $(NULL) + +USE_SYSTEM_CAIRO := $(shell pkg-config --exists 'cairo >= 1.5.8'; a=$$?; if test $$a != 1; then echo 1; fi) + +# for old cairo versions we cannot use system cairo +ifeq (1,$(USE_SYSTEM_CAIRO)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --enable-system-cairo +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --disable-system-cairo +endif + +# gutsy doesn't have the right system-nss/nspr +USE_SYSTEM_NSPR := $(shell pkg-config --exists 'nspr >= 4.7'; a=$$?; if test $$a != 1; then echo 1; fi) +ifeq (1,$(USE_SYSTEM_NSPR)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --with-system-nspr +endif + +USE_SYSTEM_NSS := $(shell pkg-config --exists 'nspr >= 3.12'; a=$$?; if test $$a != 1; then echo 1; fi) +ifeq (1,$(USE_SYSTEM_NSS)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --with-system-nss +endif + +CXX=g++-4.2 +CC=gcc-4.2 +export CXX CC + +DEB_AUTO_UPDATE_AUTOCONF=2.13 + +ifneq (,$(wildcard *.tar.bz2)$(DEBIAN_MOZCLIENT_EMBEDDED)) + DEB_TAR_SRCDIR := mozilla + MOZCLIENT_EMBEDDED = 1 + DEBIAN_XUL_DIR = /usr/lib/xulrunner-$(shell tail -1 build-tree/mozilla/config/milestone.txt) + include /usr/share/cdbs/1/rules/tarball.mk +endif +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 +-include /usr/share/mozilla-devscripts/$(DEB_MOZ_APPLICATION).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 + +CFLAGS = -g +CXXFLAGS = -g + +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=$(DEBIAN_XUL_DIR) \ + --enable-startup-notification \ + --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-mochitest \ + --disable-updater \ + --enable-optimize \ + --with-distribution-id=com.ubuntu \ + $(NULL) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + DEB_CONFIGURE_USER_FLAGS += \ + --disable-optimize \ + $(NULL) +endif + +ifeq (1,$(USE_SYSTEM_NSS)) +binary-install/$(DEB_MOZ_APPLICATION):: + dh_link usr/lib/nss/libnssckbi.so $(DEBIAN_XUL_DIR)/libnssckbi.so +endif + +binary-install/$(DEB_MOZ_APPLICATION):: + dh_link usr/lib/xulrunner-addons/extensions $(DEBIAN_XUL_DIR)/extensions + dh_link usr/lib/xulrunner-addons/plugins $(DEBIAN_XUL_DIR)/plugins + dh_link $(DEBIAN_XUL_DIR)/xulrunner /usr/bin/$(DEB_MOZ_APPLICATION) + dh_link $(DEBIAN_XUL_DIR)/xpcshell /usr/bin/xpcshell-$(DEB_MOZ_VERSION) + +post-patches:: debian/$(DEB_MOZ_APPLICATION).postrm + +debian/$(DEB_MOZ_APPLICATION).postrm: debian/$(DEB_MOZ_APPLICATION).postrm.in + sed -e 's,@XULDIR@,$(DEBIAN_XUL_DIR),g' < debian/$(DEB_MOZ_APPLICATION).postrm.in \ + > debian/$(DEB_MOZ_APPLICATION).postrm + +# 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 2>&1; \ + find $(DEB_SRCDIR) -type l -exec rm {} \; > /dev/null 2>&1 ; \ + rm -f debian/$(DEB_MOZ_APPLICATION).postrm +