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-dotnet/soup-sharp/files/, dev-dotnet/webkitgtk-sharp/, ...
Date: Thu, 10 Dec 2015 07:44:57 +0000 (UTC)	[thread overview]
Message-ID: <1449652446.88c81b9424e85653751230b288fb6d59f5588c0a.cynede@gentoo> (raw)

commit:     88c81b9424e85653751230b288fb6d59f5588c0a
Author:     grafi <grafi <AT> grafi <DOT> jp>
AuthorDate: Wed Dec  9 09:11:07 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 09:14:06 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=88c81b94

add webkitgtk-sharp and soup-sharp

 .../files/soup-sharp-2.42.2-4404312-libdir.patch   | 16 ++++++++++
 .../files/soup-sharp-2.42.2-5898dab-mcs.patch      | 13 +++++++++
 dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild     | 34 ++++++++++++++++++++++
 .../files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch  | 13 +++++++++
 .../webkitgtk-sharp-2.0.0-fadd308-libdir.patch     | 29 ++++++++++++++++++
 .../webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild   | 34 ++++++++++++++++++++++
 6 files changed, 139 insertions(+)

diff --git a/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-4404312-libdir.patch b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-4404312-libdir.patch
new file mode 100644
index 0000000..b50ca10
--- /dev/null
+++ b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-4404312-libdir.patch
@@ -0,0 +1,16 @@
+diff --git a/soup-sharp-2.4.pc.in b/soup-sharp-2.4.pc.in
+index c2dd575..84e5e2c 100644
+--- a/soup-sharp-2.4.pc.in
++++ b/soup-sharp-2.4.pc.in
+@@ -1,9 +1,10 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=@libdir@
++pkglibdir=${exec_prefix}/lib/mono/@ASSEMBLY_NAME@
+ 
+ Name: @ASSEMBLY_TITLE@
+ Description: @ASSEMBLY_DESCRIPTION@
+ Version: @VERSION@
+ Requires: 
+-Libs: -r:${libdir}/mono/@ASSEMBLY_NAME@/@ASSEMBLY_NAME@.dll
++Libs: -r:${pkglibdir}/@ASSEMBLY_NAME@.dll

diff --git a/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-5898dab-mcs.patch b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-5898dab-mcs.patch
new file mode 100644
index 0000000..806ad72
--- /dev/null
+++ b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-5898dab-mcs.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index fe7b089..d1fdac9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,7 +39,7 @@ PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= 1.0, has_mono=true, has_mono=false)
+ 
+ if test "x$has_mono" = "xtrue"; then
+ 1	AC_PATH_PROG(RUNTIME, mono, no)
+-	AC_PATH_PROG(CSC, gmcs, no)
++	AC_PATH_PROG(CSC, mcs, no)
+ 	LIB_PREFIX=.so
+ 	LIB_SUFFIX=
+ else

diff --git a/dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild b/dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild
new file mode 100644
index 0000000..d4ac869
--- /dev/null
+++ b/dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit mono-env autotools eutils
+
+DESCRIPTION="C# Bindings for libsoup2.4"
+HOMEPAGE="https://github.com/stsundermann/soup-sharp"
+SRC_URI="https://github.com/stsundermann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	>=dev-lang/mono-2.11
+	>=dev-dotnet/gtk-sharp-2.99.2:3
+	net-libs/libsoup"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+src_prepare() {
+	mkdir -p doc/en # upstream d474abc
+	epatch "$FILESDIR/${P}-4404312-libdir.patch"
+	epatch "$FILESDIR/${P}-5898dab-mcs.patch"
+	eautoreconf -I . -I m4
+}
+
+src_compile() {
+	emake -j1
+}

diff --git a/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch
new file mode 100644
index 0000000..7fb330f
--- /dev/null
+++ b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 8925cdb..355bdff 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,7 +39,7 @@ PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= 1.0, has_mono=true, has_mono=false)
+ 
+ if test "x$has_mono" = "xtrue"; then
+ 1	AC_PATH_PROG(RUNTIME, mono, no)
+-	AC_PATH_PROG(CSC, gmcs, no)
++	AC_PATH_PROG(CSC, mcs, no)
+ 	LIB_PREFIX=.so
+ 	LIB_SUFFIX=
+ else

diff --git a/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-fadd308-libdir.patch b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-fadd308-libdir.patch
new file mode 100644
index 0000000..731d772
--- /dev/null
+++ b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-fadd308-libdir.patch
@@ -0,0 +1,29 @@
+diff --git a/sources/Makefile.am b/sources/Makefile.am
+index a726b23..aca6456 100644
+--- a/sources/Makefile.am
++++ b/sources/Makefile.am
+@@ -42,7 +42,7 @@ generated-stamp: $(API)
+ 
+ $(DLL): $(build_sources) generated-stamp
+ 	$(CSC) -nowarn:169 -unsafe -target:library $(GTK_SHARP_LIBS) \
+-		$(build_sources)  $(MONOCAIRO_LIBS) $(SOUPSHARP_LIBS) generated/*.cs -out:$(DLL)
++		$(build_sources)  $(MONOCAIRO_LIBS) $(SOUPSHARP_LIBS) generated/*.cs generated/*/*.cs -out:$(DLL)
+ 
+ install-data-local:
+ 	echo "$(GACUTIL) /i $(DLL) /f $(GACUTIL_FLAGS)";  \
+diff --git a/webkitgtk-sharp-3.0.pc.in b/webkitgtk-sharp-3.0.pc.in
+index c2dd575..84e5e2c 100644
+--- a/webkitgtk-sharp-3.0.pc.in
++++ b/webkitgtk-sharp-3.0.pc.in
+@@ -1,9 +1,10 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=@libdir@
++pkglibdir=${exec_prefix}/lib/mono/@ASSEMBLY_NAME@
+ 
+ Name: @ASSEMBLY_TITLE@
+ Description: @ASSEMBLY_DESCRIPTION@
+ Version: @VERSION@
+ Requires: 
+-Libs: -r:${libdir}/mono/@ASSEMBLY_NAME@/@ASSEMBLY_NAME@.dll
++Libs: -r:${pkglibdir}/@ASSEMBLY_NAME@.dll

diff --git a/dev-dotnet/webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild b/dev-dotnet/webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild
new file mode 100644
index 0000000..3a5ba09
--- /dev/null
+++ b/dev-dotnet/webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit mono-env autotools eutils
+
+DESCRIPTION="C# bindings for WebKitGTK+ 3.0 using GObject Introspection"
+HOMEPAGE="https://github.com/stsundermann/webkitgtk-sharp"
+SRC_URI="https://github.com/stsundermann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	>=dev-lang/mono-2.11
+	>=dev-dotnet/gtk-sharp-2.99.2:3
+	net-libs/webkit-gtk:3=
+	dev-dotnet/soup-sharp"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+src_prepare() {
+	epatch "$FILESDIR/${P}-fadd308-libdir.patch"
+	epatch "$FILESDIR/${P}-aaad3bf-mcs.patch"
+	eautoreconf -I . -I m4
+}
+
+src_compile() {
+	emake -j1
+}


                 reply	other threads:[~2015-12-10  7:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1449652446.88c81b9424e85653751230b288fb6d59f5588c0a.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