summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-03-23 16:28:21 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-03-23 16:28:21 +0000
commita8d7db7c211fd5fed6eeac72f3a14ed4097fe374 (patch)
treeabe7f26a5bbe3c491303f43c99f7057f8d1b64c8
parentmozilla moved from net-www to www-client (diff)
downloadhistorical-a8d7db7c211fd5fed6eeac72f3a14ed4097fe374.tar.gz
historical-a8d7db7c211fd5fed6eeac72f3a14ed4097fe374.tar.bz2
historical-a8d7db7c211fd5fed6eeac72f3a14ed4097fe374.zip
mozilla is now moved to www-client
-rw-r--r--net-www/mozilla/ChangeLog1046
-rw-r--r--net-www/mozilla/Manifest23
-rw-r--r--net-www/mozilla/files/1.3/mozilla-1.3-fix-RAW-target.patch12
-rw-r--r--net-www/mozilla/files/10mozilla3
-rw-r--r--net-www/mozilla/files/digest-mozilla-1.7.53
-rw-r--r--net-www/mozilla/files/digest-mozilla-1.7.5-r13
-rw-r--r--net-www/mozilla/files/digest-mozilla-1.7.63
-rw-r--r--net-www/mozilla/files/digest-mozilla-1.7.6-r13
-rw-r--r--net-www/mozilla/files/google.src29
-rw-r--r--net-www/mozilla/files/icon/mozilla-icon.pngbin2350 -> 0 bytes
-rw-r--r--net-www/mozilla/files/icon/mozilla.desktop8
-rw-r--r--net-www/mozilla/files/mozilla-1.7.3-4ft2.patch656
-rw-r--r--net-www/mozilla/files/mozilla-1.7.5-stackgrowth.patch37
-rw-r--r--net-www/mozilla/files/mozilla-alpha-xpcom-subs-fix.patch139
-rw-r--r--net-www/mozilla/files/mozilla-hppa.patch232
-rw-r--r--net-www/mozilla/files/mozilla-rebuild-databases.pl99
-rw-r--r--net-www/mozilla/files/mozilla-stackgrowth.patch37
-rw-r--r--net-www/mozilla/files/svg-cairo-0.3.0-fix.patch22
-rw-r--r--net-www/mozilla/files/xft.js3
-rw-r--r--net-www/mozilla/metadata.xml5
-rw-r--r--net-www/mozilla/mozilla-1.7.5-r1.ebuild360
-rw-r--r--net-www/mozilla/mozilla-1.7.5.ebuild349
-rw-r--r--net-www/mozilla/mozilla-1.7.6-r1.ebuild371
-rw-r--r--net-www/mozilla/mozilla-1.7.6.ebuild360
24 files changed, 0 insertions, 3803 deletions
diff --git a/net-www/mozilla/ChangeLog b/net-www/mozilla/ChangeLog
deleted file mode 100644
index 76fc66b6826f..000000000000
--- a/net-www/mozilla/ChangeLog
+++ /dev/null
@@ -1,1046 +0,0 @@
-# ChangeLog for net-www/mozilla
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.228 2005/03/23 15:42:50 agriffis Exp $
-
-*mozilla-1.7.6-r1 (23 Mar 2005)
-
- 23 Mar 2005; Aron Griffis <agriffis@gentoo.org> +mozilla-1.7.6-r1.ebuild:
- Use a stub script instead of symlink to mozilla-launcher. This in
- combination with mozilla-launcher-1.28 should fix #78890
-
-*mozilla-1.7.6 (23 Mar 2005)
-
- 23 Mar 2005; Brad Laue <brad@gentoo.org> +mozilla-1.7.6.ebuild:
- Bump to 1.7.6. Security fixes detailed in bug #84074.
-
- 23 Mar 2005; Brad Laue <brad@gentoo.org> +files/mozilla-stackgrowth.patch,
- mozilla-1.7.5-r1.ebuild, mozilla-1.7.5.ebuild:
- Change patchname of stackgrowth-patch for simplicity.
-
- 16 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
- mozilla-1.7.5-r1.ebuild:
- Use proper toolchain commands.
-
- 05 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
- mozilla-1.7.5-r1.ebuild:
- Multilib fixes.
-
-*mozilla-1.7.5-r1 (03 Mar 2005)
-
- 03 Mar 2005; Chris White <chriswhite@gentoo.org> +mozilla-1.7.5-r1.ebuild:
- Fix bug #57534 with a small revision bump (postgreSQL support in mozilla).
-
- 27 Feb 2005; Brad Laue <brad@gentoo.org> mozilla-1.7.5.ebuild:
- Build fix for systems with Cairo >=0.3.0 installed.
-
- 24 Jan 2005; Aron Griffis <agriffis@gentoo.org> -files/enigmail-Makefile,
- -files/gtk2mozilla_head_patch2, -files/ipc-1.0.6-nsPipeChannel.patch,
- -files/ipc-1.0.7-nsPipeChannel.patch, -files/mozilla,
- -files/mozilla-1.4-amd64.patch, -files/mozilla-1.6-gcc-3.4.patch,
- -files/mozilla-1.7-amd64.patch, -files/mozilla-ft-bytecode.patch,
- -files/mozilla-new-freetype2.patch, -files/mozilla-xft-unix-prefs.patch,
- -files/mozilla.sh, -files/1.2/mozilla-1.2-branch-update.patch.bz2,
- -files/1.2/mozilla-1.2-cutnpaste-limit-fix.patch.bz2,
- -files/1.2/mozilla-1.2-image-reload-memleak.patch,
- -files/1.2/mozilla-1.2.1-Xrender-includes.patch.bz2,
- -files/1.2/mozilla-1.2b-Xft-includes.patch.bz2,
- -files/1.2/mozilla-1.2b-default-plugin-less-annoying.patch.bz2,
- -files/1.2/mozilla-1.2b-freetype.patch.bz2,
- -files/1.2/mozilla-1.2b-gtk2.patch.bz2,
- -files/1.2/mozilla-1.2b-over-the-spot.patch.bz2,
- -files/1.2/mozilla-1.2b-wallet.patch.bz2, -files/enigmail/Makefile-enigmail,
- -files/enigmail/Makefile-ipc, -mozilla-1.6-r1.ebuild,
- -mozilla-1.7-r1.ebuild, -mozilla-1.7.2-r1.ebuild, -mozilla-1.7.3-r2.ebuild,
- -mozilla-1.7.3-r3.ebuild, -mozilla-1.7.3.ebuild, mozilla-1.7.5.ebuild,
- -mozilla-1.7.ebuild:
- Mark 1.7.5 stable on ia64. Trim older ebuilds and cruft in FILESDIR
-
- 02 Jan 2005; Guy Martin <gmsoft@gentoo.org> mozilla-1.7.5.ebuild:
- Stable on hppa. YAY !
-
- 31 Dec 2004; Chris White <chriswhite@gentoo.org>
- +files/mozilla-1.7.5-stackgrowth.patch, mozilla-1.7.5.ebuild:
- Added an upstream stack growth patch. This fixes some debug weirdness.
-
- 29 Dec 2004; <SeJo@gentoo.org> mozilla-1.7.5.ebuild:
- stable on ppc glsa: 68976
-
- 22 Dec 2004; Guy Martin <gmsoft@gentoo.org> +files/mozilla-hppa.patch,
- mozilla-1.7.5.ebuild:
- Added hppa support.
-
- 21 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> mozilla-1.7.5.ebuild:
- Stable on alpha, bug 68976.
-
- 21 Dec 2004; Olivier Crete <tester@gentoo.org> mozilla-1.7.5.ebuild:
- Stable in x86 wrt security bug #68976
-
- 20 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org> mozilla-1.7.5.ebuild:
- Stable on sparc wrt #68976
-
- 20 Dec 2004; Dylan Carlson <absinthe@gentoo.org> mozilla-1.7.5.ebuild:
- Stable on amd64, bug 68976.
-
-*mozilla-1.7.5 (18 Dec 2004)
-
- 18 Dec 2004; Brad Laue <brad@gentoo.org> +mozilla-1.7.5.ebuild:
- Update to 1.7.5. Myriad bugfixes listed in the changelog at
- http://www.mozilla.org/releases/mozilla1.7.5/changelog.html.
-
- 18 Nov 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7.3-r3.ebuild:
- Require recent xorg-x11 which provides xrender.pc #71504
-
-*mozilla-1.7.3-r3 (18 Nov 2004)
-
- 18 Nov 2004; Aron Griffis <agriffis@gentoo.org>
- +files/mozilla-1.7.3-4ft2.patch, +mozilla-1.7.3-r3.ebuild:
- Update to enigmail 0.89.0 #64547. Add patch for freetype-2.1.8+ binary
- compatibility #59849. Switch from svg-libart to svg-cairo because the libart
- version we were using depends on the bad freetype APIs. Additionally we're
- using cairo in firefox so it's good to be in sync
-
- 16 Nov 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7.3-r2.ebuild:
- Remove IUSE=gtk2 because we always depend on gtk2 now
-
-*mozilla-1.7.3-r2 (13 Nov 2004)
-
- 13 Nov 2004; Aron Griffis <agriffis@gentoo.org> -mozilla-1.7.3-r1.ebuild,
- +mozilla-1.7.3-r2.ebuild:
- Use mozconfig_final to resolve --enable-extensions to a single option
-
-*mozilla-1.7.3-r1 (13 Nov 2004)
-
- 13 Nov 2004; Aron Griffis <agriffis@gentoo.org> +mozilla-1.7.3-r1.ebuild:
- use mozconfig.eclass instead of mozilla.eclass for building
-
- 13 Nov 2004; <plasmaroo@gentoo.org> mozilla-1.7.3.ebuild:
- Marking stable on IA64.
-
- 03 Oct 2004; Brad Laue <brad@gentoo.org> mozilla-1.7.3.ebuild:
- Stop using deprecated WANT_AUTOCONF syntax, bug 60827
-
- 19 Sep 2004; <kloeri@gentoo.org> mozilla-1.7.3.ebuild:
- Stable on alpha, bug 63996.
-
- 17 Sep 2004; Olivier Crete <tester@gentoo.org> mozilla-1.7.3.ebuild:
- Stable in x86 wrt security bug #63996
-
- 16 Sep 2004; Travis Tilley <lv@gentoo.org> mozilla-1.7.3.ebuild:
- stable on amd64
-
- 16 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> mozilla-1.7.3.ebuild:
- Stable on sparc wrt #63996
-
- 16 Sep 2004; <SeJo@gentoo.org> mozilla-1.7.3.ebuild:
- stable ppc bug: 63996
-
-*mozilla-1.7.3 (15 Sep 2004)
-
- 15 Sep 2004; <agriffis@gentoo.org> +mozilla-1.7.3.ebuild:
- Bump to 1.7.3 for security bug 63996. This ebuild uses the libart_lgpl
- distribution from the 1.7.2 tarball for mozsvg support.
-
- 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> mozilla-1.6-r1.ebuild:
- Switch to use epause and ebeep, bug #62950
-
-*mozilla-1.7.2-r1 (18 Aug 2004)
-
- 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> +mozilla-1.7.2-r1.ebuild,
- -mozilla-1.7.2.ebuild:
- Bump revision to carry out change in mozilla.eclass (Fix bug 60668: Galeon
- doesn't build without oji enabled, so enable it regardless of USE=java)
-
- 15 Aug 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.6-r1.ebuild,
- mozilla-1.7-r1.ebuild, mozilla-1.7.2.ebuild, mozilla-1.7.ebuild:
- Fix bug 60285: the negated conditions in DEPEND were expressed incorrectly,
- for example !moznoxft is wrong, it should be !moznoxft?
-
- 14 Aug 2004; <plasmaroo@gentoo.org> mozilla-1.7.2.ebuild:
- Marking stable on "x86"; bug #59419.
-
- 09 Aug 2004; Jason Wever <weeve@gentoo.org> mozilla-1.7.2.ebuild:
- Stable on sparc wrt security bug #59419.
-
- 08 Aug 2004; <agriffis@gentoo.org> mozilla-1.7.2.ebuild:
- Now that mozilla.org has re-released the source tarball, switch to theirs
- instead of mine, and call it source3. I wouldn't care except that theirs seems
- to build with mozsvg whereas mine doesn't.
-
- 08 Aug 2004; <agriffis@gentoo.org> mozilla-1.7.2.ebuild:
- stable on alpha and ia64
-
- 09 Aug 2004; Tom Martin <slarti@gentoo.org> mozilla-1.7.2.ebuild:
- Stable on amd64 for security bug #59419.
-
-*mozilla-1.7.2 (08 Aug 2004)
-
- 08 Aug 2004; Aron Griffis <agriffis@gentoo.org>
- +files/ipc-1.0.7-nsPipeChannel.patch, +mozilla-1.7.2.ebuild:
- Bump to 1.7.2 using source2 tarball, completed using 'make -f client.mk
- checkout'
-
- 05 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> mozilla-1.7.ebuild:
- Stable on sparc
-
- 24 Jul 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7-r1.ebuild:
- Use emake -j1 for security stuff #58049
-
-*mozilla-1.7-r1 (22 Jul 2004)
-
- 22 Jul 2004; Aron Griffis <agriffis@gentoo.org> +mozilla-1.7-r1.ebuild:
- New ~arch revision to try switching to emake and move mozilla-launcher to
- RDEPEND #57352
-
- 22 Jul 2004; Travis Tilley <lv@gentoo.org> mozilla-1.7.ebuild:
- stable on amd64
-
- 22 Jul 2004; Brad Laue <brad@gentoo.org> mozilla-1.7.ebuild:
- Stable on x86.
-
- 04 Jul 2004; Brad Laue <brad@gentoo.org> mozilla-1.7.ebuild:
- Remove mozaccess, mozxmlterm USE flags, as these are a hazard. They're not for
- end-use, and are broken or constantly moving around upstream as it is.
-
- 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7.ebuild:
- Fix bug 54519: stop using get_number_of_jobs
-
- 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.6-r1.ebuild:
- QA - fix use invocation
-
- 22 Jun 2004; Brad Laue <brad@gentoo.org> files/icon/mozilla.desktop,
- mozilla-1.7.ebuild:
- Move the Mozilla .desktop menu entry to the freedesktop compliant location.
- Further enhancement including translations to follow.
-
- 20 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> mozilla-1.7.ebuild:
- Disabled the amd64 patch as it is not necessary any longer.
-
- 19 Jun 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.6-r1.ebuild,
- mozilla-1.7.ebuild, mozilla-1.7_rc1-r1.ebuild, mozilla-1.7_rc2.ebuild,
- mozilla-1.7_rc3.ebuild:
- Fix bug 54402: change mozilla description from browser to application suite
-
- 19 Jun 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.6-r1.ebuild,
- mozilla-1.7.ebuild, mozilla-1.7_rc1-r1.ebuild, mozilla-1.7_rc2.ebuild,
- mozilla-1.7_rc3.ebuild:
- Fix bug 54402: change mozilla description from browser to application suite
-
-*mozilla-1.7 (19 Jun 2004)
-
- 19 Jun 2004; Brad Laue <brad@gentoo.org> +mozilla-1.7.ebuild:
- Bump to Mozilla 1.7.
-
- 17 Jun 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_rc2.ebuild,
- mozilla-1.7_rc3.ebuild:
- Fix bug 54158: enigmail upstream changed the tarball content without bumping
- the version. Use the new tarball on mirror://gentoo to solve the problem. When
- the next version of enigmail is released, plan to switch back to the upstream
- tarball.
-
-*mozilla-1.7_rc3 (09 Jun 2004)
-
- 09 Jun 2004; Aron Griffis <agriffis@gentoo.org> +mozilla-1.7_rc3.ebuild:
- Update to 1.7_rc3
-
-*mozilla-1.7_rc2 (09 Jun 2004)
-
- 09 Jun 2004; Aron Griffis <agriffis@gentoo.org>
- +files/ipc-1.0.6-nsPipeChannel.patch, -mozilla-1.7_beta-r1.ebuild,
- mozilla-1.7_rc1-r1.ebuild, -mozilla-1.7_rc1.ebuild, +mozilla-1.7_rc2.ebuild:
- Update to 1.7_rc2. Trim older 1.7 versions
-
- 07 May 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_beta-r1.ebuild,
- mozilla-1.7_rc1-r1.ebuild, mozilla-1.7_rc1.ebuild:
- Depend on mozilla-launcher-1.7-r1 which installs in /usr/libexec
-
- 02 May 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_rc1-r1.ebuild:
- Update to >=mozilla-launcher-1.5 since it has more 1.7 fixes
-
- 02 May 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_rc1-r1.ebuild:
- Use >=mozilla-launcher-1.3 since it has the 1.7 fixes
-
-*mozilla-1.7_rc1-r1 (29 Apr 2004)
-
- 29 Apr 2004; Aron Griffis <agriffis@gentoo.org> +mozilla-1.7_rc1-r1.ebuild:
- - Fixed bug 31581 (xprint disabled in mozilla ebuild)
- - Fixed bug 24522 (re-enable SVG support on mozilla)
- - Fixed bug 25332 (pentium4 should be fixed in gcc-3.2.3)
- - Re-organized src_compile into sections and cleaned up
- ENABLE_OPTIMIZE handling using flag-o-matic functions; no more
- finagling CFLAGS with bash substitutions in the ebuild
- - Move all CFLAGS and arch handling into src_compile to correct QA errors
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_rc1.ebuild:
- - Fix bug 21667 (replacing -march=pentium4 in mozilla ebuilds
- outdated) by checking for gcc >= 3.2.3
- - Fix bug 48878 (mozilla-1.7_rc1 pkg-config files say 1.7b) by
- overwriting milestone.txt in src_unpack
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
- +files/mozilla-1.6-gcc-3.4.patch, mozilla-1.6-r1.ebuild:
- Fix bug 47870 (mozilla fails to compile with gcc 3.4) with one-line patch. The
- patch doesn't seem to apply to 1.7, hopefully the problem is already fixed
- there
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
- +files/mozilla-1.7-amd64.patch, mozilla-1.7_beta-r1.ebuild,
- mozilla-1.7_rc1.ebuild:
- Update amd64 patch for bug 45378. Thanks to Duncan Hill and Nigel Hannam for
- the updated patch
-
-*mozilla-1.7_rc1 (26 Apr 2004)
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.6-r1.ebuild,
- mozilla-1.7_beta-r1.ebuild, mozilla-1.7_rc1.ebuild:
- - Honor moznomail for enigmail, ipc and gnupg in SRC_URI.
- - Fix bug 45671 (mozilla 1.6-r1 compiled with -fstack-protector
- crashes on keyboard input) with filter-flags in both 1.6-r1 and
- 1.7_rc1
- - Remove entire installed instance from /usr/lib/mozilla in pkg_preinst
- prior to merging new version. Hopefully this will solve many
- problems that people have had, and hopefully it won't break
- anything. Fixes bug 27719
-
- 30 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; mozilla-1.6-r1.ebuild,
- mozilla-1.7_alpha.ebuild, mozilla-1.7_beta-r1.ebuild,
- mozilla-1.7_beta.ebuild:
- Change x11-base/xfree dependency to virtual/x11.
-
- 28 Mar 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_beta-r1.ebuild:
- Add missing dodir before dosym for bug 46049
-
- 28 Mar 2004; Aron Griffis <agriffis@gentoo.org> -mozilla-1.5-r1.ebuild,
- -mozilla-1.6.ebuild:
- Remove older ebuilds for bug 43072: Cross-domain javascript exploit
-
- 29 Mar 2004; Lars Weiler <pylon@gentoo.org> mozilla-1.6-r1.ebuild:
- stable on ppc
-
- 28 Mar 2004; Jon Portnoy <avenj@gentoo.org> mozilla-1.6-r1.ebuild :
- Stable on AMD64
-
-*mozilla-1.7_beta-r1 (27 Mar 2004)
-
- 27 Mar 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_beta-r1.ebuild:
- Add dependency on mozilla-launcher to bring this up to par with firefox
- capabilities. Shorten the ebuild from 621 to 553 lines. Also update
- syntax: replace [...] with [[...]]; replace backticks with $(...); replace
- if [ -n `use ...` ] with if use ...; employ use_enable/use_with when
- possible
-
-*mozilla-1.7_beta (23 Mar 2004)
-
- 23 Mar 2004; Brad Laue <brad@gentoo.org> mozilla-1.7_beta.ebuild:
- Add Mozilla 1.7 beta. Currently needing the most testing is the new GNOME-VFS
- support for smb:// URLs.
-
- 21 Mar 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.5-r1.ebuild,
- mozilla-1.6-r1.ebuild, mozilla-1.6.ebuild, mozilla-1.7_alpha.ebuild:
- Fix bug 33159 by making virtual/xft dependant on !moznoxft. This is really
- kinda silly since mozilla requires xfree, which provides virtual/xft, but
- whatever. Also remove deprecated ? : syntax from DEPEND
-
- 18 Mar 2004; Aron Griffis <agriffis@gentoo.org> files/mozilla.sh:
- Fix bug 25556 by using "$@" instead of $* in mozilla.sh, thanks to Zhen Lin
- who reported this on 2003-07-30
-
- 09 Mar 2004; <agriffis@gentoo.org> mozilla-1.6-r1.ebuild:
- stable on alpha and ia64
-
- 08 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> mozilla-1.6-r1.ebuild:
- stable on sparc
-
- 07 Mar 2004; Brad Laue <brad@gentoo.org> mozilla-1.6-r1.ebuild:
- Stable on x86. New version of enigmail, and Xinerama support.
-
-*mozilla-1.7_alpha (25 Feb 2004)
-
- 25 Feb 2004; Brad Laue <brad@gentoo.org> mozilla-1.7_alpha.ebuild,
- files/mozilla-rebuild-databases.pl, files/icon/mozilla-icon.png,
- files/icon/mozilla.desktop:
- Mozilla 1.7 alpha, masked for testing.
-
-*mozilla-1.6-r1 (15 Feb 2004)
-
- 15 Feb 2004; Brad Laue <brad@gentoo.org> mozilla-1.6-r1.ebuild:
- Bump to the next version of enigmail, and enable experimental (for now)
- xinerama support.
-
- 15 Feb 2004; Brad Laue <brad@gentoo.org> files/10mozilla:
- Add /usr/lib/mozilla/defaults/pref to CONFIG_PROTECT, saving local
- administrative changes to mozilla behaviour across upgrades.
-
- Be careful to update the files in this directory, as they're sure to change
- often.
-
- 09 Feb 2004; <gustavoz@gentoo.org> mozilla-1.6.ebuild:
- Marked stable on sparc
-
- 06 Feb 2004; Brad Laue <brad@gentoo.org> mozilla-1.6.ebuild:
- Bump to stable on x86.
-
- 29 Jan 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.5-r1.ebuild:
- stable on alpha and ia64
-
- 17 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> mozilla-1.5-r1.ebuild:
- set ppc in keywords
-
-*mozilla-1.6 (16 Jan 2004)
-
- 16 Jan 2004; Brad Laue <brad@gentoo.org> mozilla-1.6.ebuild:
- Bump to Mozilla 1.6. Many new features/bugfixes.
-
- 29 Dec 2003; Jason Wever <weeve@gentoo.org> :
- removed stray digest file.
-
-*mozilla-1.6b (14 Dec 2003)
-
- 14 Dec 2003; Brad Laue <brad@gentoo.org> mozilla-1.6b.ebuild:
- Bump masked version to 1.6b.
-
- 27 Nov 2003; Brad Laue <brad@gentoo.org> mozilla-1.5-r1.ebuild:
- Remove the mozaccess USE flag, as the warning isn't enough to prevent people
- from valiantly trying to build it :P
-
- 22 Nov 2003; Jason Wever <weeve@gentoo.org> mozilla-1.5-r1.ebuild:
- Marked stable on sparc.
-
- 21 Nov 2003; Aron Griffis <agriffis@gentoo.org> mozilla-1.5-r1.ebuild,
- mozilla-1.6a.ebuild:
- Another fix to alpha/ia64 CFLAGS handling
-
-*mozilla-1.6a (20 Nov 2003)
-
- 20 Nov 2003; Brad Laue <brad@gentoo.org> mozilla-1.6a.ebuild:
- Introducing Mozilla 1.6a, to aid in the release of new final versions.
-
- 20 Nov 2003; Aron Griffis <agriffis@gentoo.org> mozilla-1.5-r1.ebuild:
- Minor fix to alpha/ia64 CFLAGS handling
-
- 18 Nov 2003; Aron Griffis <agriffis@gentoo.org> mozilla-1.5-r1.ebuild:
- Merge arch-specific CFLAGS into a single case statement. Make it work for ia64
- and alpha
-
- 18 Nov 2003; Brad Laue <brad@gentoo.org> mozilla-1.5-r1.ebuild:
- At long last, move 1.5 into stable.
-
- There are a number of upstream QA issues, such as the non-default extension
- access-builtin failing to build properly. Please read all the ebuild messages
- before proceeding with your build, as you may need to alter your moz* USE
- flags slightly.
-
- mozsvg support has been removed from this release, as the code in the mozilla
- trunk is old. Discussion of merging the new branch SVG code into the
- mozilla ebuilds is taking place with the Mozilla SVG project people, and will
- result in far better SVG support than has been available in previous Mozilla
- builds.
-
-*mozilla-1.5-r1 (16 Nov 2003)
-
- 16 Nov 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.1.ebuild,
- mozilla-1.5-r1.ebuild:
- Bump version for new enigmail, import mozilla 1.4.1
-
- 14 Nov 2003; Aron Griffis <agriffis@gentoo.org> mozilla-1.4-r3.ebuild:
- Stable on ia64
-
- 25 Oct 2003; Brad Laue <brad@gentoo.org> mozilla-1.5.ebuild:
- Add a warning about the non-default extensions, as they're not guaranteed to
- build and will break the mozilla compile from time to time. Use at your own
- risk.
-
- 20 Oct 2003; Brad Laue <brad@gentoo.org> mozilla-1.5.ebuild:
- Re-enable support for SMP, clean up some commentary in the ebuild, fix moz*
- local USE flags to reflect the new defaults for mozilla 1.5
-
- 18 Oct 2003; Brad Laue <brad@gentoo.org> mozilla-1.5.ebuild:
- Fix ipc download site for mozilla 1.5
-
- 18 Oct 2003; Brad Laue <brad@gentoo.org> mozilla-1.0.1-r3.ebuild,
- mozilla-1.1-r1.ebuild, mozilla-1.2.1-r5.ebuild, mozilla-1.3-r2.ebuild,
- mozilla-1.4-r3.ebuild, mozilla-1.4-r4.ebuild:
- Fix SRC_URI to reflect the new ftp.mozilla.org directory structure
-
- 17 Oct 2003; Brad Laue <brad@gentoo.org> mozilla-1.5.ebuild:
- Fix package URL for the tarball - ftp.mozilla.org directory structure has
- changed since the move to oregonstate.
-
-*mozilla-1.5 (17 Oct 2003)
-
- 17 Oct 2003; Brad Laue <brad@gentoo.org> mozilla-1.5.ebuild:
- Version bump - Mozilla 1.5
-
- 02 Oct 2003; Brad House <brad_mssw@gentoo.org> mozilla-1.4-r4.ebuild,
- files/mozilla-1.4-amd64.patch:
- amd64 build fixes based on mandrakes patch set
-
- 25 Sep 2003; Tavis Ormandy <taviso@gentoo.org> mozilla-1.4-r4.ebuild:
- add -L/usr/X11R6/lib on alpha.
-
-*mozilla-1.4-r4 (21 Sep 2003)
-
- 21 Sep 2003; Brad Laue <brad@gentoo.org> mozilla-1.3-r2.ebuild,
- mozilla-1.4-r2.ebuild, mozilla-1.4-r4.ebuild:
- Enigmail version bump
-
- 11 Sep 2003; Luca Barbato <lu_zero@gentoo.org> mozilla-1.4-r3.ebuild:
- Added a fix for ppc and reordered a bit
-
- 20 Aug 2003; Luca Barbato <lu_zero@gentoo.org> mozilla-1.4-r3.ebuild:
- Marked ppc
-
- 12 Aug 2003; Jason Wever <weeve@gentoo.org> mozilla-1.4-r3.ebuild:
- Changed ~sparc keyword to sparc.
-
- 04 Aug 2003; Aron Griffis <agriffis@gentoo.org> mozilla-1.4-r3.ebuild:
- Stable on alpha
-
- 04 Aug 2003; Brad Laue <brad@gentoo.org> mozilla-1.4-r3.ebuild:
- Stable on x86
-
- 03 Aug 2003; Brad Laue <brad@gentoo.org> mozilla-1.4-r3.ebuild:
- Filter the same flags firebird does.
-
-*mozilla-1.4-r3 (31 Jul 2003)
-
- 31 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4-r3.ebuild:
- New enigmail version (again)
-
-*mozilla-1.4-r2 (26 Jul 2003)
-
- 26 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4-r2.ebuild:
- Stable on x86.
-
-*mozilla-1.4-r2 (24 Jul 2003)
-
- 24 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4-r2.ebuild:
- Another enigmail version bump.
-
-*mozilla-1.4-r1 (18 Jul 2003)
-
- 18 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4-r1.ebuild:
- Enigmail version bump, track download sites
-
- 18 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
- Build fix on 2.6 series kernels.
-
- 13 Jul 2003; Martin Schlemmer <azarah@gentoo.org> files/1.2/mozilla-1.2-image-reload-memleak.patch :
- Fix trailing CRs cause patch to fail with latest patch (2.5.9).
-
- 12 Jul 2003; foser <foser@gentoo.org> mozilla-1.4.ebuild :
- Make orbit dep gtk1 only (#18153)
-
- 12 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
- Stable on x86
-
- 12 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
- Re-enable mozcalendar, as this builds with no dependencies anymore.
-
- 11 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
- Remove the mozinterfaceinfo keyword, as this is built by default as part of
- webservices. Possible addition of moznowebservices by Azarah to come.
-
- 10 Jul 2003; Christian Birchinger <joker@gentoo.org> mozilla-1.4.ebuild:
- Use replace-sparc64-flags from flag-o-matic.eclass to replace the sparc64
- CFLAGS
-
- 09 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild,
- files/enigmail-0.76.1-Makefile:
- Remove makemake from the ebuild and return to the practice of a prebuilt
- makefile for enigmail - too many dependency problems were caused by one simple
- script.
-
- 08 Jul 2003; Tavis Ormandy <taviso@gentoo.org> mozilla-1.4.ebuild:
- explicitly link with libX11 on alpha.
-
- 08 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
- Add dependency on tcsh if USE="crypt", as ./makemake requires it.
-
- 08 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
- Bring Mozilla 1.4 with enigmail out into the open now that mozdev is back and
- the files are on our mirrors.
-
- Small change to the enigmail sources, which seem not to include a Makefile
- anymore. Oh well.
-
-*mozilla-1.4 (06 Jul 2003)
-
- 06 Jul 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.4.ebuild:
- New version. Some cleanups; enigmail needs fixing as I cannot connect
- to mozdev.org.
-
- 29 Jun 2003; Tavis Ormandy <taviso@gentoo.org> mozilla-1.3-r2.ebuild:
- stable on alpha
-
- 20 Jun 2003; Jason Wever <weeve@gentoo.org> mozilla-1.3-r2.ebuild:
- Changed ~sparc keyword to sparc.
-
-*mozilla-1.3-r2 (09 Jun 2003)
-
- 09 Jun 2003; Brad Laue <brad@gentoo.org> mozilla-1.3-r2.ebuild:
- Compile fix for Pentium 4 users - filter out -msse2 if it's present in CFLAGS
-
- 21 May 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.3-r1.ebuild :
- Mark stable for x86. Update enigmail bug #20234.
-
- 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org> mozilla.sh :
- Fix it to run with bash and not sh, as it have bash specific features,
- bug #19782.
-
- 18 Apr 2003; foser <foser@gentoo.org> mozilla-1.3-r1.ebuild :
- Fixed xft dep to be virtual
-
- 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.3-r1.ebuild :
- Change permissions on compreg.dat in hope to fix bug #19034.
-
- 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.3-r1.ebuild :
- Seems like the mail component have issues if the composer is disabled,
- so only disable if we disable mail.
-
-*mozilla-1.3-r1 (22 Mar 2003)
-
- 22 Mar 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.3-r1.ebuild :
- Add Gtk2 patch. Add default/prefs/xft.js when Xft is enabled. Some other
- long overdue cleanups.
-
-*mozilla-1.3 (18 Mar 2003)
-
- 21 Mar 2003; Jay Kwak <jayskwak@gentoo.org> mozilla-1.3.ebuild :
- Add XIM input patch for GTK
-
- 18 Mar 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.3.ebuild :
- New version.
-
- 13 Mar 2003; Olivier Reisch <doctomoe@gentoo.org> mozilla-1.2.1-r5.ebuild :
- Marked ppc stable
-
-*mozilla-1.3_beta (23 Feb 2003)
-
- 23 Feb 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.3_beta.ebuild :
- New version.
-
-*mozilla-1.2.1-r5 (19 Jan 2003)
-
- 04 Mar 2003; Jason Wever <weeve@gentoo.org> mozilla-1.2.1-r5.ebuild:
- Changing ~sparc to sparc as this works well, has no reported bugs, and the
- current stable mozilla (1.0.1-r3) breaks during compile.
-
- 29 Jan 2003; Jack Morgan <jmorgan@gentoo.org> mozilla-1.2.1-r*.ebuild :
- Fixed replace-flags
-
- 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r5.ebuild :
- Fix a memory leak when reloading images:
-
- http://bugs.gentoo.org/show_bug.cgi?id=13667
- http://bugzilla.mozilla.org/show_bug.cgi?id=179498
-
- 09 Jan 2003; Jack Morgan <jmorgan@gentoo.org> mozilla-1.2.1-r4.ebuild :
- Added sparc support with replace-flags (bug #13554 - thanks to Kumba)
-
- 09 Jan 2003; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r4.ebuild :
- We set -O in ./configure to -O1, as -O2 cause crashes on startup ...
- (bug #13287)
-
-*mozilla-1.2.1-r4 (26 Dec 2002)
-
- 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r4.ebuild :
- Same as last -r3, just created to make sure we have all the fixes, and
- marked stable for x86.
-
- 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
- Update google search plugin, closing bug #10605.
- Fix my braindead stuff up with the "WANT_GTK2" fix of yesterday.
-
- 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
- Add pkg_setup() to not build with gtk2 support if the user did not export
- WANT_GTK2="yes". I did this due to the multitude of problems with gtk2
- support (plugins do not work, crashes, etc).
-
- 23 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
- Some cleanups for the java-config stuff in an effort to resolve bug #12610.
-
- 17 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
- Update mozilla-1.2.1-Xrender-includes.patch.bz2 to hopefully (?) fix #12223.
-
- 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
- Update mozilla-1.2.1-Xrender-includes.patch.bz2 to truely fix #12223.
-
- 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
- Currently --enable-elf-dynstr-gc only works for x86 and ppc, thanks
- to Jason Wever <weeve@gentoo.org> for the fix.
-
-*mozilla-1.2.1-r3 (16 Dec 2002)
-
- 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild :
-
- Fix include problem with Xrender if the updated headers are not installed
- system wide. Should close bug #12223.
-
- 15 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r2.ebuild :
-
- Add missing dirs for Xrender includes and libs.
-
-*mozilla-1.2.1-r2 (14 Dec 2002)
-
- 15 Dec 2002; Martin Holzer <mholzer@gentoo.org> mozilla-1.2.1-r2.ebuild :
-
- Fixed SRC_URI for the patch.
-
-
- 14 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r2.ebuild :
-
- Update to use fontconfig-2.1 tarball (Xft2.0.1, bugfixed Xrender). Modify
- Xft and Xrender to install libXft_moz.so* and libXrender_moz.so*, and mozilla
- to link to those. This should hopefully fix bugs where mozilla do not start.
-
- 09 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r1.ebuild :
-
- Just add more checks to see if we should apply patches/whatever that are
- Xft2.0 related. Fix NSS headers that was not all installed ...
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
-*mozilla-1.2.1-r1 (08 Dec 2002)
-
- 15 Dec 2002; Martin Holzer <mholzer@gentoo.org> mozilla-1.2.1-r1.ebuild :
-
- Fixed SRC_URI for the patch.
-
-
- 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r1.ebuild :
-
- Add 'moznoxft' USE flag, closing bug #11680. Remove cutnpaste-limit-fix
- patch, as it seems flaky with 1.2.1. Remove '--disable-jsd' configure
- flag, as it disabled venkman.
-
- 05 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1.ebuild :
-
- Add pango-1.1 detection back to Xft detection if 'gtk2' in USE, else
- mozilla segfaults, as its linked to both Xft1.1 and Xft2.0.
-
- Fix digest again. Hope mozilla devs dont make changing the tarball a
- habit ..
-
- Seems gcc-3.2.1 is not stable enouth yet to handle -march=pentium4, so
- change pentium4 to pentium3 again for all gcc3's
-
-*mozilla-1.2.1 (05 Dec 2002)
-
- 05 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1.ebuild :
-
- Update version.
-
- 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.ebuild :
-
- Also add Xft2.0 to pango-1.1 check, possibly fixing bug #11576.
-
- Add inherit flag-o-matic to 1.0-r3 and 1.1-r1, closing bug #11584.
-
- 02 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.ebuild :
-
- Change --with-extensions to --enable-extensions. Add "mznoirc"
- USE flag. This closes 11452.
-
- 02 Dec 2002; Maik Schreiber <blizzy@gentoo.org> files/digest-mozilla-1.2:
- Fixed digest. This closes bug #11427.
-
- 02 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.ebuild :
-
- Mozilla people updated the tarball, so no need for the branch update.
- Add get_number_of_jobs() stuff, thanks to nall <nall@gentoo.org>.
-
- 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.ebuild :
-
- Do not disable Xft for gtk2, as we depend on gtk+-2.1 (hopefully we
- can get this into portage real soon). Comment out calendar stuff
- for now.
-
-*mozilla-1.2 (30 Nov 2002)
-
- 30 Nov 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.ebuild :
-
- New version. People that use DHTML should rather avoid this version, as
- its broken in 1.2:
-
- http://slashdot.org/article.pl?sid=02/11/30/0029226
-
- This should resolve bugs #11285 and #11395.
-
- 21 Nov 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2_beta.ebuild :
-
- Add pkgconfig to DEPEND, closing bug #11036.
-
- 20 Nov 2002; Martin Schlemmer <azarah@gentoo.org> *.ebuild :
-
- Change to new shared nsplugin scheme, bug #10056. Add strip-flags,
- closing bug #10772.
-
- 19 Nov 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2_beta.ebuild :
-
- Add DEPEND on !gtk2? dev-libs/libIDL, closing bug #10955.
-
- 19 Nov 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2_beta.ebuild :
-
- Do not enable Xft2.0 if we are building with gtk2, as it causes mozilla to
- segfault do to it being linked to libXft.so.1.1 *and* libXft.so.2.0.
-
- Change the perl sed's for mozilla-config and pkgconfig files to use $MY_PV2
- and *not* $PV.
-
-*mozilla-1.2_beta (18 Nov 2002)
-
- 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2_beta.ebuild :
-
- New version of 1.2b. This adds Xft2.0 support without having to install
- Xft2.0 (and possibly break other things), as Xft2.0 is build with mozilla
- and installed in /usr/lib/mozilla. Hope this makes up for the long wait :)
- Thanks to Jelmer Jaarsma <dis-k@diska.dyndns.org> (bug #9319) for the
- gtk2 patch.
-
-*mozilla-1.0.1-r3 (12 Nov 2002)
-
- 15 Dec 2002; Martin Holzer <mholzer@gentoo.org> mozilla-1.0.1-r3.ebuild :
-
- Fixed SRC_URI for the patch.
-
- 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.0.1-r3.ebuild :
-
- Mark as stable.
-
- 12 Nov 2002; Martin Schlemmer <azarah@gentoo.org> :
-
- Update some patches from Redhat. Disable short-wchar. Disable libmng.
- Disable xprint. All these to try and stabilize things a bit. Test seem
- better.
-
-*mozilla-1.0.1-r2 (19 Oct 2002)
-
- 24 Oct 2002; Seemant Kulleen <seemant@gentoo.org> mozilla-1.0.1-r2.ebuild :
-
- Added a patch to remove reading the PLATFORM environment variable as this
- broke compilation on sparc64. This patch was provided by:
- wtc@netscape.com (Wan-Teh Chang) in this bug report:
- http://bugzilla.mozilla.org/show_bug.cgi?id=174143 as it is an upstream
- bugfix.
-
- 19 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
- Add the abi-compat patch back, thanks to Tony Clark.
-
- 18 Oct 2002; Seemant Kulleen <seemant@gentoo.org> :
- Add an ABI fix for sparc/sparc64 gcc-3.x based systems.
-
- 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
- Add a fix for bug #7656. This fix the missing headers from
- X11/extensions/ in the X include dir.
-
- 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
- Add five patches from Mandrake (actually for moz-1.1 that I hacked
- to work for 1.0.1) that fixes various crashes. This seems to fix
- the "crash on form submit bug" (bug #4715).
-
-*mozilla-1.0.1-r1 (03 Oct 2002)
- 03 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
- Remove '--disable-dtd-debug' from configure, as it seems
- to fix the unstability in mozilla. Bug #4715 related.
-
-*mozilla-1.0.1 (28 Sep 2002)
- 28 Sep 2002; Martin Schlemmer <azarah@gentoo.org> :
- New version.
-
-*mozilla-1.1-r1 (7 Sep 2002)
- 9 Sep 2002; Spider <spider@gentoo.org> mozilla-1.1-r1.ebuild :
- added the patch to make galeon cvs head build with "use gtk2"
-
-
- 7 Sep Martin Schlemmer <azarah@gentoo.org> mozilla-1.1-r1.ebuild :
-
- Install pkgconfig files (*.pc). This should resolve bug #7571.
-
-*mozilla-1.1 (30 Aug 2002)
-
- 30 Aug 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.1.ebuild :
-
- Update version. Also cleaned up the build some what. Gtk+-2.0 support
- seems usable for a change, and it also installs mozilla-remote-client,
- thus our script will open additional URL's in the same session for
- gtk2 version.
-
- Added Enigmail support if "crypt" in USE, and the mail addon is built,
- thanks to J Robert Ray <jrray@jrray.org>, closing bug #7149.
-
- 27 Aug 2002; Wout Mertens <wmertens@gentoo.org> mozilla-1.1_beta :
-
- Changed install so that the emerge process needs rougly 80MB harddisk space
- less. (Which brings it down to a mere 550MB :) ) Only applied to the beta
- because I don't want to break stuff unintentionally, but it should work for
- the 1.0 ebuilds as well. Feel free to add it to them.
-
- 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-{1.0-r3,1.1_beta} :
-
- Update DEPEND to use portage-2.0.14 or later.
-
- 30 Jul 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-{1.0-r3,1.1_beta} :
-
- Some gcc-3 fixes for pentium 4.
-
- 02 Aug 2002; Mark Guertin <gerk@gentoo.org> mozilla-{1.0-r3,1.1_beta} :
- Added PPC ABI gcc 3.1 patches by Franz Sirl, see url for details
- http://bugzilla.mozilla.org/show_bug.cgi?id=142594
- Tested on gcc 3.2_pre PPC ok w/ 1.0 and 1.1a (there is no 3.1.x ppc setup)
-
-*mozilla-1.1_beta (30 Jul 2002)
-
- 30 Jul 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.1_beta :
- Enable the mozilla-1.0-asm-fixes.patch again, as it fixes some
- build problems with gcc-3.x.
-
-*mozilla-1.0-r4 (25 Jul 2002)
- 25 Jul 2002; Spider <spider@gentoo.org> mozilla-1.0-r4.ebuild:
- minor changes to the build process, uses experimental makeedit.eclass
- this version shouldn't be unmasked except for testing, as it doesn't do
- anything constructive except make the build a bit leaner and smaller in
- RAM requirements.
-
- 13 Jul 2002; Martin Schlemmer <azarah@gentoo.org> mozilla.sh :
- Update to fix a bug with gtk2 (mozilla-xremote-client are not created).
- This cause mozilla not to run, or some wierd stuff in the browser window.
- Should close bug #4758.
-
-*mozilla-1.0-r3 (7 Jul 2002)
-
- 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> mozilla-1.0-r3.ebuild :
- Added KEYWORDS.
-
- 7 Jul 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.0-r3 :
- Add gcc-3.1.1 support. Add support for at least the flash and realmedia
- plugins. Add gtk2 support.
-
- 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
- Add support to set NO_MAIL=YES to disable the mail and news components.
- This hopefully resolves bug #3575.
-
-*mozilla-1.0-r2 (7 Jun 2002)
-
- 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> mozilla-1.0-r2.ebuild :
- Added KEYWORDS.
- 7 Jun 2002; Spider <spider@gentoo.org> :
- modify the gtk+ dependencies. we dont want gtk2 deps just yet.
-
-
-*mozilla-1.0-r2 (6 Jun 2002)
- 6 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
- Add xfree-4.2.0-r11 suppport.
-
-*mozilla-1.0-r1 (5 Jun 2002)
- 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
- The 1.0_rc3-r5* adds gtk+-2.0 support, but breaks galeon, nautilus
- and co.
-
-*mozilla-1.0 (5 Jun 2002)
- 5 Jun 2002; Brandon Low <lostlogic@gentoo.org> :
- Took 1.0_rc3-r51 and made it 1.0 werksferme, give it a try!
-
-*mozilla-1.0_rc3-r50 (31 May 2002)
- 01 May 2002; Martin Schlemmer <azarah@gentoo.org> :
- Add all my comments and stuff back. Great work Spider!, but
- some of these are bookmarks, etc.
-
-*mozilla-1.0_rc3-r50 (31 May 2002)
- 31 May 2002; Spider <spider@gentoo.org> :
- very experimental gtk2 version of mozilla. Handle with care.
- will break galeon 1!
-
-*mozilla-1.0_rc3-r2 (28 May 2002)
-
- 28 May 2002; Martin Schlemmer <azarah@gentoo.org> :
-
- Update to compile with freetype-2.0.9.
-
-*mozilla-1.0_rc{2,3}-r1 (26 May 2002)
-
- 29 May 2002; Wout Mertens< wmertens@gentoo.org> digest-mozilla-1.0_rc3-r1:
-
- Committed new digest, since it seems the tarball changed
-
- 26 May 2002; Martin Schlemmer <azarah@gentoo.org> :
-
- Added dev-libs/expat to DEPEND, resolves bug #3033.
-
-*mozilla-1.0_rc3 (24 May 2002)
-
- 24 May 2002; William McArthur <sandymac@gentoo.org> mozilla-1.0_rc3.ebuild:
-
- Updated to 1.0rc3. (Simply bumped the ebuild filename.
-
-*mozilla-1.0_rc2 (13 May 2002)
-
- 13 May 2002; Arcady Genkin <agenkin@thpoon.com> mozilla-1.0_rc2.ebuild:
-
- Updated to 1.0rc2.
-
-*mozilla-1.0_rc1-r1 (1 May 2002)
-
- 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.0_rc1-r1.ebuild :
-
- Added XFT support.
-
- 27 Apr 2002; pvdabeel <pvdabeel@gentoo.org> :
-
- ppc(/sparc) fix 0.9.9 and 1.0-rc1
- older ebuild should be masked out or fixed
-
- 24 Apr 2002; M.Schlemmer <azarah@gentoo.org> :
-
- Slotted the latest ones.
-
- 13 Apr 2002; M.Schlemmer <azarah@gentoo.org> mozilla-0.9.9-r[12].ebuild :
-
- Disable xterm updating. Hopefully this will fix the "beep" during console
- problem.
-
-*mozilla-0.9.9-r2 (12 Apr 2002)
-
- 12 Apr 2002; Spider <spider@gentoo.org>
- Update all glib dependencies to use glib-1.2* in preparation of
- unmasking the glib-2.0.1 packages. Update libpng dependency
-
- 20 Mar 2002; Chad Huneycutt <chadh@gentoo.org> mozilla-0.9.9-r1.ebuild :
- -changed virtual jdk depend to virtual/jre-r1 per karltk's advice for new
- java-config functionality
- -added java-config to DEPEND
-
- 15 Feb 2002; M.Schlemmer <azarah@gentoo.org> mozilla-0.9.8-r3.ebuild :
-
- Hopefully fix package building dud mozilla binary. Further fixes to stale
- components and chrome problem.
-
-*mozilla-0.9.8-r2 (7 Feb 2002)
-
- 7 Feb 2002; M.Schlemmer <azarah@gentoo.org> mozilla-0.9.8-r2.ebuild :
-
- Rip out libtimer_gtk.so source again, as we just do not need it around
- when generating components.reg. Add support for ebuild to remove
- libtimer_gtk.so if it is around.
-
-*mozilla-0.9.8-r1 (6 Feb 2002)
-
- 6 Feb 2002; M.Schlemmer <azarah@gentoo.org> mozilla-0.9.8-r1.ebuild :
-
- Add source for missing libtimer_gtk.so library (timer-0.9.7.tar.bz2).
-
-*mozilla-0.9.7-r2 (3 Feb 2002)
-
- 3 Feb 2002; M.Schlemmer <azarah@gentoo.org> mozilla-0.9.7-r2.ebuild :
-
- Add ${FILESDIR}/mozilla-0.9.7-post.patch to fix a bug in the current version
- of mozilla not posting forms in all cases. Resolves bug #349.
-
-*mozilla-0.9.7-r1 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/net-www/mozilla/Manifest b/net-www/mozilla/Manifest
deleted file mode 100644
index 46f3ffc500ca..000000000000
--- a/net-www/mozilla/Manifest
+++ /dev/null
@@ -1,23 +0,0 @@
-MD5 fb681299281f72dc4acffb0d6311fb50 mozilla-1.7.5.ebuild 10331
-MD5 ba92f65b3fb43a896c0f915667392eeb mozilla-1.7.6-r1.ebuild 11600
-MD5 8a165e3696bf1660e310e33174fb66ae mozilla-1.7.5-r1.ebuild 11280
-MD5 a4cff58625832b74d9e423c9ec32c0e1 ChangeLog 39585
-MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
-MD5 4211c58441742d88f0b368d5f6235828 mozilla-1.7.6.ebuild 11276
-MD5 b19c38da8865b9ee5555aeb826d1d360 files/digest-mozilla-1.7.5 203
-MD5 0172084e349ca0f03d8cbe294054223e files/digest-mozilla-1.7.6 203
-MD5 e79634ee1e611182b6c227daa362b20d files/mozilla-1.7.3-4ft2.patch 22360
-MD5 d0e52abf109fe61c4195f0cbf002ae18 files/google.src 706
-MD5 5496222980a6faf8261066f43cd4c6a5 files/mozilla-hppa.patch 7785
-MD5 278524216669b594ea5b6468a180ed73 files/mozilla-1.7.5-stackgrowth.patch 931
-MD5 e4adf41536cf80df5f8f5f6ff9bd88a7 files/mozilla-rebuild-databases.pl 2310
-MD5 23d6b685fd5e49a07cc4a1786871bf47 files/mozilla-alpha-xpcom-subs-fix.patch 4953
-MD5 b99dabe3c40cfafe2e63bdef95815596 files/10mozilla 105
-MD5 f48be110754a5106f06cd313c22c4337 files/svg-cairo-0.3.0-fix.patch 1063
-MD5 278524216669b594ea5b6468a180ed73 files/mozilla-stackgrowth.patch 931
-MD5 7d244b888dbd302c14414cbfc1f62501 files/xft.js 135
-MD5 b19c38da8865b9ee5555aeb826d1d360 files/digest-mozilla-1.7.5-r1 203
-MD5 0172084e349ca0f03d8cbe294054223e files/digest-mozilla-1.7.6-r1 203
-MD5 068edb8c46e34027f9c3febc19656c70 files/1.3/mozilla-1.3-fix-RAW-target.patch 328
-MD5 6d52ff4ce4567db1cad08ea40157a65d files/icon/mozilla-icon.png 2350
-MD5 e3c488f3226f61adbb11d6a73ae84209 files/icon/mozilla.desktop 153
diff --git a/net-www/mozilla/files/1.3/mozilla-1.3-fix-RAW-target.patch b/net-www/mozilla/files/1.3/mozilla-1.3-fix-RAW-target.patch
deleted file mode 100644
index 5951496e9893..000000000000
--- a/net-www/mozilla/files/1.3/mozilla-1.3-fix-RAW-target.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- mozilla/xpinstall/packager/Makefile.in.orig 2003-02-23 14:41:08.000000000 +0200
-+++ mozilla/xpinstall/packager/Makefile.in 2003-02-23 14:41:36.000000000 +0200
-@@ -87,6 +87,9 @@
- ifeq ($(MOZ_PKG_FORMAT),DEB)
- PKG_SUFFIX = .deb
- endif
-+ifeq ($(MOZ_PKG_FORMAT),RAW)
-+MAKE_SDK = echo
-+endif
-
- TARGETS = $(PACKAGE) $(SDK)
-
diff --git a/net-www/mozilla/files/10mozilla b/net-www/mozilla/files/10mozilla
deleted file mode 100644
index d200bce154bd..000000000000
--- a/net-www/mozilla/files/10mozilla
+++ /dev/null
@@ -1,3 +0,0 @@
-LDPATH=/usr/lib/mozilla
-MOZILLA_FIVE_HOME=/usr/lib/mozilla
-CONFIG_PROTECT=/usr/lib/mozilla/defaults/pref
diff --git a/net-www/mozilla/files/digest-mozilla-1.7.5 b/net-www/mozilla/files/digest-mozilla-1.7.5
deleted file mode 100644
index 6634da1f0eae..000000000000
--- a/net-www/mozilla/files/digest-mozilla-1.7.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e5994f3e801cd834966367c6a12f8aeb mozilla-source-1.7.5.tar.bz2 30440393
-MD5 4aa272b46c8cbf167dcd49a6d74cf526 ipc-1.1.2.tar.gz 102663
-MD5 b916f90ff54830a91ef08dd70e77ed76 enigmail-0.89.6.tar.gz 354642
diff --git a/net-www/mozilla/files/digest-mozilla-1.7.5-r1 b/net-www/mozilla/files/digest-mozilla-1.7.5-r1
deleted file mode 100644
index 6634da1f0eae..000000000000
--- a/net-www/mozilla/files/digest-mozilla-1.7.5-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e5994f3e801cd834966367c6a12f8aeb mozilla-source-1.7.5.tar.bz2 30440393
-MD5 4aa272b46c8cbf167dcd49a6d74cf526 ipc-1.1.2.tar.gz 102663
-MD5 b916f90ff54830a91ef08dd70e77ed76 enigmail-0.89.6.tar.gz 354642
diff --git a/net-www/mozilla/files/digest-mozilla-1.7.6 b/net-www/mozilla/files/digest-mozilla-1.7.6
deleted file mode 100644
index c60cf531b3c4..000000000000
--- a/net-www/mozilla/files/digest-mozilla-1.7.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 09c78e9e51d8b11b2d3059987ef42fd0 mozilla-source-1.7.6.tar.bz2 30448120
-MD5 4aa272b46c8cbf167dcd49a6d74cf526 ipc-1.1.2.tar.gz 102663
-MD5 920f0e43e620d2c89934bd9bbf9b5d02 enigmail-0.90.2.tar.gz 340488
diff --git a/net-www/mozilla/files/digest-mozilla-1.7.6-r1 b/net-www/mozilla/files/digest-mozilla-1.7.6-r1
deleted file mode 100644
index c60cf531b3c4..000000000000
--- a/net-www/mozilla/files/digest-mozilla-1.7.6-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 09c78e9e51d8b11b2d3059987ef42fd0 mozilla-source-1.7.6.tar.bz2 30448120
-MD5 4aa272b46c8cbf167dcd49a6d74cf526 ipc-1.1.2.tar.gz 102663
-MD5 920f0e43e620d2c89934bd9bbf9b5d02 enigmail-0.90.2.tar.gz 340488
diff --git a/net-www/mozilla/files/google.src b/net-www/mozilla/files/google.src
deleted file mode 100644
index c11e51bf39a2..000000000000
--- a/net-www/mozilla/files/google.src
+++ /dev/null
@@ -1,29 +0,0 @@
-# Mozilla/Google plug-in by amitp+mozilla@google.com
-
-<search
- name="Google"
- description="Google Search"
- method="GET"
- action="http://www.google.com/search"
- update="http://www.google.com/mozilla/google.src"
- updateCheckDays=1
- queryEncoding="utf-8"
- queryCharset="utf-8"
->
-
-<input name="q" user>
-<input name="sourceid" value="mozilla-search">
-<inputnext name="start" factor="10">
-<inputprev name="start" factor="10">
-<input name="ie" value="utf-8">
-<input name="oe" value="utf-8">
-
-<interpret
- browserResultType="result"
- charset = "UTF-8"
- resultListStart="<!--a-->"
- resultListEnd="<!--z-->"
- resultItemStart="<!--m-->"
- resultItemEnd="<!--n-->"
->
-</search>
diff --git a/net-www/mozilla/files/icon/mozilla-icon.png b/net-www/mozilla/files/icon/mozilla-icon.png
deleted file mode 100644
index a176ed2c61af..000000000000
--- a/net-www/mozilla/files/icon/mozilla-icon.png
+++ /dev/null
Binary files differ
diff --git a/net-www/mozilla/files/icon/mozilla.desktop b/net-www/mozilla/files/icon/mozilla.desktop
deleted file mode 100644
index edbcf0aa70da..000000000000
--- a/net-www/mozilla/files/icon/mozilla.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Mozilla
-Comment=Web Browser
-Exec=/usr/bin/mozilla
-Icon=mozilla-icon.png
-Terminal=0
-Type=Application
-Categories=Application;Network;
diff --git a/net-www/mozilla/files/mozilla-1.7.3-4ft2.patch b/net-www/mozilla/files/mozilla-1.7.3-4ft2.patch
deleted file mode 100644
index 18b80281e5bb..000000000000
--- a/net-www/mozilla/files/mozilla-1.7.3-4ft2.patch
+++ /dev/null
@@ -1,656 +0,0 @@
-This patch is from
-https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65 to enable
-linking against freetype-2.1.8+. It disables the experimental
-freetype caching. I modified this patch slightly to apply to 1.7.3;
-some things had moved around in the files since the original patch.
-
-Note this is the same patch as we apply to mozilla-firefox-1.0
-
-15 Nov 2004 agriffis
-
---- gfx/idl/nsIFreeType2.idl.agriffis 2004-04-15 21:09:33.000000000 -0400
-+++ gfx/idl/nsIFreeType2.idl 2004-11-15 13:29:05.120343408 -0500
-@@ -98,8 +98,6 @@
- {
-
- readonly attribute FT_Library library;
-- readonly attribute FTC_Manager FTCacheManager;
-- readonly attribute FTC_Image_Cache ImageCache;
-
- void doneFace(in FT_Face face);
- void doneFreeType(in FT_Library lib);
-@@ -114,17 +112,8 @@
- in FT_Long face_num, out FT_Face face);
- void outlineDecompose(in FT_Outline_p outline,
- in const_FT_Outline_Funcs_p funcs, in voidPtr p);
-+ void setPixelSizes(in FT_Face face, in FT_UInt width, in FT_UInt height);
- void setCharmap(in FT_Face face, in FT_CharMap charmap);
-- void imageCacheLookup(in FTC_Image_Cache cache, in FTC_Image_Desc_p desc,
-- in FT_UInt gindex, out FT_Glyph glyph);
-- void managerLookupSize(in FTC_Manager manager, in FTC_Font font,
-- out FT_Face face, out FT_Size size);
-- void managerDone(in FTC_Manager manager);
-- void managerNew(in FT_Library lib, in FT_UInt max_faces,
-- in FT_UInt max_sizes, in FT_ULong max_bytes,
-- in FTC_Face_Requester requester, in FT_Pointer req_data,
-- out FTC_Manager manager);
-- void imageCacheNew(in FTC_Manager manager, out FTC_Image_Cache cache);
- /* #ifdef MOZ_SVG */
- void glyphTransform(in FT_Glyph glyph, in FT_Matrix_p matrix,
- in FT_Vector_p delta);
---- gfx/src/ps/nsFontMetricsPS.h.agriffis 2003-04-22 12:25:09.000000000 -0400
-+++ gfx/src/ps/nsFontMetricsPS.h 2004-11-15 13:37:58.431267824 -0500
-@@ -320,7 +320,8 @@
- nsCOMPtr<nsITrueTypeFontCatalogEntry> mFaceID;
- nsCOMPtr<nsIFreeType2> mFt2;
- PRUint16 mPixelSize;
-- FTC_Image_Desc mImageDesc;
-+ FT_Face mFace;
-+ FT_Library mFreeTypeLibrary;
-
-
- static PRBool AddUserPref(nsIAtom *aLang, const nsFont& aFont,
-@@ -363,7 +364,8 @@
- protected:
- nsCOMPtr<nsITrueTypeFontCatalogEntry> mEntry;
- nsCOMPtr<nsIFreeType2> mFt2;
-- FTC_Image_Desc mImageDesc;
-+ FT_Face mFace;
-+ FT_Library mFreeTypeLibrary;
- };
- #endif
-
---- gfx/src/ps/nsFontMetricsPS.cpp.agriffis 2004-02-04 20:57:05.000000000 -0500
-+++ gfx/src/ps/nsFontMetricsPS.cpp 2004-11-15 13:29:05.123342952 -0500
-@@ -1141,21 +1141,26 @@
-
- mPixelSize = NSToIntRound(app2dev * mFont->size);
-
-- mImageDesc.font.face_id = (void*)mEntry;
-- mImageDesc.font.pix_width = mPixelSize;
-- mImageDesc.font.pix_height = mPixelSize;
-- mImageDesc.image_type = 0;
--
- nsresult rv;
- mFt2 = do_GetService(NS_FREETYPE2_CONTRACTID, &rv);
- if (NS_FAILED(rv)) {
-+ NS_ERROR("failed to get ft2 service");
-+ return NS_ERROR_FAILURE;
-+ }
-+
-+ if (NS_FAILED(mFt2->GetLibrary(&mFreeTypeLibrary))) {
-+ NS_ERROR("failed to get ft2 library");
- return NS_ERROR_FAILURE;
- }
-+
-+ mFace = nsnull;
- return NS_OK;
- }
-
- nsFontPSFreeType::~nsFontPSFreeType()
- {
-+ if (mFace)
-+ mFt2->DoneFace(mFace);
- mEntry = nsnull;
- }
-
-@@ -1180,32 +1185,26 @@
- nscoord
- nsFontPSFreeType::GetWidth(const PRUnichar* aString, PRUint32 aLength)
- {
-- FT_UInt glyph_index;
-- FT_Glyph glyph;
-- double origin_x = 0;
--
- // get the face/size from the FreeType cache
- FT_Face face = getFTFace();
- NS_ASSERTION(face, "failed to get face/size");
- if (!face)
- return 0;
-
-- FTC_Image_Cache iCache;
-- nsresult rv = mFt2->GetImageCache(&iCache);
-- if (NS_FAILED(rv)) {
-- NS_ERROR("Failed to get Image Cache");
-- return 0;
-- }
-+ FT_UInt glyph_index;
-+ FT_Glyph glyph;
-+ double origin_x = 0;
-
-+ // XXX : we might need some caching here
- for (PRUint32 i=0; i<aLength; i++) {
-- mFt2->GetCharIndex((FT_Face)face, aString[i], &glyph_index);
-- nsresult rv = mFt2->ImageCacheLookup(iCache, &mImageDesc,
-- glyph_index, &glyph);
-- if (NS_FAILED(rv)) {
-+ mFt2->GetCharIndex(face, aString[i], &glyph_index);
-+ if (NS_FAILED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) ||
-+ NS_FAILED(mFt2->GetGlyph(face->glyph, &glyph))) {
- origin_x += FT_REG_TO_16_16(face->size->metrics.x_ppem/2 + 2);
- continue;
- }
- origin_x += glyph->advance.x;
-+ mFt2->DoneGlyph(glyph);
- }
-
- NS_ENSURE_TRUE(mFontMetrics, 0);
-@@ -1224,16 +1223,26 @@
- FT_Face
- nsFontPSFreeType::getFTFace()
- {
-- FT_Face face = nsnull;
--
-- FTC_Manager cManager;
-- mFt2->GetFTCacheManager(&cManager);
-- nsresult rv = mFt2->ManagerLookupSize(cManager, &mImageDesc.font,
-- &face, nsnull);
-+ if (mFace) return mFace;
-+
-+ nsCAutoString fileName;
-+ PRInt16 faceIndex;
-+ mEntry->GetFileName(fileName);
-+ mEntry->GetFaceIndex(&faceIndex);
-+
-+ nsresult rv =
-+ mFt2->NewFace(mFreeTypeLibrary, fileName.get(), faceIndex, &mFace);
-+
- NS_ASSERTION(rv==0, "failed to get face/size");
-- if (rv)
-- return nsnull;
-- return face;
-+ if (NS_FAILED(rv)) {
-+ return nsnull;
-+ }
-+
-+ if (NS_FAILED(mFt2->SetPixelSizes(mFace, mPixelSize, 0))) {
-+ return nsnull;
-+ }
-+
-+ return mFace;
- }
-
- nscoord
-@@ -1618,26 +1627,23 @@
-
- void nsFT2Type8Generator::GeneratePSFont(FILE* aFile)
- {
-- nsCAutoString fontName, styleName;
-- mEntry->GetFamilyName(fontName);
-- mEntry->GetStyleName(styleName);
--
-- mImageDesc.font.face_id = (void*)mEntry;
-- // TT glyph has no relation to size
-- mImageDesc.font.pix_width = 16;
-- mImageDesc.font.pix_height = 16;
-- mImageDesc.image_type = 0;
-- FT_Face face = nsnull;
-- FTC_Manager cManager;
-- mFt2->GetFTCacheManager(&cManager);
-- nsresult rv = mFt2->ManagerLookupSize(cManager, &mImageDesc.font,
-- &face, nsnull);
-- if (NS_FAILED(rv))
-- return;
-+ if (mFace == nsnull) {
-+ nsCAutoString fileName;
-+ PRInt16 faceIndex;
-+
-+ mEntry->GetFileName(fileName);
-+ mEntry->GetFaceIndex(&faceIndex);
-+ if (NS_FAILED(mFt2->
-+ NewFace(mFreeTypeLibrary, fileName.get(), faceIndex, &mFace))) {
-+ return;
-+ }
-+ NS_ASSERTION(mFace != nsnull, "mFace is null");
-+ }
-+
-
- int wmode = 0;
- if (!mSubset.IsEmpty())
-- FT2SubsetToType8(face, mSubset.get(), mSubset.Length(), wmode, aFile);
-+ FT2SubsetToType8(mFace, mSubset.get(), mSubset.Length(), wmode, aFile);
- }
- #endif //MOZ_ENABLE_FREETYPE2
-
---- gfx/src/x11shared/nsFontFreeType.cpp.agriffis 2003-12-25 03:24:52.000000000 -0500
-+++ gfx/src/x11shared/nsFontFreeType.cpp 2004-11-15 13:29:05.125342648 -0500
-@@ -173,15 +173,22 @@
- FT_Face
- nsFreeTypeFont::getFTFace()
- {
-- FT_Face face = nsnull;
-- FTC_Manager mgr;
-+ if (mFace) return mFace;
-+
-+ nsCAutoString fileName;
-+ PRInt16 faceIndex;
-+ mFaceID->GetFileName(fileName);
-+ mFaceID->GetFaceIndex(&faceIndex);
-+
- nsresult rv;
-- mFt2->GetFTCacheManager(&mgr);
-- rv = mFt2->ManagerLookupSize(mgr, &mImageDesc.font, &face, nsnull);
-+ rv = mFt2->NewFace(mFreeTypeLibrary, fileName.get(), faceIndex, &mFace);
- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size");
- if (NS_FAILED(rv))
- return nsnull;
-- return face;
-+ rv = mFt2->SetPixelSizes(mFace, mPixelSize, 0);
-+ if (NS_FAILED(rv))
-+ return nsnull;
-+ return mFace;
- }
-
- nsFreeTypeFont::nsFreeTypeFont(nsITrueTypeFontCatalogEntry *aFaceID,
-@@ -191,21 +198,20 @@
- PRBool embedded_bimap = PR_FALSE;
- mFaceID = aFaceID;
- mPixelSize = aPixelSize;
-- mImageDesc.font.face_id = (void*)mFaceID;
-- mImageDesc.font.pix_width = aPixelSize;
-- mImageDesc.font.pix_height = aPixelSize;
-- mImageDesc.image_type = 0;
-+//mLoadFlag = FT_LOAD_RENDER;
-+ mLoadFlag = 0;
-+ mFace = nsnull;
-
- if (aPixelSize < nsFreeType2::gAntiAliasMinimum) {
-- mImageDesc.image_type |= ftc_image_mono;
-+ mLoadFlag |= FT_LOAD_MONOCHROME;
- anti_alias = PR_FALSE;
- }
-
- if (nsFreeType2::gFreeType2Autohinted)
-- mImageDesc.image_type |= ftc_image_flag_autohinted;
-+ mLoadFlag |= FT_LOAD_FORCE_AUTOHINT;
-
- if (nsFreeType2::gFreeType2Unhinted)
-- mImageDesc.image_type |= ftc_image_flag_unhinted;
-+ mLoadFlag |= FT_LOAD_NO_HINTING;
-
- PRUint32 num_embedded_bitmaps, i;
- PRInt32* embedded_bitmapheights;
-@@ -218,7 +224,7 @@
- if (embedded_bitmapheights[i] == aPixelSize) {
- embedded_bimap = PR_TRUE;
- // unhinted must be set for embedded bitmaps to be used
-- mImageDesc.image_type |= ftc_image_flag_unhinted;
-+ mLoadFlag |= FT_LOAD_NO_HINTING;
- break;
- }
- }
-@@ -230,6 +236,11 @@
- mFt2 = do_GetService(NS_FREETYPE2_CONTRACTID, &rv);
- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to find FreeType routines");
-
-+ if (mFt2) {
-+ rv = mFt2->GetLibrary(&mFreeTypeLibrary);
-+ NS_ASSERTION(NS_SUCCEEDED(rv), "failed to find FreeType library");
-+ }
-+
- FREETYPE_FONT_PRINTF(("anti_alias=%d, embedded_bitmap=%d, "
- "AutoHinted=%d, gFreeType2Unhinted = %d, "
- "size=%dpx, \"%s\"",
-@@ -288,8 +299,6 @@
- PRInt32* aDescent,
- PRInt32* aWidth)
- {
-- nsresult rv;
--
- *aLeftBearing = 0;
- *aRightBearing = 0;
- *aAscent = 0;
-@@ -312,11 +321,6 @@
- if (!face)
- return NS_ERROR_FAILURE;
-
-- FTC_Image_Cache icache;
-- mFt2->GetImageCache(&icache);
-- if (!icache)
-- return NS_ERROR_FAILURE;
--
- // get the text size
- PRUint32 i, extraSurrogateLength;
- for (i=0; i<aLength; i+=1+extraSurrogateLength) {
-@@ -337,16 +341,17 @@
- }
- mFt2->GetCharIndex(face, code_point, &glyph_index);
-
-- //NS_ASSERTION(glyph_index,"failed to get glyph");
-- if (glyph_index) {
-- rv = mFt2->ImageCacheLookup(icache, &mImageDesc, glyph_index, &glyph);
-- NS_ASSERTION(NS_SUCCEEDED(rv),"error loading glyph");
-- }
-- if ((glyph_index) && (NS_SUCCEEDED(rv))) {
-+ // XXX : we need some caching here
-+ if (glyph_index &&
-+ NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, mLoadFlag)) &&
-+// NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) &&
-+ NS_SUCCEEDED(mFt2->GetGlyph(face->glyph, &glyph))) {
- mFt2->GlyphGetCBox(glyph, ft_glyph_bbox_pixels, &glyph_bbox);
- advance = FT_16_16_TO_REG(glyph->advance.x);
-+ mFt2->DoneGlyph(glyph);
- }
- else {
-+ NS_ERROR("failed to get or load glyph");
- // allocate space to draw an empty box in
- GetFallbackGlyphMetrics(&glyph_bbox, face);
- advance = glyph_bbox.xMax + 1;
-@@ -401,11 +406,6 @@
- if (!face)
- return 0;
-
-- FTC_Image_Cache icache;
-- mFt2->GetImageCache(&icache);
-- if (!icache)
-- return 0;
--
- PRUint32 i, extraSurrogateLength;
- for (i=0; i<aLength; i+=1+extraSurrogateLength) {
- extraSurrogateLength=0;
-@@ -418,15 +418,18 @@
- // skip aString[i+1], it is already used as low surrogate
- extraSurrogateLength = 1;
- }
-+
-+ // XXX : we need some caching here
- mFt2->GetCharIndex((FT_Face)face, code_point, &glyph_index);
-- nsresult rv;
-- rv = mFt2->ImageCacheLookup(icache, &mImageDesc, glyph_index, &glyph);
-- NS_ASSERTION(NS_SUCCEEDED(rv),"error loading glyph");
-- if (NS_FAILED(rv)) {
-+ if (NS_FAILED(mFt2->LoadGlyph(face, glyph_index, mLoadFlag)) ||
-+// if (NS_FAILED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) ||
-+ NS_FAILED(mFt2->GetGlyph(face->glyph, &glyph))) {
-+ NS_ERROR("error loading glyph");
- origin_x += face->size->metrics.x_ppem/2 + 2;
- continue;
- }
- origin_x += FT_16_16_TO_REG(glyph->advance.x);
-+ mFt2->DoneGlyph(glyph);
- }
-
- return origin_x;
-@@ -723,11 +726,6 @@
- if (y%4==0) (*blendPixelFunc)(sub_image, y, ascent-1, black, 255/2);
- #endif
-
-- FTC_Image_Cache icache;
-- mFt2->GetImageCache(&icache);
-- if (!icache)
-- return 0;
--
- //
- // Get aa glyphs and blend with background
- //
-@@ -736,7 +734,6 @@
- for (i=0; i<aLength; i+=1+extraSurrogateLength) {
- FT_UInt glyph_index;
- FT_Glyph glyph;
-- nsresult rv;
- FT_BBox glyph_bbox;
- FT_ULong code_point = aString[i];
- extraSurrogateLength = 0;
-@@ -750,11 +747,12 @@
- extraSurrogateLength = 1;
- }
-
-+ // XXX : we need some caching here
- mFt2->GetCharIndex(face, code_point, &glyph_index);
-- if (glyph_index) {
-- rv = mFt2->ImageCacheLookup(icache, &mImageDesc, glyph_index, &glyph);
-- }
-- if ((glyph_index) && (NS_SUCCEEDED(rv))) {
-+ if (glyph_index &&
-+ NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, mLoadFlag)) &&
-+// NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) &&
-+ NS_SUCCEEDED(mFt2->GetGlyph(face->glyph, &glyph))) {
- mFt2->GlyphGetCBox(glyph, ft_glyph_bbox_pixels, &glyph_bbox);
- }
- else {
-@@ -775,13 +773,26 @@
- continue;
- }
-
-- FT_BitmapGlyph slot = (FT_BitmapGlyph)glyph;
-+ FT_BitmapGlyph slot;
-+
-+ if (glyph->format != FT_GLYPH_FORMAT_BITMAP)
-+ {
-+ if (mFt2->GlyphToBitmap(&glyph, FT_RENDER_MODE_NORMAL, 0, 1)) {
-+ NS_ERROR("failed to convert outline to bitmap ");
-+ XDestroyImage(sub_image);
-+ mFt2->DoneGlyph(glyph);
-+ return 0;
-+ }
-+ }
-+
-+ slot = (FT_BitmapGlyph)glyph;
- nsAntiAliasedGlyph aaglyph(glyph_bbox.xMax-glyph_bbox.xMin,
- glyph_bbox.yMax-glyph_bbox.yMin, 0);
- PRUint8 buf[IMAGE_BUFFER_SIZE]; // try to use the stack for data
- if (!aaglyph.WrapFreeType(&glyph_bbox, slot, buf, IMAGE_BUFFER_SIZE)) {
- NS_ERROR("failed to wrap freetype image");
- XDestroyImage(sub_image);
-+ mFt2->DoneGlyph(glyph);
- return 0;
- }
-
-@@ -815,6 +826,7 @@
- x_pos + aaglyph.GetLBearing(), ascent-glyph_bbox.yMax);
-
- x_pos += aaglyph.GetAdvance();
-+ mFt2->DoneGlyph(glyph);
- }
-
- //
---- gfx/src/x11shared/nsFontFreeType.h.agriffis 2003-04-22 12:25:13.000000000 -0400
-+++ gfx/src/x11shared/nsFontFreeType.h 2004-11-15 13:29:05.125342648 -0500
-@@ -110,8 +110,10 @@
- XImage *GetXImage(PRUint32 width, PRUint32 height);
- nsITrueTypeFontCatalogEntry *mFaceID;
- PRUint16 mPixelSize;
-- FTC_Image_Desc mImageDesc;
- nsCOMPtr<nsIFreeType2> mFt2;
-+ FT_Face mFace;
-+ FT_Int32 mLoadFlag;
-+ FT_Library mFreeTypeLibrary;
- };
-
- void WeightTableInitCorrection(PRUint8*, PRUint8, double);
---- gfx/src/freetype/nsFreeType.cpp.agriffis 2004-02-07 10:22:30.000000000 -0500
-+++ gfx/src/freetype/nsFreeType.cpp 2004-11-15 13:29:05.121343256 -0500
-@@ -109,12 +109,8 @@
- {"FT_Load_Glyph", NS_FT2_OFFSET(nsFT_Load_Glyph), PR_TRUE},
- {"FT_New_Face", NS_FT2_OFFSET(nsFT_New_Face), PR_TRUE},
- {"FT_Outline_Decompose", NS_FT2_OFFSET(nsFT_Outline_Decompose), PR_TRUE},
-+ {"FT_Set_Pixel_Sizes", NS_FT2_OFFSET(nsFT_Set_Pixel_Sizes), PR_TRUE},
- {"FT_Set_Charmap", NS_FT2_OFFSET(nsFT_Set_Charmap), PR_TRUE},
-- {"FTC_Image_Cache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE},
-- {"FTC_Manager_Lookup_Size", NS_FT2_OFFSET(nsFTC_Manager_Lookup_Size), PR_TRUE},
-- {"FTC_Manager_Done", NS_FT2_OFFSET(nsFTC_Manager_Done), PR_TRUE},
-- {"FTC_Manager_New", NS_FT2_OFFSET(nsFTC_Manager_New), PR_TRUE},
-- {"FTC_Image_Cache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE},
- // #ifdef MOZ_SVG
- {"FT_Glyph_Transform", NS_FT2_OFFSET(nsFT_Glyph_Transform), PR_TRUE},
- {"FT_Get_Kerning", NS_FT2_OFFSET(nsFT_Get_Kerning), PR_TRUE},
-@@ -274,59 +270,21 @@
- }
-
- NS_IMETHODIMP
--nsFreeType2::SetCharmap(FT_Face face, FT_CharMap charmap)
--{
-- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFT_Set_Charmap(face, charmap);
-- return error ? NS_ERROR_FAILURE : NS_OK;
--}
--
--NS_IMETHODIMP
--nsFreeType2::ImageCacheLookup(FTC_Image_Cache cache, FTC_Image_Desc *desc,
-- FT_UInt glyphID, FT_Glyph *glyph)
--{
-- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Image_Cache_Lookup(cache, desc, glyphID, glyph);
-- return error ? NS_ERROR_FAILURE : NS_OK;
--}
--
--NS_IMETHODIMP
--nsFreeType2::ManagerLookupSize(FTC_Manager manager, FTC_Font font,
-- FT_Face *face, FT_Size *size)
-+nsFreeType2::SetPixelSizes(FT_Face face, FT_UInt width, FT_UInt height)
- {
- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Manager_Lookup_Size(manager, font, face, size);
-+ FT_Error error = nsFT_Set_Pixel_Sizes(face, width, height);
- return error ? NS_ERROR_FAILURE : NS_OK;
- }
--
--NS_IMETHODIMP
--nsFreeType2::ManagerDone(FTC_Manager manager)
--{
-- // call the FreeType2 function via the function pointer
-- nsFTC_Manager_Done(manager);
-- return NS_OK;
--}
--
-+
- NS_IMETHODIMP
--nsFreeType2::ManagerNew(FT_Library library, FT_UInt max_faces,
-- FT_UInt max_sizes, FT_ULong max_bytes,
-- FTC_Face_Requester requester, FT_Pointer req_data,
-- FTC_Manager *manager)
-+nsFreeType2::SetCharmap(FT_Face face, FT_CharMap charmap)
- {
- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Manager_New(library, max_faces, max_sizes, max_bytes,
-- requester, req_data, manager);
-+ FT_Error error = nsFT_Set_Charmap(face, charmap);
- return error ? NS_ERROR_FAILURE : NS_OK;
- }
-
--NS_IMETHODIMP
--nsFreeType2::ImageCacheNew(FTC_Manager manager, FTC_Image_Cache *cache)
--{
-- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Image_Cache_New(manager, cache);
-- return error ? NS_ERROR_FAILURE : NS_OK;
--}
--
- // #ifdef MOZ_SVG
- NS_IMETHODIMP
- nsFreeType2::GlyphTransform(FT_Glyph glyph, FT_Matrix * matrix, FT_Vector * delta)
-@@ -389,20 +347,6 @@
- }
-
- NS_IMETHODIMP
--nsFreeType2::GetImageCache(FTC_Image_Cache *aCache)
--{
-- *aCache = mImageCache;
-- return NS_OK;
--}
--
--NS_IMETHODIMP
--nsFreeType2::GetFTCacheManager(FTC_Manager *aManager)
--{
-- *aManager = mFTCacheManager;
-- return NS_OK;
--}
--
--NS_IMETHODIMP
- nsFreeType2::GetLibrary(FT_Library *aLibrary)
- {
- *aLibrary = mFreeTypeLibrary;
-@@ -425,8 +369,6 @@
- {
- mSharedLib = nsnull;
- mFreeTypeLibrary = nsnull;
-- mFTCacheManager = nsnull;
-- mImageCache = nsnull;
- }
-
- // I would like to make this a static member function but the compilier
-@@ -456,12 +398,6 @@
- delete gFreeTypeFaces;
- gFreeTypeFaces = nsnull;
- }
-- // mImageCache released by cache manager
-- if (mFTCacheManager) {
-- // use "this->" to make sure it is obivious we are calling the member func
-- this->ManagerDone(mFTCacheManager);
-- mFTCacheManager = nsnull;
-- }
- if (mFreeTypeLibrary) {
- // use "this->" to make sure it is obivious we are calling the member func
- this->DoneFreeType(mFreeTypeLibrary);
-@@ -658,17 +594,6 @@
- mFreeTypeLibrary = nsnull;
- goto cleanup_and_return;
- }
-- // use "this->" to make sure it is obivious we are calling the member func
-- rv = this->ManagerNew(mFreeTypeLibrary, 0, 0, 0, nsFreeTypeFaceRequester,
-- this, &mFTCacheManager);
-- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to create FreeType Cache manager");
-- if (NS_FAILED(rv))
-- goto cleanup_and_return;
-- // use "this->" to make sure it is obivious we are calling the member func
-- rv = this->ImageCacheNew(mFTCacheManager, &mImageCache);
-- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to create FreeType image cache");
-- if (NS_FAILED(rv))
-- goto cleanup_and_return;
- return PR_TRUE;
-
- cleanup_and_return:
---- gfx/src/freetype/nsFreeType.h.agriffis 2004-04-16 17:31:42.000000000 -0400
-+++ gfx/src/freetype/nsFreeType.h 2004-11-15 13:29:05.122343104 -0500
-@@ -102,15 +102,8 @@
- typedef FT_Error (*FT_Outline_Decompose_t)
- (FT_Outline*, const FT_Outline_Funcs*, void*);
- typedef FT_Error (*FT_New_Face_t)(FT_Library, const char*, FT_Long, FT_Face*);
-+typedef FT_Error (*FT_Set_Pixel_Sizes_t)(FT_Face face, FT_UInt, FT_UInt);
- typedef FT_Error (*FT_Set_Charmap_t)(FT_Face face, FT_CharMap charmap);
--typedef FT_Error (*FTC_Image_Cache_Lookup_t)
-- (FTC_Image_Cache, FTC_Image_Desc*, FT_UInt, FT_Glyph*);
--typedef FT_Error (*FTC_Manager_Lookup_Size_t)
-- (FTC_Manager, FTC_Font, FT_Face*, FT_Size*);
--typedef FT_Error (*FTC_Manager_Done_t)(FTC_Manager);
--typedef FT_Error (*FTC_Manager_New_t)(FT_Library, FT_UInt, FT_UInt, FT_ULong,
-- FTC_Face_Requester, FT_Pointer, FTC_Manager*);
--typedef FT_Error (*FTC_Image_Cache_New_t)(FTC_Manager, FTC_Image_Cache*);
- // #ifdef MOZ_SVG
- typedef FT_Error (*FT_Glyph_Transform_t)(FT_Glyph, FT_Matrix*, FT_Vector*);
- typedef FT_Error (*FT_Get_Kerning_t)
-@@ -163,12 +156,8 @@
- FT_Load_Glyph_t nsFT_Load_Glyph;
- FT_New_Face_t nsFT_New_Face;
- FT_Outline_Decompose_t nsFT_Outline_Decompose;
-+ FT_Set_Pixel_Sizes_t nsFT_Set_Pixel_Sizes;
- FT_Set_Charmap_t nsFT_Set_Charmap;
-- FTC_Image_Cache_Lookup_t nsFTC_Image_Cache_Lookup;
-- FTC_Manager_Lookup_Size_t nsFTC_Manager_Lookup_Size;
-- FTC_Manager_Done_t nsFTC_Manager_Done;
-- FTC_Manager_New_t nsFTC_Manager_New;
-- FTC_Image_Cache_New_t nsFTC_Image_Cache_New;
- // #ifdef MOZ_SVG
- FT_Glyph_Transform_t nsFT_Glyph_Transform;
- FT_Get_Kerning_t nsFT_Get_Kerning;
-@@ -181,9 +170,9 @@
- // this array needs to be big enough to hold all the function pointers
- // plus one extra for the null at the end
- // #ifdef MOZ_SVG
-- static FtFuncList FtFuncs[24];
-+ static FtFuncList FtFuncs[20];
- // #else
--// static FtFuncList FtFuncs[20];
-+// static FtFuncList FtFuncs[17];
- // #endif
-
- protected:
-@@ -212,8 +201,6 @@
-
- PRLibrary *mSharedLib;
- FT_Library mFreeTypeLibrary;
-- FTC_Manager mFTCacheManager;
-- FTC_Image_Cache mImageCache;
-
- static nsHashtable *sFontFamilies;
- static nsHashtable *sRange1CharSetNames;
diff --git a/net-www/mozilla/files/mozilla-1.7.5-stackgrowth.patch b/net-www/mozilla/files/mozilla-1.7.5-stackgrowth.patch
deleted file mode 100644
index af226b28ed9c..000000000000
--- a/net-www/mozilla/files/mozilla-1.7.5-stackgrowth.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- js/src/jscpucfg.c 15 Nov 2003 00:10:56 -0000 3.21
-+++ js/src/jscpucfg.c 22 Oct 2004 05:45:36 -0000
-@@ -153,19 +153,34 @@ static int Log2(unsigned int n)
- */
- static void BitsPerByte(void)
- {
- bpb = 8;
- }
-
-+#ifdef __GNUC__
-+#if (__GNUC__ > 2)
-+__attribute__((noinline))
-+#endif
-+static int StackGrowthDirection(int *dummy1addr)
-+{
-+ int *dummy2 = alloca (sizeof (int));
-+
-+ return (dummy2 < dummy1addr) ? -1 : 1;
-+}
-+
-+#else /* __GNUC__ */
-+
- static int StackGrowthDirection(int *dummy1addr)
- {
- int dummy2;
-
- return (&dummy2 < dummy1addr) ? -1 : 1;
- }
-
-+#endif /* __GNUC__ */
-+
- int main(int argc, char **argv)
- {
- int sizeof_char, sizeof_short, sizeof_int, sizeof_int64, sizeof_long,
- sizeof_float, sizeof_double, sizeof_word, sizeof_dword;
- int bits_per_int64_log2, align_of_short, align_of_int, align_of_long,
- align_of_int64, align_of_float, align_of_double, align_of_pointer,
diff --git a/net-www/mozilla/files/mozilla-alpha-xpcom-subs-fix.patch b/net-www/mozilla/files/mozilla-alpha-xpcom-subs-fix.patch
deleted file mode 100644
index c7f95467438a..000000000000
--- a/net-www/mozilla/files/mozilla-alpha-xpcom-subs-fix.patch
+++ /dev/null
@@ -1,139 +0,0 @@
---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp 2002-04-10 05:37:38.000000000 +0200
-+++ mozilla-alpha/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp 2002-10-06 10:44:59.000000000 +0200
-@@ -20,6 +20,7 @@
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
-+ * Glen Nakamura <glen@imodulo.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
-@@ -37,16 +38,14 @@
-
- /* Platform specific code to invoke XPCOM methods on native objects */
-
--/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
--
- #include "xptcprivate.h"
-
- /* Prototype specifies unmangled function name and disables unused warning */
--static void
-+void
- invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
- __asm__("invoke_copy_to_stack") __attribute__((unused));
-
--static void
-+void
- invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
- {
- const PRUint8 NUM_ARG_REGS = 6-1; // -1 for "this" pointer
-@@ -163,7 +162,11 @@
- "bis $16,$16,$1\n\t" /* load "this" */
- "ldq $2,16($15)\n\t" /* load "methodIndex" */
- "ldq $1,0($1)\n\t" /* load vtable */
-+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
-+ "s8addq $2,$31,$2\n\t" /* vtable index = "methodIndex" * 8 */
-+#else /* not G++ V3 ABI */
- "s8addq $2,16,$2\n\t" /* vtable index = "methodIndex" * 8 + 16 */
-+#endif /* G++ V3 ABI */
- "addq $1,$2,$1\n\t"
- "ldq $27,0($1)\n\t" /* load address of function */
- "jsr $26,($27),0\n\t" /* call virtual function */
-@@ -176,4 +179,3 @@
- "ret $31,($26),1\n\t"
- ".end XPTC_InvokeByIndex"
- );
--
---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp 2002-04-10 05:37:42.000000000 +0200
-+++ mozilla-alpha/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp 2002-10-06 10:45:10.000000000 +0200
-@@ -20,6 +20,7 @@
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
-+ * Glen Nakamura <glen@imodulo.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
-@@ -37,16 +38,14 @@
-
- /* Implement shared vtbl methods. */
-
--/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
--
- #include "xptcprivate.h"
-
- /* Prototype specifies unmangled function name and disables unused warning */
--static nsresult
-+nsresult
- PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint64* args)
- __asm__("PrepareAndDispatch") __attribute__((unused));
-
--static nsresult
-+nsresult
- PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint64* args)
- {
- const PRUint8 PARAM_BUFFER_COUNT = 16;
-@@ -188,23 +187,45 @@
- * nsresult nsXPTCStubBase::Stub##n()
- * Sets register $1 to "methodIndex" and jumps to SharedStub.
- */
-+#define STUB_MANGLED_ENTRY(n, symbol) \
-+ "#### Stub"#n" ####" "\n\t" \
-+ ".text" "\n\t" \
-+ ".align 5" "\n\t" \
-+ ".globl " symbol "\n\t" \
-+ ".ent " symbol "\n" \
-+symbol ":" "\n\t" \
-+ ".frame $30,0,$26,0" "\n\t" \
-+ "ldgp $29,0($27)" "\n" \
-+"$" symbol "..ng:" "\n\t" \
-+ ".prologue 1" "\n\t" \
-+ "lda $1,"#n "\n\t" \
-+ "br $31,$SharedStub..ng" "\n\t" \
-+ ".end " symbol
-+
-+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
-+
-+#define STUB_ENTRY(n) \
-+__asm__( \
-+ ".if "#n" < 10" "\n\t" \
-+ STUB_MANGLED_ENTRY(n, "_ZN14nsXPTCStubBase5Stub"#n"Ev") "\n\t" \
-+ ".elseif "#n" < 100" "\n\t" \
-+ STUB_MANGLED_ENTRY(n, "_ZN14nsXPTCStubBase6Stub"#n"Ev") "\n\t" \
-+ ".elseif "#n" < 1000" "\n\t" \
-+ STUB_MANGLED_ENTRY(n, "_ZN14nsXPTCStubBase7Stub"#n"Ev") "\n\t" \
-+ ".else" "\n\t" \
-+ ".err \"Stub"#n" >= 1000 not yet supported.\"" "\n\t" \
-+ ".endif" \
-+ );
-+
-+#else /* not G++ V3 ABI */
-+
- #define STUB_ENTRY(n) \
- __asm__( \
-- "#### Stub"#n" ####\n" \
--".text\n\t" \
-- ".align 5\n\t" \
-- ".globl Stub"#n"__14nsXPTCStubBase\n\t" \
-- ".ent Stub"#n"__14nsXPTCStubBase\n" \
--"Stub"#n"__14nsXPTCStubBase:\n\t" \
-- ".frame $30,0,$26,0\n\t" \
-- "ldgp $29,0($27)\n" \
--"$Stub"#n"__14nsXPTCStubBase..ng:\n\t" \
-- ".prologue 1\n\t" \
-- "lda $1,"#n"\n\t" \
-- "br $31,$SharedStub..ng\n\t" \
-- ".end Stub"#n"__14nsXPTCStubBase" \
-+ STUB_MANGLED_ENTRY(n, "Stub"#n"__14nsXPTCStubBase") \
- );
-
-+#endif /* G++ V3 ABI */
-+
- #define SENTINEL_ENTRY(n) \
- nsresult nsXPTCStubBase::Sentinel##n() \
- { \
-@@ -213,4 +234,3 @@
- }
-
- #include "xptcstubsdef.inc"
--
diff --git a/net-www/mozilla/files/mozilla-hppa.patch b/net-www/mozilla/files/mozilla-hppa.patch
deleted file mode 100644
index f6171cf77eb4..000000000000
--- a/net-www/mozilla/files/mozilla-hppa.patch
+++ /dev/null
@@ -1,232 +0,0 @@
-diff -uNr mozilla.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
---- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2004-12-21 13:37:00.503842544 +0000
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2004-12-21 13:41:49.439917584 +0000
-@@ -167,6 +167,19 @@
- endif
- endif
-
-+#
-+# Linux/HPPA/gcc
-+#
-+ifeq ($(OS_ARCH),Linux)
-+ifneq (,$(filter parisc parisc64,$(OS_TEST)))
-+ifeq ($(CC),gcc)
-+CPPSRCS := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp
-+ASFILES := xptcstubs_asm_parisc_linux.s xptcinvoke_asm_parisc_linux.s
-+endif
-+endif
-+endif
-+
-+
- ######################################################################
- # M68k
- ######################################################################
-diff -uNr mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s
---- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s 1970-01-01 00:00:00.000000000 +0000
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s 2004-12-21 13:39:03.390160984 +0000
-@@ -0,0 +1,128 @@
-+
-+ .LEVEL 1.1
-+ .text
-+ .align 4
-+
-+framesz:
-+ .equ 128
-+
-+; XPTC_InvokeByIndex(nsISuppots* that, PRUint32 methodIndex,
-+; PRUint32 paramCount, nsXPTCVariant* params);
-+
-+.globl XPTC_InvokeByIndex
-+ .type XPTC_InvokeByIndex, @function
-+
-+
-+XPTC_InvokeByIndex:
-+ .PROC
-+ .CALLINFO FRAME=72, CALLER,SAVE_RP, SAVE_SP, ENTRY_GR=3
-+ .ENTRY
-+
-+ ; frame marker takes 48 bytes,
-+ ; register spill area takes 8 bytes,
-+ ; local stack area takes 72 bytes result in 128 bytes total
-+
-+ STW %rp,-20(%sp)
-+ STW,MA %r3,128(%sp)
-+
-+ LDO -framesz(%r30),%r28
-+ STW %r28,-4(%r30) ; save previous sp
-+ STW %r19,-32(%r30)
-+
-+ STW %r26,-36-framesz(%r30) ; save argument registers in
-+ STW %r25,-40-framesz(%r30) ; in PREVIOUS frame
-+ STW %r24,-44-framesz(%r30) ;
-+ STW %r23,-48-framesz(%r30) ;
-+
-+; B,L .+8,%r2
-+; ADDIL L'invoke_count_bytes-$PIC_pcrel$1+4,%r2,%r1
-+; ; LDO R'invoke_count_bytes-$PIC_pcrel$2+8(%r1),%r1
-+;$PIC_pcrel$1
-+; LDSID (%r1),%r31
-+;$PIC_pcrel$2
-+; MTSP %r31,%sr0
-+
-+ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR ;in=24,25,26;out=28
-+ BL invoke_count_bytes,%r31
-+ COPY %r31,%r2
-+
-+ CMPIB,>= 0,%r28, .+76
-+ COPY %r30,%r3 ; copy stack ptr to saved stack ptr
-+ ADD %r30,%r28,%r30 ; extend stack frame
-+ LDW -4(%r3),%r28 ; move frame
-+ STW %r28,-4(%r30)
-+ LDW -8(%r3),%r28
-+ STW %r28,-8(%r30)
-+ LDW -12(%r3),%r28
-+ STW %r28,-12(%r30)
-+ LDW -16(%r3),%r28
-+ STW %r28,-16(%r30)
-+ LDW -20(%r3),%r28
-+ STW %r28,-20(%r30)
-+ LDW -24(%r3),%r28
-+ STW %r28,-24(%r30)
-+ LDW -28(%r3),%r28
-+ STW %r28,-28(%r30)
-+ LDW -32(%r3),%r28
-+ STW %r28,-32(%r30)
-+
-+ LDO -40(%r30),%r26 ; load copy address
-+ LDW -44-framesz(%r3),%r25 ; load rest of 2 arguments
-+ LDW -48-framesz(%r3),%r24 ;
-+
-+ LDW -32(%r30),%r19 ; shared lib call destroys r19; reload
-+; B,L .+8,%r2
-+; ADDIL L'invoke_copy_to_stack-$PIC_pcrel$3+4,%r2,%r1
-+; LDO R'invoke_copy_to_stack-$PIC_pcrel$4+8(%r1),%r1
-+;$PIC_pcrel$3
-+; LDSID (%r1),%r31
-+;$PIC_pcrel$4
-+; MTSP %r31,%sr0
-+ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR ;in=24,25,26
-+ BL invoke_copy_to_stack,%r31
-+ COPY %r31,%r2
-+
-+ LDO -48(%r30),%r20
-+ EXTRW,U,= %r28,31,1,%r22
-+ FLDD 0(%r20),%fr7 ; load double arg 1
-+ EXTRW,U,= %r28,30,1,%r22
-+ FLDW 8(%r20),%fr5L ; load float arg 1
-+ EXTRW,U,= %r28,29,1,%r22
-+ FLDW 4(%r20),%fr6L ; load float arg 2
-+ EXTRW,U,= %r28,28,1,%r22
-+ FLDW 0(%r20),%fr7L ; load float arg 3
-+
-+ LDW -36-framesz(%r3),%r26 ; load ptr to 'that'
-+ LDW -40(%r30),%r25 ; load the rest of dispatch argument registers
-+ LDW -44(%r30),%r24
-+ LDW -48(%r30),%r23
-+
-+ LDW -36-framesz(%r3),%r20 ; load vtable addr
-+ LDW -40-framesz(%r3),%r28 ; load index
-+ LDW 0(%r20),%r20 ; follow vtable
-+; LDO 0(%r20),%r20 ; offset vtable by 16 bytes (g++: 8, aCC: 16)
-+ SH2ADDL %r28,%r20,%r28 ; add 4*index to vtable entry
-+ LDW 0(%r28),%r22 ; load vtable entry
-+
-+; B,L .+8,%r2
-+; ADDIL L'$$dyncall_external-$PIC_pcrel$5+4,%r2,%r1
-+; LDO R'$$dyncall_external-$PIC_pcrel$6+8(%r1),%r1
-+;$PIC_pcrel$5
-+; LDSID (%r1),%r31
-+;$PIC_pcrel$6
-+; MTSP %r31,%sr0
-+ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR,ARGW3=GR,RTNVAL=GR ;in=22-26;out=28;
-+ BL $$dyncall,%r31
-+ COPY %r31,%r2
-+
-+ LDW -32(%r30),%r19
-+ COPY %r3,%r30 ; restore saved stack ptr
-+
-+ LDW -148(%sp),%rp
-+ LDWM -128(%sp),%r3
-+ BV,N (%rp)
-+ NOP
-+ .EXIT
-+ .PROCEND ;in=23,24,25,26;
-+ .SIZE XPTC_InvokeByIndex, .-XPTC_InvokeByIndex
-+
-diff -uNr mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s
---- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s 1970-01-01 00:00:00.000000000 +0000
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s 2004-12-21 13:39:03.392160680 +0000
-@@ -0,0 +1,73 @@
-+ .LEVEL 1.1
-+ .TEXT
-+ .ALIGN 4
-+
-+curframesz:
-+ .EQU 128
-+
-+
-+; SharedStub has stack size of 128 bytes
-+
-+lastframesz:
-+ .EQU 64
-+
-+; the StubN C++ function has a small stack size of 64 bytes
-+
-+
-+.globl SharedStub
-+ .type SharedStub, @function
-+
-+SharedStub:
-+ .PROC
-+ .CALLINFO CALLER,FRAME=80,SAVE_RP
-+
-+ .ENTRY
-+ STW %rp,-20(%sp)
-+ LDO 128(%sp),%sp
-+
-+ STW %r19,-32(%r30)
-+ STW %r26,-36-curframesz(%r30) ; save arg0 in previous frame
-+
-+ LDO -80(%r30),%r28
-+ FSTD,MA %fr5,8(%r28) ; save darg0
-+ FSTD,MA %fr7,8(%r28) ; save darg1
-+ FSTW,MA %fr4L,4(%r28) ; save farg0
-+ FSTW,MA %fr5L,4(%r28) ; save farg1
-+ FSTW,MA %fr6L,4(%r28) ; save farg2
-+ FSTW,MA %fr7L,4(%r28) ; save farg3
-+
-+ ; Former value of register 26 is already properly saved by StubN,
-+ ; but register 25-23 are not because of the arguments mismatch
-+ STW %r25,-40-curframesz-lastframesz(%r30) ; save r25
-+ STW %r24,-44-curframesz-lastframesz(%r30) ; save r24
-+ STW %r23,-48-curframesz-lastframesz(%r30) ; save r23
-+ COPY %r26,%r25 ; method index is arg1
-+ LDW -36-curframesz-lastframesz(%r30),%r26 ; self is arg0
-+ LDO -40-curframesz-lastframesz(%r30),%r24 ; normal args is arg2
-+ LDO -80(%r30),%r23 ; floating args is arg3
-+
-+; BL .+8,%r2
-+; ADDIL L'PrepareAndDispatch-$PIC_pcrel$0+4,%r2
-+; LDO R'PrepareAndDispatch-$PIC_pcrel$1+8(%r1),%r1
-+;$PIC_pcrel$0
-+; LDSID (%r1),%r31
-+;$PIC_pcrel$1
-+; MTSP %r31,%sr0
-+ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR,ARGW3=GR,RTNVAL=GR ;in=23-26;out=28;
-+ BL PrepareAndDispatch, %r31
-+ COPY %r31,%r2
-+
-+ LDW -32(%r30),%r19
-+
-+ LDW -148(%sp),%rp
-+ LDO -128(%sp),%sp
-+
-+
-+ BV,N (%rp)
-+ NOP
-+ NOP
-+
-+ .EXIT
-+ .PROCEND ;in=26;out=28;
-+
-+ .SIZE SharedStub, .-SharedStub
diff --git a/net-www/mozilla/files/mozilla-rebuild-databases.pl b/net-www/mozilla/files/mozilla-rebuild-databases.pl
deleted file mode 100644
index 686387c9dff9..000000000000
--- a/net-www/mozilla/files/mozilla-rebuild-databases.pl
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/usr/bin/perl
-
-use File::Path;
-use File::Copy;
-use File::Glob ":glob";
-use POSIX ":sys_wait_h";
-
-$timeout = 60;
-
-%{ENV}->{"MOZILLA_FIVE_HOME"}="/usr/lib/mozilla";
-%{ENV}->{"LD_LIBRARY_PATH"}="/usr/lib/mozilla";
-
-umask 022;
-
-if ( -f "/usr/lib/mozilla/regxpcom" )
-{
- # remove all of the old files
- rmtree("/usr/lib/mozilla/chrome/overlayinfo");
- unlink </usr/lib/mozilla/chrome/*.rdf>;
- unlink("/usr/lib/mozilla/component.reg");
- unlink("/usr/lib/mozilla/components/compreg.dat");
- unlink("/usr/lib/mozilla/components/xpti.dat");
-
- # create a new clean path
- mkpath("/usr/lib/mozilla/chrome/overlayinfo");
-
- # rebuild the installed-chrome.txt file from the installed
- # languages
- if ( -f "/usr/lib/mozilla/chrome/lang/installed-chrome.txt" ) {
- rebuild_lang_files();
- }
-
- # run regxpcom
- $pid = fork();
-
- # I am the child.
- if ($pid == 0) {
- exec("/usr/lib/mozilla/regxpcom > /dev/null 2> /dev/null");
- }
- # I am the parent.
- else {
- my $timepassed = 0;
- do {
- $kid = waitpid($pid, &WNOHANG);
- sleep(1);
- $timepassed++;
- } until $kid == -1 || $timepassed > $timeout;
-
- # should we kill?
- if ($timepassed > $timeout) {
- kill (9, $pid);
- # kill -9 can leave threads hanging around
- system("/usr/bin/killall -9 regxpcom");
- }
- }
-
- # and run regchrome for good measure
- $pid = fork();
-
- # I am the child.
- if ($pid == 0) {
- exec("/usr/lib/mozilla/regchrome > /dev/null 2> /dev/null");
- }
- # I am the parent.
- else {
- my $timepassed = 0;
- do {
- $kid = waitpid($pid, &WNOHANG);
- sleep(1);
- $timepassed++;
- } until $kid == -1 || $timepassed > $timeout;
-
- # should we kill?
- if ($timepassed > $timeout) {
- kill (9, $pid);
- # kill -9 can leave threads hanging around
- system("/usr/bin/killall -9 regchrome");
- }
- }
-
-}
-
-
-sub rebuild_lang_files {
- unlink("/usr/lib/mozilla/chrome/installed-chrome.txt");
-
- open (OUTPUT, "+>", "/usr/lib/mozilla/chrome/installed-chrome.txt")||
- die("Failed to open installed-chrome.txt: $!\n");
-
- copy("/usr/lib/mozilla/chrome/lang/installed-chrome.txt",
- \*OUTPUT);
-
- foreach (bsd_glob("/usr/lib/mozilla/chrome/lang/lang-*.txt")) {
- copy($_, \*OUTPUT);
- }
-
- copy("/usr/lib/mozilla/chrome/lang/default.txt",
- \*OUTPUT);
-}
diff --git a/net-www/mozilla/files/mozilla-stackgrowth.patch b/net-www/mozilla/files/mozilla-stackgrowth.patch
deleted file mode 100644
index af226b28ed9c..000000000000
--- a/net-www/mozilla/files/mozilla-stackgrowth.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- js/src/jscpucfg.c 15 Nov 2003 00:10:56 -0000 3.21
-+++ js/src/jscpucfg.c 22 Oct 2004 05:45:36 -0000
-@@ -153,19 +153,34 @@ static int Log2(unsigned int n)
- */
- static void BitsPerByte(void)
- {
- bpb = 8;
- }
-
-+#ifdef __GNUC__
-+#if (__GNUC__ > 2)
-+__attribute__((noinline))
-+#endif
-+static int StackGrowthDirection(int *dummy1addr)
-+{
-+ int *dummy2 = alloca (sizeof (int));
-+
-+ return (dummy2 < dummy1addr) ? -1 : 1;
-+}
-+
-+#else /* __GNUC__ */
-+
- static int StackGrowthDirection(int *dummy1addr)
- {
- int dummy2;
-
- return (&dummy2 < dummy1addr) ? -1 : 1;
- }
-
-+#endif /* __GNUC__ */
-+
- int main(int argc, char **argv)
- {
- int sizeof_char, sizeof_short, sizeof_int, sizeof_int64, sizeof_long,
- sizeof_float, sizeof_double, sizeof_word, sizeof_dword;
- int bits_per_int64_log2, align_of_short, align_of_int, align_of_long,
- align_of_int64, align_of_float, align_of_double, align_of_pointer,
diff --git a/net-www/mozilla/files/svg-cairo-0.3.0-fix.patch b/net-www/mozilla/files/svg-cairo-0.3.0-fix.patch
deleted file mode 100644
index 9d1f0d830559..000000000000
--- a/net-www/mozilla/files/svg-cairo-0.3.0-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -aur mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp mozilla/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp
---- mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp 2004-02-10 15:18:09.000000000 -0500
-+++ mozilla/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp 2005-02-23 20:25:32.240459288 -0500
-@@ -50,6 +50,7 @@
- #include "nsRenderingContextGTK.h"
- #include <gdk/gdkx.h>
- #include <cairo.h>
-+#include <cairo-xlib.h>
-
- /**
- * \addtogroup cairo_renderer Cairo Rendering Engine
-diff -aur mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp mozilla/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp
---- mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp 2004-03-16 16:40:07.000000000 -0500
-+++ mozilla/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp 2005-02-23 20:25:09.538910448 -0500
-@@ -51,6 +51,7 @@
- #include "nsSVGTypeCIDs.h"
- #include "nsIComponentManager.h"
- #include <cairo.h>
-+#include <stdlib.h>
-
- /**
- * \addtogroup gdiplus_renderer Cairo Rendering Engine
diff --git a/net-www/mozilla/files/xft.js b/net-www/mozilla/files/xft.js
deleted file mode 100644
index ac10eea8d401..000000000000
--- a/net-www/mozilla/files/xft.js
+++ /dev/null
@@ -1,3 +0,0 @@
-// pref to override the default UI font because we're using xft
-pref("font.uifont.name", "sans");
-pref("font.uifont.pointheight", 10);
diff --git a/net-www/mozilla/metadata.xml b/net-www/mozilla/metadata.xml
deleted file mode 100644
index 74d9257900cf..000000000000
--- a/net-www/mozilla/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>mozilla</herd>
-</pkgmetadata>
diff --git a/net-www/mozilla/mozilla-1.7.5-r1.ebuild b/net-www/mozilla/mozilla-1.7.5-r1.ebuild
deleted file mode 100644
index 0f30b24aaf9b..000000000000
--- a/net-www/mozilla/mozilla-1.7.5-r1.ebuild
+++ /dev/null
@@ -1,360 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7.5-r1.ebuild,v 1.4 2005/03/23 07:33:49 brad Exp $
-
-unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
-inherit flag-o-matic gcc eutils nsplugins mozilla-launcher mozconfig makeedit multilib
-
-IUSE="java crypt ssl moznomail postgres"
-
-EMVER="0.89.6"
-IPCVER="1.1.2"
-
-# handle _rc versions
-MY_PV=${PV/_alpha/a} # handle alpha
-MY_PV=${MY_PV/_beta/b} # handle beta
-MY_PV=${MY_PV/_rc/rc} # handle rc
-
-DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
-HOMEPAGE="http://www.mozilla.org"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/source/${PN}-source-${MY_PV}.tar.bz2
- crypt? ( !moznomail? (
- http://www.mozilla-enigmail.org/downloads/src/ipc-${IPCVER}.tar.gz
- http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
- ) )"
-
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ~hppa"
-SLOT="0"
-LICENSE="MPL-1.1 NPL-1.1"
-
-# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
-# and is required to build with support for cairo. #71504
-RDEPEND="java? ( virtual/jre )
- mozsvg? (
- >=x11-base/xorg-x11-6.7.0-r2
- x11-libs/cairo
- )
- crypt? ( !moznomail? ( >=app-crypt/gnupg-1.2.1 ) )"
-
-DEPEND="${RDEPEND}
- java? ( >=dev-java/java-config-0.2.0 )
- dev-lang/perl
- pgsql? ( >=dev-db/postgresql-7.2.0 )"
-
-S="${WORKDIR}/mozilla"
-
-src_unpack() {
- typeset x
-
- unpack ${A} || die "unpack failed"
- cd ${S} || die "cd failed"
-
- if [[ $(gcc-major-version) -eq 3 ]]; then
- # ABI Patch for alpha/xpcom for gcc-3.x
- if [[ ${ARCH} == alpha ]]; then
- epatch ${FILESDIR}/${PN}-alpha-xpcom-subs-fix.patch
- fi
- fi
-
- # Fix stack growth logic
- epatch ${FILESDIR}/${PN}-stackgrowth.patch
-
- # Fix logic error when using RAW target
- # <azarah@gentoo.org> (23 Feb 2003)
- epatch ${FILESDIR}/1.3/${PN}-1.3-fix-RAW-target.patch
-
- # HPPA patches from Ivar <orskaug@stud.ntnu.no>
- # <gmsoft@gentoo.org> (22 Dec 2004)
- epatch ${FILESDIR}/mozilla-hppa.patch
-
- # patch out ft caching code since the API changed between releases of
- # freetype; this enables freetype-2.1.8+ compat.
- # https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-1.7.3-4ft2.patch
-
- # Patch for newer versions of cairo ( bug #80301)
- if has_version '>=x11-libs/cairo-0.3.0'; then
- epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch
- fi
-
- WANT_AUTOCONF=2.1 autoconf || die "WANT_AUTOCONF failed"
-
- # Unpack the enigmail plugin
- if use crypt && ! use moznomail; then
- for x in ipc enigmail; do
- mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
- cd ${S}/extensions/${x} || die "cd failed"
- makemake # from mozilla.eclass
- done
- fi
-}
-
-src_compile() {
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
-
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
-
- # Other moz-specific settings
- mozconfig_use_enable mozdevelop jsd
- mozconfig_use_enable mozdevelop xpctools
- mozconfig_use_extension mozdevelop venkman
- mozconfig_use_enable gnome gnomevfs
- mozconfig_use_extension gnome gnomevfs
- mozconfig_use_extension !moznoirc irc
- mozconfig_use_extension mozxmlterm xmlterm
- mozconfig_use_extension postgres sql
- mozconfig_use_enable mozcalendar calendar
- mozconfig_use_enable ldap
- mozconfig_use_enable ldap ldap-experimental
- mozconfig_use_enable mozsvg svg
- mozconfig_use_enable mozsvg svg-renderer-cairo
- mozconfig_annotate '' --prefix=/usr/$(get_libdir)/mozilla
- mozconfig_annotate '' --with-default-mozilla-five-home=/usr/$(get_libdir)/mozilla
-
- if use moznomail && ! use mozcalendar; then
- mozconfig_annotate "+moznomail -mozcalendar" --disable-mailnews
- fi
- if use moznocompose && use moznomail; then
- mozconfig_annotate "+moznocompose +moznomail" --disable-composer
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- if use postgres ; then
- export MOZ_ENABLE_PGSQL=1
- export MOZ_PGSQL_INCLUDES=/usr/include
- export MOZ_PGSQL_LIBS=/usr/$(get_libdir)
- fi
-
- ####################################
- #
- # Configure and build Mozilla
- #
- ####################################
-
- # ./configure picks up the mozconfig stuff
- export LD="$(tc-getLD)"
- export CC="$(tc-getCC)"
- export CXX="$(tc-getCXX)"
- ./configure || die "configure failed"
-
- # This removes extraneous CFLAGS from the Makefiles to reduce RAM
- # requirements while compiling
- edit_makefiles
-
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "emake failed"
-
- ####################################
- #
- # Build Mozilla NSS
- #
- ####################################
-
- # Build the NSS/SSL support
- if use ssl; then
- einfo "Building Mozilla NSS..."
-
- # Fix #include problem
- cd ${S}/security/coreconf || die "cd coreconf failed"
- echo 'INCLUDES += -I$(DIST)/include/nspr -I$(DIST)/include/dbm'\
- >>headers.mk
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make security headers failed"
-
- cd ${S}/security/nss || die "cd nss failed"
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" moz_import || die "make moz_import failed"
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make nss failed"
- fi
-
- ####################################
- #
- # Build Enigmail plugin
- #
- ####################################
-
- # Build the enigmail plugin
- if use crypt && ! use moznomail; then
- einfo "Building Enigmail plugin..."
- cd ${S}/extensions/ipc || die "cd ipc failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make ipc failed"
-
- cd ${S}/extensions/enigmail || die "cd enigmail failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make enigmail failed"
- fi
-}
-
-src_install() {
- # Install, don't create tarball
- dodir /usr/$(get_libdir)
- cd ${S}/xpinstall/packager
- einfo "Installing mozilla into build root..."
- make MOZ_PKG_FORMAT="RAW" TAR_CREATE_FLAGS="-chf" > /dev/null || die "make failed"
- mv -f ${S}/dist/mozilla ${D}/usr/$(get_libdir)/mozilla
-
- einfo "Installing includes and idl files..."
- # Copy the include and idl files
- dodir /usr/$(get_libdir)/mozilla/include/idl /usr/include
- cd ${S}/dist
- cp -LfR include/* ${D}/usr/$(get_libdir)/mozilla/include
- cp -LfR idl/* ${D}/usr/$(get_libdir)/mozilla/include/idl
- dosym /usr/$(get_libdir)/mozilla/include /usr/include/mozilla
-
- # Install the development tools in /usr
- dodir /usr/bin
- mv ${D}/usr/$(get_libdir)/mozilla/{xpcshell,xpidl,xpt_dump,xpt_link} ${D}/usr/bin
-
- # Install the NSS/SSL libs, headers and tools
- if use ssl; then
- einfo "Installing Mozilla NSS..."
- # Install the headers ('make install' do not work for headers ...)
- insinto /usr/$(get_libdir)/mozilla/include/nss
- [ -d ${S}/dist/public/nss ] && doins ${S}/dist/public/nss/*.h
- [ -d ${S}/dist/public/seccmd ] && doins ${S}/dist/public/seccmd/*.h
- [ -d ${S}/dist/public/security ] && doins ${S}/dist/public/security/*.h
- # These come with zlib ...
- rm -f ${D}/usr/$(get_libdir)/mozilla/include/nss/{zconf.h,zlib.h}
-
- cd ${S}/security/nss
-
- mkdir -p ${WORKDIR}/nss/{bin,lib}
- export SOURCE_BIN_DIR=${WORKDIR}/nss/bin
- export SOURCE_LIB_DIR=${WORKDIR}/nss/lib
-
- make install || die "make failed"
- # Gets installed as symbolic links ...
- cp -Lf ${WORKDIR}/nss/bin/* ${D}/usr/bin
- cp -Lf ${WORKDIR}/nss/lib/* ${D}/usr/$(get_libdir)/mozilla
-
- # Need to unset these incase we want to rebuild, else the build
- # gets newked.
- unset SOURCE_LIB_DIR
- unset SOURCE_BIN_DIR
- fi
-
- cd ${S}/build/unix
- # Fix mozilla-config and install it
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" mozilla-config
- perl -pi -e "s:/mozilla-${MY_PV}::g" mozilla-config
- exeinto /usr/$(get_libdir)/mozilla
- doexe mozilla-config
- # Fix pkgconfig files and install them
- insinto /usr/$(get_libdir)/pkgconfig
- for x in *.pc; do
- if [[ -f ${x} ]]; then
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" ${x}
- perl -pi -e "s:/mozilla-${MY_PV}::g" ${x}
- doins ${x}
- fi
- done
- cd ${S}
-
- dodir /usr/bin
- dosym /usr/libexec/mozilla-launcher /usr/bin/mozilla
- insinto /etc/env.d
- doins ${FILESDIR}/10mozilla
- dodoc LEGAL LICENSE README/mozilla/README*
-
- # Install rebuild script
- exeinto /usr/$(get_libdir)/mozilla/
- doexe ${FILESDIR}/mozilla-rebuild-databases.pl
-
- # Move plugins dir
- src_mv_plugins /usr/$(get_libdir)/mozilla/plugins
-
- # Update Google search plugin to use UTF8 charset ...
- insinto /usr/$(get_libdir)/mozilla/searchplugins
- doins ${FILESDIR}/google.src
-
- if [[ -f "${WORKDIR}/.xft" ]]; then
- # We are using Xft, so change the default font
- insinto /usr/$(get_libdir)/mozilla/defaults/pref
- doins ${FILESDIR}/xft.js
- fi
-
- # Fix icons to look the same everywhere
- insinto /usr/$(get_libdir)/mozilla/icons
- doins ${S}/widget/src/gtk/mozicon16.xpm
- doins ${S}/widget/src/gtk/mozicon50.xpm
-
- # Install icon and .desktop for menu entry
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/icon/mozilla-icon.png
- insinto /usr/share/applications
- doins ${FILESDIR}/icon/mozilla.desktop
-
- # Take care of non root execution
- # (seems the problem is that not all files are readible by the user)
- einfo "Fixing Permissions..."
- chmod -R g+r,o+r ${D}/usr/$(get_libdir)/mozilla
- find ${D}/usr/$(get_libdir)/mozilla/ -type d -exec chmod 0755 {} \; || :
-}
-
-pkg_preinst() {
- # Move old plugins dir
- pkg_mv_plugins /usr/$(get_libdir)/mozilla/plugins
-
- if true; then
- # Remove entire installed instance to solve various problems,
- # for example see bug 27719
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla
- else
- # Stale components and chrome files break when unmerging old
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla/components
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla/chrome
-
- # Remove stale component registry.
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/component.reg
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/components/compreg.dat
-
- # Make sure these are removed.
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/lib{Xft,Xrender}.so*
- fi
-}
-
-pkg_postinst() {
- export MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/mozilla"
-
- # Needed to update the run time bindings for REGXPCOM
- # (do not remove next line!)
- env-update
-
- # Register Components and Chrome
- einfo "Registering Components and Chrome..."
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
-
- # Fix permissions of component registry
- chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat
-
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \;
-
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
-
- update_mozilla_launcher_symlinks
-}
-
-pkg_postrm() {
- # Regenerate component.reg in case some things changed
- if [[ -e ${ROOT}/usr/$(get_libdir)/mozilla/regxpcom ]]; then
- export MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/mozilla"
-
- if [[ -x ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl ]]; then
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 755 {} \;
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
- fi
- fi
-
- update_mozilla_launcher_symlinks
-}
diff --git a/net-www/mozilla/mozilla-1.7.5.ebuild b/net-www/mozilla/mozilla-1.7.5.ebuild
deleted file mode 100644
index dcf156f1b7cf..000000000000
--- a/net-www/mozilla/mozilla-1.7.5.ebuild
+++ /dev/null
@@ -1,349 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7.5.ebuild,v 1.13 2005/03/23 07:33:49 brad Exp $
-
-unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
-inherit flag-o-matic gcc eutils nsplugins mozilla-launcher mozconfig makeedit
-
-IUSE="java crypt ssl moznomail"
-
-EMVER="0.89.6"
-IPCVER="1.1.2"
-
-# handle _rc versions
-MY_PV=${PV/_alpha/a} # handle alpha
-MY_PV=${MY_PV/_beta/b} # handle beta
-MY_PV=${MY_PV/_rc/rc} # handle rc
-
-DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
-HOMEPAGE="http://www.mozilla.org"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/source/${PN}-source-${MY_PV}.tar.bz2
- crypt? ( !moznomail? (
- http://www.mozilla-enigmail.org/downloads/src/ipc-${IPCVER}.tar.gz
- http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
- ) )"
-
-KEYWORDS="x86 ppc sparc alpha amd64 ia64 hppa"
-SLOT="0"
-LICENSE="MPL-1.1 NPL-1.1"
-
-# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
-# and is required to build with support for cairo. #71504
-RDEPEND="java? ( virtual/jre )
- mozsvg? (
- >=x11-base/xorg-x11-6.7.0-r2
- x11-libs/cairo
- )
- crypt? ( !moznomail? ( >=app-crypt/gnupg-1.2.1 ) )"
-
-DEPEND="${RDEPEND}
- java? ( >=dev-java/java-config-0.2.0 )
- dev-lang/perl"
-
-S="${WORKDIR}/mozilla"
-
-src_unpack() {
- typeset x
-
- unpack ${A} || die "unpack failed"
- cd ${S} || die "cd failed"
-
- if [[ $(gcc-major-version) -eq 3 ]]; then
- # ABI Patch for alpha/xpcom for gcc-3.x
- if [[ ${ARCH} == alpha ]]; then
- epatch ${FILESDIR}/${PN}-alpha-xpcom-subs-fix.patch
- fi
- fi
-
- # Fix stack growth logic
- epatch ${FILESDIR}/${PN}-stackgrowth.patch
-
- # Fix logic error when using RAW target
- # <azarah@gentoo.org> (23 Feb 2003)
- epatch ${FILESDIR}/1.3/${PN}-1.3-fix-RAW-target.patch
-
- # HPPA patches from Ivar <orskaug@stud.ntnu.no>
- # <gmsoft@gentoo.org> (22 Dec 2004)
- epatch ${FILESDIR}/mozilla-hppa.patch
-
- # patch out ft caching code since the API changed between releases of
- # freetype; this enables freetype-2.1.8+ compat.
- # https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-1.7.3-4ft2.patch
-
- # Patch for newer versions of cairo ( bug #80301)
- if has_version '>=x11-libs/cairo-0.3.0'; then
- epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch
- fi
-
- WANT_AUTOCONF=2.1 autoconf || die "WANT_AUTOCONF failed"
-
- # Unpack the enigmail plugin
- if use crypt && ! use moznomail; then
- for x in ipc enigmail; do
- mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
- cd ${S}/extensions/${x} || die "cd failed"
- makemake # from mozilla.eclass
- done
- fi
-}
-
-src_compile() {
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
-
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
-
- # Other moz-specific settings
- mozconfig_use_enable mozdevelop jsd
- mozconfig_use_enable mozdevelop xpctools
- mozconfig_use_extension mozdevelop venkman
- mozconfig_use_enable gnome gnomevfs
- mozconfig_use_extension gnome gnomevfs
- mozconfig_use_extension !moznoirc irc
- mozconfig_use_extension mozxmlterm xmlterm
- mozconfig_use_enable mozcalendar calendar
- mozconfig_use_enable ldap
- mozconfig_use_enable ldap ldap-experimental
- mozconfig_use_enable mozsvg svg
- mozconfig_use_enable mozsvg svg-renderer-cairo
- mozconfig_annotate '' --prefix=/usr/lib/mozilla
- mozconfig_annotate '' --with-default-mozilla-five-home=/usr/lib/mozilla
-
- if use moznomail && ! use mozcalendar; then
- mozconfig_annotate "+moznomail -mozcalendar" --disable-mailnews
- fi
- if use moznocompose && use moznomail; then
- mozconfig_annotate "+moznocompose +moznomail" --disable-composer
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- ####################################
- #
- # Configure and build Mozilla
- #
- ####################################
-
- # ./configure picks up the mozconfig stuff
- ./configure || die "configure failed"
-
- # This removes extraneous CFLAGS from the Makefiles to reduce RAM
- # requirements while compiling
- edit_makefiles
-
- emake || die "emake failed"
-
- ####################################
- #
- # Build Mozilla NSS
- #
- ####################################
-
- # Build the NSS/SSL support
- if use ssl; then
- einfo "Building Mozilla NSS..."
-
- # Fix #include problem
- cd ${S}/security/coreconf || die "cd coreconf failed"
- echo 'INCLUDES += -I$(DIST)/include/nspr -I$(DIST)/include/dbm'\
- >>headers.mk
- emake -j1 || die "make security headers failed"
-
- cd ${S}/security/nss || die "cd nss failed"
- emake -j1 moz_import || die "make moz_import failed"
- emake -j1 || die "make nss failed"
- fi
-
- ####################################
- #
- # Build Enigmail plugin
- #
- ####################################
-
- # Build the enigmail plugin
- if use crypt && ! use moznomail; then
- einfo "Building Enigmail plugin..."
- cd ${S}/extensions/ipc || die "cd ipc failed"
- emake || die "make ipc failed"
-
- cd ${S}/extensions/enigmail || die "cd enigmail failed"
- emake || die "make enigmail failed"
- fi
-}
-
-src_install() {
- # Install, don't create tarball
- dodir /usr/lib
- cd ${S}/xpinstall/packager
- einfo "Installing mozilla into build root..."
- make MOZ_PKG_FORMAT="RAW" TAR_CREATE_FLAGS="-chf" > /dev/null || die "make failed"
- mv -f ${S}/dist/mozilla ${D}/usr/lib/mozilla
-
- einfo "Installing includes and idl files..."
- # Copy the include and idl files
- dodir /usr/lib/mozilla/include/idl /usr/include
- cd ${S}/dist
- cp -LfR include/* ${D}/usr/lib/mozilla/include
- cp -LfR idl/* ${D}/usr/lib/mozilla/include/idl
- dosym /usr/lib/mozilla/include /usr/include/mozilla
-
- # Install the development tools in /usr
- dodir /usr/bin
- mv ${D}/usr/lib/mozilla/{xpcshell,xpidl,xpt_dump,xpt_link} ${D}/usr/bin
-
- # Install the NSS/SSL libs, headers and tools
- if use ssl; then
- einfo "Installing Mozilla NSS..."
- # Install the headers ('make install' do not work for headers ...)
- insinto /usr/lib/mozilla/include/nss
- [ -d ${S}/dist/public/nss ] && doins ${S}/dist/public/nss/*.h
- [ -d ${S}/dist/public/seccmd ] && doins ${S}/dist/public/seccmd/*.h
- [ -d ${S}/dist/public/security ] && doins ${S}/dist/public/security/*.h
- # These come with zlib ...
- rm -f ${D}/usr/lib/mozilla/include/nss/{zconf.h,zlib.h}
-
- cd ${S}/security/nss
-
- mkdir -p ${WORKDIR}/nss/{bin,lib}
- export SOURCE_BIN_DIR=${WORKDIR}/nss/bin
- export SOURCE_LIB_DIR=${WORKDIR}/nss/lib
-
- make install || die "make failed"
- # Gets installed as symbolic links ...
- cp -Lf ${WORKDIR}/nss/bin/* ${D}/usr/bin
- cp -Lf ${WORKDIR}/nss/lib/* ${D}/usr/lib/mozilla
-
- # Need to unset these incase we want to rebuild, else the build
- # gets newked.
- unset SOURCE_LIB_DIR
- unset SOURCE_BIN_DIR
- fi
-
- cd ${S}/build/unix
- # Fix mozilla-config and install it
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" mozilla-config
- perl -pi -e "s:/mozilla-${MY_PV}::g" mozilla-config
- exeinto /usr/lib/mozilla
- doexe mozilla-config
- # Fix pkgconfig files and install them
- insinto /usr/lib/pkgconfig
- for x in *.pc; do
- if [[ -f ${x} ]]; then
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" ${x}
- perl -pi -e "s:/mozilla-${MY_PV}::g" ${x}
- doins ${x}
- fi
- done
- cd ${S}
-
- dodir /usr/bin
- dosym /usr/libexec/mozilla-launcher /usr/bin/mozilla
- insinto /etc/env.d
- doins ${FILESDIR}/10mozilla
- dodoc LEGAL LICENSE README/mozilla/README*
-
- # Install rebuild script
- exeinto /usr/lib/mozilla/
- doexe ${FILESDIR}/mozilla-rebuild-databases.pl
-
- # Move plugins dir
- src_mv_plugins /usr/lib/mozilla/plugins
-
- # Update Google search plugin to use UTF8 charset ...
- insinto /usr/lib/mozilla/searchplugins
- doins ${FILESDIR}/google.src
-
- if [[ -f "${WORKDIR}/.xft" ]]; then
- # We are using Xft, so change the default font
- insinto /usr/lib/mozilla/defaults/pref
- doins ${FILESDIR}/xft.js
- fi
-
- # Fix icons to look the same everywhere
- insinto /usr/lib/mozilla/icons
- doins ${S}/widget/src/gtk/mozicon16.xpm
- doins ${S}/widget/src/gtk/mozicon50.xpm
-
- # Install icon and .desktop for menu entry
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/icon/mozilla-icon.png
- insinto /usr/share/applications
- doins ${FILESDIR}/icon/mozilla.desktop
-
- # Take care of non root execution
- # (seems the problem is that not all files are readible by the user)
- einfo "Fixing Permissions..."
- chmod -R g+r,o+r ${D}/usr/lib/mozilla
- find ${D}/usr/lib/mozilla/ -type d -exec chmod 0755 {} \; || :
-}
-
-pkg_preinst() {
- # Move old plugins dir
- pkg_mv_plugins /usr/lib/mozilla/plugins
-
- if true; then
- # Remove entire installed instance to solve various problems,
- # for example see bug 27719
- rm -rf ${ROOT}/usr/lib/mozilla
- else
- # Stale components and chrome files break when unmerging old
- rm -rf ${ROOT}/usr/lib/mozilla/components
- rm -rf ${ROOT}/usr/lib/mozilla/chrome
-
- # Remove stale component registry.
- rm -f ${ROOT}/usr/lib/mozilla/component.reg
- rm -f ${ROOT}/usr/lib/mozilla/components/compreg.dat
-
- # Make sure these are removed.
- rm -f ${ROOT}/usr/lib/mozilla/lib{Xft,Xrender}.so*
- fi
-}
-
-pkg_postinst() {
- export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/mozilla"
-
- # Needed to update the run time bindings for REGXPCOM
- # (do not remove next line!)
- env-update
-
- # Register Components and Chrome
- einfo "Registering Components and Chrome..."
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
-
- # Fix permissions of component registry
- chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat
-
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \;
-
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
-
- update_mozilla_launcher_symlinks
-}
-
-pkg_postrm() {
- # Regenerate component.reg in case some things changed
- if [[ -e ${ROOT}/usr/lib/mozilla/regxpcom ]]; then
- export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/mozilla"
-
- if [[ -x ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl ]]; then
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 755 {} \;
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
- fi
- fi
-
- update_mozilla_launcher_symlinks
-}
diff --git a/net-www/mozilla/mozilla-1.7.6-r1.ebuild b/net-www/mozilla/mozilla-1.7.6-r1.ebuild
deleted file mode 100644
index 9b4939b77d08..000000000000
--- a/net-www/mozilla/mozilla-1.7.6-r1.ebuild
+++ /dev/null
@@ -1,371 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7.6-r1.ebuild,v 1.1 2005/03/23 14:46:03 agriffis Exp $
-
-unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
-inherit flag-o-matic gcc eutils nsplugins mozilla-launcher mozconfig makeedit multilib
-
-IUSE="java crypt ssl moznomail postgres"
-
-EMVER="0.90.2"
-IPCVER="1.1.2"
-
-# handle _rc versions
-MY_PV=${PV/_alpha/a} # handle alpha
-MY_PV=${MY_PV/_beta/b} # handle beta
-MY_PV=${MY_PV/_rc/rc} # handle rc
-
-DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
-HOMEPAGE="http://www.mozilla.org"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/source/${PN}-source-${MY_PV}.tar.bz2
- crypt? ( !moznomail? (
- http://www.mozilla-enigmail.org/downloads/src/ipc-${IPCVER}.tar.gz
- http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
- ) )"
-
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ~hppa"
-SLOT="0"
-LICENSE="MPL-1.1 NPL-1.1"
-
-# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
-# and is required to build with support for cairo. #71504
-RDEPEND="java? ( virtual/jre )
- mozsvg? (
- >=x11-base/xorg-x11-6.7.0-r2
- x11-libs/cairo
- )
- crypt? ( !moznomail? ( >=app-crypt/gnupg-1.2.1 ) )
- >=net-www/mozilla-launcher-1.28"
-
-DEPEND="${RDEPEND}
- java? ( >=dev-java/java-config-0.2.0 )
- dev-lang/perl
- pgsql? ( >=dev-db/postgresql-7.2.0 )"
-
-S="${WORKDIR}/mozilla"
-
-src_unpack() {
- typeset x
-
- unpack ${A} || die "unpack failed"
- cd ${S} || die "cd failed"
-
- if [[ $(gcc-major-version) -eq 3 ]]; then
- # ABI Patch for alpha/xpcom for gcc-3.x
- if [[ ${ARCH} == alpha ]]; then
- epatch ${FILESDIR}/${PN}-alpha-xpcom-subs-fix.patch
- fi
- fi
-
- # Fix stack growth logic
- epatch ${FILESDIR}/${PN}-stackgrowth.patch
-
- # Fix logic error when using RAW target
- # <azarah@gentoo.org> (23 Feb 2003)
- epatch ${FILESDIR}/1.3/${PN}-1.3-fix-RAW-target.patch
-
- # HPPA patches from Ivar <orskaug@stud.ntnu.no>
- # <gmsoft@gentoo.org> (22 Dec 2004)
- epatch ${FILESDIR}/mozilla-hppa.patch
-
- # patch out ft caching code since the API changed between releases of
- # freetype; this enables freetype-2.1.8+ compat.
- # https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-1.7.3-4ft2.patch
-
- # Patch for newer versions of cairo ( bug #80301)
- if has_version '>=x11-libs/cairo-0.3.0'; then
- epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch
- fi
-
- WANT_AUTOCONF=2.1 autoconf || die "WANT_AUTOCONF failed"
-
- # Unpack the enigmail plugin
- if use crypt && ! use moznomail; then
- for x in ipc enigmail; do
- mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
- cd ${S}/extensions/${x} || die "cd failed"
- makemake # from mozilla.eclass
- done
- fi
-}
-
-src_compile() {
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
-
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
-
- # Other moz-specific settings
- mozconfig_use_enable mozdevelop jsd
- mozconfig_use_enable mozdevelop xpctools
- mozconfig_use_extension mozdevelop venkman
- mozconfig_use_enable gnome gnomevfs
- mozconfig_use_extension gnome gnomevfs
- mozconfig_use_extension !moznoirc irc
- mozconfig_use_extension mozxmlterm xmlterm
- mozconfig_use_extension postgres sql
- mozconfig_use_enable mozcalendar calendar
- mozconfig_use_enable ldap
- mozconfig_use_enable ldap ldap-experimental
- mozconfig_use_enable mozsvg svg
- mozconfig_use_enable mozsvg svg-renderer-cairo
- mozconfig_annotate '' --prefix=/usr/$(get_libdir)/mozilla
- mozconfig_annotate '' --with-default-mozilla-five-home=/usr/$(get_libdir)/mozilla
-
- if use moznomail && ! use mozcalendar; then
- mozconfig_annotate "+moznomail -mozcalendar" --disable-mailnews
- fi
- if use moznocompose && use moznomail; then
- mozconfig_annotate "+moznocompose +moznomail" --disable-composer
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- if use postgres ; then
- export MOZ_ENABLE_PGSQL=1
- export MOZ_PGSQL_INCLUDES=/usr/include
- export MOZ_PGSQL_LIBS=/usr/$(get_libdir)
- fi
-
- ####################################
- #
- # Configure and build Mozilla
- #
- ####################################
-
- # ./configure picks up the mozconfig stuff
- export LD="$(tc-getLD)"
- export CC="$(tc-getCC)"
- export CXX="$(tc-getCXX)"
- ./configure || die "configure failed"
-
- # This removes extraneous CFLAGS from the Makefiles to reduce RAM
- # requirements while compiling
- edit_makefiles
-
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "emake failed"
-
- ####################################
- #
- # Build Mozilla NSS
- #
- ####################################
-
- # Build the NSS/SSL support
- if use ssl; then
- einfo "Building Mozilla NSS..."
-
- # Fix #include problem
- cd ${S}/security/coreconf || die "cd coreconf failed"
- echo 'INCLUDES += -I$(DIST)/include/nspr -I$(DIST)/include/dbm'\
- >>headers.mk
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make security headers failed"
-
- cd ${S}/security/nss || die "cd nss failed"
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" moz_import || die "make moz_import failed"
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make nss failed"
- fi
-
- ####################################
- #
- # Build Enigmail plugin
- #
- ####################################
-
- # Build the enigmail plugin
- if use crypt && ! use moznomail; then
- einfo "Building Enigmail plugin..."
- cd ${S}/extensions/ipc || die "cd ipc failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make ipc failed"
-
- cd ${S}/extensions/enigmail || die "cd enigmail failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make enigmail failed"
- fi
-}
-
-src_install() {
- # Install, don't create tarball
- dodir /usr/$(get_libdir)
- cd ${S}/xpinstall/packager
- einfo "Installing mozilla into build root..."
- make MOZ_PKG_FORMAT="RAW" TAR_CREATE_FLAGS="-chf" > /dev/null || die "make failed"
- mv -f ${S}/dist/mozilla ${D}/usr/$(get_libdir)/mozilla
-
- einfo "Installing includes and idl files..."
- # Copy the include and idl files
- dodir /usr/$(get_libdir)/mozilla/include/idl /usr/include
- cd ${S}/dist
- cp -LfR include/* ${D}/usr/$(get_libdir)/mozilla/include
- cp -LfR idl/* ${D}/usr/$(get_libdir)/mozilla/include/idl
- dosym /usr/$(get_libdir)/mozilla/include /usr/include/mozilla
-
- # Install the development tools in /usr
- dodir /usr/bin
- mv ${D}/usr/$(get_libdir)/mozilla/{xpcshell,xpidl,xpt_dump,xpt_link} ${D}/usr/bin
-
- # Install the NSS/SSL libs, headers and tools
- if use ssl; then
- einfo "Installing Mozilla NSS..."
- # Install the headers ('make install' do not work for headers ...)
- insinto /usr/$(get_libdir)/mozilla/include/nss
- [ -d ${S}/dist/public/nss ] && doins ${S}/dist/public/nss/*.h
- [ -d ${S}/dist/public/seccmd ] && doins ${S}/dist/public/seccmd/*.h
- [ -d ${S}/dist/public/security ] && doins ${S}/dist/public/security/*.h
- # These come with zlib ...
- rm -f ${D}/usr/$(get_libdir)/mozilla/include/nss/{zconf.h,zlib.h}
-
- cd ${S}/security/nss
-
- mkdir -p ${WORKDIR}/nss/{bin,lib}
- export SOURCE_BIN_DIR=${WORKDIR}/nss/bin
- export SOURCE_LIB_DIR=${WORKDIR}/nss/lib
-
- make install || die "make failed"
- # Gets installed as symbolic links ...
- cp -Lf ${WORKDIR}/nss/bin/* ${D}/usr/bin
- cp -Lf ${WORKDIR}/nss/lib/* ${D}/usr/$(get_libdir)/mozilla
-
- # Need to unset these incase we want to rebuild, else the build
- # gets newked.
- unset SOURCE_LIB_DIR
- unset SOURCE_BIN_DIR
- fi
-
- cd ${S}/build/unix
- # Fix mozilla-config and install it
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" mozilla-config
- perl -pi -e "s:/mozilla-${MY_PV}::g" mozilla-config
- exeinto /usr/$(get_libdir)/mozilla
- doexe mozilla-config
- # Fix pkgconfig files and install them
- insinto /usr/$(get_libdir)/pkgconfig
- for x in *.pc; do
- if [[ -f ${x} ]]; then
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" ${x}
- perl -pi -e "s:/mozilla-${MY_PV}::g" ${x}
- doins ${x}
- fi
- done
- cd ${S}
-
- dodir /usr/bin
- cat <<EOF >${D}/usr/bin/mozilla
-#!/bin/sh
-#
-# Stub script to run mozilla-launcher. We used to use a symlink here but
-# OOo brokenness makes it necessary to use a stub instead:
-# http://bugs.gentoo.org/show_bug.cgi?id=78890
-
-export MOZILLA_LAUNCHER=mozilla
-exec /usr/libexec/mozilla-launcher "\$@"
-EOF
- chmod 0755 ${D}/usr/bin/mozilla
- insinto /etc/env.d
- doins ${FILESDIR}/10mozilla
- dodoc LEGAL LICENSE README/mozilla/README*
-
- # Install rebuild script
- exeinto /usr/$(get_libdir)/mozilla/
- doexe ${FILESDIR}/mozilla-rebuild-databases.pl
-
- # Move plugins dir
- src_mv_plugins /usr/$(get_libdir)/mozilla/plugins
-
- # Update Google search plugin to use UTF8 charset ...
- insinto /usr/$(get_libdir)/mozilla/searchplugins
- doins ${FILESDIR}/google.src
-
- if [[ -f "${WORKDIR}/.xft" ]]; then
- # We are using Xft, so change the default font
- insinto /usr/$(get_libdir)/mozilla/defaults/pref
- doins ${FILESDIR}/xft.js
- fi
-
- # Fix icons to look the same everywhere
- insinto /usr/$(get_libdir)/mozilla/icons
- doins ${S}/widget/src/gtk/mozicon16.xpm
- doins ${S}/widget/src/gtk/mozicon50.xpm
-
- # Install icon and .desktop for menu entry
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/icon/mozilla-icon.png
- insinto /usr/share/applications
- doins ${FILESDIR}/icon/mozilla.desktop
-
- # Take care of non root execution
- # (seems the problem is that not all files are readible by the user)
- einfo "Fixing Permissions..."
- chmod -R g+r,o+r ${D}/usr/$(get_libdir)/mozilla
- find ${D}/usr/$(get_libdir)/mozilla/ -type d -exec chmod 0755 {} \; || :
-}
-
-pkg_preinst() {
- # Move old plugins dir
- pkg_mv_plugins /usr/$(get_libdir)/mozilla/plugins
-
- if true; then
- # Remove entire installed instance to solve various problems,
- # for example see bug 27719
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla
- else
- # Stale components and chrome files break when unmerging old
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla/components
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla/chrome
-
- # Remove stale component registry.
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/component.reg
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/components/compreg.dat
-
- # Make sure these are removed.
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/lib{Xft,Xrender}.so*
- fi
-}
-
-pkg_postinst() {
- export MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/mozilla"
-
- # Needed to update the run time bindings for REGXPCOM
- # (do not remove next line!)
- env-update
-
- # Register Components and Chrome
- einfo "Registering Components and Chrome..."
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
-
- # Fix permissions of component registry
- chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat
-
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \;
-
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
-
- update_mozilla_launcher_symlinks
-}
-
-pkg_postrm() {
- # Regenerate component.reg in case some things changed
- if [[ -e ${ROOT}/usr/$(get_libdir)/mozilla/regxpcom ]]; then
- export MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/mozilla"
-
- if [[ -x ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl ]]; then
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 755 {} \;
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
- fi
- fi
-
- update_mozilla_launcher_symlinks
-}
diff --git a/net-www/mozilla/mozilla-1.7.6.ebuild b/net-www/mozilla/mozilla-1.7.6.ebuild
deleted file mode 100644
index a6a86784a7a0..000000000000
--- a/net-www/mozilla/mozilla-1.7.6.ebuild
+++ /dev/null
@@ -1,360 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7.6.ebuild,v 1.2 2005/03/23 07:57:12 brad Exp $
-
-unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
-inherit flag-o-matic gcc eutils nsplugins mozilla-launcher mozconfig makeedit multilib
-
-IUSE="java crypt ssl moznomail postgres"
-
-EMVER="0.90.2"
-IPCVER="1.1.2"
-
-# handle _rc versions
-MY_PV=${PV/_alpha/a} # handle alpha
-MY_PV=${MY_PV/_beta/b} # handle beta
-MY_PV=${MY_PV/_rc/rc} # handle rc
-
-DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
-HOMEPAGE="http://www.mozilla.org"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/source/${PN}-source-${MY_PV}.tar.bz2
- crypt? ( !moznomail? (
- http://www.mozilla-enigmail.org/downloads/src/ipc-${IPCVER}.tar.gz
- http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
- ) )"
-
-KEYWORDS="x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ~hppa"
-SLOT="0"
-LICENSE="MPL-1.1 NPL-1.1"
-
-# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
-# and is required to build with support for cairo. #71504
-RDEPEND="java? ( virtual/jre )
- mozsvg? (
- >=x11-base/xorg-x11-6.7.0-r2
- x11-libs/cairo
- )
- crypt? ( !moznomail? ( >=app-crypt/gnupg-1.2.1 ) )"
-
-DEPEND="${RDEPEND}
- java? ( >=dev-java/java-config-0.2.0 )
- dev-lang/perl
- pgsql? ( >=dev-db/postgresql-7.2.0 )"
-
-S="${WORKDIR}/mozilla"
-
-src_unpack() {
- typeset x
-
- unpack ${A} || die "unpack failed"
- cd ${S} || die "cd failed"
-
- if [[ $(gcc-major-version) -eq 3 ]]; then
- # ABI Patch for alpha/xpcom for gcc-3.x
- if [[ ${ARCH} == alpha ]]; then
- epatch ${FILESDIR}/${PN}-alpha-xpcom-subs-fix.patch
- fi
- fi
-
- # Fix stack growth logic
- epatch ${FILESDIR}/${PN}-stackgrowth.patch
-
- # Fix logic error when using RAW target
- # <azarah@gentoo.org> (23 Feb 2003)
- epatch ${FILESDIR}/1.3/${PN}-1.3-fix-RAW-target.patch
-
- # HPPA patches from Ivar <orskaug@stud.ntnu.no>
- # <gmsoft@gentoo.org> (22 Dec 2004)
- epatch ${FILESDIR}/mozilla-hppa.patch
-
- # patch out ft caching code since the API changed between releases of
- # freetype; this enables freetype-2.1.8+ compat.
- # https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-1.7.3-4ft2.patch
-
- # Patch for newer versions of cairo ( bug #80301)
- if has_version '>=x11-libs/cairo-0.3.0'; then
- epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch
- fi
-
- WANT_AUTOCONF=2.1 autoconf || die "WANT_AUTOCONF failed"
-
- # Unpack the enigmail plugin
- if use crypt && ! use moznomail; then
- for x in ipc enigmail; do
- mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
- cd ${S}/extensions/${x} || die "cd failed"
- makemake # from mozilla.eclass
- done
- fi
-}
-
-src_compile() {
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
-
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
-
- # Other moz-specific settings
- mozconfig_use_enable mozdevelop jsd
- mozconfig_use_enable mozdevelop xpctools
- mozconfig_use_extension mozdevelop venkman
- mozconfig_use_enable gnome gnomevfs
- mozconfig_use_extension gnome gnomevfs
- mozconfig_use_extension !moznoirc irc
- mozconfig_use_extension mozxmlterm xmlterm
- mozconfig_use_extension postgres sql
- mozconfig_use_enable mozcalendar calendar
- mozconfig_use_enable ldap
- mozconfig_use_enable ldap ldap-experimental
- mozconfig_use_enable mozsvg svg
- mozconfig_use_enable mozsvg svg-renderer-cairo
- mozconfig_annotate '' --prefix=/usr/$(get_libdir)/mozilla
- mozconfig_annotate '' --with-default-mozilla-five-home=/usr/$(get_libdir)/mozilla
-
- if use moznomail && ! use mozcalendar; then
- mozconfig_annotate "+moznomail -mozcalendar" --disable-mailnews
- fi
- if use moznocompose && use moznomail; then
- mozconfig_annotate "+moznocompose +moznomail" --disable-composer
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- if use postgres ; then
- export MOZ_ENABLE_PGSQL=1
- export MOZ_PGSQL_INCLUDES=/usr/include
- export MOZ_PGSQL_LIBS=/usr/$(get_libdir)
- fi
-
- ####################################
- #
- # Configure and build Mozilla
- #
- ####################################
-
- # ./configure picks up the mozconfig stuff
- export LD="$(tc-getLD)"
- export CC="$(tc-getCC)"
- export CXX="$(tc-getCXX)"
- ./configure || die "configure failed"
-
- # This removes extraneous CFLAGS from the Makefiles to reduce RAM
- # requirements while compiling
- edit_makefiles
-
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "emake failed"
-
- ####################################
- #
- # Build Mozilla NSS
- #
- ####################################
-
- # Build the NSS/SSL support
- if use ssl; then
- einfo "Building Mozilla NSS..."
-
- # Fix #include problem
- cd ${S}/security/coreconf || die "cd coreconf failed"
- echo 'INCLUDES += -I$(DIST)/include/nspr -I$(DIST)/include/dbm'\
- >>headers.mk
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make security headers failed"
-
- cd ${S}/security/nss || die "cd nss failed"
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" moz_import || die "make moz_import failed"
- emake -j1 CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make nss failed"
- fi
-
- ####################################
- #
- # Build Enigmail plugin
- #
- ####################################
-
- # Build the enigmail plugin
- if use crypt && ! use moznomail; then
- einfo "Building Enigmail plugin..."
- cd ${S}/extensions/ipc || die "cd ipc failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make ipc failed"
-
- cd ${S}/extensions/enigmail || die "cd enigmail failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" LD="$(tc-getLD)" || die "make enigmail failed"
- fi
-}
-
-src_install() {
- # Install, don't create tarball
- dodir /usr/$(get_libdir)
- cd ${S}/xpinstall/packager
- einfo "Installing mozilla into build root..."
- make MOZ_PKG_FORMAT="RAW" TAR_CREATE_FLAGS="-chf" > /dev/null || die "make failed"
- mv -f ${S}/dist/mozilla ${D}/usr/$(get_libdir)/mozilla
-
- einfo "Installing includes and idl files..."
- # Copy the include and idl files
- dodir /usr/$(get_libdir)/mozilla/include/idl /usr/include
- cd ${S}/dist
- cp -LfR include/* ${D}/usr/$(get_libdir)/mozilla/include
- cp -LfR idl/* ${D}/usr/$(get_libdir)/mozilla/include/idl
- dosym /usr/$(get_libdir)/mozilla/include /usr/include/mozilla
-
- # Install the development tools in /usr
- dodir /usr/bin
- mv ${D}/usr/$(get_libdir)/mozilla/{xpcshell,xpidl,xpt_dump,xpt_link} ${D}/usr/bin
-
- # Install the NSS/SSL libs, headers and tools
- if use ssl; then
- einfo "Installing Mozilla NSS..."
- # Install the headers ('make install' do not work for headers ...)
- insinto /usr/$(get_libdir)/mozilla/include/nss
- [ -d ${S}/dist/public/nss ] && doins ${S}/dist/public/nss/*.h
- [ -d ${S}/dist/public/seccmd ] && doins ${S}/dist/public/seccmd/*.h
- [ -d ${S}/dist/public/security ] && doins ${S}/dist/public/security/*.h
- # These come with zlib ...
- rm -f ${D}/usr/$(get_libdir)/mozilla/include/nss/{zconf.h,zlib.h}
-
- cd ${S}/security/nss
-
- mkdir -p ${WORKDIR}/nss/{bin,lib}
- export SOURCE_BIN_DIR=${WORKDIR}/nss/bin
- export SOURCE_LIB_DIR=${WORKDIR}/nss/lib
-
- make install || die "make failed"
- # Gets installed as symbolic links ...
- cp -Lf ${WORKDIR}/nss/bin/* ${D}/usr/bin
- cp -Lf ${WORKDIR}/nss/lib/* ${D}/usr/$(get_libdir)/mozilla
-
- # Need to unset these incase we want to rebuild, else the build
- # gets newked.
- unset SOURCE_LIB_DIR
- unset SOURCE_BIN_DIR
- fi
-
- cd ${S}/build/unix
- # Fix mozilla-config and install it
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" mozilla-config
- perl -pi -e "s:/mozilla-${MY_PV}::g" mozilla-config
- exeinto /usr/$(get_libdir)/mozilla
- doexe mozilla-config
- # Fix pkgconfig files and install them
- insinto /usr/$(get_libdir)/pkgconfig
- for x in *.pc; do
- if [[ -f ${x} ]]; then
- perl -pi -e "s:/lib/mozilla-${MY_PV}::g" ${x}
- perl -pi -e "s:/mozilla-${MY_PV}::g" ${x}
- doins ${x}
- fi
- done
- cd ${S}
-
- dodir /usr/bin
- dosym /usr/libexec/mozilla-launcher /usr/bin/mozilla
- insinto /etc/env.d
- doins ${FILESDIR}/10mozilla
- dodoc LEGAL LICENSE README/mozilla/README*
-
- # Install rebuild script
- exeinto /usr/$(get_libdir)/mozilla/
- doexe ${FILESDIR}/mozilla-rebuild-databases.pl
-
- # Move plugins dir
- src_mv_plugins /usr/$(get_libdir)/mozilla/plugins
-
- # Update Google search plugin to use UTF8 charset ...
- insinto /usr/$(get_libdir)/mozilla/searchplugins
- doins ${FILESDIR}/google.src
-
- if [[ -f "${WORKDIR}/.xft" ]]; then
- # We are using Xft, so change the default font
- insinto /usr/$(get_libdir)/mozilla/defaults/pref
- doins ${FILESDIR}/xft.js
- fi
-
- # Fix icons to look the same everywhere
- insinto /usr/$(get_libdir)/mozilla/icons
- doins ${S}/widget/src/gtk/mozicon16.xpm
- doins ${S}/widget/src/gtk/mozicon50.xpm
-
- # Install icon and .desktop for menu entry
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/icon/mozilla-icon.png
- insinto /usr/share/applications
- doins ${FILESDIR}/icon/mozilla.desktop
-
- # Take care of non root execution
- # (seems the problem is that not all files are readible by the user)
- einfo "Fixing Permissions..."
- chmod -R g+r,o+r ${D}/usr/$(get_libdir)/mozilla
- find ${D}/usr/$(get_libdir)/mozilla/ -type d -exec chmod 0755 {} \; || :
-}
-
-pkg_preinst() {
- # Move old plugins dir
- pkg_mv_plugins /usr/$(get_libdir)/mozilla/plugins
-
- if true; then
- # Remove entire installed instance to solve various problems,
- # for example see bug 27719
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla
- else
- # Stale components and chrome files break when unmerging old
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla/components
- rm -rf ${ROOT}/usr/$(get_libdir)/mozilla/chrome
-
- # Remove stale component registry.
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/component.reg
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/components/compreg.dat
-
- # Make sure these are removed.
- rm -f ${ROOT}/usr/$(get_libdir)/mozilla/lib{Xft,Xrender}.so*
- fi
-}
-
-pkg_postinst() {
- export MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/mozilla"
-
- # Needed to update the run time bindings for REGXPCOM
- # (do not remove next line!)
- env-update
-
- # Register Components and Chrome
- einfo "Registering Components and Chrome..."
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
-
- # Fix permissions of component registry
- chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat
-
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \;
-
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
-
- update_mozilla_launcher_symlinks
-}
-
-pkg_postrm() {
- # Regenerate component.reg in case some things changed
- if [[ -e ${ROOT}/usr/$(get_libdir)/mozilla/regxpcom ]]; then
- export MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/mozilla"
-
- if [[ -x ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl ]]; then
- ${MOZILLA_FIVE_HOME}/mozilla-rebuild-databases.pl
- # Fix directory permissions
- find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 755 {} \;
- # Fix permissions on chrome files
- find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \;
- fi
- fi
-
- update_mozilla_launcher_symlinks
-}