summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-05-07 19:32:30 +0000
committerAron Griffis <agriffis@gentoo.org>2004-05-07 19:32:30 +0000
commit2d814970ebba33bd2716014dc48157159f95a2ff (patch)
treeedca757e5cce85f2dd0cb2ccc8efc08a2bc70fce /net-www/mozilla
parentMove mozilla-launcher to /usr/libexec to reduce confusion for bug 46183. Mark... (diff)
downloadhistorical-2d814970ebba33bd2716014dc48157159f95a2ff.tar.gz
historical-2d814970ebba33bd2716014dc48157159f95a2ff.tar.bz2
historical-2d814970ebba33bd2716014dc48157159f95a2ff.zip
Depend on mozilla-launcher-1.7-r1 which installs in /usr/libexec
Diffstat (limited to 'net-www/mozilla')
-rw-r--r--net-www/mozilla/ChangeLog6
-rw-r--r--net-www/mozilla/mozilla-1.7_beta-r1.ebuild6
-rw-r--r--net-www/mozilla/mozilla-1.7_rc1-r1.ebuild42
-rw-r--r--net-www/mozilla/mozilla-1.7_rc1.ebuild6
4 files changed, 29 insertions, 31 deletions
diff --git a/net-www/mozilla/ChangeLog b/net-www/mozilla/ChangeLog
index 123830c01241..c53ee3fda1c7 100644
--- a/net-www/mozilla/ChangeLog
+++ b/net-www/mozilla/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-www/mozilla
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.168 2004/05/03 02:58:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.169 2004/05/07 19:32:30 agriffis Exp $
+
+ 07 May 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_beta-r1.ebuild,
+ mozilla-1.7_rc1-r1.ebuild, mozilla-1.7_rc1.ebuild:
+ Depend on mozilla-launcher-1.7-r1 which installs in /usr/libexec
02 May 2004; Aron Griffis <agriffis@gentoo.org> mozilla-1.7_rc1-r1.ebuild:
Update to >=mozilla-launcher-1.5 since it has more 1.7 fixes
diff --git a/net-www/mozilla/mozilla-1.7_beta-r1.ebuild b/net-www/mozilla/mozilla-1.7_beta-r1.ebuild
index e39e216e62e5..ae52b754f34f 100644
--- a/net-www/mozilla/mozilla-1.7_beta-r1.ebuild
+++ b/net-www/mozilla/mozilla-1.7_beta-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/mozilla-1.7_beta-r1.ebuild,v 1.8 2004/04/26 15:33:49 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7_beta-r1.ebuild,v 1.9 2004/05/07 19:32:30 agriffis Exp $
IUSE="java crypt ipv6 gtk2 ssl ldap gnome debug xinerama"
# Internal USE flags that I do not really want to advertise ...
@@ -96,7 +96,7 @@ RDEPEND="virtual/x11
java? ( virtual/jre )
crypt? ( !moznomail? ( >=app-crypt/gnupg-1.2.1 ) )
gnome? ( >=gnome-base/gnome-vfs-2.3.5 )
- net-www/mozilla-launcher"
+ >=net-www/mozilla-launcher-1.7-r1"
DEPEND="${RDEPEND}
dev-util/pkgconfig
@@ -455,7 +455,7 @@ src_install() {
cd ${S}
dodir /usr/bin
- dosym mozilla-launcher /usr/bin/mozilla
+ dosym /usr/libexec/mozilla-launcher /usr/bin/mozilla
insinto /etc/env.d
doins ${FILESDIR}/10mozilla
dodoc LEGAL LICENSE README/mozilla/README*
diff --git a/net-www/mozilla/mozilla-1.7_rc1-r1.ebuild b/net-www/mozilla/mozilla-1.7_rc1-r1.ebuild
index a4d5f68554f2..ab6d0d32bcca 100644
--- a/net-www/mozilla/mozilla-1.7_rc1-r1.ebuild
+++ b/net-www/mozilla/mozilla-1.7_rc1-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/mozilla-1.7_rc1-r1.ebuild,v 1.4 2004/05/03 02:58:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7_rc1-r1.ebuild,v 1.5 2004/05/07 19:32:30 agriffis Exp $
IUSE="java crypt ipv6 gtk2 ssl ldap gnome debug xinerama xprint"
# Internal USE flags that I do not really want to advertise ...
@@ -13,21 +13,18 @@ inherit flag-o-matic gcc eutils nsplugins
EMVER="0.83.6"
IPCVER="1.0.5"
-PATCH_VER="1.0"
-
# handle _rc versions
MY_PV=${PV/_alpha/a} # handle alpha
MY_PV=${MY_PV/_beta/b} # handle beta
MY_PV=${MY_PV/_rc/rc} # handle rc
-S="${WORKDIR}/mozilla"
+
DESCRIPTION="The Mozilla Web Browser"
+HOMEPAGE="http://www.mozilla.org"
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/src/${PN}-source-${MY_PV}.tar.bz2
crypt? ( !moznomail? (
http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz
http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz
) )"
-# mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
-HOMEPAGE="http://www.mozilla.org"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64"
SLOT="0"
@@ -55,13 +52,15 @@ RDEPEND="virtual/x11
java? ( virtual/jre )
crypt? ( !moznomail ( >=app-crypt/gnupg-1.2.1 ) )
gnome? ( >=gnome-base/gnome-vfs-2.3.5 )
- >=net-www/mozilla-launcher-1.5"
+ >=net-www/mozilla-launcher-1.7-r1"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-lang/perl
java? ( >=dev-java/java-config-0.2.0 )"
+S="${WORKDIR}/mozilla"
+
moz_setup() {
# Set MAKEOPTS to have proper -j? option ..
get_number_of_jobs
@@ -79,8 +78,7 @@ moz_setup() {
src_unpack() {
moz_setup
- unpack ${A}
-
+ unpack ${A} || die "unpack failed"
cd ${S} || die
if [[ $(gcc-major-version) -eq 3 ]]; then
@@ -243,16 +241,16 @@ src_compile() {
# Set optimization level based on CFLAGS
if is-flag -O0; then
- ENABLE_OPTIMIZE=-O0
+ enable_optimize=-O0
elif [[ ${ARCH} == alpha || ${ARCH} == amd64 || ${ARCH} == ia64 ]]; then
# Anything more than this causes segfaults on startup on 64-bit
# (bug 33767)
- ENABLE_OPTIMIZE=-O1
+ enable_optimize=-O1
append-flags -fPIC
elif is-flag -O1; then
- ENABLE_OPTIMIZE=-O1
+ enable_optimize=-O1
else
- ENABLE_OPTIMIZE=-O2
+ enable_optimize=-O2
fi
# Now strip optimization from CFLAGS so it doesn't end up in the
@@ -320,7 +318,11 @@ src_compile() {
cd ${S}
einfo "Configuring Mozilla..."
- ./configure --prefix=/usr/lib/mozilla \
+ econf \
+ --with-system-jpeg \
+ --with-system-mng \
+ --with-system-png \
+ --with-system-zlib \
$(use_enable gnome gnomevfs) \
$(use_enable ipv6) \
$(use_enable ldap) \
@@ -332,11 +334,10 @@ src_compile() {
--enable-mathml \
--without-system-nspr \
--enable-nspr-autoconf \
- --with-system-zlib \
--enable-xsl \
--enable-crypto \
--enable-extensions="${myext}" \
- --enable-optimize="${ENABLE_OPTIMIZE}" \
+ --enable-optimize="${enable_optimize}" \
--with-default-mozilla-five-home=/usr/lib/mozilla \
${myconf} || die
@@ -450,7 +451,7 @@ src_install() {
cd ${S}
dodir /usr/bin
- dosym mozilla-launcher /usr/bin/mozilla
+ dosym /usr/libexec/mozilla-launcher /usr/bin/mozilla
insinto /etc/env.d
doins ${FILESDIR}/10mozilla
dodoc LEGAL LICENSE README/mozilla/README*
@@ -534,12 +535,6 @@ pkg_postinst() {
# Fix permissions on chrome files
find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || :
-
- echo
- ewarn "Please unmerge old versions of mozilla, as the header"
- ewarn "layout in /usr/lib/mozilla/include have changed and will"
- ewarn "result in compile errors when compiling programs that need"
- ewarn "mozilla headers and libs (galeon, nautilus, ...)"
}
pkg_postrm() {
@@ -556,4 +551,3 @@ pkg_postrm() {
fi
fi
}
-
diff --git a/net-www/mozilla/mozilla-1.7_rc1.ebuild b/net-www/mozilla/mozilla-1.7_rc1.ebuild
index fb08b9c288b1..7136308e2a33 100644
--- a/net-www/mozilla/mozilla-1.7_rc1.ebuild
+++ b/net-www/mozilla/mozilla-1.7_rc1.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/mozilla-1.7_rc1.ebuild,v 1.6 2004/04/27 03:19:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.7_rc1.ebuild,v 1.7 2004/05/07 19:32:30 agriffis Exp $
IUSE="java crypt ipv6 gtk2 ssl ldap gnome debug xinerama"
# Internal USE flags that I do not really want to advertise ...
@@ -97,7 +97,7 @@ RDEPEND="virtual/x11
java? ( virtual/jre )
crypt? ( !moznomail ( >=app-crypt/gnupg-1.2.1 ) )
gnome? ( >=gnome-base/gnome-vfs-2.3.5 )
- net-www/mozilla-launcher"
+ net-www/mozilla-launcher-1.7-r1"
DEPEND="${RDEPEND}
dev-util/pkgconfig
@@ -462,7 +462,7 @@ src_install() {
cd ${S}
dodir /usr/bin
- dosym mozilla-launcher /usr/bin/mozilla
+ dosym /usr/libexec/mozilla-launcher /usr/bin/mozilla
insinto /etc/env.d
doins ${FILESDIR}/10mozilla
dodoc LEGAL LICENSE README/mozilla/README*