diff options
author | Brad Laue <brad@gentoo.org> | 2004-02-12 08:24:49 +0000 |
---|---|---|
committer | Brad Laue <brad@gentoo.org> | 2004-02-12 08:24:49 +0000 |
commit | d643ce3b29d3ce08db28668e26859c196b10ea3a (patch) | |
tree | e780aef944d494090ad776e104930774af6aca85 /net-www | |
parent | tidy docs (Manifest recommit) (diff) | |
download | gentoo-2-d643ce3b29d3ce08db28668e26859c196b10ea3a.tar.gz gentoo-2-d643ce3b29d3ce08db28668e26859c196b10ea3a.tar.bz2 gentoo-2-d643ce3b29d3ce08db28668e26859c196b10ea3a.zip |
Adding mozilla-firefox-bin, soon to replace mozilla-firebird-bin
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mozilla-firefox-bin/ChangeLog | 12 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/Manifest | 2 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-0.8 | 1 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch | 28 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/files/firefox | 20 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/files/icon/firefox-icon.png | bin | 0 -> 5229 bytes | |||
-rw-r--r-- | net-www/mozilla-firefox-bin/files/icon/mozillafirefox.desktop | 7 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/metadata.xml | 5 | ||||
-rw-r--r-- | net-www/mozilla-firefox-bin/mozilla-firefox-bin-0.8.ebuild | 65 |
9 files changed, 140 insertions, 0 deletions
diff --git a/net-www/mozilla-firefox-bin/ChangeLog b/net-www/mozilla-firefox-bin/ChangeLog new file mode 100644 index 000000000000..fac4f470c43c --- /dev/null +++ b/net-www/mozilla-firefox-bin/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-www/mozilla-firefox-bin +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox-bin/ChangeLog,v 1.1 2004/02/12 08:24:49 brad Exp $ + +*mozilla-firefox-bin-0.8 (12 Feb 2004) + + 12 Feb 2004; Brad Laue <brad@gentoo.org> mozilla-firefox-bin-0.8.ebuild, + files/firebird-0.7-antialiasing-patch, files/firefox, + files/icon/firefox-icon.png, files/icon/mozillafirefox.desktop: + mozilla-firefox-bin, soon to replace firebird. This ebuild features the GTK+2 + binary with antialiased fonts, and that groovy groovy icon. + diff --git a/net-www/mozilla-firefox-bin/Manifest b/net-www/mozilla-firefox-bin/Manifest new file mode 100644 index 000000000000..893dda149d16 --- /dev/null +++ b/net-www/mozilla-firefox-bin/Manifest @@ -0,0 +1,2 @@ +MD5 4ea32765081661821bb97db04b1aeef4 mozilla-firefox-bin-0.8.ebuild 1817 +MD5 cfa48a263b4274cfb989f3140d843ede files/digest-mozilla-firefox-bin-0.8 84 diff --git a/net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-0.8 b/net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-0.8 new file mode 100644 index 000000000000..c39b570db3ac --- /dev/null +++ b/net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-0.8 @@ -0,0 +1 @@ +MD5 0492ff379e12f406430557b3564ff443 firefox-0.8-i686-linux-gtk2+xft.tar.gz 7673647 diff --git a/net-www/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch b/net-www/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch new file mode 100644 index 000000000000..8ae470bf9048 --- /dev/null +++ b/net-www/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch @@ -0,0 +1,28 @@ +--- unix.js~ 2003-05-17 13:08:50.000000000 +0200 ++++ unix.js 2003-05-17 13:16:56.000000000 +0200 +@@ -228,21 +228,20 @@ + pref("font.scale.outline.min", 6); + + // TrueType +-pref("font.FreeType2.enable", false); ++pref("font.FreeType2.enable", true); + pref("font.freetype2.shared-library", "libfreetype.so.6"); + // if libfreetype was built without hinting compiled in + // it is best to leave hinting off + pref("font.FreeType2.autohinted", false); +-pref("font.FreeType2.unhinted", true); ++pref("font.FreeType2.unhinted", false); + // below a certian pixel size anti-aliased fonts produce poor results + pref("font.antialias.min", 10); + pref("font.embedded_bitmaps.max", 1000000); + pref("font.scale.tt_bitmap.dark_text.min", 64); + pref("font.scale.tt_bitmap.dark_text.gain", "0.8"); + // sample prefs for TrueType font dirs +-//pref("font.directory.truetype.1", "/u/sam/tt_font1"); +-//pref("font.directory.truetype.2", "/u/sam/tt_font2"); +-//pref("font.directory.truetype.3", "/u/sam/tt_font3"); ++pref("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/truetype"); ++pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/TTF"); + pref("font.FreeType2.printing", true); + + // below a certian pixel size anti-aliased bitmat scaled fonts diff --git a/net-www/mozilla-firefox-bin/files/firefox b/net-www/mozilla-firefox-bin/files/firefox new file mode 100644 index 000000000000..0e7a27db8bd1 --- /dev/null +++ b/net-www/mozilla-firefox-bin/files/firefox @@ -0,0 +1,20 @@ +#!/bin/sh + +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox-bin/files/firefox,v 1.1 2004/02/12 08:24:49 brad Exp $ + +# This is the Gentoo Phoenix startup script +# Additions, suggestions? +# contact phoen][x <phoenix@gentoo.org> + +export MOZILLA_FIVE_HOME="/opt/firefox" +FIREBIRD_PATH="/opt/firefox" + +if [ -z "`/bin/ps x | /bin/grep \"[0-9] ${FIREBIRD_PATH}/firefox-bin\"`" ]; then + # No MozillaFirebird running + ${FIREBIRD_PATH}/firefox $@ +else + # MozillaFirebird running - open a new window + ${FIREBIRD_PATH}/firefox -remote "openURL($@ ,new-window)" +fi diff --git a/net-www/mozilla-firefox-bin/files/icon/firefox-icon.png b/net-www/mozilla-firefox-bin/files/icon/firefox-icon.png Binary files differnew file mode 100644 index 000000000000..649fac711f16 --- /dev/null +++ b/net-www/mozilla-firefox-bin/files/icon/firefox-icon.png diff --git a/net-www/mozilla-firefox-bin/files/icon/mozillafirefox.desktop b/net-www/mozilla-firefox-bin/files/icon/mozillafirefox.desktop new file mode 100644 index 000000000000..90228ab5b520 --- /dev/null +++ b/net-www/mozilla-firefox-bin/files/icon/mozillafirefox.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Mozilla Firefox +Comment=Web Browser +Exec=/usr/bin/firefox +Icon=firefox-icon.png +Terminal=0 +Type=Application diff --git a/net-www/mozilla-firefox-bin/metadata.xml b/net-www/mozilla-firefox-bin/metadata.xml new file mode 100644 index 000000000000..74d9257900cf --- /dev/null +++ b/net-www/mozilla-firefox-bin/metadata.xml @@ -0,0 +1,5 @@ +<?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-firefox-bin/mozilla-firefox-bin-0.8.ebuild b/net-www/mozilla-firefox-bin/mozilla-firefox-bin-0.8.ebuild new file mode 100644 index 000000000000..0d064fac5b7f --- /dev/null +++ b/net-www/mozilla-firefox-bin/mozilla-firefox-bin-0.8.ebuild @@ -0,0 +1,65 @@ +# 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-bin/mozilla-firefox-bin-0.8.ebuild,v 1.1 2004/02/12 08:24:49 brad Exp $ + +inherit nsplugins eutils + +IUSE="gnome" + +MY_PN=${PN/-bin/} +S=${WORKDIR}/firefox +DESCRIPTION="The Mozilla Firefox Web Browser" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-${PV}-i686-linux-gtk2+xft.tar.gz" +HOMEPAGE="http://www.mozilla.org/projects/firefox" +RESTRICT="nostrip" + +KEYWORDS="~x86 -ppc -sparc -alpha" +SLOT="0" +LICENSE="MPL-1.1 NPL-1.1" + +DEPEND="virtual/glibc" +RDEPEND=">=sys-libs/lib-compat-1.0-r2 + =x11-libs/gtk+-2.2* + virtual/x11 + !net-www/mozilla-firefox" + +src_install() { + # Plugin path creation + PLUGIN_DIR="/usr/lib/nsbrowser/plugins" + dodir /${PLUGIN_DIR} + + dodir /opt + + mv ${S} ${D}/opt/firefox + + # Plugin path setup (rescuing the existent plugins) + src_mv_plugins /opt/firefox/plugins + + # Fixing permissions + chown -R root:root ${D}/opt/firefox + + # Truetype fonts + cd ${D}/opt/firefox/defaults/pref + einfo "Enabling truetype fonts. Filesdir is ${FILESDIR}" + epatch ${FILESDIR}/firebird-0.7-antialiasing-patch + + # Misc stuff + dobin ${FILESDIR}/firefox + + # Install icon and .desktop for menu entry + if [ "`use gnome`" ] + then + insinto /usr/share/pixmaps + doins ${FILESDIR}/icon/firefox-icon.png + + insinto /usr/share/gnome/apps/Internet + doins ${FILESDIR}/icon/mozillafirefox.desktop + fi + +} + +pkg_preinst() { + # Remove the old plugins dir + pkg_mv_plugins /opt/firefox/plugins +} + |