summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2011-01-29 16:09:35 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2011-01-29 16:09:35 +0000
commitb3ba462f2df16664b7592c06968508e0905a98a2 (patch)
treefb81de42be27cb3084d3e67b8a382ef828b19ec7 /dev-libs
parentstable x86, bug 352808 (diff)
downloadhistorical-b3ba462f2df16664b7592c06968508e0905a98a2.tar.gz
historical-b3ba462f2df16664b7592c06968508e0905a98a2.tar.bz2
historical-b3ba462f2df16664b7592c06968508e0905a98a2.zip
Version bump, fix tests, support USE=introspection. Ebuild and patches by Dennis Schridde
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libindicate/ChangeLog9
-rw-r--r--dev-libs/libindicate/Manifest5
-rw-r--r--dev-libs/libindicate/libindicate-0.4.4-r1.ebuild81
-rw-r--r--dev-libs/libindicate/metadata.xml3
4 files changed, 95 insertions, 3 deletions
diff --git a/dev-libs/libindicate/ChangeLog b/dev-libs/libindicate/ChangeLog
index 8beaacdcf02e..fee04d931cab 100644
--- a/dev-libs/libindicate/ChangeLog
+++ b/dev-libs/libindicate/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libindicate
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.10 2011/01/17 09:34:19 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.11 2011/01/29 16:09:34 tampakrap Exp $
+
+*libindicate-0.4.4-r1 (29 Jan 2011)
+
+ 29 Jan 2011; Theo Chatzimichos <tampakrap@gentoo.org>
+ +libindicate-0.4.4-r1.ebuild:
+ Version bump, fix tests, support USE=introspection. Ebuild and patches by
+ Dennis Schridde
*libindicate-0.4.4 (17 Jan 2011)
diff --git a/dev-libs/libindicate/Manifest b/dev-libs/libindicate/Manifest
index 40da7c32d111..ec474d35ea61 100644
--- a/dev-libs/libindicate/Manifest
+++ b/dev-libs/libindicate/Manifest
@@ -10,6 +10,7 @@ AUX libindicate-0.4.4-optional-mono-example.patch 321 RMD160 70cdade62938796b70a
DIST libindicate-0.2.3.tar.gz 426971 RMD160 9aa7a2ad95a232db23739d45497b0e5746cdf2a5 SHA1 46ff8ff837bac175c72f3ee66761d1f549a71547 SHA256 590dff54608b8c6eddf691f588f70f8b25da8f8f061da3696019da38abc356bf
DIST libindicate-0.4.4.tar.gz 473110 RMD160 2e926172d8b0a2604f44b2b42ee70f3a1fc837f9 SHA1 0dc3ad4c35581adea9d9ae89daacf820c764f24a SHA256 20d7ac6fe02b28283c619fe583d5b0fb8a473bb17ef020c2fa40c53f72e315ce
EBUILD libindicate-0.2.3-r1.ebuild 1590 RMD160 3ee342b28b927908d71fa48a44ff4f1cb0009188 SHA1 c8013f6672e73192dee5ac6f52a74fd769cb8b79 SHA256 310662be5618526226d721bfd440da3e071b3496652096fb4c2e99cfa9efcb43
+EBUILD libindicate-0.4.4-r1.ebuild 2759 RMD160 34f0a4b32b53e3b7fff51a0b2e9d8f885ab82363 SHA1 4b7cfd15977dfb988905fe68dab669be70148690 SHA256 455d2aadf839569b6743f3f34aef32c62a3cf574a3e77de73b10ae785b440292
EBUILD libindicate-0.4.4.ebuild 2618 RMD160 5e9dab16b468a5ec57438f53e1a18e2c1eab332e SHA1 bc75f6e712fc39de5d17841cee52daeb73ecc17e SHA256 3b4f58a046f6c9a84a0331ee4dc54814201b3e22e365bae0cd9e720a381be83a
-MISC ChangeLog 2913 RMD160 536eddd694aa386dcccd07e04b336dfea567cdf3 SHA1 40835516962842ba97fcc4f1321a0a0fd3ebb375 SHA256 3a5f2946b6cb0e89ce6db9079d7a956ad851fd765fe37d5abb7157ceeb3328e7
-MISC metadata.xml 258 RMD160 69b53b6c07c87d5673ee16de06750f3aceed35e8 SHA1 649b8b012b03f82fe418ff135f90f7e21bcc4263 SHA256 5603025b3bd04b6daa8f57cba6ad6eea690cf08beff6c011c38d35acafb3a2d9
+MISC ChangeLog 3133 RMD160 7c57ebb86c9dc58431f66bc5b5503ae3a946013e SHA1 af1ce9e14f5da438a56865457cdaed98d753ddb0 SHA256 c3009ffe1826dad83a1bbaac5de92ff0f0f1d66eaaa504f12bd07bb14d533945
+MISC metadata.xml 377 RMD160 463fc3dffb2f2393c6f8f598404fc194b3705947 SHA1 13c9cb5c9a78269711da78940a72a475ab4a54d5 SHA256 2c1ad0f08259b757e0380a60011db58e6a3268444c7e03e0ecbc252ba47aca23
diff --git a/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild b/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild
new file mode 100644
index 000000000000..91d69af5b46f
--- /dev/null
+++ b/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=2
+
+inherit autotools eutils versionator
+
+DESCRIPTION="Library to raise flags on DBus for other components of the desktop to pick up and visualize"
+HOMEPAGE="https://launchpad.net/libindicate/"
+SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +introspection"
+
+RESTRICT="test"
+
+# For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667
+RDEPEND="dev-libs/glib:2[introspection=]
+ dev-libs/dbus-glib
+ dev-libs/libdbusmenu[introspection=]
+ dev-libs/libxml2:2
+ x11-libs/gtk+:2
+ dev-python/pygtk
+ dev-dotnet/gtk-sharp
+ dev-dotnet/gtk-sharp-gapi"
+DEPEND="${RDEPEND}
+ doc? ( dev-util/gtk-doc )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
+ dev-util/gtk-doc-am
+ dev-util/pkgconfig"
+
+src_prepare() {
+ # Without patches:
+ # Make python optional, launchpad-bug #643921
+ # Make mono optional, launchpad-bug #643922
+
+ # Incomplete patches:
+ # Make gtk optional, needs optional-python or code modifications, launchpad-bug #431311
+ #epatch "${FILESDIR}/${P}-optional-gtk.patch"
+
+ # Make doc optional, launchpad-bug #643911
+ epatch "${FILESDIR}/${P}-optional-doc.patch"
+ # Do not compile mono-example by default, launchpad-bug #643912
+ epatch "${FILESDIR}/${P}-optional-mono-example.patch"
+ # Do not compile examples by default, launchpad-bug #643917
+ epatch "${FILESDIR}/${P}-optional-examples.patch"
+ # Fix trouble with autoreconf and m4 directory, launchpad-bug #683552
+ epatch "${FILESDIR}/${P}-fix-aclocal.patch"
+ # Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552537
+ epatch "${FILESDIR}/${P}-fix-introspection.patch"
+ # Fix out-of-source builds, launchpad-bug #643913
+ epatch "${FILESDIR}/${P}-fix-out-of-source-build.patch"
+ # Fix compilation for python != 2.6, launchpad-bug #594992
+ epatch "${FILESDIR}/${P}-fix-python-version.patch"
+ # Drop -Werror in a release
+ sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefile.am || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ # gobject-instrospection is a nightmare in this package, it's fixable for libindicate
+ # and not for libindicate-gtk, disable it until its fixed on upstream
+ econf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable doc) \
+ $(use_enable introspection) \
+ || die "configure failed"
+}
+
+src_test() {
+ emake check || die "testsuite failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS || die "dodoc failed"
+}
diff --git a/dev-libs/libindicate/metadata.xml b/dev-libs/libindicate/metadata.xml
index a1e3d21187da..3a81ead25e48 100644
--- a/dev-libs/libindicate/metadata.xml
+++ b/dev-libs/libindicate/metadata.xml
@@ -6,4 +6,7 @@
<email>mrpouet@gentoo.org</email>
<name>Romain Perier</name>
</maintainer>
+ <use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
+ </use>
</pkgmetadata>