1 |
armin76 08/02/04 16:51:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: amule-2.2.0_pre20080204.ebuild |
5 |
amule-2.1.3-r1.ebuild |
6 |
Removed: amule-2.2.0_pre20080130.ebuild |
7 |
amule-2.2.0_pre20070422.ebuild |
8 |
Log: |
9 |
Add -r1, builds against wx-2.8 bug #208714, uses webserver template, bug #199108, new snapshot |
10 |
(Portage version: 2.1.4.1) |
11 |
|
12 |
Revision Changes Path |
13 |
1.99 net-p2p/amule/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?rev=1.99&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?rev=1.99&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?r1=1.98&r2=1.99 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v |
22 |
retrieving revision 1.98 |
23 |
retrieving revision 1.99 |
24 |
diff -u -r1.98 -r1.99 |
25 |
--- ChangeLog 30 Jan 2008 15:05:21 -0000 1.98 |
26 |
+++ ChangeLog 4 Feb 2008 16:51:50 -0000 1.99 |
27 |
@@ -1,6 +1,16 @@ |
28 |
# ChangeLog for net-p2p/amule |
29 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.98 2008/01/30 15:05:21 armin76 Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.99 2008/02/04 16:51:50 armin76 Exp $ |
32 |
+ |
33 |
+*amule-2.2.0_pre20080204 (04 Feb 2008) |
34 |
+*amule-2.1.3-r1 (04 Feb 2008) |
35 |
+ |
36 |
+ 04 Feb 2008; Raúl Porcel <armin76@g.o> +files/2.1.3-wx-2.8.patch, |
37 |
+ files/amuleweb.confd, files/amuleweb.initd, +amule-2.1.3-r1.ebuild, |
38 |
+ -amule-2.2.0_pre20070422.ebuild, -amule-2.2.0_pre20080130.ebuild, |
39 |
+ +amule-2.2.0_pre20080204.ebuild: |
40 |
+ Add -r1, builds against wx-2.8 bug #208714, uses webserver template, bug |
41 |
+ #199108, new snapshot |
42 |
|
43 |
*amule-2.2.0_pre20080130 (30 Jan 2008) |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
1.1 net-p2p/amule/amule-2.2.0_pre20080204.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080204.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080204.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: amule-2.2.0_pre20080204.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2008 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080204.ebuild,v 1.1 2008/02/04 16:51:50 armin76 Exp $ |
58 |
|
59 |
inherit eutils flag-o-matic wxwidgets |
60 |
|
61 |
MY_P=${PN/m/M}-CVS-${PV/2.2.0_pre/} |
62 |
S="${WORKDIR}/${PN}-cvs" |
63 |
|
64 |
DESCRIPTION="aMule, the all-platform eMule p2p client" |
65 |
HOMEPAGE="http://www.amule.org/" |
66 |
SRC_URI="http://www.hirnriss.net/files/cvs/${MY_P}.tar.bz2" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
71 |
IUSE="daemon debug geoip gtk nls remote stats unicode" |
72 |
|
73 |
DEPEND="=x11-libs/wxGTK-2.8* |
74 |
dev-libs/crypto++ |
75 |
>=sys-libs/zlib-1.2.1 |
76 |
stats? ( >=media-libs/gd-2.0.26 ) |
77 |
geoip? ( dev-libs/geoip ) |
78 |
remote? ( >=media-libs/libpng-1.2.0 |
79 |
unicode? ( >=media-libs/gd-2.0.26 ) )" |
80 |
|
81 |
pkg_setup() { |
82 |
if ! use gtk && ! use remote && ! use daemon; then |
83 |
eerror "" |
84 |
eerror "You have to specify at least one of gtk, remote or daemon" |
85 |
eerror "USE flag to build amule." |
86 |
eerror "" |
87 |
die "Invalid USE flag set" |
88 |
fi |
89 |
|
90 |
if use stats && ! use gtk; then |
91 |
einfo "Note: You would need both the gtk and stats USE flags" |
92 |
einfo "to compile aMule Statistics GUI." |
93 |
einfo "I will now compile console versions only." |
94 |
fi |
95 |
|
96 |
if use stats && ! built_with_use media-libs/gd jpeg; then |
97 |
die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set" |
98 |
fi |
99 |
} |
100 |
|
101 |
pkg_preinst() { |
102 |
if use daemon || use remote; then |
103 |
enewgroup p2p |
104 |
enewuser p2p -1 -1 /home/p2p p2p |
105 |
fi |
106 |
} |
107 |
|
108 |
src_compile() { |
109 |
local myconf |
110 |
|
111 |
WX_GTK_VER="2.8" |
112 |
|
113 |
if use gtk; then |
114 |
einfo "wxGTK with gtk support will be used" |
115 |
need-wxwidgets unicode |
116 |
else |
117 |
einfo "wxGTK without X support will be used" |
118 |
need-wxwidgets base |
119 |
fi |
120 |
|
121 |
if use gtk ; then |
122 |
use stats && myconf="${myconf} |
123 |
--enable-wxcas |
124 |
--enable-alc" |
125 |
use remote && myconf="${myconf} |
126 |
--enable-amule-gui" |
127 |
else |
128 |
myconf=" |
129 |
--disable-monolithic |
130 |
--disable-amule-gui |
131 |
--disable-wxcas |
132 |
--disable-alc" |
133 |
fi |
134 |
|
135 |
econf \ |
136 |
--with-wx-config=${WX_CONFIG} \ |
137 |
--with-wxbase-config=${WX_CONFIG} \ |
138 |
--enable-amulecmd \ |
139 |
$(use_enable debug) \ |
140 |
$(use_enable !debug optimize) \ |
141 |
$(use_enable daemon amule-daemon) \ |
142 |
$(use_enable geoip) \ |
143 |
$(use_enable nls) \ |
144 |
$(use_enable remote webserver) \ |
145 |
$(use_enable stats cas) \ |
146 |
$(use_enable stats alcc) \ |
147 |
${myconf} || die |
148 |
|
149 |
# we filter ssp until bug #74457 is closed to build on hardened |
150 |
filter-flags -fstack-protector -fstack-protector-all |
151 |
|
152 |
emake -j1 || die |
153 |
} |
154 |
|
155 |
src_install() { |
156 |
emake DESTDIR="${D}" install || die |
157 |
|
158 |
if use daemon; then |
159 |
newconfd "${FILESDIR}"/amuled.confd amuled |
160 |
newinitd "${FILESDIR}"/amuled.initd amuled |
161 |
fi |
162 |
|
163 |
if use remote; then |
164 |
newconfd "${FILESDIR}"/amuleweb.confd amuleweb |
165 |
newinitd "${FILESDIR}"/amuleweb.initd amuleweb |
166 |
make_desktop_entry amulegui "aMule Remote" amule "Network;P2P" |
167 |
fi |
168 |
} |
169 |
|
170 |
|
171 |
|
172 |
1.1 net-p2p/amule/amule-2.1.3-r1.ebuild |
173 |
|
174 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.1.3-r1.ebuild?rev=1.1&view=markup |
175 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.1.3-r1.ebuild?rev=1.1&content-type=text/plain |
176 |
|
177 |
Index: amule-2.1.3-r1.ebuild |
178 |
=================================================================== |
179 |
# Copyright 1999-2008 Gentoo Foundation |
180 |
# Distributed under the terms of the GNU General Public License v2 |
181 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.1.3-r1.ebuild,v 1.1 2008/02/04 16:51:50 armin76 Exp $ |
182 |
|
183 |
inherit eutils flag-o-matic wxwidgets |
184 |
|
185 |
MY_P=${PN/m/M}-${PV} |
186 |
S="${WORKDIR}"/${MY_P} |
187 |
|
188 |
DESCRIPTION="aMule, the all-platform eMule p2p client" |
189 |
HOMEPAGE="http://www.amule.org/" |
190 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
191 |
|
192 |
LICENSE="GPL-2" |
193 |
SLOT="0" |
194 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
195 |
IUSE="daemon debug geoip gtk nls remote stats unicode" |
196 |
|
197 |
DEPEND="=x11-libs/wxGTK-2.8* |
198 |
>=sys-libs/zlib-1.2.1 |
199 |
stats? ( >=media-libs/gd-2.0.26 ) |
200 |
geoip? ( dev-libs/geoip ) |
201 |
remote? ( >=media-libs/libpng-1.2.0 |
202 |
unicode? ( >=media-libs/gd-2.0.26 ) )" |
203 |
|
204 |
pkg_setup() { |
205 |
if ! use gtk && ! use remote && ! use daemon; then |
206 |
eerror "" |
207 |
eerror "You have to specify at least one of gtk, remote or daemon" |
208 |
eerror "USE flag to build amule." |
209 |
eerror "" |
210 |
die "Invalid USE flag set" |
211 |
fi |
212 |
|
213 |
if use stats && ! use gtk; then |
214 |
einfo "Note: You would need both the gtk and stats USE flags" |
215 |
einfo "to compile aMule Statistics GUI." |
216 |
einfo "I will now compile console versions only." |
217 |
fi |
218 |
|
219 |
if use stats && ! built_with_use media-libs/gd jpeg; then |
220 |
die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set" |
221 |
fi |
222 |
} |
223 |
|
224 |
pkg_preinst() { |
225 |
if use daemon || use remote; then |
226 |
enewgroup p2p |
227 |
enewuser p2p -1 -1 /home/p2p p2p |
228 |
fi |
229 |
} |
230 |
|
231 |
src_unpack() { |
232 |
unpack ${A} |
233 |
cd "${S}" |
234 |
|
235 |
# Make it compile against wx-2.8 since upstream won't support 2.6 |
236 |
epatch "${FILESDIR}"/${PV}-wx-2.8.patch |
237 |
} |
238 |
|
239 |
src_compile() { |
240 |
local myconf |
241 |
|
242 |
WX_GTK_VER="2.8" |
243 |
|
244 |
if use gtk; then |
245 |
einfo "wxGTK with gtk support will be used" |
246 |
need-wxwidgets unicode |
247 |
else |
248 |
einfo "wxGTK without X support will be used" |
249 |
need-wxwidgets base |
250 |
fi |
251 |
|
252 |
if use gtk ; then |
253 |
use stats && myconf="${myconf} |
254 |
--enable-wxcas |
255 |
--enable-alc" |
256 |
use remote && myconf="${myconf} |
257 |
--enable-amule-gui" |
258 |
else |
259 |
myconf=" |
260 |
--disable-monolithic |
261 |
--disable-amule-gui |
262 |
--disable-wxcas |
263 |
--disable-alc" |
264 |
fi |
265 |
|
266 |
econf \ |
267 |
--with-wx-config=${WX_CONFIG} \ |
268 |
--with-wxbase-config=${WX_CONFIG} \ |
269 |
--enable-amulecmd \ |
270 |
$(use_enable debug) \ |
271 |
$(use_enable !debug optimize) \ |
272 |
$(use_enable daemon amule-daemon) \ |
273 |
$(use_enable geoip) \ |
274 |
$(use_enable nls) \ |
275 |
$(use_enable remote webserver) \ |
276 |
$(use_enable stats cas) \ |
277 |
$(use_enable stats alcc) \ |
278 |
${myconf} || die |
279 |
|
280 |
# we filter ssp until bug #74457 is closed to build on hardened |
281 |
filter-flags -fstack-protector -fstack-protector-all |
282 |
|
283 |
emake -j1 || die |
284 |
} |
285 |
|
286 |
src_install() { |
287 |
emake DESTDIR="${D}" install || die |
288 |
|
289 |
if use daemon; then |
290 |
newconfd "${FILESDIR}"/amuled.confd amuled |
291 |
newinitd "${FILESDIR}"/amuled.initd amuled |
292 |
fi |
293 |
|
294 |
if use remote; then |
295 |
newconfd "${FILESDIR}"/amuleweb.confd amuleweb |
296 |
newinitd "${FILESDIR}"/amuleweb.initd amuleweb |
297 |
make_desktop_entry amulegui "aMule Remote" amule "Network;P2P" |
298 |
fi |
299 |
} |
300 |
|
301 |
|
302 |
|
303 |
-- |
304 |
gentoo-commits@l.g.o mailing list |