From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-763749-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 9BBE9138AD0
	for <garchives@archives.gentoo.org>; Sun, 11 Jan 2015 06:28:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 591B6E08A0;
	Sun, 11 Jan 2015 06:28:33 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A2E8FE08A0
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Jan 2015 06:28:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 774D634059D
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Jan 2015 06:28:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EC04DF539
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Jan 2015 06:28:29 +0000 (UTC)
From: "Heather Cynede" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Heather Cynede" <cynede@gentoo.org>
Message-ID: <1420908412.391a0df35aa7f22831fd7d616e2be1f1c04d93e5.cynede@gentoo>
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-util/monodevelop/
X-VCS-Repository: proj/dotnet
X-VCS-Files: dev-util/monodevelop/monodevelop-5.0.1.ebuild
X-VCS-Directories: dev-util/monodevelop/
X-VCS-Committer: cynede
X-VCS-Committer-Name: Heather Cynede
X-VCS-Revision: 391a0df35aa7f22831fd7d616e2be1f1c04d93e5
X-VCS-Branch: master
Date: Sun, 11 Jan 2015 06:28:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 4de2efeb-5f14-4844-a1d8-0f5860a77c6a
X-Archives-Hash: b130b05f92fba3cce3c8b988c7bb5344

commit:     391a0df35aa7f22831fd7d616e2be1f1c04d93e5
Author:     Nicholas Little <arealityfarbetween <AT> googlemail <DOT> com>
AuthorDate: Sat Jan 10 16:31:09 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 16:46:52 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/dotnet.git;a=commit;h=391a0df3

build: Disable git integration, remedy binding

Git integration was causing a failed build with the 5.0.1 ebuild since
the git repository is understandably missing in the tarball. In
addition, on systems where gtk#-3 is also installed the build
experiences binding version mismatches (particularly with gdk-sharp and
glib-sharp).

This patch removes the git execution and sets specific_version for
libraries with judicial use of sed.

---
 dev-util/monodevelop/monodevelop-5.0.1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev-util/monodevelop/monodevelop-5.0.1.ebuild b/dev-util/monodevelop/monodevelop-5.0.1.ebuild
index 04d9c8c..672b530 100644
--- a/dev-util/monodevelop/monodevelop-5.0.1.ebuild
+++ b/dev-util/monodevelop/monodevelop-5.0.1.ebuild
@@ -37,6 +37,15 @@ DEPEND="${RDEPEND}
 	x11-terms/xterm"
 MAKEOPTS="${MAKEOPTS} -j1" #nowarn
 
+src_prepare() {
+	# Remove the git rev-parse (changelog?)
+	sed -i '/<Exec.*rev-parse/ d' ${S}/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj || die
+
+	# 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() {
 	econf \
 		--disable-update-mimedb \