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-gnome: ChangeLog system-config-printer-gnome-1.2.6.ebuild
Date: Thu, 27 Jan 2011 01:27:12
Message-Id: 20110127012701.C75E920057@flycatcher.gentoo.org
1 reavertm 11/01/27 01:27:01
2
3 Modified: ChangeLog
4 Added: system-config-printer-gnome-1.2.6.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.17 app-admin/system-config-printer-gnome/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 28 Oct 2010 18:50:55 -0000 1.16
24 +++ ChangeLog 27 Jan 2011 01:27:01 -0000 1.17
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-admin/system-config-printer-gnome
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog,v 1.16 2010/10/28 18:50:55 reavertm Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog,v 1.17 2011/01/27 01:27:01 reavertm Exp $
31 +
32 +*system-config-printer-gnome-1.2.6 (27 Jan 2011)
33 +
34 + 27 Jan 2011; Maciej Mrozowski <reavertm@g.o>
35 + +system-config-printer-gnome-1.2.6.ebuild,
36 + +files/system-config-printer-gnome-1.2.6-split.patch:
37 + Version bump
38
39 28 Oct 2010; Maciej Mrozowski <reavertm@g.o>
40 system-config-printer-gnome-1.2.2.ebuild,
41
42
43
44 1.1 app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.6.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: system-config-printer-gnome-1.2.6.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.6.ebuild,v 1.1 2011/01/27 01:27:01 reavertm Exp $
54
55 EAPI="3"
56
57 PYTHON_DEPEND="2"
58 WANT_AUTOMAKE="1.11"
59 inherit python autotools
60
61 MY_P="${PN%-gnome}-${PV}"
62
63 DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
64 HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
65 SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.2/${MY_P}.tar.xz"
66
67 LICENSE="GPL-2"
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sh ~sparc ~x86"
69 SLOT="0"
70 IUSE="gnome-keyring"
71
72 # Needs cups running, bug 284005
73 RESTRICT="test"
74
75 RDEPEND="
76 ~app-admin/system-config-printer-common-${PV}
77 dev-python/notify-python
78 >=dev-python/pygtk-2.4
79 dev-python/pyxml
80 gnome-keyring? ( dev-python/gnome-keyring-python )
81 "
82 DEPEND="${RDEPEND}
83 app-text/docbook-xml-dtd:4.1.2
84 >=app-text/xmlto-0.0.22
85 dev-util/intltool
86 sys-devel/gettext
87 "
88
89 APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
90 he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
91 pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
92 for X in ${APP_LINGUAS}; do
93 IUSE="${IUSE} linguas_${X}"
94 done
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.2.6-split.patch"
104
105 eautoreconf
106 }
107
108 src_configure() {
109 local myconf
110
111 # Disable installation of translations when LINGUAS not chosen
112 if [[ -z "${LINGUAS}" ]]; then
113 myconf="${myconf} --disable-nls"
114 else
115 myconf="${myconf} --enable-nls"
116 fi
117
118 econf \
119 --with-desktop-vendor=Gentoo \
120 --without-udev-rules \
121 ${myconf}
122 }
123
124 src_install() {
125 dodoc AUTHORS ChangeLog README || die "dodoc failed"
126
127 emake DESTDIR="${ED}" install || die "emake install failed"
128
129 python_convert_shebangs -q -r $(python_get_version) "${ED}"
130 }
131
132 pkg_postrm() {
133 python_mod_cleanup /usr/share/system-config-printer
134 }