diff options
author | Brad Laue <brad@gentoo.org> | 2003-07-25 16:25:12 +0000 |
---|---|---|
committer | Brad Laue <brad@gentoo.org> | 2003-07-25 16:25:12 +0000 |
commit | 088a6e017e55312ec3c5f0fa21d0b3a864f0a5ee (patch) | |
tree | cda319234c756caeec0013a555f76f0bc157a845 /net-www | |
parent | new version (diff) | |
download | historical-088a6e017e55312ec3c5f0fa21d0b3a864f0a5ee.tar.gz historical-088a6e017e55312ec3c5f0fa21d0b3a864f0a5ee.tar.bz2 historical-088a6e017e55312ec3c5f0fa21d0b3a864f0a5ee.zip |
Implement moznoxft USE flag
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mozilla-firebird/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/mozilla-firebird/Manifest | 6 | ||||
-rw-r--r-- | net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r7 (renamed from net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r4) | 0 | ||||
-rw-r--r-- | net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild (renamed from net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild) | 68 |
4 files changed, 67 insertions, 14 deletions
diff --git a/net-www/mozilla-firebird/ChangeLog b/net-www/mozilla-firebird/ChangeLog index ebb1239d585b..d03689411457 100644 --- a/net-www/mozilla-firebird/ChangeLog +++ b/net-www/mozilla-firebird/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/mozilla-firebird # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/ChangeLog,v 1.12 2003/07/20 03:37:51 brad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/ChangeLog,v 1.13 2003/07/25 16:25:06 brad Exp $ + +*mozilla-firebird-0.6-r7 (25 Jul 2003) + + 25 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-firebird-0.6-r7.ebuild: + By popular request, implement the moznoxft USE flag. 19 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-firebird-0.6-r6.ebuild: Mark stable on x86. Bugs fixed: diff --git a/net-www/mozilla-firebird/Manifest b/net-www/mozilla-firebird/Manifest index fe1c39787f86..679d4c3c032b 100644 --- a/net-www/mozilla-firebird/Manifest +++ b/net-www/mozilla-firebird/Manifest @@ -1,10 +1,10 @@ -MD5 354413bd8534fc50004005594a084be0 ChangeLog 2451 -MD5 8ca497e8450db916c56c95ea96fcbfc9 mozilla-firebird-0.6-r4.ebuild 4713 MD5 febebab06fcb3cc7cf269e565795436d mozilla-firebird-0.6-r5.ebuild 4948 MD5 c44058fad41573d4ce34592bc3f00bc9 mozilla-firebird-0.6-r6.ebuild 5139 MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160 +MD5 b5e947cedd57f14375f5a232ddeda663 mozilla-firebird-0.6-r7.ebuild 6267 +MD5 309c424627f941e192cd0a757f3c75ad ChangeLog 2622 MD5 6e4352482ed149b3b9aca78d83de1124 files/MozillaFirebird 753 -MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r4 81 MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r5 81 MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r6 81 MD5 23d1fbd03cc6dd346a4e4ce8f2d88ebf files/mozilla-1.3-alpha-stubs.patch 4646 +MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r7 81 diff --git a/net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r4 b/net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r7 index 7c8e90ff1655..7c8e90ff1655 100644 --- a/net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r4 +++ b/net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r7 diff --git a/net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild b/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild index 9a49a4ee7e21..dfbd14067efd 100644 --- a/net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild +++ b/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild @@ -1,25 +1,22 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild,v 1.1 2003/06/08 06:25:40 brad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild,v 1.1 2003/07/25 16:25:06 brad Exp $ -inherit makeedit flag-o-matic gcc nsplugins +inherit makeedit flag-o-matic gcc nsplugins eutils # Added to get MozillaFirebird to compile on sparc. replace-sparc64-flags -EMVER="0.65.2" -IPCVER="1.0.0.1" - S=${WORKDIR}/mozilla DESCRIPTION="The Mozilla Firebird Web Browser" HOMEPAGE="http://www.mozilla.org/projects/firebird/" SRC_URI="http://komodo.mozilla.org/pub/firebird/releases/${PV}/MozillaFirebird-${PV}-source.tar.bz2" -KEYWORDS="~x86 ~ppc ~sparc" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" SLOT="0" LICENSE="MPL-1.1 | NPL-1.1" -IUSE="java gtk2 ipv6" +IUSE="java gtk2 ipv6 moznoxft" RDEPEND="virtual/x11 >=dev-libs/libIDL-0.8.0 @@ -48,6 +45,18 @@ export MOZ_PHOENIX=1 export MOZ_CALENDAR=0 export MOZ_ENABLE_XFT=1 +src_unpack() { + unpack MozillaFirebird-${PV}-source.tar.bz2 + + # alpha stubs patch from lfs project. + # <taviso@gentoo.org> (26 Jun 2003) + use alpha && epatch ${FILESDIR}/mozilla-1.3-alpha-stubs.patch + + # Fix build with Linux 2.6 + cp ${S}/security/coreconf/Linux2.5.mk ${S}/security/coreconf/Linux2.6.mk + +} + src_compile() { local myconf="--disable-composer \ --with-x \ @@ -57,7 +66,6 @@ src_compile() { --with-system-mng \ --disable-mailnews \ --disable-calendar \ - --enable-xft \ --disable-pedantic \ --disable-svg \ --enable-mathml \ @@ -81,10 +89,11 @@ src_compile() { --enable-strip-libs \ --enable-cpp-rtti \ --enable-xterm-updates \ - --enable-optimize=-O2 \ + --enable-optimize=-O2 \ --disable-ldap \ --disable-toolkit-qt \ - --disable-toolkit-xlib" + --disable-toolkit-xlib \ + --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help" if [ -n "`use gtk2`" ] ; then myconf="${myconf} --enable-toolkit-gtk2 \ @@ -96,12 +105,50 @@ src_compile() { --disable-toolkit-gtk2" fi + # Check if we should enable Xft support ... + if [ -z "`use moznoxft`" ] + then + if [ -n "`use gtk2`" ] + then + local pango_version="" + + # We need Xft2.0 localy installed + if (test -x /usr/bin/pkg-config) && (pkg-config xft) + then + pango_version="`pkg-config --modversion pango | cut -d. -f1,2`" + pango_version="`echo ${pango_version} | sed -e 's:\.::g'`" + + # We also need pango-1.1, else Mozilla links to both + # Xft1.1 *and* Xft2.0, and segfault... + if [ "${pango_version}" -gt "10" ] + then + einfo "Building with Xft2.0 (Gtk+-2.0) support!" + myconf="${myconf} --enable-xft --disable-freetype2" + touch ${WORKDIR}/.xft + else + ewarn "Building without Xft2.0 support!" + myconf="${myconf} --disable-xft `use_enable truetype freetype2`" + fi + else + ewarn "Building without Xft2.0 support!" + myconf="${myconf} --disable-xft `use_enable truetype freetype2`" + fi + else + einfo "Building with Xft2.0 (Gtk+-1.0) support!" + myconf="${myconf} --enable-xft --disable-freetype2" + touch ${WORKDIR}/.xft + fi + else + myconf="${myconf} --disable-xft `use_enable truetype freetype2`" + fi + if [ -n "`use ipv6`" ] ; then myconf="${myconf} --enable-ipv6" fi # Crashes on start when compiled with -fomit-frame-pointer filter-flags -fomit-frame-pointer + filter-flags -ffast-math append-flags -s -fforce-addr if [ "$(gcc-major-version)" -eq "3" ]; then @@ -109,6 +156,7 @@ src_compile() { # and other optimizations for pentium4. if [ "$(gcc-minor-version)" -lt "3" ]; then replace-flags -march=pentium4 -march=pentium3 + filter-flags -msse2 fi # Enable us to use flash, etc plugins compiled with gcc-2.95.3 |