public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: net-libs/rest/, net-libs/rest/files/
Date: Thu, 17 Mar 2011 23:30:26 +0000 (UTC)	[thread overview]
Message-ID: <45814a6be96e5bad47790142f69e2b490f614bc3.nirbheek@gentoo> (raw)

commit:     45814a6be96e5bad47790142f69e2b490f614bc3
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 23:13:56 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 23:30:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=45814a6b

net-libs/rest: fix bug 359283

---
 .../rest/files/rest-0.7.7-fix-introspection.patch  |   19 +++++++++++++++++++
 net-libs/rest/rest-0.7.7.ebuild                    |    9 +++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/net-libs/rest/files/rest-0.7.7-fix-introspection.patch b/net-libs/rest/files/rest-0.7.7-fix-introspection.patch
new file mode 100644
index 0000000..07d24b9
--- /dev/null
+++ b/net-libs/rest/files/rest-0.7.7-fix-introspection.patch
@@ -0,0 +1,19 @@
+https://bugs.meego.com/show_bug.cgi?id=13745
+https://bugs.gentoo.org/show_bug.cgi?id=359283
+---
+--- a/rest-extras/Makefile.am
++++ b/rest-extras/Makefile.am
+@@ -55,8 +55,9 @@ RestExtras_@API_VERSION_AM@_gir_VERSION = @API_VERSION@
+ RestExtras_@API_VERSION_AM@_gir_LIBS = librest-extras-@API_VERSION@.la
+ RestExtras_@API_VERSION_AM@_gir_FILES = $(addprefix $(top_srcdir)/rest-extras/, $(lib_headers))
+ RestExtras_@API_VERSION_AM@_gir_CFLAGS = -I$(top_srcdir)
+-RestExtras_@API_VERSION_AM@_gir_INCLUDES = GObject-2.0 libxml2-2.0 Rest-@API_VERSION@
++RestExtras_@API_VERSION_AM@_gir_INCLUDES = GObject-2.0 libxml2-2.0
+ RestExtras_@API_VERSION_AM@_gir_PACKAGES = gobject-2.0 libsoup-2.4 libxml-2.0
++RestExtras_@API_VERSION_AM@_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/rest/Rest-@API_VERSION@.gir
+ 
+ girdir = $(datadir)/gir-1.0
+ dist_gir_DATA = $(INTROSPECTION_GIRS)
+-- 
+1.7.0.4
+

diff --git a/net-libs/rest/rest-0.7.7.ebuild b/net-libs/rest/rest-0.7.7.ebuild
index 071e04f..9900329 100644
--- a/net-libs/rest/rest-0.7.7.ebuild
+++ b/net-libs/rest/rest-0.7.7.ebuild
@@ -6,7 +6,7 @@ EAPI="3"
 GCONF_DEBUG="yes"
 GNOME2_LA_PUNT="yes"
 
-inherit gnome2 virtualx
+inherit autotools eutils gnome2 virtualx
 
 DESCRIPTION="Helper library for RESTful services"
 HOMEPAGE="http://git.gnome.org/browse/librest"
@@ -29,13 +29,18 @@ DEPEND="${RDEPEND}
 	doc? ( >=dev-util/gtk-doc-1.13 )
 	test? ( sys-apps/dbus )"
 
-pkg_setup() {
+src_prepare() {
 	G2CONF="${G2CONF}
 		--disable-static
 		--disable-gcov
 		$(use_with gnome)
 		$(use_enable introspection)"
 	DOCS="AUTHORS NEWS README"
+
+	# Fails to compile if not already installed
+	# https://bugs.gentoo.org/show_bug.cgi?id=359283
+	epatch "${FILESDIR}/${PN}-0.7.7-fix-introspection.patch"
+	eautoreconf
 }
 
 src_test() {



             reply	other threads:[~2011-03-17 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 23:30 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-23  5:20 [gentoo-commits] proj/gnome:master commit in: net-libs/rest/, net-libs/rest/files/ Nirbheek Chauhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45814a6be96e5bad47790142f69e2b490f614bc3.nirbheek@gentoo \
    --to=nirbheek@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox