Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/hplip: hplip-3.9.12-r1.ebuild hplip-3.9.10.ebuild hplip-3.9.12.ebuild hplip-3.9.8-r3.ebuild ChangeLog hplip-2.8.6b.ebuild metadata.xml hplip-3.9.4b-r1.ebuild
Date: Sat, 02 Jan 2010 20:11:56
Message-Id: E1NR9yF-0002Cq-Io@stork.gentoo.org
1 yngwin 10/01/02 19:49:07
2
3 Modified: hplip-3.9.12-r1.ebuild hplip-3.9.10.ebuild
4 hplip-3.9.12.ebuild hplip-3.9.8-r3.ebuild ChangeLog
5 hplip-2.8.6b.ebuild metadata.xml
6 hplip-3.9.4b-r1.ebuild
7 Log:
8 Drop qt3 support
9 (Portage version: 2.2_rc61/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 net-print/hplip/hplip-3.9.12-r1.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.12-r1.ebuild?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.12-r1.ebuild?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.12-r1.ebuild?r1=1.1&r2=1.2
17
18 Index: hplip-3.9.12-r1.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.12-r1.ebuild,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- hplip-3.9.12-r1.ebuild 2 Jan 2010 19:38:07 -0000 1.1
25 +++ hplip-3.9.12-r1.ebuild 2 Jan 2010 19:49:06 -0000 1.2
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2010 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.12-r1.ebuild,v 1.1 2010/01/02 19:38:07 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.12-r1.ebuild,v 1.2 2010/01/02 19:49:06 yngwin Exp $
31
32 EAPI=2
33
34 @@ -15,7 +15,7 @@
35 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
36
37 # zeroconf does not work properly with >=cups-1.4. thus support for it is also disabled in hplip.
38 -IUSE="doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit qt3 qt4 scanner snmp static-ppds -udev-acl"
39 +IUSE="doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit qt4 scanner snmp static-ppds -udev-acl"
40
41 # Note : libusb-compat untested (calchan 20090516)
42
43 @@ -52,9 +52,6 @@
44 sys-apps/dbus
45 dev-python/dbus-python
46 )
47 - qt3? ( !qt4? (
48 - dev-python/PyQt
49 - ) )
50 qt4? (
51 dev-python/PyQt4[dbus,X]
52 dev-python/pygobject
53 @@ -71,7 +68,7 @@
54 ERROR_PARPORT="Please make sure parallel port support is enabled in your kernel (PARPORT and PPDEV)."
55
56 pkg_setup() {
57 - ! use qt3 && ! use qt4 && ewarn "You need USE=qt4 or USE=qt3 for the hplip GUI."
58 + ! use qt4 && ewarn "You need USE=qt4 for the hplip GUI."
59
60 use scanner && ! use gtk && ewarn "You need USE=gtk for the scanner GUI."
61
62 @@ -133,9 +130,8 @@
63 done
64
65 local qt_ver
66 - if use qt3 || use qt4 ; then
67 - use qt3 && qt_ver="3"
68 - use qt4 && qt_ver="4"
69 + if use qt4 ; then
70 + qt_ver="4"
71 sed -i \
72 -e "s/%s --force-startup/%s --force-startup --qt${qt_ver}/" \
73 -e "s/'--force-startup'/'--force-startup', '--qt${qt_ver}'/" \
74 @@ -151,17 +147,12 @@
75 src_configure() {
76 local gui_build myconf drv_build minimal_build
77
78 - if use qt3 || use qt4 ; then
79 - gui_build="--enable-gui-build"
80 - if use qt4 ; then
81 - gui_build="${gui_build} --enable-qt4 --disable-qt3"
82 - if use policykit ; then
83 - myconf="--enable-policykit"
84 - else
85 - myconf="--disable-policykit"
86 - fi
87 + if use qt4 ; then
88 + gui_build="--enable-gui-build --enable-qt4 --disable-qt3"
89 + if use policykit ; then
90 + myconf="--enable-policykit"
91 else
92 - use qt3 && gui_build="${gui_build} --enable-qt3 --disable-qt4"
93 + myconf="--disable-policykit"
94 fi
95 else
96 gui_build="--disable-gui-build --disable-qt3 --disable-qt4"
97
98
99
100 1.8 net-print/hplip/hplip-3.9.10.ebuild
101
102 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.10.ebuild?rev=1.8&view=markup
103 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.10.ebuild?rev=1.8&content-type=text/plain
104 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.10.ebuild?r1=1.7&r2=1.8
105
106 Index: hplip-3.9.10.ebuild
107 ===================================================================
108 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.10.ebuild,v
109 retrieving revision 1.7
110 retrieving revision 1.8
111 diff -u -r1.7 -r1.8
112 --- hplip-3.9.10.ebuild 26 Dec 2009 17:44:10 -0000 1.7
113 +++ hplip-3.9.10.ebuild 2 Jan 2010 19:49:06 -0000 1.8
114 @@ -1,6 +1,6 @@
115 -# Copyright 1999-2009 Gentoo Foundation
116 +# Copyright 1999-2010 Gentoo Foundation
117 # Distributed under the terms of the GNU General Public License v2
118 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.10.ebuild,v 1.7 2009/12/26 17:44:10 pva Exp $
119 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.10.ebuild,v 1.8 2010/01/02 19:49:06 yngwin Exp $
120
121 EAPI="2"
122
123 @@ -15,7 +15,7 @@
124 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
125
126 # zeroconf does not work properly with >=cups-1.4. thus support for it is also disabled in hplip.
127 -IUSE="doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit qt3 qt4 scanner snmp static-ppds -udev-acl"
128 +IUSE="doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit qt4 scanner snmp static-ppds -udev-acl"
129
130 # Note : libusb-compat untested (calchan 20090516)
131
132 @@ -52,9 +52,6 @@
133 sys-apps/dbus
134 dev-python/dbus-python
135 )
136 - qt3? ( !qt4? (
137 - dev-python/PyQt
138 - ) )
139 qt4? (
140 dev-python/PyQt4[dbus,X]
141 dev-python/pygobject
142 @@ -71,7 +68,7 @@
143 ERROR_PARPORT="Please make sure parallel port support is enabled in your kernel (PARPORT and PPDEV)."
144
145 pkg_setup() {
146 - ! use qt3 && ! use qt4 && ewarn "You need USE=qt4 or USE=qt3 for the hplip GUI."
147 + ! use qt4 && ewarn "You need USE=qt4 for the hplip GUI."
148
149 use scanner && ! use gtk && ewarn "You need USE=gtk for the scanner GUI."
150
151 @@ -129,8 +126,7 @@
152 done
153
154 local qt_ver
155 - if use qt3 || use qt4 ; then
156 - use qt3 && qt_ver="3"
157 + if use qt4 ; then
158 use qt4 && qt_ver="4"
159 sed -i \
160 -e "s/%s --force-startup/%s --force-startup --qt${qt_ver}/" \
161 @@ -147,17 +143,12 @@
162 src_configure() {
163 local gui_build myconf drv_build minimal_build
164
165 - if use qt3 || use qt4 ; then
166 - gui_build="--enable-gui-build"
167 - if use qt4 ; then
168 - gui_build="${gui_build} --enable-qt4 --disable-qt3"
169 - if use policykit ; then
170 - myconf="--enable-policykit"
171 - else
172 - myconf="--disable-policykit"
173 - fi
174 + if use qt4 ; then
175 + gui_build="--enable-gui-build --enable-qt4 --disable-qt3"
176 + if use policykit ; then
177 + myconf="--enable-policykit"
178 else
179 - use qt3 && gui_build="${gui_build} --enable-qt3 --disable-qt4"
180 + myconf="--disable-policykit"
181 fi
182 else
183 gui_build="--disable-gui-build --disable-qt3 --disable-qt4"
184
185
186
187 1.4 net-print/hplip/hplip-3.9.12.ebuild
188
189 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.12.ebuild?rev=1.4&view=markup
190 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.12.ebuild?rev=1.4&content-type=text/plain
191 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.12.ebuild?r1=1.3&r2=1.4
192
193 Index: hplip-3.9.12.ebuild
194 ===================================================================
195 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.12.ebuild,v
196 retrieving revision 1.3
197 retrieving revision 1.4
198 diff -u -r1.3 -r1.4
199 --- hplip-3.9.12.ebuild 26 Dec 2009 17:44:10 -0000 1.3
200 +++ hplip-3.9.12.ebuild 2 Jan 2010 19:49:06 -0000 1.4
201 @@ -1,6 +1,6 @@
202 -# Copyright 1999-2009 Gentoo Foundation
203 +# Copyright 1999-2010 Gentoo Foundation
204 # Distributed under the terms of the GNU General Public License v2
205 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.12.ebuild,v 1.3 2009/12/26 17:44:10 pva Exp $
206 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.12.ebuild,v 1.4 2010/01/02 19:49:06 yngwin Exp $
207
208 EAPI=2
209
210 @@ -15,7 +15,7 @@
211 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
212
213 # zeroconf does not work properly with >=cups-1.4. thus support for it is also disabled in hplip.
214 -IUSE="doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit qt3 qt4 scanner snmp static-ppds -udev-acl"
215 +IUSE="doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit qt4 scanner snmp static-ppds -udev-acl"
216
217 # Note : libusb-compat untested (calchan 20090516)
218
219 @@ -52,9 +52,6 @@
220 sys-apps/dbus
221 dev-python/dbus-python
222 )
223 - qt3? ( !qt4? (
224 - dev-python/PyQt
225 - ) )
226 qt4? (
227 dev-python/PyQt4[dbus,X]
228 dev-python/pygobject
229 @@ -71,7 +68,7 @@
230 ERROR_PARPORT="Please make sure parallel port support is enabled in your kernel (PARPORT and PPDEV)."
231
232 pkg_setup() {
233 - ! use qt3 && ! use qt4 && ewarn "You need USE=qt4 or USE=qt3 for the hplip GUI."
234 + ! use qt4 && ewarn "You need USE=qt4 for the hplip GUI."
235
236 use scanner && ! use gtk && ewarn "You need USE=gtk for the scanner GUI."
237
238 @@ -129,9 +126,8 @@
239 done
240
241 local qt_ver
242 - if use qt3 || use qt4 ; then
243 - use qt3 && qt_ver="3"
244 - use qt4 && qt_ver="4"
245 + if use qt4 ; then
246 + qt_ver="4"
247 sed -i \
248 -e "s/%s --force-startup/%s --force-startup --qt${qt_ver}/" \
249 -e "s/'--force-startup'/'--force-startup', '--qt${qt_ver}'/" \
250 @@ -147,17 +143,12 @@
251 src_configure() {
252 local gui_build myconf drv_build minimal_build
253
254 - if use qt3 || use qt4 ; then
255 - gui_build="--enable-gui-build"
256 - if use qt4 ; then
257 - gui_build="${gui_build} --enable-qt4 --disable-qt3"
258 - if use policykit ; then
259 - myconf="--enable-policykit"
260 - else
261 - myconf="--disable-policykit"
262 - fi
263 + if use qt4 ; then
264 + gui_build="--enable-gui-build --enable-qt4 --disable-qt3"
265 + if use policykit ; then
266 + myconf="--enable-policykit"
267 else
268 - use qt3 && gui_build="${gui_build} --enable-qt3 --disable-qt4"
269 + myconf="--disable-policykit"
270 fi
271 else
272 gui_build="--disable-gui-build --disable-qt3 --disable-qt4"
273
274
275
276 1.6 net-print/hplip/hplip-3.9.8-r3.ebuild
277
278 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.8-r3.ebuild?rev=1.6&view=markup
279 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.8-r3.ebuild?rev=1.6&content-type=text/plain
280 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.8-r3.ebuild?r1=1.5&r2=1.6
281
282 Index: hplip-3.9.8-r3.ebuild
283 ===================================================================
284 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.8-r3.ebuild,v
285 retrieving revision 1.5
286 retrieving revision 1.6
287 diff -u -r1.5 -r1.6
288 --- hplip-3.9.8-r3.ebuild 26 Dec 2009 17:44:10 -0000 1.5
289 +++ hplip-3.9.8-r3.ebuild 2 Jan 2010 19:49:06 -0000 1.6
290 @@ -1,6 +1,6 @@
291 -# Copyright 1999-2009 Gentoo Foundation
292 +# Copyright 1999-2010 Gentoo Foundation
293 # Distributed under the terms of the GNU General Public License v2
294 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.8-r3.ebuild,v 1.5 2009/12/26 17:44:10 pva Exp $
295 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.8-r3.ebuild,v 1.6 2010/01/02 19:49:06 yngwin Exp $
296
297 EAPI="2"
298
299 @@ -14,7 +14,7 @@
300 SLOT="0"
301 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
302
303 -IUSE="doc fax gtk +hpcups hpijs libnotify minimal parport policykit qt3 qt4 scanner snmp static-ppds -udev-acl"
304 +IUSE="doc fax gtk +hpcups hpijs libnotify minimal parport policykit qt4 scanner snmp static-ppds -udev-acl"
305
306 # Note : libusb-compat untested (calchan 20090516)
307
308 @@ -51,9 +51,6 @@
309 sys-apps/dbus
310 dev-python/dbus-python
311 )
312 - qt3? ( !qt4? (
313 - dev-python/PyQt
314 - ) )
315 qt4? (
316 dev-python/PyQt4[dbus,X]
317 dev-python/pygobject
318 @@ -70,7 +67,7 @@
319 ERROR_PARPORT="Please make sure parallel port support is enabled in your kernel (PARPORT and PPDEV)."
320
321 pkg_setup() {
322 - ! use qt3 && ! use qt4 && ewarn "You need USE=qt4 or USE=qt3 for the hplip GUI."
323 + ! use qt4 && ewarn "You need USE=qt4 for the hplip GUI."
324
325 use scanner && ! use gtk && ewarn "You need USE=gtk for the scanner GUI."
326
327 @@ -119,9 +116,8 @@
328 done
329
330 local qt_ver
331 - if use qt3 || use qt4 ; then
332 - use qt3 && qt_ver="3"
333 - use qt4 && qt_ver="4"
334 + if use qt4 ; then
335 + qt_ver="4"
336 sed -i \
337 -e "s/%s --force-startup/%s --force-startup --qt${qt_ver}/" \
338 -e "s/'--force-startup'/'--force-startup', '--qt${qt_ver}'/" \
339 @@ -143,17 +139,12 @@
340 src_configure() {
341 local drv_build gui_build myconf
342
343 - if use qt3 || use qt4 ; then
344 - gui_build="--enable-gui-build"
345 - if use qt4 ; then
346 - gui_build="${gui_build} --enable-qt4 --disable-qt3"
347 - if use policykit ; then
348 - myconf="--enable-policykit"
349 - else
350 - myconf="--disable-policykit"
351 - fi
352 + if use qt4 ; then
353 + gui_build="--enable-gui-build --enable-qt4 --disable-qt3"
354 + if use policykit ; then
355 + myconf="--enable-policykit"
356 else
357 - use qt3 && gui_build="${gui_build} --enable-qt3 --disable-qt4"
358 + myconf="--disable-policykit"
359 fi
360 else
361 gui_build="--disable-gui-build --disable-qt3 --disable-qt4"
362 @@ -223,7 +214,7 @@
363 rm -f "${D}"/etc/sane.d/dll.conf
364
365 # bug 106035/259763
366 - if ! use qt3 && ! use qt4 ; then
367 + if ! use qt4 ; then
368 rm -r "${D}"/usr/share/applications "${D}"/etc/xdg
369 fi
370
371
372
373
374 1.141 net-print/hplip/ChangeLog
375
376 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/ChangeLog?rev=1.141&view=markup
377 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/ChangeLog?rev=1.141&content-type=text/plain
378 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/ChangeLog?r1=1.140&r2=1.141
379
380 Index: ChangeLog
381 ===================================================================
382 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v
383 retrieving revision 1.140
384 retrieving revision 1.141
385 diff -u -r1.140 -r1.141
386 --- ChangeLog 2 Jan 2010 19:38:07 -0000 1.140
387 +++ ChangeLog 2 Jan 2010 19:49:06 -0000 1.141
388 @@ -1,6 +1,11 @@
389 # ChangeLog for net-print/hplip
390 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
391 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.140 2010/01/02 19:38:07 pacho Exp $
392 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.141 2010/01/02 19:49:06 yngwin Exp $
393 +
394 + 02 Jan 2010; Ben de Groot <yngwin@g.o> hplip-2.8.6b.ebuild,
395 + hplip-3.9.4b-r1.ebuild, hplip-3.9.8-r3.ebuild, hplip-3.9.10.ebuild,
396 + hplip-3.9.12.ebuild, hplip-3.9.12-r1.ebuild, metadata.xml:
397 + Drop qt3 support
398
399 *hplip-3.9.12-r1 (02 Jan 2010)
400
401
402
403
404 1.12 net-print/hplip/hplip-2.8.6b.ebuild
405
406 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.8.6b.ebuild?rev=1.12&view=markup
407 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.8.6b.ebuild?rev=1.12&content-type=text/plain
408 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.8.6b.ebuild?r1=1.11&r2=1.12
409
410 Index: hplip-2.8.6b.ebuild
411 ===================================================================
412 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-2.8.6b.ebuild,v
413 retrieving revision 1.11
414 retrieving revision 1.12
415 diff -u -r1.11 -r1.12
416 --- hplip-2.8.6b.ebuild 26 Dec 2009 17:44:10 -0000 1.11
417 +++ hplip-2.8.6b.ebuild 2 Jan 2010 19:49:06 -0000 1.12
418 @@ -1,6 +1,6 @@
419 -# Copyright 1999-2009 Gentoo Foundation
420 +# Copyright 1999-2010 Gentoo Foundation
421 # Distributed under the terms of the GNU General Public License v2
422 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-2.8.6b.ebuild,v 1.11 2009/12/26 17:44:10 pva Exp $
423 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-2.8.6b.ebuild,v 1.12 2010/01/02 19:49:06 yngwin Exp $
424
425 EAPI="1"
426
427 @@ -14,7 +14,7 @@
428 SLOT="0"
429 KEYWORDS="amd64 ppc ppc64 x86"
430
431 -IUSE="cupsddk dbus doc fax minimal parport ppds qt3 qt4 scanner snmp"
432 +IUSE="cupsddk dbus doc fax minimal parport ppds qt4 scanner snmp"
433
434 # Note : libusb-compat untested (calchan 20090516)
435
436 @@ -44,14 +44,7 @@
437 qt4? ( >=media-gfx/xsane-0.89 )
438 !qt3? ( !qt4? ( >=media-gfx/sane-frontends-1.0.9 ) )
439 )
440 - qt4? ( !qt3? (
441 - dev-python/PyQt4
442 - dbus? ( >=dev-python/dbus-python-0.80 )
443 - fax? ( dev-python/reportlab )
444 - ) )
445 - qt3? (
446 - >=dev-python/PyQt-3.14
447 - dev-python/ctypes
448 + qt4? ( dev-python/PyQt4
449 dbus? ( >=dev-python/dbus-python-0.80 )
450 fax? ( dev-python/reportlab )
451 )
452 @@ -101,7 +94,6 @@
453 # Qt4 is still undocumented by upstream, so use with caution
454 local QT_VER
455 use qt4 && QT_VER="4"
456 - use qt3 && QT_VER="3"
457 sed -i \
458 -e "s/%s --force-startup/%s --force-startup --qt${QT_VER}/" \
459 -e "s/'--force-startup'/'--force-startup', '--qt${QT_VER}'/" \
460 @@ -112,7 +104,7 @@
461 }
462
463 src_compile() {
464 - if use qt3 || use qt4 ; then
465 + if use qt4 ; then
466 local GUI_BUILD="--enable-gui-build"
467 else
468 local GUI_BUILD="--disable-gui-build"
469 @@ -143,7 +135,7 @@
470 rm -f "${D}"/etc/sane.d/dll.conf
471
472 # bug 106035
473 - use qt3 || use qt4 || rm -Rf "${D}"/usr/share/applications
474 + use qt4 || rm -Rf "${D}"/usr/share/applications
475
476 use minimal && rm -rf "${D}"/usr/lib
477 }
478
479
480
481 1.14 net-print/hplip/metadata.xml
482
483 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/metadata.xml?rev=1.14&view=markup
484 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/metadata.xml?rev=1.14&content-type=text/plain
485 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/metadata.xml?r1=1.13&r2=1.14
486
487 Index: metadata.xml
488 ===================================================================
489 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/metadata.xml,v
490 retrieving revision 1.13
491 retrieving revision 1.14
492 diff -u -r1.13 -r1.14
493 --- metadata.xml 2 Dec 2009 18:07:34 -0000 1.13
494 +++ metadata.xml 2 Jan 2010 19:49:06 -0000 1.14
495 @@ -21,40 +21,37 @@
496
497 <use>
498 <flag name="doc">Build documentation</flag>
499 - <flag name="cupsddk">Add support for <pkg>net-print/cupsddk</pkg> which
500 + <flag name="cupsddk">Add support for <pkg>net-print/cupsddk</pkg> which
501 enables dynamic PPD files (recommended)</flag>
502 - <flag name="dbus">Add support for <pkg>sys-apps/dbus</pkg> which enables
503 + <flag name="dbus">Add support for <pkg>sys-apps/dbus</pkg> which enables
504 better communications with your device (recommended)</flag>
505 - <flag name="fax">Enable fax on multifunction devices which support
506 + <flag name="fax">Enable fax on multifunction devices which support
507 it</flag>
508 - <flag name="gtk">Enable GTK+ dependencies, currently only the scanner GUI
509 + <flag name="gtk">Enable GTK+ dependencies, currently only the scanner GUI
510 with USE=scanner</flag>
511 <flag name="hpcups">Build the hpcups driver for cups (by HP)</flag>
512 <flag name="hpijs">Build the IJS driver for cups (Foomatic)</flag>
513 <flag name="libnotify">Enables desktop notifications</flag>
514 - <flag name="minimal">Only build internal hpijs driver (not recommended at
515 + <flag name="minimal">Only build internal hpijs driver (not recommended at
516 all, make sure you know what you are doing)</flag>
517 - <flag name="new-hpcups">Build the new hpcups driver for cups which is no
518 + <flag name="new-hpcups">Build the new hpcups driver for cups which is no
519 longer based on APDK (by HP)</flag>
520 - <flag name="parport">Enable parallel port for devices which require
521 + <flag name="parport">Enable parallel port for devices which require
522 it</flag>
523 - <flag name="policykit">Enable sys-auth/policykit authentication
524 + <flag name="policykit">Enable sys-auth/policykit authentication
525 support</flag>
526 - <flag name="ppds">Use precompiled PPD files (obsolete, use cupsddk
527 + <flag name="ppds">Use precompiled PPD files (obsolete, use cupsddk
528 instead)</flag>
529 - <flag name="qt3">Enable graphical interface using Qt 3; when both qt3 and
530 - qt4 USE flags are enabled then qt4 has priority over qt3</flag>
531 - <flag name="qt4">Enable graphical interface using Qt 4; when both qt3 and
532 - qt4 USE flags are enabled then qt4 has priority over qt3</flag>
533 - <flag name="scanner">Enable scanner on multifunction devices which support
534 + <flag name="qt4">Enable graphical interface using Qt 4</flag>
535 + <flag name="scanner">Enable scanner on multifunction devices which support
536 it</flag>
537 - <flag name="snmp">Add support for <pkg>net-analyzer/net-snmp</pkg> which
538 - enables this driver to work over networks (both for server and
539 + <flag name="snmp">Add support for <pkg>net-analyzer/net-snmp</pkg> which
540 + enables this driver to work over networks (both for server and
541 client)</flag>
542 - <flag name="static-ppds">Use statically-generated PPDs instead of Dynamic
543 - PPDs. This is deprecated, and this USE flag is thus suggested to stay
544 + <flag name="static-ppds">Use statically-generated PPDs instead of Dynamic
545 + PPDs. This is deprecated, and this USE flag is thus suggested to stay
546 turned off</flag>
547 - <flag name="udev-acl">Install udev acl rules which needs
548 + <flag name="udev-acl">Install udev acl rules which needs
549 <pkg>sys-fs/udev</pkg> with acl support</flag>
550 </use>
551
552
553
554
555 1.8 net-print/hplip/hplip-3.9.4b-r1.ebuild
556
557 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.4b-r1.ebuild?rev=1.8&view=markup
558 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.4b-r1.ebuild?rev=1.8&content-type=text/plain
559 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-3.9.4b-r1.ebuild?r1=1.7&r2=1.8
560
561 Index: hplip-3.9.4b-r1.ebuild
562 ===================================================================
563 RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.4b-r1.ebuild,v
564 retrieving revision 1.7
565 retrieving revision 1.8
566 diff -u -r1.7 -r1.8
567 --- hplip-3.9.4b-r1.ebuild 26 Dec 2009 17:44:10 -0000 1.7
568 +++ hplip-3.9.4b-r1.ebuild 2 Jan 2010 19:49:06 -0000 1.8
569 @@ -1,6 +1,6 @@
570 -# Copyright 1999-2009 Gentoo Foundation
571 +# Copyright 1999-2010 Gentoo Foundation
572 # Distributed under the terms of the GNU General Public License v2
573 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.4b-r1.ebuild,v 1.7 2009/12/26 17:44:10 pva Exp $
574 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-3.9.4b-r1.ebuild,v 1.8 2010/01/02 19:49:06 yngwin Exp $
575
576 EAPI="2"
577
578 @@ -14,7 +14,7 @@
579 SLOT="0"
580 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
581
582 -IUSE="cupsddk dbus doc fax gtk minimal parport policykit ppds qt3 qt4 scanner snmp"
583 +IUSE="cupsddk dbus doc fax gtk minimal parport policykit ppds qt4 scanner snmp"
584
585 # Note : libusb-compat untested (calchan 20090516)
586
587 @@ -52,9 +52,6 @@
588 fax? (
589 dev-python/reportlab
590 )
591 - qt3? ( !qt4? (
592 - dev-python/PyQt
593 - ) )
594 qt4? (
595 dev-python/PyQt4[X]
596 )
597 @@ -69,7 +66,7 @@
598 ERROR_PARPORT="Please make sure parallel port support is enabled in your kernel (PARPORT and PPDEV)."
599
600 pkg_setup() {
601 - ! use qt3 && ! use qt4 && ewarn "You need USE=qt3 or USE=qt4 for the hplip GUI."
602 + ! use qt4 && ewarn "You need USE=qt4 for the hplip GUI."
603
604 use scanner && ! use gtk && ewarn "You need USE=gtk for the scanner GUI."
605
606 @@ -126,9 +123,8 @@
607
608 # Qt4 is still undocumented by upstream, so use with caution
609 local qt_ver
610 - use qt3 && qt_ver="3"
611 use qt4 && qt_ver="4"
612 - if use qt3 || use qt4 ; then
613 + if use qt4 ; then
614 sed -i \
615 -e "s/%s --force-startup/%s --force-startup --qt${qt_ver}/" \
616 -e "s/'--force-startup'/'--force-startup', '--qt${qt_ver}'/" \
617 @@ -144,13 +140,8 @@
618 }
619
620 src_configure() {
621 - if use qt3 || use qt4 ; then
622 - local gui_build="--enable-gui-build"
623 - if use qt4; then
624 - gui_build="${gui_build} --enable-qt4 --disable-qt3"
625 - else
626 - use qt3 && gui_build="${gui_build} --enable-qt3 --disable-qt4"
627 - fi
628 + if use qt4 ; then
629 + local gui_build="--enable-gui-build --enable-qt4 --disable-qt3"
630 else
631 local gui_build="--disable-gui-build"
632 fi
633 @@ -181,7 +172,7 @@
634 use minimal && rm -r "${D}"/usr/$(get_libdir)
635
636 # bug 106035/259763
637 - if ! use qt3 && ! use qt4; then
638 + if ! use qt4; then
639 rm -r "${D}"/usr/share/applications "${D}"/etc/xdg
640 fi