--- firefox-3.0-3.6.9+build1+nobinonly.orig/mozilla-1.9.2-3.6.9+build1-source.tar.bz2.cdbs-config_list +++ firefox-3.0-3.6.9+build1+nobinonly/mozilla-1.9.2-3.6.9+build1-source.tar.bz2.cdbs-config_list @@ -0,0 +1,93 @@ +mozilla/config/config.mk +mozilla/modules/freetype2/builds/unix/config.guess +mozilla/modules/freetype2/builds/unix/config.sub +mozilla/nsprpub/config/config.mk +mozilla/nsprpub/build/autoconf/config.guess +mozilla/nsprpub/build/autoconf/config.sub +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/themes/winstripe/global/config.css +mozilla/toolkit/themes/pinstripe/global/config.css +mozilla/toolkit/components/viewconfig/content/config.xul +mozilla/toolkit/components/viewconfig/content/config.js +mozilla/toolkit/locales/en-US/chrome/global/config.dtd +mozilla/toolkit/locales/en-US/chrome/global/config.properties +mozilla/tools/leaky/config.h +mozilla/tools/jprof/stub/config.h +mozilla/ipc/chromium/src/third_party/libevent/config.h.in +mozilla/ipc/chromium/src/third_party/libevent/config.guess +mozilla/ipc/chromium/src/third_party/libevent/linux/config.h +mozilla/ipc/chromium/src/third_party/libevent/mac/config.h +mozilla/ipc/chromium/src/third_party/libevent/config.sub +mozilla/security/nss/tests/pkcs11/netscape/trivial/config.h.in +mozilla/security/nss/tests/pkcs11/netscape/suites/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/lib/sqlite/config.mk +mozilla/security/nss/lib/jar/config.mk +mozilla/security/nss/lib/pki/config.mk +mozilla/security/nss/lib/pkcs7/config.mk +mozilla/security/nss/lib/nss/config.mk +mozilla/security/nss/lib/pk11wrap/config.mk +mozilla/security/nss/lib/util/config.mk +mozilla/security/nss/lib/pkcs12/config.mk +mozilla/security/nss/lib/freebl/config.mk +mozilla/security/nss/lib/zlib/config.mk +mozilla/security/nss/lib/crmf/config.mk +mozilla/security/nss/lib/cryptohi/config.mk +mozilla/security/nss/lib/ckfw/capi/config.mk +mozilla/security/nss/lib/ckfw/builtins/config.mk +mozilla/security/nss/lib/ckfw/dbm/config.mk +mozilla/security/nss/lib/ckfw/config.mk +mozilla/security/nss/lib/ckfw/nssmkey/config.mk +mozilla/security/nss/lib/certhigh/config.mk +mozilla/security/nss/lib/dev/config.mk +mozilla/security/nss/lib/base/config.mk +mozilla/security/nss/lib/softoken/config.mk +mozilla/security/nss/lib/softoken/legacydb/config.mk +mozilla/security/nss/lib/ssl/config.mk +mozilla/security/nss/lib/smime/config.mk +mozilla/security/nss/lib/libpkix/pkix_pl_nss/pki/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/system/config.mk +mozilla/security/nss/lib/libpkix/pkix/checker/config.mk +mozilla/security/nss/lib/libpkix/pkix/certsel/config.mk +mozilla/security/nss/lib/libpkix/pkix/results/config.mk +mozilla/security/nss/lib/libpkix/pkix/util/config.mk +mozilla/security/nss/lib/libpkix/pkix/store/config.mk +mozilla/security/nss/lib/libpkix/pkix/crlsel/config.mk +mozilla/security/nss/lib/libpkix/pkix/config.mk +mozilla/security/nss/lib/libpkix/pkix/params/config.mk +mozilla/security/nss/lib/libpkix/pkix/top/config.mk +mozilla/security/nss/lib/libpkix/include/config.mk +mozilla/security/nss/lib/libpkix/config.mk +mozilla/security/nss/lib/sysinit/config.mk +mozilla/security/nss/lib/certdb/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/testutil/config.mk +mozilla/security/nss/cmd/libpkix/config.mk +mozilla/security/dbm/config/config.mk +mozilla/security/dbm/src/config.mk +mozilla/security/coreconf/config.mk +mozilla/media/liboggplay/src/liboggplay/config.h +mozilla/media/libfishsound/src/libfishsound/config.h +mozilla/media/libfishsound/include/fishsound/config.h +mozilla/media/liboggz/include/oggz/config.h +mozilla/media/libtheora/include/theora/config.h +mozilla/media/libtheora/lib/config.h +mozilla/js/src/tracevis/config.py +mozilla/js/src/config/config.mk +mozilla/js/src/tests/config.sh +mozilla/js/src/tests/config.mk +mozilla/js/src/config.mk +mozilla/js/src/build/autoconf/config.guess +mozilla/js/src/build/autoconf/config.sub +mozilla/js/ctypes/libffi/config.guess +mozilla/js/ctypes/libffi/config.sub +mozilla/build/autoconf/config.guess +mozilla/build/autoconf/config.sub --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/remove.binonly.sh +++ firefox-3.0-3.6.9+build1+nobinonly/debian/remove.binonly.sh @@ -0,0 +1,114 @@ +#! /bin/sh + +rm -fv ./build/wince/shunt/build/shunt.vcb +rm -fv ./build/wince/shunt/build/shunt.vco +#rm -fv ./directory/c-sdk/ldap/examples/macintosh/asearch \(2i\).68k.u +#rm -fv ./directory/c-sdk/ldap/examples/macintosh/asearch \(4i\).68k.u +#rm -fv ./directory/c-sdk/ldap/examples/macintosh/asearch PPC.u +# these are only files there; just do it quick and dirty because I don't understand how to fix the syntax it complains about: this does it: +rm -fv ./directory/c-sdk/ldap/examples/macintosh/*.u +rm -fv ./directory/c-sdk/ldap/libraries/macintosh/LDAPClient.mcp +rm -fv ./modules/oji/tests/script/killer.exe +rm -fv ./modules/plugin/samples/default/mac/NullPlugin.rsrc +rm -fv ./modules/plugin/tools/sdk/samples/basic/mac/Basic Plugin.mcp +rm -fv ./modules/plugin/tools/sdk/samples/basic/mac/Basic.rsrc +rm -fv ./modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable Plugin.mcp +rm -fv ./modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable PluginIDL.mcp +rm -fv ./modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable.rsrc +rm -fv ./other-licenses/7zstub/firefox/7zSD.sfx +rm -fv ./toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib +rm -fv ./toolkit/mozapps/update/src/updater/macbuild/Contents/PkgInfo +rm -fv ./extensions/manticore/resources/manticore.psd +rm -fv ./extensions/universalchardet/doc/UniversalCharsetDetection.doc +rm -fv ./config/bin2rc.exe +rm -fv ./config/makedep.exe +rm -fv ./config/mangle.exe +rm -fv ./config/mantomak.exe +rm -fv ./embedding/browser/activex/src/pluginhostctrl/cab/redist/ATL.DLL +rm -fv ./embedding/browser/activex/tests/vbrowse/browser.frx +rm -fv ./embedding/browser/activex/tests/vbrowse/frmToolBar.frx +rm -fv ./embedding/browser/cocoa/res/English.lproj/alert.nib/objects.nib +rm -fv ./embedding/browser/powerplant/resources/cfmAlias.rsrc +rm -fv ./embedding/browser/powerplant/resources/cfmAliasDebug.rsrc +rm -fv ./embedding/minimo/mozconfig +rm -fv ./embedding/qa/testembed/testembed.aps +rm -fv ./embedding/tests/MSDotNETCSEmbed/MSDotNETCSEmbed.suo +rm -fv ./embedding/tests/cocoaEmbed/res/English.lproj/MainMenu.nib/objects.nib +rm -fv ./embedding/wrappers/DotNETEmbed/DotNETEmbed.snk +rm -fv ./intl/unicharutil/tools/data/case.dat +rm -fv ./intl/unicharutil/tools/data/cmbcl.dat +rm -fv ./intl/unicharutil/tools/data/ctype.dat +rm -fv ./intl/unicharutil/tools/data/decomp.dat +rm -fv ./intl/unicharutil/tools/data/num.dat +rm -fv ./js/src/fdlibm/fdlibm.mdp +rm -fv ./js/src/js.mdp +rm -fv ./js/src/liveconnect/jsj_nodl.c +rm -fv ./plugin/oji/JEP/MRJPlugin.plugin/Contents/MacOS/MRJPlugin +rm -fv ./plugin/oji/JEP/MRJPlugin.plugin/Contents/MacOS/MRJPlugin.jar +rm -fv ./plugin/oji/JEP/MRJPlugin.plugin/Contents/Resources/MRJPlugin.rsrc +rm -fv ./plugin/oji/JEP/JavaEmbeddingPlugin.bundle/Contents/MacOS/JavaEmbeddingPlugin +rm -fv ./plugin/oji/JEP/JavaEmbeddingPlugin.bundle/Contents/Resources/Java/JavaEmbeddingPlugin.jar +rm -fv ./plugin/oji/MRJ/plugin/Resources/Dialogs.rsrc +rm -fv ./plugin/oji/MRJ/plugin/Resources/Strings.rsrc +rm -fv ./plugin/oji/MRJ/plugin/Resources/Version.rsrc +rm -fv ./plugin/oji/MRJ/plugin/MRJPlugin.jar +rm -fv ./plugin/oji/MRJ/plugin/netscape.plugin.jar +rm -fv ./plugin/oji/MRJ/plugin/Source/JMURLConnection +rm -fv ./plugin/oji/MRJ/testing/ConsoleApplet/ConsoleApplet.mcp +rm -fv ./plugin/oji/MRJ/testing/JSApplet/JSApplet.mcp +rm -fv ./plugin/oji/MRJ/testing/SwingApplet/TestApplet.mcp +rm -fv ./plugin/oji/MRJ/testing/TrivialApplet/MyApplet.mcp +rm -fv ./plugin/oji/MRJCarbon/MRJSDK/JavaFrameworks/JavaEmbeddingLib +rm -fv ./plugin/oji/MRJCarbon/plugin/MRJPlugin.jar +rm -fv ./plugin/oji/MRJCarbon/plugin/Resources/Dialogs.rsrc +rm -fv ./plugin/oji/MRJCarbon/plugin/Resources/Strings.rsrc +rm -fv ./plugin/oji/MRJCarbon/plugin/Resources/Version.rsrc +rm -fv ./xpcom/reflect/xptcall/tests/eVC4/XPTCInvoke_Testing.cpp +rm -fv ./xpcom/tests/StringFactoringTests/StringTest.mcp +rm -fv ./xpcom/typelib/xpidl/macplugin/compiler.rsrc +rm -fv ./xpcom/typelib/xpidl/macplugin/linker.rsrc +rm -fv ./xpcom/typelib/xpidl/macplugin/panel.rsrc +rm -fv ./xpcom/typelib/xpidl/macplugin/version.rsrc +rm -fv ./xpinstall/packager/mac/ASEncoder/build/ASEncoder.mcp +rm -fv ./xpinstall/packager/mac/ASEncoder/rsrc/ASEncoder.rsrc +rm -fv ./xpinstall/packager/mac/ASEncoder/src/ASEncoderUsage.script +rm -fv ./xpinstall/test/pre_checkin.xpi +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_Core.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_ForeignThreads.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_MPW.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_MSL.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_SIOUX.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_Sfio.PPC.Lib +rm -fv ./xpinstall/wizard/mac/rsrc/MIWCommon.rsrc +rm -fv ./xpinstall/wizard/mac/rsrc/Mozilla.rsrc +rm -fv ./xpinstall/wizard/os2/setuprsc/box_ch_d.bmp +rm -fv ./xpinstall/wizard/os2/setuprsc/box_chec.bmp +rm -fv ./xpinstall/wizard/os2/setuprsc/box_unch.bmp +rm -fv ./gfx/cairo/libpixman/src/pixman-vc71.lib +rm -fv ./gfx/src/mac/printerplugin/Resources/English.lproj/Localizable.strings +rm -fv ./gfx/src/mac/nsMacGFX.rsrc +rm -fv ./layout/doc/SpaceMgr_BlockReflSt_OD.sda +rm -fv ./layout/doc/object_diagram_template.sda +rm -fv ./layout/html/tests/block/bugs/RealSnow.jar +rm -fv ./webshell/tests/viewer/mac/cfmAlias.rsrc +rm -fv ./webshell/tests/viewer/mac/cfmAliasDebug.rsrc +rm -fv ./webshell/tests/viewer/mac/viewer.ppob +rm -fv ./webshell/tests/viewer/mac/viewer.rsrc +rm -fv ./webshell/tests/viewer/mac/viewercarb.rsrc +rm -fv ./webshell/tests/viewer/viewer-beos.rsrc +rm -fv ./xpfe/bootstrap/appleevents/nsAppleEvents.rsrc +rm -fv ./xpfe/bootstrap/apprunner-beos.rsrc +rm -fv ./mailnews/mapi/old/tests/mapitest/mapitest.ncb +rm -fv ./mailnews/mapi/old/tests/mapitest/mapitest.opt +rm -fv ./toolkit/mozapps/installer/windows/nsis/Processes.dll +rm -fv ./toolkit/mozapps/installer/windows/nsis/ShellLink.dll +rm -fv ./toolkit/mozapps/installer/windows/nsis/nsProcess.dll + +rm -fv ./toolkit/crashreporter/tools/win32/dump_syms.exe + +rm -fvr other-licenses/7zstub/ +rm -fv README/mozilla/README.os2 + +rm -fv netwerk/protocol/ftp/doc/rfc959.txt +rm -fv directory/c-sdk/ldap/docs/draft-ietf-ldapext-ldap-c-api-05.txt + --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/firefox.preinst +++ firefox-3.0-3.6.9+build1+nobinonly/debian/firefox.preinst @@ -0,0 +1,58 @@ +#!/bin/sh + +set -e + +# Remove a no-longer used conffile +rm_conffile() { + local PKGNAME="$1" + local CONFFILE="$2" + + [ -e "$CONFFILE" ] || return 0 + + local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" + local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ + sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi +} + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + local PKGNAME="$1" + local CONFFILE="$2" + + [ -e "$CONFFILE" ] || return 0 + + local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" + local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ + sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "3.6.6+nobinonly-0ubuntu0.8.04.1" && \ + dpkg --compare-versions "$2" gt "3.6.4+build6+nobinonly-0ubuntu0.8.04.1" ; then + prep_mv_conffile firefox "/etc/firefox/pref/firefox.js" + rm_conffile firefox "/etc/firefox/profile/bookmarks.html" + rm_conffile firefox "/etc/firefox/profile/localstore.rdf" + rm_conffile firefox "/etc/firefox/profile/mimeTypes.rdf" + rm_conffile firefox "/etc/firefox/profile/prefs.js" + rm_conffile firefox "/etc/firefox/profile/chrome/userChrome-example.css" + rm_conffile firefox "/etc/firefox/profile/chrome/userContent-example.css" + fi + ;; +abort-upgrade) + ;; +*) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 +esac --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/firefox.links +++ firefox-3.0-3.6.9+build1+nobinonly/debian/firefox.links @@ -0,0 +1,2 @@ +## /usr/bin/firefox-3.6 /usr/bin/firefox +/usr/lib/firefox-addons/searchplugins /usr/lib/firefox-addons/searchplugins/common --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/rules +++ firefox-3.0-3.6.9+build1+nobinonly/debian/rules @@ -0,0 +1,472 @@ +#!/usr/bin/make -f + +# 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) + +DEBIAN_NAME := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p') + +DEBIAN_APP_NAME := $(shell echo $(DEBIAN_NAME) | sed -e 's/-.*//') +DEBIAN_APP_NAME_VER := $(shell echo $(DEBIAN_NAME) | sed -e 's/^[^-]*-\{0,1\}\([^-]*\)$$/\1/') +DEBIAN_APP_NAME_OTHER := abrowser + +DEBIAN_NAME_OTHER := $(shell echo $(DEBIAN_NAME) | sed -e 's/$(DEBIAN_APP_NAME)/$(DEBIAN_APP_NAME_OTHER)/') + +BRANDING_NAME_OTHER := awesome-browser + +DEBIAN_META_NAME := $(shell grep '^Package: $(DEBIAN_APP_NAME)$$' $(CURDIR)/debian/control | sed -e 's/^Package: //') + +DEBIAN_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p') +DEBIAN_XUL_VER := $(shell MALLOC_OPTIONS=O xulrunner-1.9.2 --gre-version) +DEBIAN_XUL_DEV := /usr/lib/xulrunner-devel-$(DEBIAN_XUL_VER) +DEBIAN_XUL_DIR := usr/lib/xulrunner-$(DEBIAN_XUL_VER) +DEBIAN_FF3_VER = $(shell cat build-tree/mozilla/browser/config/version.txt) +DEBIAN_FF3_DIR = usr/lib/$(DEBIAN_APP_NAME)-$(DEBIAN_FF3_VER) +DEB_TAR_SRCDIR := mozilla + +WANT_UNIT_TESTS ?= 1 +DEB_MIN_SYSDEPS ?= 1 + +MOZCLIENT_PROJECTNAME := $(DEBIAN_NAME) +MOZCLIENT_PROJECTDIR := $(CURDIR)/debian/mozclient + +ifneq (,$(DEBIAN_META_NAME)) + DEBIAN_REAL_NAME = $(DEBIAN_META_NAME) + DEBIAN_REAL_NAME_OTHER = $(DEBIAN_APP_NAME_OTHER) +else + DEBIAN_REAL_NAME = $(DEBIAN_NAME) + DEBIAN_REAL_NAME_OTHER = $(DEBIAN_NAME_OTHER) +endif + +DISTRIB := $(shell lsb_release -i -s) +ifneq (,$(filter $(DISTRIB),Ubuntu)) + DISTRIB_VERSION_MAJOR := $(shell lsb_release -s -r | cut -d '.' -f 1) + DISTRIB_VERSION_MINOR := $(shell lsb_release -s -r | cut -d '.' -f 2) +endif + +# minVersion and maxVersion used in install.rdf +EM_TRANSLATION_VERSION = 3.6 +EM_TRANSLATION_MIN_VERSION = $(EM_TRANSLATION_VERSION) +EM_TRANSLATION_MAX_VERSION = $(EM_TRANSLATION_VERSION).* + +EXTRA_SYSTEM_CONFIGURE_FLAGS = $(NULL) + +DESKTOP = $(DEBIAN_REAL_NAME_OTHER).desktop +ifneq (,$(findstring ~hg,$(DEBIAN_VERSION))) + # codename branding for dailies + BRANDING = --with-branding=browser/branding/unofficial + DESKTOP_BRANDED = $(DEBIAN_REAL_NAME)-namoroka.desktop +else + # official branding for releases + BRANDING = --enable-official-branding + DESKTOP_BRANDED = $(DEBIAN_REAL_NAME)-final.desktop +endif + +# translation flags +MOZ_TRANSLATION_AUTO_XPI_OUTDIR := debian/lp-export-xpis/ +MOZ_TRANSLATION_AUTO_XPI_SEARCHDIRS := debian/$(DEBIAN_REAL_NAME) +MOZ_TRANSLATION_AUTO_XPI_LOCALE := en-US + +DEB_AUTO_UPDATE_AUTOCONF=2.13 + +include /usr/share/cdbs/1/rules/tarball.mk +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 $(CURDIR)/debian/mozclient/$(DEBIAN_NAME).mk +include /usr/share/mozilla-devscripts/lp-locale-export.mk + +# We don't want build-tree/mozilla/README to be shipped as a doc +DEB_INSTALL_DOCS_ALL := $(NULL) + +CFLAGS = -g +CXXFLAGS = -g + +LDFLAGS=$(shell echo $$LDFLAGS | sed -e 's/-Wl,-Bsymbolic-functions//') +export LDFLAGS + +export DEB_BUILD_HARDENING=1 + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +ifneq (armel, $(DEB_BUILD_ARCH)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --enable-optimize +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --enable-optimize=-O2 +endif +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --disable-optimize +endif + +# enable IPC only on i386, amd64 and armel +ENABLE_IPC ?= 1 +ifeq (,$(findstring i386,$(DEB_BUILD_ARCH))) +ifeq (,$(findstring amd64,$(DEB_BUILD_ARCH))) +ifeq (,$(findstring armel,$(DEB_BUILD_ARCH))) + ENABLE_IPC=0 +endif +endif +endif + +ifeq (1,$(ENABLE_IPC)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --enable-ipc +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --disable-ipc +endif + +# disable jit on sparc until bmo 502369 is fixable +ifneq (,$(findstring sparc,$(DEB_BUILD_ARCH))) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --disable-jit +endif + +$(info WANT_UNIT_TESTS=$(WANT_UNIT_TESTS)) +ifeq (1,$(WANT_UNIT_TESTS)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --enable-tests --enable-mochitest +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --disable-tests --disable-mochitest +endif + +ifneq (1, $(DEB_MIN_SYSDEPS)) + USE_SYSTEM_CAIRO := $(shell pkg-config --exists 'cairo >= 1.8.8'; a=$$?; if test $$a != 1; then echo 1; fi) +endif +# 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 + +ifneq (1, $(DEB_MIN_SYSDEPS)) + USE_SYSTEM_SQLITE := $(shell pkg-config --exists 'sqlite3 >= 3.6.16.1'; a=$$?; if test $$a != 1; then echo 1; fi) +endif +ifeq (1,$(USE_SYSTEM_SQLITE)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --enable-system-sqlite +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --disable-system-sqlite +endif + +ifneq (1, $(DEB_MIN_SYSDEPS)) + USE_SYSTEM_NSPR := $(shell pkg-config --exists 'nspr >= 4.8'; a=$$?; if test $$a != 1; then echo 1; fi) +endif +ifeq (1,$(USE_SYSTEM_NSPR)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --with-system-nspr +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --without-system-nspr +endif + +ifneq (1, $(DEB_MIN_SYSDEPS)) +USE_SYSTEM_NSS := $(shell pkg-config --exists 'nss >= 3.12.6'; a=$$?; if test $$a != 1; then echo 1; fi) +endif +ifeq (1,$(USE_SYSTEM_NSS)) + EXTRA_SYSTEM_CONFIGURE_FLAGS += --with-system-nss +else + EXTRA_SYSTEM_CONFIGURE_FLAGS += --without-system-nss +endif + +ifneq (1, $(DEB_MIN_SYSDEPS)) + system_jpeg_configure_flags := --with-system-jpeg=/usr + system_zlib_configure_flags := --with-system-zlib=/usr + system_myspell_configure_flags := --disable-system-myspell + system_xul_configure_flags := --with-libxul-sdk=$(DEBIAN_XUL_DEV) --with-system-libxul +else + system_jpeg_configure_flags := --without-system-jpeg + system_zlib_configure_flags := --without-system-zlib + system_myspell_configure_flags := --enable-system-myspell +endif + +# required for various features +BUILD_OFFICIAL = 1 +export BUILD_OFFICIAL + +DEB_CONFIGURE_USER_FLAGS= \ + $(EXTRA_SYSTEM_CONFIGURE_FLAGS) \ + --disable-debug \ + --with-user-appdir=.mozilla \ + $(system_jpeg_configure_flags) \ + $(system_zlib_configure_flags) \ + $(system_xul_configure_flags) \ + $(system_myspell_configure_flags) \ + --disable-crashreporter \ + --disable-composer \ + --disable-elf-dynstr-gc \ + --disable-gtktest \ + --disable-install-strip \ + --disable-installer \ + --disable-ldap \ + --disable-mailnews \ + --disable-profilesharing \ + --disable-strip \ + --disable-strip-libs \ + --disable-tests \ + --disable-mochitest \ + --disable-updater \ + --disable-xprint \ + --enable-application=browser \ + --enable-canvas \ + --enable-default-toolkit=cairo-gtk2 \ + --enable-gnomevfs \ + --enable-pango \ + --enable-postscript \ + --enable-svg \ + --enable-mathml \ + --enable-xft \ + --enable-xinerama \ + --enable-extensions=default,-reporter \ + --enable-safe-browsing \ + --enable-single-profile \ + --with-distribution-id=com.ubuntu \ + --enable-startup-notification \ + $(BRANDING) + +UUDECODE = \ + debsearch.gif \ + $(NULL) + +DEBIAN_EXECUTABLES = \ + firefox.sh \ + $(NULL) + +subst_files = \ + debian/$(DEBIAN_REAL_NAME).postinst \ + debian/$(DEBIAN_REAL_NAME).prerm \ + debian/firefox.sh \ + $(NULL) + +%: %.in + sed -e 's,@LIBDIR@,/$(DEBIAN_FF3_DIR),g' \ + -e 's,@APPNAME@,$(DEBIAN_REAL_NAME),g' < $< > $@ + +debian/firefox.sh: debian/firefox.sh.in + sed -e 's,@LIBDIR@,/$(DEBIAN_FF3_DIR),g' \ + -e 's,@META_NAME@,$(DEBIAN_META_NAME),g' \ + -e 's,@APPVER@,$(DEBIAN_APP_NAME_VER),g' < $< > $@ + +debian/migrator/ffox-beta-profile-migration-dialog: debian/migrator/main.c + $(CC) $(CFLAGS) -o $@ $< $(shell pkg-config --cflags --libs gtk+-2.0) + +BRANDING_MAKEFILES = ../../browser/branding/$(BRANDING_NAME_OTHER)/Makefile \ + ../../browser/branding/$(BRANDING_NAME_OTHER)/locales/Makefile \ + ../../browser/branding/$(BRANDING_NAME_OTHER)/content/Makefile \ + $(NULL) + +ifeq (1, $(DEB_MIN_SYSDEPS)) +post-patches:: debian/stamp-autotools-files-moz +debian/stamp-autotools-files-moz: + # Number of processors: $(PROCESSORS) [$(shell grep 'model name' /proc/cpuinfo | head -1)] + if [ "Z$(DEB_AUTO_UPDATE_AUTOCONF)" != Z ] || [ ! -e $(DEB_SRCDIR)/js/src/configure ]; \ + then cd $(DEB_SRCDIR)/js/src && `which autoconf$(DEB_AUTO_UPDATE_AUTOCONF) || which autoconf`; fi + touch $@ +endif + +common-build-arch:: + cd build-tree/mozilla/browser/locales/; \ + $(MAKE) SUBMAKEFILES="$(BRANDING_MAKEFILES)" $(BRANDING_MAKEFILES) + cd build-tree/mozilla/browser/locales/; \ + $(MAKE) -C ../../browser/branding/$(BRANDING_NAME_OTHER)/content/; \ + $(MAKE) -C ../../browser/branding/$(BRANDING_NAME_OTHER)/locales/ + +common-post-build-arch:: + cd build-tree/mozilla/; \ + mkdir -p $(CURDIR)/debian/tmp-$(DEBIAN_REAL_NAME)-branding/; \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp-$(DEBIAN_REAL_NAME)-branding/ + cd build-tree/mozilla/browser/locales/; \ + $(MAKE) -C ../../browser/branding/$(BRANDING_NAME_OTHER)/; \ + $(MAKE) -C ../../browser/app/ + cd build-tree/mozilla/; \ + mkdir -p $(CURDIR)/debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/; \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/ + +binary-install/$(DEBIAN_REAL_NAME):: + dh_installdirs $(DEBIAN_FF3_DIR)/distribution/ + dh_installdirs -p$(DEBIAN_REAL_NAME) /usr/lib/firefox-addons/searchplugins/en-US + rm -rf debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/icons + rm -rf debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/chrome/icons + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/classic.* \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/en-US.* \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/browser.* \ + $(DEBIAN_FF3_DIR)/chrome +ifeq (1, $(DEB_MIN_SYSDEPS)) + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/pippki.* \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/toolkit.* \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/comm.* \ + $(DEBIAN_FF3_DIR)/chrome + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/*.so \ + $(DEBIAN_FF3_DIR) + + $(foreach i,$(wildcard debian/tmp/usr/lib/firefox-*/components/*.so), \ + dh_install -p$(DEBIAN_REAL_NAME) $(i);) true + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/firefox-*bin + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/defaults/autoconfig + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/defaults/pref + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/greprefs + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/res + +else + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/components/libbrowsercomps.so + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/components/libbrowserdirprovider.so + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/defaults/preferences +endif +ifeq (1,$(ENABLE_IPC)) + dh_install -p$(DEBIAN_REAL_NAME) \ + debian/tmp/usr/lib/firefox-*/plugin-container +endif + touch debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/.autoreg + if [ -d debian/$(DEBIAN_REAL_NAME)/usr/lib/xulrunner-addons/extensions ] ; then \ + touch $(foreach dir,$(wildcard debian/$(DEBIAN_REAL_NAME)/usr/lib/xulrunner-addons/extensions/*),$(dir)/chrome.manifest) ; \ + fi + dh_install debian/firefox.sh $(DEBIAN_FF3_DIR) + dh_installdocs -p$(DEBIAN_REAL_NAME) debian/firefox.cfg + dh_install debian/$(DEBIAN_REAL_NAME)-restart-required.update-notifier $(DEBIAN_FF3_DIR) + dh_install debian/migrator/ffox-beta-profile-migration-dialog $(DEBIAN_FF3_DIR) + dh_link $(DEBIAN_FF3_DIR)/firefox.sh usr/bin/$(DEBIAN_REAL_NAME) +ifneq (,$(DEBIAN_META_NAME)) + dh_link $(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME) $(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME_OTHER) + dh_link $(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME) $(DEBIAN_FF3_DIR)/$(DEBIAN_NAME_OTHER) + dh_link $(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME) $(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME)-$(DEBIAN_APP_NAME_VER) + dh_install debian/tmp/$(DEBIAN_FF3_DIR)/$(DEBIAN_META_NAME) $(DEBIAN_FF3_DIR)/ +else + dh_link $(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME)-$(DEBIAN_APP_NAME_VER) $(DEBIAN_FF3_DIR)/$(DEBIAN_NAME_OTHER) + install -m 755 debian/tmp/$(DEBIAN_FF3_DIR)/$(DEBIAN_REAL_NAME) debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/$(DEBIAN_APP_NAME)-$(DEBIAN_APP_NAME_VER) +endif + dh_link usr/lib/firefox-addons/extensions $(DEBIAN_FF3_DIR)/extensions + dh_link usr/lib/firefox-addons/plugins $(DEBIAN_FF3_DIR)/plugins + dh_link usr/lib/firefox-addons/searchplugins $(DEBIAN_FF3_DIR)/searchplugins + dh_link etc/$(DEBIAN_NAME)/pref $(DEBIAN_FF3_DIR)/defaults/syspref + dh_link etc/$(DEBIAN_NAME)/profile $(DEBIAN_FF3_DIR)/defaults/profile + dh_link usr/share/myspell/dicts $(DEBIAN_FF3_DIR)/dictionaries + rm -f debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/chrome/browser-branding* + dh_install debian/distribution.ini $(DEBIAN_FF3_DIR)/distribution/ + dh_link usr/lib/firefox-addons/searchplugins $(DEBIAN_FF3_DIR)/distribution/searchplugins + install -m 644 debian/tmp/$(DEBIAN_FF3_DIR)/searchplugins/* debian/$(DEBIAN_REAL_NAME)/usr/lib/firefox-addons/searchplugins/en-US/ + +binary-install/$(DEBIAN_REAL_NAME_OTHER)-branding:: + dh_install -p$(DEBIAN_REAL_NAME_OTHER)-branding \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/icons $(DEBIAN_FF3_DIR) + dh_install -p$(DEBIAN_REAL_NAME_OTHER)-branding \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/icons $(DEBIAN_FF3_DIR)/chrome + dh_install -p$(DEBIAN_REAL_NAME_OTHER)-branding \ + debian/tmp-$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/chrome/awesome-* $(DEBIAN_FF3_DIR)/chrome/ + dh_link -p$(DEBIAN_REAL_NAME_OTHER)-branding $(DEBIAN_FF3_DIR)/icons/mozicon128.png usr/share/pixmaps/$(DEBIAN_REAL_NAME_OTHER).png + mkdir -p debian/$(DEBIAN_REAL_NAME_OTHER)-branding/usr/share/applications/ +ifneq (,$(DEBIAN_META_NAME)) + cp -f debian/$(DESKTOP) \ + debian/$(DEBIAN_REAL_NAME_OTHER)-branding/usr/share/applications/$(DEBIAN_APP_NAME_OTHER).desktop +else + cp -f debian/$(DESKTOP) \ + debian/$(DEBIAN_REAL_NAME_OTHER)-branding/usr/share/applications/$(DEBIAN_APP_NAME_OTHER)-$(DEBIAN_APP_NAME_VER).desktop +endif +ifeq (1, $(DEB_MIN_SYSDEPS)) + dh_installdirs -p$(DEBIAN_REAL_NAME_OTHER)-branding $(DEBIAN_FF3_DIR)/defaults/pref/ +else + dh_installdirs -p$(DEBIAN_REAL_NAME_OTHER)-branding $(DEBIAN_FF3_DIR)/defaults/preferences/ +endif + +binary-install/$(DEBIAN_REAL_NAME)-branding:: + rm -rf debian/$(DEBIAN_REAL_NAME)-branding/$(DEBIAN_FF3_DIR)/icons + rm -rf debian/$(DEBIAN_REAL_NAME)-branding/$(DEBIAN_FF3_DIR)/chrome/icons + dh_install -p$(DEBIAN_REAL_NAME)-branding \ + debian/tmp-$(DEBIAN_REAL_NAME)-branding/$(DEBIAN_FF3_DIR)/chrome/browser-branding* $(DEBIAN_FF3_DIR)/chrome + dh_install -p$(DEBIAN_REAL_NAME)-branding \ + debian/tmp-$(DEBIAN_REAL_NAME)-branding/$(DEBIAN_FF3_DIR)/icons $(DEBIAN_FF3_DIR) + dh_install -p$(DEBIAN_REAL_NAME)-branding \ + debian/tmp-$(DEBIAN_REAL_NAME)-branding/$(DEBIAN_FF3_DIR)/chrome/icons $(DEBIAN_FF3_DIR)/chrome + dh_link -p$(DEBIAN_REAL_NAME)-branding $(DEBIAN_FF3_DIR)/icons/mozicon128.png usr/share/pixmaps/$(DEBIAN_NAME).png + mkdir -p debian/$(DEBIAN_REAL_NAME)-branding/usr/share/applications/ +ifneq (,$(DEBIAN_META_NAME)) + cp -f debian/$(DESKTOP_BRANDED) \ + debian/$(DEBIAN_REAL_NAME)-branding/usr/share/applications/$(DEBIAN_APP_NAME).desktop +else + cp -f debian/$(DESKTOP_BRANDED) \ + debian/$(DEBIAN_REAL_NAME)-branding/usr/share/applications/$(DEBIAN_APP_NAME)-$(DEBIAN_APP_NAME_VER).desktop +endif + +ifeq (1, $(DEB_MIN_SYSDEPS)) +pref_target = debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/defaults/pref/ubuntu-useragent.js +else +pref_target = debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/defaults/preferences/ubuntu-useragent.js +endif + +binary-install/$(DEBIAN_REAL_NAME):: $(pref_target) + +$(pref_target): debian/ubuntu-useragent.js.tmpl + sed \ + -e 's/@VENDOR@/'`lsb_release -i -s`'/g' \ + -e 's/@VENDOR_SUB@/'`lsb_release -r -s`'/g' \ + -e 's/@VENDOR_COMMENT@/'`lsb_release -c -s`'/g' \ + < $< > $@ + +ifeq (1, $(DEB_MIN_SYSDEPS)) +abrowser_pref_target = debian/$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/defaults/pref/ubuntu-abrowser.js +else +abrowser_pref_target = debian/$(DEBIAN_REAL_NAME_OTHER)-branding/$(DEBIAN_FF3_DIR)/defaults/preferences/ubuntu-abrowser.js +endif + +binary-install/$(DEBIAN_REAL_NAME_OTHER)-branding:: $(abrowser_pref_target) + +$(abrowser_pref_target): debian/ubuntu-abrowser.js.tmpl + sed \ + -e 's/@APP_VERSION@/$(DEBIAN_FF3_VER)/' \ + < $< > $@ + +LOCALE_VERSION = $(shell echo $(DEBIAN_VERSION) | sed -e 's/~hg.*/pre/' | tr -d '~') + +ifeq (1, $(DEB_MIN_SYSDEPS)) +GNOME_SUPPORT_FILES = libmozgnome.so libnkgnomevfs.so +endif + +binary-post-install/$(DEBIAN_REAL_NAME):: auto-locale-xpi.mk/translate compare + sed \ + -e 's/@EM_VERSION@/$(EM_TRANSLATION_VERSION)/' \ + -e 's/@EM_FIREFOX_MIN_VERSION@/$(EM_TRANSLATION_MIN_VERSION)/' \ + -e 's/@EM_FIREFOX_MAX_VERSION@/$(EM_TRANSLATION_MAX_VERSION)/' \ + < debian/translation-support/install.rdf.in > debian/install.rdf + cd debian && zip lp-export-xpis/en-US.xpi install.rdf +ifeq (,$(findstring $(EM_TRANSLATION_VERSION), $(LOCALE_VERSION))) + $(warning EM_TRANSLATION_VERSION=$(EM_TRANSLATION_VERSION) LOCALE_VERSION=$(LOCALE_VERSION). You need to explicitly adjust the translation version and min/max bounds.) +endif + $(foreach file,$(GNOME_SUPPORT_FILES),rm -fv debian/$(DEBIAN_REAL_NAME)/usr/lib/firefox-*/components/$(file);) true + +ifeq (1, $(DEB_MIN_SYSDEPS)) +# we want the gnome dependencies not to be in the main package at shlibdeps runtime, hence we dont +# install them at binary-install/* stage, but copy them over _after_ the shlibdeps had been generated +binary-predeb/$(DEBIAN_REAL_NAME):: + $(foreach file,$(GNOME_SUPPORT_FILES),cp -vf debian/tmp/usr/lib/firefox-*/components/$(file) debian/$(DEBIAN_REAL_NAME)/usr/lib/firefox-*/components/;) true + + $(foreach lib,libsoftokn3.so libfreebl3.so libnssdbm3.so, \ + LD_LIBRARY_PATH=debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR):$$LD_LIBRARY_PATH \ + build-tree/mozilla/dist/bin/shlibsign -v -i debian/$(DEBIAN_REAL_NAME)/$(DEBIAN_FF3_DIR)/$(lib);) + +# ... and remove them from the -gnome-support package accordingly +binary-predeb/$(DEBIAN_REAL_NAME)-gnome-support:: + $(foreach file,$(GNOME_SUPPORT_FILES),rm -vf debian/$(DEBIAN_REAL_NAME)-gnome-support/usr/lib/firefox-*/components/$(file);) true +endif + +pre-build:: $(subst_files) debian/migrator/ffox-beta-profile-migration-dialog + set -e; for i in $(UUDECODE); do \ + uudecode -o debian/$$i debian/$$i.uu; \ + done ; \ + for i in $(DEBIAN_EXECUTABLES); do \ + chmod a+x debian/$$i; \ + done + +clean:: + set -e; for i in $(UUDECODE); do \ + rm -f debian/$$i; \ + done ; + rm -f debian/$(DEBIAN_REAL_NAME).desktop + rm -f $(subst_files) debian/install.rdf + rm -f debian/migrator/ffox-beta-profile-migration-dialog + rm -f debian/migrator/*~ + rm -rf debian/tmp-* --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/ubuntu-abrowser.js.tmpl +++ firefox-3.0-3.6.9+build1+nobinonly/debian/ubuntu-abrowser.js.tmpl @@ -0,0 +1,2 @@ +// This is the pref file for abrowser +pref("general.useragent.extra.firefox", "Firefox/@APP_VERSION@"); --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/copyright +++ firefox-3.0-3.6.9+build1+nobinonly/debian/copyright @@ -0,0 +1,738 @@ +This package was debianized by Eric Dorland on +Thu, 05 Jun 2003 01:01:22 -0400 + +It was downloaded from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ + +The source tarball is an aggregate of several different works in which the +main one, developed by the Mozilla Project, is firefox. + +Other works include gzip, bzip2, sqlite, libjpeg, libpng, cairo, and others. +Please see the sections following the copyright statements for firefox for +these. + +=== firefox + +Overall, the firefox project is licensed under the terms of the Mozilla +Public License version 1.1 or, at your option, under the terms of the GNU +eneral 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 files may still contain licensing notices claiming licensing under +other combinations of NPL, MPL, GPL and LGPL. They are files that were missed +by the upstream relicensing script, but all the permissions required for +relicensing were indeed provided. + +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 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. + +The modules/plugin/base/public/npruntime.h file is licensed under the +following terms: + + Copyright (c) 2004, Apple Computer, Inc. and The Mozilla Foundation. + 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 names of Apple Computer, Inc. ("Apple") or The Mozilla + Foundation ("Mozilla") nor the names of their contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY APPLE, MOZILLA AND THEIR 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 APPLE, MOZILLA OR + THEIR 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 toolkit/mozapps/update/src/updater/bspatch.cpp and +toolkit/mozapps/update/src/updater/bspatch.h files are licensed under the +following terms: + + Copyright 2003,2004 Colin Percival + All rights reserved + + Redistribution and use in source and binary forms, with or without + modification, are permitted providing 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. + + 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. + +Some but not all the files in netwerk/dns/src/ are licensed under the +following terms: + + Copyright (c) 2001,2002 Japan Network Information Center. + All rights reserved. + + By using this file, you agree to the terms and conditions set forth bellow. + + LICENSE TERMS AND CONDITIONS + + The following License Terms and Conditions apply, unless a different + license is obtained from Japan Network Information Center ("JPNIC"), + a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda, + Chiyoda-ku, Tokyo 101-0047, Japan. + + 1. Use, Modification and Redistribution (including distribution of any + modified or derived work) in source and/or binary forms is permitted + under this License Terms and Conditions. + + 2. Redistribution of source code must retain the copyright notices as they + appear in each source code file, this License Terms and Conditions. + + 3. Redistribution in binary form must reproduce the Copyright Notice, + this License Terms and Conditions, in the documentation and/or other + materials provided with the distribution. For the purposes of binary + distribution the "Copyright Notice" refers to the following language: + "Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved." + + 4. The name of JPNIC may not be used to endorse or promote products + derived from this Software without specific prior written approval of + JPNIC. + + 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC + "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 JPNIC 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 DAMAGES. + +Some files in plugin/oji/JEP/ are licensed under the following terms: + + Copyright (c) 2004, Steven Michaud, All Rights Reserved + + 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. + +The extensions/auth/gssapi.h file is licensed under the following terms: + + Copyright 1993 by OpenVision Technologies, Inc. + + 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 appears in all copies and + that both that copyright notice and this permission notice appear in + supporting documentation, and that the name of OpenVision not be used + in advertising or publicity pertaining to distribution of the software + without specific, written prior permission. OpenVision makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied warranty. + + OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL OPENVISION 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. + +The gfx/src/xlib/xregion.h and gfx/src/gtk/xregion.h are licensed under the +following terms: + + Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, + and the Massachusetts Institute of Technology, Cambridge, 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 names of Digital or MIT 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. + +=== 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 some files added by the mozilla project, 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. --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/docs +++ firefox-3.0-3.6.9+build1+nobinonly/debian/docs @@ -0,0 +1 @@ +debian/MPL --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/ubuntu-useragent.js.tmpl +++ firefox-3.0-3.6.9+build1+nobinonly/debian/ubuntu-useragent.js.tmpl @@ -0,0 +1,5 @@ + +pref ("general.useragent.vendor", "@VENDOR@"); +pref ("general.useragent.vendorSub", "@VENDOR_SUB@"); +pref ("general.useragent.vendorComment", "@VENDOR_COMMENT@"); + --- firefox-3.0-3.6.9+build1+nobinonly.orig/debian/changelog +++ firefox-3.0-3.6.9+build1+nobinonly/debian/changelog @@ -0,0 +1,4551 @@ +firefox-3.0 (3.6.9+build1+nobinonly-0ubuntu0.8.04.1) hardy-security; urgency=low + + * New upstream release v3.6.9 (FIREFOX_3_6_9_BUILD1) + - see USN-975-1 + + -- Chris Coulson Wed, 25 Aug 2010 15:26:08 +0100 + +firefox-3.0 (3.6.8+build1+nobinonly-0ubuntu0.8.04.1) hardy-security; urgency=low + + * New upstream release v3.6.8 (FIREFOX_3_6_8_BUILD1) + - see USN-957-2 + + -- Chris Coulson Fri, 23 Jul 2010 10:47:30 +0200 + +firefox-3.0 (3.6.7+build2+nobinonly-0ubuntu0.8.04.1) hardy-security; urgency=low + + * New upstream release v3.6.7 (FIREFOX_3_6_7_BUILD2) + - see USN-957-1 + + -- Chris Coulson Thu, 15 Jul 2010 22:38:49 +0100 + +firefox-3.0 (3.6.6+nobinonly-0ubuntu0.8.04.2) hardy-security; urgency=low + + * Fix LP: #600022 - don't ship files which conflict with the Firefox 2 + package. Revert the change to install the preferences in /etc/firefox + and add some logic to move them back again. Install the icon as + firefox-3.0.png. + - update debian/firefox-3.0.preinst + - update debian/firefox-final.desktop + - update debian/firefox-minefield.desktop + - update debian/firefox-namoroka.desktop + - update debian/firefox.install + - update debian/firefox.postinst.in + - add debian/firefox.preinst + - update debian/rules + * Bump the firefox-3.0 conflict on firefox - this avoids an unnecessary + conffile prompt for users upgrading from 3.6.6+nobinonly-0ubuntu0.8.04.1 + - update debian/control + * Clean up files left in /etc/firefox/profile by version + 3.6.6+nobinonly-0ubuntu0.8.04.1 + - update debian/firefox.preinst + + -- Chris Coulson Wed, 30 Jun 2010 13:52:46 +0100 + +firefox-3.0 (3.6.6+nobinonly-0ubuntu0.8.04.1) hardy-security; urgency=low + + * New major upstream release v3.6.6 (FIREFOX_3_6_6_RELEASE) + - see USN-930-1 + * Note that sun-java5-plugin has no support for Firefox 3.6. Users of + sun-java5-plugin are advised to upgrade to sun-java6-plugin + + * Switch to using unversioned binaries. This means that firefox and + firefox-gnome-support are no longer meta-packages depending on the latest + versioned binary packages, but they ship the binary components. Convert + firefox-3.0* packages to meta packages which pull in the unversioned binaries + to ensure a smooth upgrade path + - update debian/control + - rename debian/firefox-3.0-dev.install => debian/firefox-dev.install + - rename debian/firefox-3.0-dev.links => debian/firefox-dev.links + - rename debian/firefox-3.0-final.desktop => debian/firefox-final.desktop + - rename debian/firefox-3.0-gnome-support.install => debian/firefox-gnome-support.install + - rename debian/firefox-3.0-gnome-support.postinst.in => debian/firefox-gnome-support.postinst + - rename debian/firefox-3.0-minefield.desktop => debian/firefox-minefield.desktop + - rename debian/firefox-3.0-granparadiso.desktop => debian/firefox-namoroka.desktop + - rename debian/firefox-3.0-restart-required.update-notifier => debian/firefox-restart-required.update-notifier + - rename debian/firefox-3.0.dirs => debian/firefox.dirs + - rename debian/firefox-3.0.install => debian/firefox.install + - rename debian/firefox-3.0.links => debian/firefox.links + - rename debian/firefox-3.0.menu => debian/firefox.menu + - rename debian/firefox-3.0.postinst.in => debian/firefox.postinst.in + - rename debian/firefox-3.0.prerm => debian/firefox.prerm.in + - update Icon name in debian/firefox-final.desktop + - update Icon, Exec and StartupWMClass fields in debian/firefox-minefield.desktop + - update Name and Description in debian/firefox-restart-required.update-notifier + - update debian/firefox.links to not create versioned link in /usr/bin + - update fields in debian/firefox.menu + - update debian/firefox.postinst.in + - update debian/firefox.prerm.in + * Implement MIN_SYS_DEPS approach that does not use system xulrunner + and only a minimal set of system dependencies. + + drop patches not required anymore: + - delete debian/patches/dont_depend_on_nspr_sources.patch + - update debian/patches/series + + move .install lines that depend on whether MIN_SYS_DEPS is used or not + to debian/rules in ifneq (,$(MIN_SYS_DEPS)) blocks + - update debian/rules + - update debian/firefox.install + + ship gnome support .so's inside of the main package, but keep dependencies in + the (now empty) gnome-support package; to achieve this, we first install + the gnome support files in the -gnome-support package and move them to the + main package _after_ shlib depends where generated + - update debian/rules + + do not build-depend on xulrunner dev package anymore; local xulrunner builds + with MIN_SYS_DEPS=0 should still work though + - update debian/control + + fix firefox.sh to handle all-static build + - update debian/firefox.sh.in + * Fix LP: #398121 - firefox-3.5-gnome-support failed to install/upgrade; we + make the postinst script more failsafe + - update debian/firefox-gnome-support.postinst + * Add libstartup-notification0-dev to build-deps as it now seems to be + mandatory on lpia + - update debian/control + * Add libasound2-dev to Build-Depends for the new HTML5