1 |
calchan 07/12/23 10:29:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hplip-2.7.12.ebuild |
5 |
Log: |
6 |
Version bump, thanks to Francisco Lloret (bug #203095). |
7 |
(Portage version: 2.1.4_rc11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.90 net-print/hplip/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/ChangeLog?rev=1.90&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/ChangeLog?rev=1.90&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/ChangeLog?r1=1.89&r2=1.90 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v |
19 |
retrieving revision 1.89 |
20 |
retrieving revision 1.90 |
21 |
diff -u -r1.89 -r1.90 |
22 |
--- ChangeLog 22 Dec 2007 20:10:33 -0000 1.89 |
23 |
+++ ChangeLog 23 Dec 2007 10:29:11 -0000 1.90 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-print/hplip |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.89 2007/12/22 20:10:33 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.90 2007/12/23 10:29:11 calchan Exp $ |
29 |
+ |
30 |
+*hplip-2.7.12 (23 Dec 2007) |
31 |
+ |
32 |
+ 23 Dec 2007; Denis Dupeyron <calchan@g.o> +hplip-2.7.12.ebuild: |
33 |
+ Version bump, thanks to Francisco Lloret (bug #203095). |
34 |
|
35 |
22 Dec 2007; Markus Meier <maekke@g.o> hplip-2.7.10.ebuild: |
36 |
x86 stable, bug #202916 |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-print/hplip/hplip-2.7.12.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.12.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.12.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: hplip-2.7.12.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-2.7.12.ebuild,v 1.1 2007/12/23 10:29:11 calchan Exp $ |
50 |
|
51 |
inherit eutils linux-info |
52 |
|
53 |
DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools." |
54 |
HOMEPAGE="http://hplip.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
60 |
IUSE="X doc fax minimal parport ppds scanner snmp" |
61 |
|
62 |
DEPEND="!net-print/hpijs |
63 |
!net-print/hpoj |
64 |
virtual/ghostscript |
65 |
>=media-libs/jpeg-6b |
66 |
net-print/foomatic-filters |
67 |
!minimal? ( |
68 |
>=net-print/cups-1.2 |
69 |
dev-libs/libusb |
70 |
scanner? ( >=media-gfx/sane-backends-1.0.9 ) |
71 |
snmp? ( |
72 |
net-analyzer/net-snmp |
73 |
dev-libs/openssl |
74 |
) |
75 |
)" |
76 |
|
77 |
RDEPEND="${DEPEND} |
78 |
!minimal? ( |
79 |
!<sys-fs/udev-114 |
80 |
fax? ( dev-python/reportlab ) |
81 |
scanner? ( |
82 |
dev-python/imaging |
83 |
X? ( >=media-gfx/xsane-0.89 ) |
84 |
!X? ( >=media-gfx/sane-frontends-1.0.9 ) |
85 |
) |
86 |
X? ( >=dev-python/PyQt-3.14 ) |
87 |
)" |
88 |
|
89 |
CONFIG_CHECK="PARPORT" |
90 |
ERROR_PARPORT="Please make sure Device Drivers -> Parallel port support is enabled in your kernel" |
91 |
|
92 |
pkg_setup() { |
93 |
if ! use ppds ; then |
94 |
ewarn "Not installing built-in PPD files, which is probably not what you want." |
95 |
ewarn "You need USE=ppds if you want to install them." |
96 |
fi |
97 |
if use minimal ; then |
98 |
ewarn "Installing hpijs driver only, make sure you know what you are doing." |
99 |
else |
100 |
use parport && linux-info_pkg_setup |
101 |
fi |
102 |
|
103 |
# avoid collisions with cups-1.2 compat symlinks |
104 |
if [ -e "${ROOT}"/usr/lib/cups/backend/hp ] && [ -e "${ROOT}"/usr/libexec/cups/backend/hp ]; then |
105 |
rm -f "${ROOT}"/usr/libexec/cups/backend/hp{,fax}; |
106 |
fi |
107 |
} |
108 |
|
109 |
src_unpack() { |
110 |
unpack ${A} |
111 |
cd "${S}" |
112 |
|
113 |
sed -i -e "s:\$(doc_DATA)::" Makefile.in || die "Patching Makefile.in failed" |
114 |
sed -i -e "s/'skipstone']/'skipstone', 'epiphany']/" \ |
115 |
-e "s/'skipstone': ''}/'skipstone': '', 'epiphany': '--new-window'}/" \ |
116 |
base/utils.py || die "Patching base/utils.py failed" |
117 |
|
118 |
# bug 98428 |
119 |
sed -i -e "s:/usr/bin/env python:/usr/bin/python:g" hpssd.py || die "Patching hpssd.py failed" |
120 |
|
121 |
# Force recognition of Gentoo distro by hp-check |
122 |
sed -i \ |
123 |
-e "s:file('/etc/issue', 'r').read():'Gentoo':" \ |
124 |
installer/core_install.py || die "sed core_install.py" |
125 |
|
126 |
# Replace udev rules, see bug #197726. |
127 |
rm data/rules/55-hpmud.rules |
128 |
cp "${FILESDIR}"/70-hpmud.rules data/rules |
129 |
sed -i -e "s/55-hpmud.rules/70-hpmud.rules/g" Makefile.* */*.html */*/*.html |
130 |
} |
131 |
|
132 |
src_compile() { |
133 |
econf \ |
134 |
--disable-cups11-build \ |
135 |
--with-cupsbackenddir=$(cups-config --serverbin)/backend \ |
136 |
$(use_enable minimal hpijs-only-build) \ |
137 |
$(use_enable doc doc-build) \ |
138 |
$(use_enable snmp network-build) \ |
139 |
$(use_enable parport pp-build) \ |
140 |
$(use_enable scanner scan-build) \ |
141 |
$(use_enable X gui-build) \ |
142 |
$(use_enable fax fax-build) \ |
143 |
$(use_enable ppds foomatic-ppd-install) \ |
144 |
--disable-foomatic-xml-install \ |
145 |
|| die "econf failed" |
146 |
emake || die "Compilation failed" |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
emake -j1 DESTDIR="${D}" install || die "emake install failed" |
151 |
|
152 |
# bug 106035 |
153 |
use X || rm -Rf "${D}"/usr/share/applications |
154 |
|
155 |
use minimal && rm -rf "${D}"/usr/lib |
156 |
} |
157 |
|
158 |
pkg_preinst() { |
159 |
if ! use minimal && use scanner ; then |
160 |
insinto /etc/sane.d |
161 |
[ -e /etc/sane.d/dll.conf ] && cp /etc/sane.d/dll.conf . |
162 |
[ -e "${ROOT}"/etc/sane.d/dll.conf ] && cp "${ROOT}"/etc/sane.d/dll.conf . |
163 |
grep -q hpaio dll.conf || echo hpaio >> "${T}"/dll.conf |
164 |
doins "${T}"/dll.conf |
165 |
fi |
166 |
} |
167 |
|
168 |
pkg_postinst() { |
169 |
elog "You should run hp-setup as root if you are installing hplip for the first time, and may also" |
170 |
elog "need to run it if you are upgrading from an earlier version." |
171 |
elog |
172 |
elog "If your device is connected using USB, users will need to be in the lp group to access it." |
173 |
elog |
174 |
elog "This release doesn't use an init script anymore, so you should probably do a" |
175 |
elog "'rc-update del hplip' if you are updating from an old version." |
176 |
} |
177 |
|
178 |
|
179 |
|
180 |
-- |
181 |
gentoo-commits@g.o mailing list |