1 |
armin76 08/06/21 19:34:54 |
2 |
|
3 |
Modified: ChangeLog mozilla-firefox-3.0-r1.ebuild |
4 |
Log: |
5 |
Add iceweasel branding, to make rbu happy |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.417 www-client/mozilla-firefox/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla-firefox/ChangeLog?rev=1.417&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla-firefox/ChangeLog?rev=1.417&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla-firefox/ChangeLog?r1=1.416&r2=1.417 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v |
18 |
retrieving revision 1.416 |
19 |
retrieving revision 1.417 |
20 |
diff -u -r1.416 -r1.417 |
21 |
--- ChangeLog 20 Jun 2008 14:41:05 -0000 1.416 |
22 |
+++ ChangeLog 21 Jun 2008 19:34:53 -0000 1.417 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for www-client/mozilla-firefox |
25 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.416 2008/06/20 14:41:05 armin76 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.417 2008/06/21 19:34:53 armin76 Exp $ |
28 |
+ |
29 |
+ 21 Jun 2008; Raúl Porcel <armin76@g.o> |
30 |
+ mozilla-firefox-3.0-r1.ebuild: |
31 |
+ Add iceweasel branding, to make rbu happy |
32 |
|
33 |
20 Jun 2008; Raúl Porcel <armin76@g.o> |
34 |
mozilla-firefox-3.0-r1.ebuild: |
35 |
|
36 |
|
37 |
|
38 |
1.3 www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: mozilla-firefox-3.0-r1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- mozilla-firefox-3.0-r1.ebuild 20 Jun 2008 14:41:05 -0000 1.2 |
51 |
+++ mozilla-firefox-3.0-r1.ebuild 21 Jun 2008 19:34:53 -0000 1.3 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild,v 1.2 2008/06/20 14:41:05 armin76 Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-3.0-r1.ebuild,v 1.3 2008/06/21 19:34:53 armin76 Exp $ |
57 |
EAPI="1" |
58 |
WANT_AUTOCONF="2.1" |
59 |
|
60 |
@@ -18,11 +18,12 @@ |
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
62 |
SLOT="0" |
63 |
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
64 |
-IUSE="java mozdevelop bindist restrict-javascript +xulrunner" |
65 |
+IUSE="java mozdevelop bindist restrict-javascript iceweasel +xulrunner" |
66 |
|
67 |
SRC_URI="mirror://gentoo/${P}.tar.bz2 |
68 |
http://dev.gentoo.org/~armin76/${P}.tar.bz2 |
69 |
mirror://gentoo/${PATCH}.tar.bz2 |
70 |
+ iceweasel? ( mirror://gentoo/iceweasel-icons-2.0.0.11.tar.bz2 ) |
71 |
!xulrunner? ( mirror://gentoo/xulrunner-1.9${MY_PV}.tar.bz2 )" |
72 |
|
73 |
# These are in |
74 |
@@ -104,7 +105,7 @@ |
75 |
die "Pango needs X" |
76 |
fi |
77 |
|
78 |
- if ! use bindist; then |
79 |
+ if ! use bindist && ! use iceweasel; then |
80 |
elog "You are enabling official branding. You may not redistribute this build" |
81 |
elog "to any users on your network or the internet. Doing so puts yourself into" |
82 |
elog "a legal problem with Mozilla Foundation" |
83 |
@@ -117,6 +118,12 @@ |
84 |
! use xulrunner && unpack xulrunner-1.9${MY_PV}.tar.bz2 |
85 |
unpack ${P}.tar.bz2 ${PATCH}.tar.bz2 |
86 |
|
87 |
+ if use iceweasel; then |
88 |
+ unpack iceweasel-icons-2.0.0.11.tar.bz2 |
89 |
+ |
90 |
+ cp -r iceweaselicons/browser mozilla/ |
91 |
+ fi |
92 |
+ |
93 |
linguas |
94 |
for X in ${linguas}; do |
95 |
[[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi" |
96 |
@@ -134,6 +141,11 @@ |
97 |
EPATCH_FORCE="yes" \ |
98 |
epatch "${WORKDIR}"/patch |
99 |
|
100 |
+ if use iceweasel; then |
101 |
+ sed -i -e "s|Minefield|Iceweasel|" browser/locales/en-US/chrome/branding/brand.* \ |
102 |
+ browser/branding/nightly/configure.sh |
103 |
+ fi |
104 |
+ |
105 |
eautoreconf |
106 |
|
107 |
# We need to re-patch this because autoreconf overwrites it |
108 |
@@ -177,7 +189,7 @@ |
109 |
mozconfig_annotate '' --with-libxul-sdk=/usr/$(get_libdir)/xulrunner-1.9 |
110 |
fi |
111 |
|
112 |
- if ! use bindist; then |
113 |
+ if ! use bindist && ! use iceweasel; then |
114 |
mozconfig_annotate '' --enable-official-branding |
115 |
fi |
116 |
|
117 |
@@ -252,8 +264,12 @@ |
118 |
fi |
119 |
|
120 |
# Install icon and .desktop for menu entry |
121 |
- if ! use bindist; then |
122 |
- newicon "${S}"/other-licenses/branding/firefox/content/icon48.png firefox-icon.png |
123 |
+ if use iceweasel; then |
124 |
+ newicon "${S}"/browser/base/branding/icon48.png iceweasel-icon.png |
125 |
+ newmenu "${FILESDIR}"/icon/iceweasel.desktop \ |
126 |
+ mozilla-firefox-2.0.desktop |
127 |
+ elif ! use bindist; then |
128 |
+ newicon "${S}"/other-licenses/branding/firefox/content/icon48.png firefox-icon.png |
129 |
newmenu "${FILESDIR}"/icon/mozilla-firefox-1.5.desktop \ |
130 |
mozilla-firefox-3.0.desktop |
131 |
else |
132 |
@@ -289,9 +305,8 @@ |
133 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
134 |
|
135 |
ewarn "All the packages built against ${PN} won't compile," |
136 |
- ewarn "since they should be built against net-libs/xulrunner," |
137 |
- ewarn "therefore you should check if your package builds against" |
138 |
- ewarn "xulrunner and if it doesn't, file a bug, thanks." |
139 |
+ ewarn "if after installing firefox 3.0 you get some blockers," |
140 |
+ ewarn "please add 'xulrunner' to your USE-flags." |
141 |
|
142 |
# Update mimedb for the new .desktop file |
143 |
fdo-mime_desktop_database_update |
144 |
|
145 |
|
146 |
|
147 |
-- |
148 |
gentoo-commits@l.g.o mailing list |