diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-06-18 14:24:44 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-06-18 14:24:44 +0000 |
commit | 6bdb0d2085d5ca12175c6a541611dfda7e663c71 (patch) | |
tree | 4cd6ee934e71b9c7f69f23c878b96195b09e8a85 /net-www/mozilla-firefox | |
parent | removing unneeded patches (diff) | |
download | historical-6bdb0d2085d5ca12175c6a541611dfda7e663c71.tar.gz historical-6bdb0d2085d5ca12175c6a541611dfda7e663c71.tar.bz2 historical-6bdb0d2085d5ca12175c6a541611dfda7e663c71.zip |
- Fix bug 54179: Install mozillafirefox.desktop to /usr/share/applications instead of /usr/share/gnome/apps/Internet. This also necessitated some changes to the .desktop file which I based on epiphany.desktop - Fix bug 54295: Move init file unpacking from pkg_postinst to src_install - Get rid of the stupid perl dependency; it was only being used to edit the .desktop file, and sed would have sufficed in any case
Diffstat (limited to 'net-www/mozilla-firefox')
-rw-r--r-- | net-www/mozilla-firefox/ChangeLog | 13 | ||||
-rw-r--r-- | net-www/mozilla-firefox/Manifest | 5 | ||||
-rw-r--r-- | net-www/mozilla-firefox/files/icon/mozillafirefox.desktop | 8 | ||||
-rw-r--r-- | net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild | 29 |
4 files changed, 34 insertions, 21 deletions
diff --git a/net-www/mozilla-firefox/ChangeLog b/net-www/mozilla-firefox/ChangeLog index b4b7624514c3..bd8aea2883e0 100644 --- a/net-www/mozilla-firefox/ChangeLog +++ b/net-www/mozilla-firefox/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for net-www/mozilla-firefox # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/ChangeLog,v 1.43 2004/06/17 13:32:08 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/ChangeLog,v 1.44 2004/06/18 14:24:44 agriffis Exp $ + + 18 Jun 2004; Aron Griffis <agriffis@gentoo.org> + +files/icon/mozillafirefox.desktop, mozilla-firefox-0.9-r1.ebuild: + - Fix bug 54179: Install mozillafirefox.desktop to + /usr/share/applications instead of /usr/share/gnome/apps/Internet. + This also necessitated some changes to the .desktop file which I + based on epiphany.desktop + - Fix bug 54295: Move init file unpacking from pkg_postinst to + src_install + - Get rid of the stupid perl dependency; it was only being used to + edit the .desktop file, and sed would have sufficed in any case 17 Jun 2004; Aron Griffis <agriffis@gentoo.org> mozilla-firefox-0.9-r1.ebuild: diff --git a/net-www/mozilla-firefox/Manifest b/net-www/mozilla-firefox/Manifest index 7b09edc82b68..1c476d10ad73 100644 --- a/net-www/mozilla-firefox/Manifest +++ b/net-www/mozilla-firefox/Manifest @@ -1,9 +1,9 @@ MD5 8dbb2cf3df0804383ca2976ff56cf850 mozilla-firefox-0.8-r2.ebuild 7684 MD5 374d5a9966abbff259171c26dc01af97 mozilla-firefox-0.8.ebuild 7619 -MD5 dfb2e0389f3aa2604d127de826e3132b mozilla-firefox-0.9-r1.ebuild 8691 +MD5 faa4727a014aa2826f061b8560818009 mozilla-firefox-0.9-r1.ebuild 8336 MD5 57e33ecea035469455a03f73c6c04543 mozilla-firefox-0.8-r1.ebuild 7593 MD5 853743a656b7e40673f90aec532a1bdc mozilla-firefox-0.8-r3.ebuild 8528 -MD5 93ae9b231b7690641558e1a0a1f3c956 ChangeLog 7186 +MD5 86956ac679e8dc12e04a1d1014e932fc ChangeLog 7747 MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160 MD5 507a3d1338e85acc8828cec7c91d22df files/digest-mozilla-firefox-0.8 73 MD5 88371b8f812caf799a1ede2b1b07c079 files/mozilla-firefox-mousebuttons.patch 17099 @@ -17,4 +17,5 @@ MD5 507a3d1338e85acc8828cec7c91d22df files/digest-mozilla-firefox-0.8-r3 73 MD5 1616bcd357c0cbe601722dd6279bd21f files/digest-mozilla-firefox-0.9-r1 73 MD5 3ad7410bd680964096c84eee3fa21abf files/firefox-0.8-gcc-3.4.patch 460 MD5 f0e9adeb0454377ce019e8969e644efb files/mozilla-firebird-amd64.patch 35052 +MD5 2cdd03eb2752bc01ba07ad837e926f39 files/icon/mozillafirefox.desktop 168 MD5 bff260036c5dcca45da3218517fb33d8 files/icon/firefox-icon.png 3979 diff --git a/net-www/mozilla-firefox/files/icon/mozillafirefox.desktop b/net-www/mozilla-firefox/files/icon/mozillafirefox.desktop new file mode 100644 index 000000000000..c9eb057275ff --- /dev/null +++ b/net-www/mozilla-firefox/files/icon/mozillafirefox.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Mozilla Firefox +Comment=Web Browser +Exec=/usr/bin/firefox %U +Icon=firefox-icon.png +Terminal=false +Type=Application +Categories=Application;Network; diff --git a/net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild b/net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild index 4d1308edfede..d787c0f1f92f 100644 --- a/net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild +++ b/net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild,v 1.5 2004/06/17 13:32:08 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/mozilla-firefox-0.9-r1.ebuild,v 1.6 2004/06/18 14:24:44 agriffis Exp $ inherit makeedit flag-o-matic gcc nsplugins eutils mozilla-launcher @@ -37,7 +37,6 @@ RDEPEND="virtual/x11 DEPEND="${RDEPEND} virtual/glibc dev-util/pkgconfig - dev-lang/perl java? ( >=dev-java/java-config-0.2.0 )" # needed by src_compile() and src_install() @@ -232,17 +231,17 @@ src_install() { if use gnome; then insinto /usr/share/pixmaps doins ${FILESDIR}/icon/firefox-icon.png - # Fix comment of menu entry - cd ${S}/build/package/rpm/SOURCES - cp mozilla.desktop mozillafirefox.desktop - perl -pi -e 's:Name=Mozilla:Name=Mozilla Firefox:' mozillafirefox.desktop - perl -pi -e 's:Comment=Mozilla:Comment=Mozilla Firefox Web Browser:' mozillafirefox.desktop - perl -pi -e 's:Exec=/usr/bin/mozilla:Exec=/usr/bin/firefox:' mozillafirefox.desktop - perl -pi -e 's:Icon=mozilla-icon.png:Icon=firefox-icon.png:' mozillafirefox.desktop - cd ${S} - insinto /usr/share/gnome/apps/Internet - doins ${S}/build/package/rpm/SOURCES/mozillafirefox.desktop + # Fix bug 54179: Install .desktop file into /usr/share/applications + # instead of /usr/share/gnome/apps/Internet (18 Jun 2004 agriffis) + insinto /usr/share/applications + doins ${FILESDIR}/icon/mozillafirefox.desktop fi + + # Normally firefox-0.9 must be run as root once before it can be + # run as a normal user. Drop in some initialized files to avoid + # this. + einfo "Extracting firefox-${PV} initialization files" + tar xjpf ${FILESDIR}/firefox-${PV}-init.tar.bz2 -C ${D}/usr/lib/MozillaFirefox } pkg_preinst() { @@ -259,12 +258,6 @@ pkg_preinst() { pkg_postinst() { export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaFirefox" - # Normally firefox-0.9 must be run as root once before it can be - # run as a normal user. Drop in some initialized files to avoid - # this. - einfo "Extracting firefox-${PV} initialization files" - cd ${MOZILLA_FIVE_HOME} && tar xjpf ${FILESDIR}/firefox-${PV}-init.tar.bz2 - # Needed to update the run time bindings for REGXPCOM # (do not remove next line!) env-update |