diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-30 10:48:42 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-30 10:48:42 +0000 |
commit | c7416ca5f8a55039ee578ac652ccb5882d46cd17 (patch) | |
tree | 2d5805795ff88e99f695becd63b14e9865da1e7a /www-client | |
parent | Add distribution-id (diff) | |
download | gentoo-2-c7416ca5f8a55039ee578ac652ccb5882d46cd17.tar.gz gentoo-2-c7416ca5f8a55039ee578ac652ccb5882d46cd17.tar.bz2 gentoo-2-c7416ca5f8a55039ee578ac652ccb5882d46cd17.zip |
Remove useless stuff and add vendor
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/mozilla-firefox/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/www-client/mozilla-firefox/ChangeLog b/www-client/mozilla-firefox/ChangeLog index 1582fa7bb01e..127b5b951934 100644 --- a/www-client/mozilla-firefox/ChangeLog +++ b/www-client/mozilla-firefox/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/mozilla-firefox # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.432 2008/07/19 10:02:59 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.433 2008/07/30 10:48:42 armin76 Exp $ + + 30 Jul 2008; Raúl Porcel <armin76@gentoo.org> + mozilla-firefox-3.0.1.ebuild: + Remove useless stuff and add vendor 19 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org> mozilla-firefox-2.0.0.16.ebuild: diff --git a/www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild b/www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild index 3872a1606903..a473881b85cc 100644 --- a/www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild +++ b/www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild,v 1.3 2008/07/18 17:51:09 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0.1.ebuild,v 1.4 2008/07/30 10:48:42 armin76 Exp $ EAPI="1" WANT_AUTOCONF="2.1" @@ -276,14 +276,6 @@ src_install() { fi if use xulrunner; then - PKG_CONFIG=`which pkg-config` - X_DATE=`date +%Y%m%d` - XULRUNNER_VERSION=`${PKG_CONFIG} --modversion libxul` - - #set the application.ini - sed -i -e "s|BuildID=.*$|BuildID=${X_DATE}GentooMozillaFirefox|" "${D}"${MOZILLA_FIVE_HOME}/application.ini - sed -i -e "s|MinVersion=.*$|MinVersion=${XULRUNNER_VERSION}|" "${D}"${MOZILLA_FIVE_HOME}/application.ini - sed -i -e "s|MaxVersion=.*$|MaxVersion=${XULRUNNER_VERSION}|" "${D}"${MOZILLA_FIVE_HOME}/application.ini # Create /usr/bin/firefox cat <<EOF >"${D}"/usr/bin/firefox #!/bin/sh @@ -294,6 +286,10 @@ EOF else # Create /usr/bin/firefox make_wrapper firefox "${MOZILLA_FIVE_HOME}/firefox" + + # Add vendor + echo "pref(\"general.useragent.vendor\",\"Gentoo\");" \ + >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js fi } |