Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/gnome-cups-manager: ChangeLog gnome-cups-manager-0.33-r2.ebuild
Date: Sun, 29 Aug 2010 21:21:59
Message-Id: 20100829212153.24D0820051@flycatcher.gentoo.org
1 eva 10/08/29 21:21:53
2
3 Modified: ChangeLog
4 Added: gnome-cups-manager-0.33-r2.ebuild
5 Log:
6 Do not add CFLAGS to CXXFLAGS, bug #234028. Fix automagic samba support, bug #288392.
7
8 (Portage version: 2.2_rc68/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.96 net-print/gnome-cups-manager/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gnome-cups-manager/ChangeLog?rev=1.96&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gnome-cups-manager/ChangeLog?rev=1.96&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gnome-cups-manager/ChangeLog?r1=1.95&r2=1.96
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/ChangeLog,v
20 retrieving revision 1.95
21 retrieving revision 1.96
22 diff -u -r1.95 -r1.96
23 --- ChangeLog 20 Jul 2010 15:39:48 -0000 1.95
24 +++ ChangeLog 29 Aug 2010 21:21:53 -0000 1.96
25 @@ -1,6 +1,15 @@
26 # ChangeLog for net-print/gnome-cups-manager
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/ChangeLog,v 1.95 2010/07/20 15:39:48 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/ChangeLog,v 1.96 2010/08/29 21:21:53 eva Exp $
30 +
31 +*gnome-cups-manager-0.33-r2 (29 Aug 2010)
32 +
33 + 29 Aug 2010; Gilles Dartiguelongue <eva@g.o>
34 + +gnome-cups-manager-0.33-r2.ebuild,
35 + +files/gnome-cups-manager-0.33-automagic-samba.patch,
36 + +files/gnome-cups-manager-0.33-cxxflags-separation.patch:
37 + Do not add CFLAGS to CXXFLAGS, bug #234028. Fix automagic samba support,
38 + bug #288392.
39
40 20 Jul 2010; Jeroen Roovers <jer@g.o>
41 gnome-cups-manager-0.33-r1.ebuild:
42
43
44
45 1.1 net-print/gnome-cups-manager/gnome-cups-manager-0.33-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gnome-cups-manager-0.33-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r2.ebuild,v 1.1 2010/08/29 21:21:53 eva Exp $
55
56 EAPI="2"
57 GCONF_DEBUG="no"
58
59 inherit autotools eutils gnome2 flag-o-matic
60
61 DESCRIPTION="GNOME CUPS Printer Management Interface"
62 HOMEPAGE="http://www.gnome.org/"
63
64 SRC_URI="${SRC_URI}
65 mirror://gentoo/${PN}-patches-${PV}-r1.tar.bz2"
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="samba"
70
71 # FIXME: samba support is automatic
72 COMMON=">=x11-libs/gtk+-2.3.1
73 >=dev-libs/glib-2.3.1
74 >=gnome-base/libgnome-2.14
75 >=gnome-base/libgnomeui-2.14
76 >=gnome-base/libglade-2
77 >=gnome-base/libbonobo-2
78 >=net-print/libgnomecups-0.2.3
79 gnome-base/gnome-keyring
80 samba? ( net-fs/samba[smbclient] )"
81
82 RDEPEND="${COMMON}
83 x11-libs/gksu"
84
85 DEPEND="${COMMON}
86 >=dev-util/pkgconfig-0.9
87 >=dev-util/intltool-0.35"
88
89 DOCS="ChangeLog NEWS README"
90
91 pkg_setup() {
92 G2CONF="${G2CONF} --disable-static $(use_enable samba)"
93 }
94
95 src_prepare() {
96 gnome2_src_prepare
97
98 # Do not add CFLAGS to CPPFLAGS, bug #234028
99 epatch "${FILESDIR}/${PN}-0.33-cxxflags-separation.patch"
100
101 # Fix automagic samba support, bug #288392
102 epatch "${FILESDIR}/${PN}-0.33-automagic-samba.patch"
103
104 # Apply ubuntu patchset
105 rm "${WORKDIR}"/patches/140_all_ui_tooltip.patch || \
106 die "removing patch failed"
107 export EPATCH_SOURCE="${WORKDIR}/patches" \
108 EPATCH_SUFFIX="patch" \
109 EPATCH_MULTI_MSG="Applying Ubuntu patches (enhancements) ..."
110 epatch
111
112 intltoolize --force --copy --automake || die
113 eautoreconf
114 }
115
116 src_install() {
117 gnome2_src_install
118 # debian-specific.
119 rm "${D}"/usr/sbin/gnome-cups-switch
120 }