Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36213 - a couple of suggestions for the mozilla ebuilds
Summary: a couple of suggestions for the mozilla ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-20 19:11 UTC by Georgi Georgiev
Modified: 2004-04-26 09:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2003-12-20 19:11:21 UTC
This is a followup of bug #35612.

I suggest the following patch to the mozilla series of ebuilds, to make the ebuilds uniform for _alpha, _beta and _rc# versions. Also, the gnupg dependency should depend on both crypt and moznomail use flags.

--- /usr/portage/net-www/mozilla/mozilla-1.6_beta.ebuild        2003-12-21 03:37:49.000000000 +0900
+++ /usr/portage-chutz/net-www/mozilla/mozilla-1.6_beta.ebuild  2003-12-21 12:03:43.555642308 +0900
@@ -57,8 +57,13 @@
 PATCH_VER="1.0"
 
 # handle _rc versions
-MY_PV1="${PV/_}"
-MY_PV2="${MY_PV1/eta}"
+case $PV in
+*_alpha)     MY_PV2="${PV/_alpha/a}" ;;
+*_beta)      MY_PV2="${PV/_beta/b}"  ;;
+*_rc[0-9]*)  MY_PV2="${PV/_rc/rc}"   ;;
+*)           MY_PV2="${PV}"          ;;
+esac
+
 S="${WORKDIR}/mozilla"
 DESCRIPTION="The Mozilla Web Browser"
 SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV2}/src/${PN}-source-${MY_PV2}.tar.bz2
@@ -89,7 +94,7 @@
        gtk2?  ( >=x11-libs/pango-1.2.1 )
        !gtk2? ( >=gnome-base/ORBit-0.5.10-r1 )
        java?  ( virtual/jre )
-       crypt? ( >=app-crypt/gnupg-1.2.1 )"
+       crypt? ( -moznomail? ( >=app-crypt/gnupg-1.2.1 ) )"
 
 DEPEND="${RDEPEND}
        virtual/x11
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-04-19 19:35:13 UTC
Fixed in my local tree, just testing before I commit
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-04-26 09:00:33 UTC
Committed, thanks