Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/system-config-printer-common: ChangeLog system-config-printer-common-1.3.9-r3.ebuild
Date: Thu, 05 Jul 2012 09:09:14
Message-Id: 20120705090903.B82F32004B@flycatcher.gentoo.org
1 ssuominen 12/07/05 09:09:03
2
3 Modified: ChangeLog
4 Added: system-config-printer-common-1.3.9-r3.ebuild
5 Log:
6 Fix compability with sys-fs/udev >= 185 wrt #423423 by Maksim Melnikau
7
8 (Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.74 app-admin/system-config-printer-common/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 25 Jun 2012 07:57:31 -0000 1.73
24 +++ ChangeLog 5 Jul 2012 09:09:03 -0000 1.74
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-admin/system-config-printer-common
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.73 2012/06/25 07:57:31 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.74 2012/07/05 09:09:03 ssuominen Exp $
30 +
31 +*system-config-printer-common-1.3.9-r3 (05 Jul 2012)
32 +
33 + 05 Jul 2012; Samuli Suominen <ssuominen@g.o>
34 + +system-config-printer-common-1.3.9-r3.ebuild,
35 + +files/system-config-printer-common-1.3.9-udev185.patch:
36 + Fix compability with sys-fs/udev >= 185 wrt #423423 by Maksim Melnikau
37
38 25 Jun 2012; Alexandre Rostovtsev <tetromino@g.o>
39 system-config-printer-common-1.3.9-r2.ebuild:
40
41
42
43 1.1 app-admin/system-config-printer-common/system-config-printer-common-1.3.9-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.9-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.9-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: system-config-printer-common-1.3.9-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.9-r3.ebuild,v 1.1 2012/07/05 09:09:03 ssuominen Exp $
53
54 EAPI=4
55
56 PYTHON_DEPEND="2:2.6"
57 WANT_AUTOMAKE="1.11"
58
59 inherit autotools eutils python
60
61 MY_P=${PN%-common}-${PV}
62
63 DESCRIPTION="Common modules of Red Hat's printer administration tool"
64 HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
65 SRC_URI="http://cyberelk.net/tim/data/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
66
67 LICENSE="GPL-2"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
69 SLOT="0"
70 IUSE="doc policykit"
71
72 # Needs cups running, bug 284005
73 RESTRICT="test"
74
75 # system-config-printer split since 1.1.3
76 COMMON_DEPEND="
77 >=dev-libs/glib-2
78 dev-libs/libxml2[python]
79 dev-python/dbus-python
80 >=dev-python/pycups-1.9.60
81 dev-python/pycurl
82 >=dev-python/pygobject-2.21.5:2
83 >=net-print/cups-1.4.6[dbus]
84 >=sys-fs/udev-164-r2
85 virtual/libusb:0
86 "
87 DEPEND="${COMMON_DEPEND}
88 dev-util/intltool
89 virtual/pkgconfig
90 doc? ( dev-python/epydoc )
91 "
92 RDEPEND="${COMMON_DEPEND}
93 !<app-admin/system-config-printer-gnome-${PV}
94 policykit? ( >=sys-auth/polkit-0.104-r1 )
95 "
96
97 S=${WORKDIR}/${MY_P}
98
99 pkg_setup() {
100 python_set_active_version 2
101 python_pkg_setup
102 }
103
104 src_prepare() {
105 epatch \
106 "${FILESDIR}"/${PN}-1.3.9-split.patch \
107 "${FILESDIR}"/${PN}-1.3.9-cups_filters_path.patch \
108 "${FILESDIR}"/${PN}-1.3.9-udev185.patch
109 eautoreconf
110 }
111
112 src_configure() {
113 econf \
114 --disable-nls \
115 --with-udev-rules
116 }
117
118 src_compile() {
119 emake
120 use doc && emake html
121 }
122
123 src_install() {
124 emake \
125 DESTDIR="${D}" \
126 udevhelperdir=/lib/udev \
127 udevrulesdir=/lib/udev/rules.d \
128 install
129
130 dodoc AUTHORS ChangeLog README
131 use doc && dohtml -r html/
132
133 python_convert_shebangs -q -r $(python_get_version) "${ED}"
134 }
135
136 pkg_postinst() {
137 python_mod_optimize cupshelpers
138 }
139
140 pkg_postrm() {
141 python_mod_cleanup cupshelpers /usr/share/system-config-printer
142 }