public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Heather Cynede" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-util/monodevelop/
Date: Sun, 11 Jan 2015 06:28:30 +0000 (UTC)	[thread overview]
Message-ID: <1420919994.342cba3d465640e88757ab71ec89dd5a9c1400e5.cynede@gentoo> (raw)

commit:     342cba3d465640e88757ab71ec89dd5a9c1400e5
Author:     Nicholas Little <arealityfarbetween <AT> googlemail <DOT> com>
AuthorDate: Sat Jan 10 19:52:57 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 19:59:54 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/dotnet.git;a=commit;h=342cba3d

build: Repair live ebuild

This patch moves the git submodule initialisation into our ebuild
src_unpack function, in addition to setting specific_version on all
csproj file library references we find to prevent gtk# version
mismatches.

In addition we select the 'stable' profile with a system prefix from the
new bespoke configuration script. We should probably reflect these as
exclusive use flags in a later version.

Finally, we add a use flag for tests which, surprisingly, don't appear
to require any further dependencies for successful compilation.

---
 dev-util/monodevelop/monodevelop-9999.ebuild | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-util/monodevelop/monodevelop-9999.ebuild b/dev-util/monodevelop/monodevelop-9999.ebuild
index 66a3496..fdc31d9 100644
--- a/dev-util/monodevelop/monodevelop-9999.ebuild
+++ b/dev-util/monodevelop/monodevelop-9999.ebuild
@@ -13,7 +13,7 @@ EGIT_REPO_URI="git://github.com/mono/monodevelop.git"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="doc"
+IUSE="doc tests"
 
 RDEPEND=">=dev-lang/mono-3.2.8
 	>=dev-dotnet/gnome-sharp-2.24.2-r1
@@ -37,8 +37,22 @@ DEPEND="${RDEPEND}
 
 MAKEOPTS="${MAKEOPTS} -j1" #nowarn
 
+src_prepare() {
+	git submodule update --init --recursive
+	# Set specific_version to prevent binding problem
+	# when gtk#-3 is installed alongside gtk#-2
+	find ${S} -name '*.csproj' -exec sed -i 's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#' {} + || die
+}
+
 src_configure() {
-	./configure	|| die
+	if use tests
+		then tests="--enable-tests"
+		else tests=""
+	fi
+	./configure \
+		--prefix=/usr \
+		--profile=stable \
+		$tests || die
 }
 
 pkg_preinst() {


             reply	other threads:[~2015-01-11  6:28 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11  6:28 Heather Cynede [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-13 14:14 [gentoo-commits] proj/dotnet:master commit in: dev-util/monodevelop/ Mikhail Pukhlikov
2016-05-10  6:32 Heather Cynede
2016-05-09 14:04 Heather Cynede
2016-05-05  9:05 Heather Cynede
2015-08-17 10:00 Heather Cynede
2015-08-04  4:00 Heather Cynede
2015-07-18 14:00 Heather Cynede
2015-06-02  9:32 Heather Cynede
2015-05-29  8:26 Heather Cynede
2015-03-06  9:57 Heather Cynede
2015-03-06  8:49 Heather Cynede
2015-03-06  8:38 Heather Cynede
2015-01-31 20:55 Heather Cynede
2015-01-25  5:51 Heather Cynede
2015-01-11  8:03 Heather Cynede
2015-01-11  7:17 Heather Cynede
2015-01-11  6:28 Heather Cynede
2015-01-02 17:47 Heather Cynede
2014-09-06 14:02 Heather Cynede
2014-08-12 17:35 Heather Cynede
2014-09-06 14:02 ` Heather Cynede
2014-07-12  6:29 Heather Cynede
2014-04-06  5:58 Heather Cynede
2014-01-25  8:22 Heather Cynede
2013-11-14  5:43 Heather Cynede
2013-09-23 12:41 Heather Cynede

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=1420919994.342cba3d465640e88757ab71ec89dd5a9c1400e5.cynede@gentoo \
    --to=cynede@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