Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/system-config-printer-common: system-config-printer-common-1.3.9-r2.ebuild ChangeLog system-config-printer-common-1.3.9-r1.ebuild
Date: Tue, 19 Jun 2012 22:20:25
Message-Id: 20120619222007.547F92004B@flycatcher.gentoo.org
1 reavertm 12/06/19 22:20:07
2
3 Modified: ChangeLog
4 Added: system-config-printer-common-1.3.9-r2.ebuild
5 Removed: system-config-printer-common-1.3.9-r1.ebuild
6 Log:
7 Revbump, fix changelog
8
9 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64, RepoMan options: --force)
10
11 Revision Changes Path
12 1.72 app-admin/system-config-printer-common/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.72&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.72&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?r1=1.71&r2=1.72
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v
21 retrieving revision 1.71
22 retrieving revision 1.72
23 diff -u -r1.71 -r1.72
24 --- ChangeLog 19 Jun 2012 22:10:03 -0000 1.71
25 +++ ChangeLog 19 Jun 2012 22:20:07 -0000 1.72
26 @@ -1,10 +1,11 @@
27 # ChangeLog for app-admin/system-config-printer-common
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.71 2012/06/19 22:10:03 reavertm Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.72 2012/06/19 22:20:07 reavertm Exp $
31
32 19 Jun 2012; Maciej Mrozowski <reavertm@g.o>
33 +files/system-config-printer-common-1.3.9-cups_filters_path.patch,
34 - system-config-printer-common-1.3.9-r1.ebuild:
35 + +system-config-printer-common-1.3.9-r2.ebuild:
36 + -system-config-printer-common-1.3.9-r1.ebuild:
37 Add additional cupsfilters search paths, bug 420671.
38
39 24 May 2012; Samuli Suominen <ssuominen@g.o>
40
41
42
43 1.1 app-admin/system-config-printer-common/system-config-printer-common-1.3.9-r2.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-r2.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-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: system-config-printer-common-1.3.9-r2.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-r2.ebuild,v 1.1 2012/06/19 22:20:07 reavertm Exp $
53
54 EAPI="3"
55
56 PYTHON_DEPEND="2"
57 WANT_AUTOMAKE="1.11"
58 inherit eutils python autotools
59
60 MY_P="${PN%-common}-${PV}"
61
62 DESCRIPTION="Common modules of Red Hat's printer administration tool"
63 HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
64 SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.3/${MY_P}.tar.xz"
65
66 LICENSE="GPL-2"
67 KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc x86"
68 SLOT="0"
69 IUSE="doc policykit"
70
71 # Needs cups running, bug 284005
72 RESTRICT="test"
73
74 # system-config-printer split since 1.1.3
75 COMMON_DEPEND="
76 dev-libs/glib:2
77 dev-libs/libxml2[python]
78 dev-python/dbus-python
79 >=dev-python/pycups-1.9.60
80 dev-python/pycurl
81 >=dev-python/pygobject-2.21.5:2
82 >=net-print/cups-1.4.6[dbus]
83 >=sys-fs/udev-164-r2
84 virtual/libusb:0
85 "
86 DEPEND="${COMMON_DEPEND}
87 dev-util/intltool
88 virtual/pkgconfig
89 doc? ( dev-python/epydoc )
90 "
91 RDEPEND="${COMMON_DEPEND}
92 !<app-admin/system-config-printer-gnome-${PVR}
93 policykit? ( sys-auth/polkit )
94 "
95
96 S="${WORKDIR}/${MY_P}"
97
98 pkg_setup() {
99 python_set_active_version 2
100 }
101
102 src_prepare() {
103 epatch "${FILESDIR}/${PN}-1.3.9-split.patch"
104 epatch "${FILESDIR}/${PN}-1.3.9-cups_filters_path.patch"
105 eautoreconf
106 }
107
108 src_configure() {
109 econf \
110 --disable-nls \
111 --with-udev-rules
112 }
113
114 src_compile() {
115 emake || die "emake failed"
116 if use doc; then
117 emake html || die "emake html failed"
118 fi
119 }
120
121 src_install() {
122 dodoc AUTHORS ChangeLog README || die "dodoc failed"
123
124 if use doc; then
125 dohtml -r html/ || die "installing html docs failed"
126 fi
127
128 emake DESTDIR="${ED}" install \
129 udevrulesdir=/lib/udev/rules.d \
130 udevhelperdir=/lib/udev \
131 || die "emake install failed"
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 }