summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Laue <brad@gentoo.org>2003-06-08 06:25:48 +0000
committerBrad Laue <brad@gentoo.org>2003-06-08 06:25:48 +0000
commit69fd7a1af9bba05410529ca103db7bcce8d72f04 (patch)
treef4a0ad86ba62f558472d31ca443d23571104d9c0 /net-www
parentsed-4 added to DEPEND (diff)
downloadhistorical-69fd7a1af9bba05410529ca103db7bcce8d72f04.tar.gz
historical-69fd7a1af9bba05410529ca103db7bcce8d72f04.tar.bz2
historical-69fd7a1af9bba05410529ca103db7bcce8d72f04.zip
Updated to add an icon to the GNOME menu
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mozilla-firebird/ChangeLog8
-rw-r--r--net-www/mozilla-firebird/Manifest4
-rw-r--r--net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r41
-rw-r--r--net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild167
4 files changed, 178 insertions, 2 deletions
diff --git a/net-www/mozilla-firebird/ChangeLog b/net-www/mozilla-firebird/ChangeLog
index 905ef76986dc..8c3d368b6a5c 100644
--- a/net-www/mozilla-firebird/ChangeLog
+++ b/net-www/mozilla-firebird/ChangeLog
@@ -1,6 +1,12 @@
# 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.4 2003/06/04 18:55:16 brad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/ChangeLog,v 1.5 2003/06/08 06:25:40 brad Exp $
+
+*mozilla-firebird-0.6-r4 (08 Jun 2003)
+
+ 08 Jun 2003; Brad Laue <brad@gentoo.org> mozilla-firebird-0.6-r4.ebuild:
+ This revision adds an item to the GNOME applications menu, per bug 22388.
+ Thanks to Don Goss for testing.
*mozilla-firebird 0.6-r3 (04 June 2003)
diff --git a/net-www/mozilla-firebird/Manifest b/net-www/mozilla-firebird/Manifest
index 9ad6a252f44a..300f57d4e87b 100644
--- a/net-www/mozilla-firebird/Manifest
+++ b/net-www/mozilla-firebird/Manifest
@@ -2,9 +2,11 @@ MD5 0a0b11d86465f6fa20dbea2b27a36239 mozilla-firebird-0.6.ebuild 4028
MD5 ea497964b6dbf52847c8094487529365 mozilla-firebird-0.6-r1.ebuild 4015
MD5 194139858e8b3ff8cecd1b466e97bdfc mozilla-firebird-0.6-r2.ebuild 4015
MD5 b97d58c783770c19dbdd03d946e32090 mozilla-firebird-0.6-r3.ebuild 4034
-MD5 665a3a16263df149398ae5afaa79ed1d ChangeLog 1017
+MD5 3fe316fdd6d1f0b76140ed7d71ddd9f4 ChangeLog 1243
+MD5 8ca497e8450db916c56c95ea96fcbfc9 mozilla-firebird-0.6-r4.ebuild 4713
MD5 6e4352482ed149b3b9aca78d83de1124 files/MozillaFirebird 753
MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6 81
MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r1 81
MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r2 81
MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r3 81
+MD5 78b9eef353e1aff29cef379e4de6b9fa files/digest-mozilla-firebird-0.6-r4 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-r4
new file mode 100644
index 000000000000..7c8e90ff1655
--- /dev/null
+++ b/net-www/mozilla-firebird/files/digest-mozilla-firebird-0.6-r4
@@ -0,0 +1 @@
+MD5 de52dd03f8628724f14f517cd6346755 MozillaFirebird-0.6-source.tar.bz2 31992582
diff --git a/net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild b/net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild
new file mode 100644
index 000000000000..9a49a4ee7e21
--- /dev/null
+++ b/net-www/mozilla-firebird/mozilla-firebird-0.6-r4.ebuild
@@ -0,0 +1,167 @@
+# 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 $
+
+inherit makeedit flag-o-matic gcc nsplugins
+
+# 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"
+SLOT="0"
+LICENSE="MPL-1.1 | NPL-1.1"
+IUSE="java gtk2 ipv6"
+
+RDEPEND="virtual/x11
+ >=dev-libs/libIDL-0.8.0
+ >=gnome-base/ORBit-0.5.10-r1
+ virtual/xft
+ >=sys-libs/zlib-1.1.4
+ >=media-libs/jpeg-6b
+ >=media-libs/libmng-1.0.0
+ >=media-libs/libpng-1.2.1
+ >=sys-apps/portage-2.0.36
+ dev-libs/expat
+ app-arch/zip
+ app-arch/unzip
+ ( gtk2? >=x11-libs/gtk+-2.1.1 :
+ =x11-libs/gtk+-1.2* )
+ java? ( virtual/jre )
+ !net-www/mozilla-firebird-bin"
+
+DEPEND="${RDEPEND}
+ virtual/glibc
+ dev-lang/perl
+ java? ( >=dev-java/java-config-0.2.0 )"
+
+# needed by src_compile() and src_install()
+export MOZ_PHOENIX=1
+export MOZ_CALENDAR=0
+export MOZ_ENABLE_XFT=1
+
+src_compile() {
+ local myconf="--disable-composer \
+ --with-x \
+ --with-system-jpeg \
+ --with-system-zlib \
+ --with-system-png \
+ --with-system-mng \
+ --disable-mailnews \
+ --disable-calendar \
+ --enable-xft \
+ --disable-pedantic \
+ --disable-svg \
+ --enable-mathml \
+ --without-system-nspr \
+ --enable-nspr-autoconf \
+ --enable-xsl \
+ --enable-crypto \
+ --enable-xinerama=no \
+ --with-java-supplement \
+ --with-pthreads \
+ --with-default-mozilla-five-home=/usr/lib/MozillaFirebird \
+ --with-user-appdir=.phoenix \
+ --disable-jsd \
+ --disable-accessibility \
+ --disable-tests \
+ --disable-debug \
+ --disable-dtd-debug \
+ --disable-logging \
+ --enable-reorder \
+ --enable-strip \
+ --enable-strip-libs \
+ --enable-cpp-rtti \
+ --enable-xterm-updates \
+ --enable-optimize=-O2 \
+ --disable-ldap \
+ --disable-toolkit-qt \
+ --disable-toolkit-xlib"
+
+ if [ -n "`use gtk2`" ] ; then
+ myconf="${myconf} --enable-toolkit-gtk2 \
+ --enable-default-toolkit=gtk2 \
+ --disable-toolkit-gtk"
+ else
+ myconf="${myconf} --enable-toolkit-gtk \
+ --enable-default-toolkit=gtk \
+ --disable-toolkit-gtk2"
+ 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
+ append-flags -s -fforce-addr
+
+ if [ "$(gcc-major-version)" -eq "3" ]; then
+ # Currently gcc-3.2 or older do not work well if we specify "-march"
+ # and other optimizations for pentium4.
+ if [ "$(gcc-minor-version)" -lt "3" ]; then
+ replace-flags -march=pentium4 -march=pentium3
+ fi
+
+ # Enable us to use flash, etc plugins compiled with gcc-2.95.3
+ if [ "${ARCH}" = "x86" ]; then
+ myconf="${myconf} --enable-old-abi-compat-wrappers"
+ fi
+ fi
+
+ econf ${myconf} || die
+
+ edit_makefiles
+ emake MOZ_PHOENIX=1 || die
+}
+
+src_install() {
+ # Plugin path creation
+ PLUGIN_DIR="/usr/lib/nsbrowser/plugins"
+ dodir ${PLUGIN_DIR}
+
+ dodir /usr/lib
+ dodir /usr/lib/MozillaFirebird
+ cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaFirebird
+
+ #fix permissions
+ chown -R root.root ${D}/usr/lib/MozillaFirebird
+
+ # Plugin path setup (rescuing the existent plugins)
+ src_mv_plugins /usr/lib/MozillaFirebird/plugins
+
+ dobin ${FILESDIR}/MozillaFirebird
+
+ # Fix icons to look the same everywhere
+ insinto /usr/lib/MozillaFirebird/icons
+ doins ${S}/build/package/rpm/SOURCES/mozicon16.xpm
+ doins ${S}/build/package/rpm/SOURCES/mozicon50.xpm
+
+ # Install icon and .desktop for menu entry
+ if [ "`use gnome`" ]
+ then
+ insinto /usr/share/pixmaps
+ doins ${S}/build/package/rpm/SOURCES/mozilla-icon.png
+
+ # Fix comment of menu entry
+ cd ${S}/build/package/rpm/SOURCES
+ perl -pi -e 's:Name=Mozilla:Name=Mozilla Firebird:' mozilla.desktop
+ perl -pi -e 's:Comment=Mozilla:Comment=Mozilla Firebird Web Browser:' mozilla.desktop
+ cd ${S}
+ insinto /usr/share/gnome/apps/Internet
+ doins ${S}/build/package/rpm/SOURCES/mozilla.desktop
+ fi
+}
+
+pkg_preinst() {
+ # Remove the old plugins dir
+ pkg_mv_plugins /usr/lib/MozillaFirebird/plugins
+}