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.3.6.ebuild
Date: Wed, 31 Mar 2010 17:43:40
Message-Id: E1Nx1x1-0002fr-0B@stork.gentoo.org
1 tampakrap 10/03/31 17:43:35
2
3 Modified: ChangeLog
4 Added: libindicate-0.3.6.ebuild
5 Log:
6 Version bump, moved from kde overlay, thanks to Dennis Schridde. Reference launchpad bugs for the patches
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.7 dev-libs/libindicate/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libindicate/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libindicate/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libindicate/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 16 Feb 2010 17:15:10 -0000 1.6
23 +++ ChangeLog 31 Mar 2010 17:43:34 -0000 1.7
24 @@ -1,6 +1,15 @@
25 # ChangeLog for dev-libs/libindicate
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.6 2010/02/16 17:15:10 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.7 2010/03/31 17:43:34 tampakrap Exp $
29 +
30 +*libindicate-0.3.6 (31 Mar 2010)
31 +
32 + 31 Mar 2010; Theo Chatzimichos <tampakrap@g.o>
33 + +libindicate-0.3.6.ebuild,
34 + +files/libindicate-0.3.6-no-gobject-introspection.patch,
35 + +files/libindicate-0.3.6-optional-gtk-support.patch:
36 + Version bump, moved from kde overlay, thanks to Dennis Schridde.Reference
37 + launchpad bugs for the patches
38
39 16 Feb 2010; Joseph Jezak <josejx@g.o> libindicate-0.2.3-r1.ebuild:
40 Marked ~ppc/~ppc64 for bug #304365.
41
42
43
44 1.1 dev-libs/libindicate/libindicate-0.3.6.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libindicate/libindicate-0.3.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libindicate/libindicate-0.3.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libindicate-0.3.6.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.3.6.ebuild,v 1.1 2010/03/31 17:43:34 tampakrap Exp $
54
55 EAPI=2
56
57 inherit autotools eutils versionator
58
59 DESCRIPTION="Library to raise flags on DBus for other components of the desktop to pick up and visualize"
60 HOMEPAGE="https://launchpad.net/libindicate/"
61 SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
62
63 LICENSE="LGPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="gtk doc"
67 # They put their mother in the tarball ? ^^
68 RESTRICT="test"
69
70 # For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667
71 RDEPEND="dev-libs/glib:2
72 dev-libs/dbus-glib
73 dev-libs/libdbusmenu
74 dev-libs/libxml2:2
75 gtk? ( x11-libs/gtk+:2 )"
76 DEPEND="${RDEPEND}
77 doc? ( dev-util/gtk-doc )
78 dev-util/pkgconfig"
79
80 src_prepare() {
81 # Make libindicator-gtk library optional, launchpad-bug #431311
82 epatch "${FILESDIR}/${P}-optional-gtk-support.patch"
83 # Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552537
84 epatch "${FILESDIR}/${P}-no-gobject-introspection.patch"
85 # Drop -Werror in a release
86 sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefile.am || die "sed failed"
87 eautoreconf
88 }
89
90 src_configure() {
91 local my_conf
92
93 # gobject-instrospection is a nightmare in this package, it's fixable for libindicate
94 # and not for libindicate-gtk, disable it until its fixed on upstream
95 my_conf="--disable-dependency-tracking
96 --docdir=/usr/share/doc/${PF}
97 $(use_enable gtk)
98 $(use_enable doc)"
99 econf $my_conf
100 }
101
102 src_test() {
103 emake check || die "testsuite failed"
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install || die "make install failed"
108 dodoc AUTHORS || die "dodoc failed"
109 }