From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q6Zml-0003Lk-Gv for garchives@archives.gentoo.org; Mon, 04 Apr 2011 02:44:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38F4A1C04B; Mon, 4 Apr 2011 02:44:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id ECEDF1C04B for ; Mon, 4 Apr 2011 02:44:51 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D99281B4045 for ; Mon, 4 Apr 2011 02:44:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 3F92280065 for ; Mon, 4 Apr 2011 02:44:50 +0000 (UTC) From: "Locke Shinseiko" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Locke Shinseiko" Message-ID: <0528e56ad89cd6ac94d9f061555d8faf959297f4.wizzleby@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/libindicate/, dev-libs/libindicate/files/ X-VCS-Repository: proj/kde X-VCS-Files: dev-libs/libindicate/files/libindicate-0.4.4-fix-python-version.patch dev-libs/libindicate/libindicate-0.4.4-r3.ebuild X-VCS-Directories: dev-libs/libindicate/ dev-libs/libindicate/files/ X-VCS-Committer: wizzleby X-VCS-Committer-Name: Locke Shinseiko X-VCS-Revision: 0528e56ad89cd6ac94d9f061555d8faf959297f4 Date: Mon, 4 Apr 2011 02:44:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 72d5d3225372043472af4a5b32bd5610 commit: 0528e56ad89cd6ac94d9f061555d8faf959297f4 Author: Locke Shinseiko gmail com> AuthorDate: Mon Apr 4 02:43:11 2011 +0000 Commit: Locke Shinseiko gmail com> CommitDate: Mon Apr 4 02:44:32 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3D0528e56a [dev-libs/libindicate-0.4.4] Add app-text/gnome-doc-utils to DEPEND, revb= ump. --- .../libindicate-0.4.4-fix-python-version.patch | 11 +++ dev-libs/libindicate/libindicate-0.4.4-r3.ebuild | 84 ++++++++++++++= ++++++ 2 files changed, 95 insertions(+), 0 deletions(-) diff --git a/dev-libs/libindicate/files/libindicate-0.4.4-fix-python-vers= ion.patch b/dev-libs/libindicate/files/libindicate-0.4.4-fix-python-versi= on.patch new file mode 100644 index 0000000..198114b --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.4.4-fix-python-version.pat= ch @@ -0,0 +1,11 @@ +--- bindings/python/Makefile.am.orig 2010-12-01 11:02:01.089105608 +0100 ++++ bindings/python/Makefile.am 2010-12-01 11:02:32.619126150 +0100 +@@ -21,7 +21,7 @@ + indicatedir =3D $(pkgpyexecdir)/indicate + indicate_LTLIBRARIES =3D _indicate.la +=20 +-_indicate_la_LDFLAGS =3D -module -avoid-version -export-symbols-regex i= nit_indicate -lpyglib-2.0-python2.6 -lpython2.6 ++_indicate_la_LDFLAGS =3D -module -avoid-version -export-symbols-regex i= nit_indicate -lpyglib-2.0-python@PYTHON_VERSION@ -lpython@PYTHON_VERSION@ + _indicate_la_LIBADD =3D $(INDICATE_PYTHON_LIBS) -L$(top_builddir)/libi= ndicate/.libs/ -lindicate -L$(top_builddir)/libindicate-gtk/.libs -lindic= ate-gtk $(LIBINDICATEGTK_LIBS) + _indicate_la_SOURCES =3D indicatemodule.c + nodist__indicate_la_SOURCES =3D indicate.c diff --git a/dev-libs/libindicate/libindicate-0.4.4-r3.ebuild b/dev-libs/= libindicate/libindicate-0.4.4-r3.ebuild new file mode 100644 index 0000000..91199df --- /dev/null +++ b/dev-libs/libindicate/libindicate-0.4.4-r3.ebuild @@ -0,0 +1,84 @@ +# 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-r2.ebuild,v 1.1 2011/02/07 10:05:34 tampakrap Exp $ + +EAPI=3D2 + +inherit autotools eutils versionator + +DESCRIPTION=3D"Library to raise flags on DBus for other components of th= e desktop to pick up and visualize" +HOMEPAGE=3D"https://launchpad.net/libindicate/" +SRC_URI=3D"http://launchpad.net/${PN}/$(get_version_component_range 1-2)= /${PV}/+download/${P}.tar.gz" + +LICENSE=3D"LGPL-3" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"doc +introspection" + +RESTRICT=3D"test" + +# For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667 +RDEPEND=3D"dev-libs/glib:2[introspection=3D] + dev-libs/dbus-glib + =3Ddev-libs/gobject-introspection-0.6.3 ) + app-text/gnome-doc-utils + 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, launc= hpad-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 !=3D 2.6, launchpad-bug #594992 + epatch "${FILESDIR}/${P}-fix-python-version.patch" + # Fix parallel-make for mono bindings, launchpad-bug #709954 + epatch "${FILESDIR}/${P}-mono-parallel-make.patch" + # Drop -Werror in a release + sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefi= le.am || die "sed failed" + eautoreconf +} + +src_configure() { + # gobject-instrospection is a nightmare in this package, it's fixable f= or libindicate + # and not for libindicate-gtk, disable it until its fixed on upstream + econf \ + --disable-dependency-tracking \ + --docdir=3D/usr/share/doc/${PF} \ + $(use_enable doc) \ + $(use_enable introspection) \ + || die "configure failed" +} + +src_test() { + emake check || die "testsuite failed" +} + +src_install() { + emake DESTDIR=3D"${D}" install || die "make install failed" + dodoc AUTHORS || die "dodoc failed" +}