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