Gentoo Archives: gentoo-commits

From: "Theo Chatzimichos (tampakrap)" <tampakrap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libindicate: ChangeLog metadata.xml libindicate-0.4.4-r1.ebuild
Date: Sat, 29 Jan 2011 16:09:59
Message-Id: 20110129160935.3B9D620057@flycatcher.gentoo.org
1 tampakrap 11/01/29 16:09:35
2
3 Modified: ChangeLog metadata.xml
4 Added: libindicate-0.4.4-r1.ebuild
5 Log:
6 Version bump, fix tests, support USE=introspection. Ebuild and patches by Dennis Schridde
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 dev-libs/libindicate/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 17 Jan 2011 09:34:19 -0000 1.10
24 +++ ChangeLog 29 Jan 2011 16:09:34 -0000 1.11
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/libindicate
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.10 2011/01/17 09:34:19 tampakrap Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.11 2011/01/29 16:09:34 tampakrap Exp $
30 +
31 +*libindicate-0.4.4-r1 (29 Jan 2011)
32 +
33 + 29 Jan 2011; Theo Chatzimichos <tampakrap@g.o>
34 + +libindicate-0.4.4-r1.ebuild:
35 + Version bump, fix tests, support USE=introspection. Ebuild and patches by
36 + Dennis Schridde
37
38 *libindicate-0.4.4 (17 Jan 2011)
39
40
41
42
43 1.2 dev-libs/libindicate/metadata.xml
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/metadata.xml?rev=1.2&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/metadata.xml?rev=1.2&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/metadata.xml?r1=1.1&r2=1.2
48
49 Index: metadata.xml
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libindicate/metadata.xml,v
52 retrieving revision 1.1
53 retrieving revision 1.2
54 diff -u -r1.1 -r1.2
55 --- metadata.xml 29 Oct 2009 15:47:05 -0000 1.1
56 +++ metadata.xml 29 Jan 2011 16:09:34 -0000 1.2
57 @@ -6,4 +6,7 @@
58 <email>mrpouet@g.o</email>
59 <name>Romain Perier</name>
60 </maintainer>
61 + <use>
62 + <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
63 + </use>
64 </pkgmetadata>
65
66
67
68 1.1 dev-libs/libindicate/libindicate-0.4.4-r1.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: libindicate-0.4.4-r1.ebuild
74 ===================================================================
75 # Copyright 1999-2011 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild,v 1.1 2011/01/29 16:09:35 tampakrap Exp $
78
79 EAPI=2
80
81 inherit autotools eutils versionator
82
83 DESCRIPTION="Library to raise flags on DBus for other components of the desktop to pick up and visualize"
84 HOMEPAGE="https://launchpad.net/libindicate/"
85 SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
86
87 LICENSE="LGPL-3"
88 SLOT="0"
89 KEYWORDS="~amd64 ~x86"
90 IUSE="doc +introspection"
91
92 RESTRICT="test"
93
94 # For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667
95 RDEPEND="dev-libs/glib:2[introspection=]
96 dev-libs/dbus-glib
97 dev-libs/libdbusmenu[introspection=]
98 dev-libs/libxml2:2
99 x11-libs/gtk+:2
100 dev-python/pygtk
101 dev-dotnet/gtk-sharp
102 dev-dotnet/gtk-sharp-gapi"
103 DEPEND="${RDEPEND}
104 doc? ( dev-util/gtk-doc )
105 introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
106 dev-util/gtk-doc-am
107 dev-util/pkgconfig"
108
109 src_prepare() {
110 # Without patches:
111 # Make python optional, launchpad-bug #643921
112 # Make mono optional, launchpad-bug #643922
113
114 # Incomplete patches:
115 # Make gtk optional, needs optional-python or code modifications, launchpad-bug #431311
116 #epatch "${FILESDIR}/${P}-optional-gtk.patch"
117
118 # Make doc optional, launchpad-bug #643911
119 epatch "${FILESDIR}/${P}-optional-doc.patch"
120 # Do not compile mono-example by default, launchpad-bug #643912
121 epatch "${FILESDIR}/${P}-optional-mono-example.patch"
122 # Do not compile examples by default, launchpad-bug #643917
123 epatch "${FILESDIR}/${P}-optional-examples.patch"
124 # Fix trouble with autoreconf and m4 directory, launchpad-bug #683552
125 epatch "${FILESDIR}/${P}-fix-aclocal.patch"
126 # Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552537
127 epatch "${FILESDIR}/${P}-fix-introspection.patch"
128 # Fix out-of-source builds, launchpad-bug #643913
129 epatch "${FILESDIR}/${P}-fix-out-of-source-build.patch"
130 # Fix compilation for python != 2.6, launchpad-bug #594992
131 epatch "${FILESDIR}/${P}-fix-python-version.patch"
132 # Drop -Werror in a release
133 sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefile.am || die "sed failed"
134 eautoreconf
135 }
136
137 src_configure() {
138 # gobject-instrospection is a nightmare in this package, it's fixable for libindicate
139 # and not for libindicate-gtk, disable it until its fixed on upstream
140 econf \
141 --disable-dependency-tracking \
142 --docdir=/usr/share/doc/${PF} \
143 $(use_enable doc) \
144 $(use_enable introspection) \
145 || die "configure failed"
146 }
147
148 src_test() {
149 emake check || die "testsuite failed"
150 }
151
152 src_install() {
153 emake DESTDIR="${D}" install || die "make install failed"
154 dodoc AUTHORS || die "dodoc failed"
155 }