diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-dotnet | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-dotnet')
189 files changed, 3758 insertions, 0 deletions
diff --git a/dev-dotnet/art-sharp/Manifest b/dev-dotnet/art-sharp/Manifest new file mode 100644 index 000000000000..565a7514d5e7 --- /dev/null +++ b/dev-dotnet/art-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-sharp-2.24.2.tar.bz2 421281 SHA256 122b1e03966d63ec3389decf5440fb94285907d1b6be48352dcf6aca292cf7b0 SHA512 1bf786d6febfb1d7fe29b2b94000ac56a61233dd842d173d028814b2c8f2360df060d781af16db509e9a0a445bdcbef9ed99af5793630192f50440cd0536e571 WHIRLPOOL 07fb7efd8c98e70dae0d2e9c6a2db7a09b551bf16187eb8c20b877218e0c85fb6164baff8eac9c84b1624ce69c81da61a0dbbf41918b75f3267f839b247f9ec8 diff --git a/dev-dotnet/art-sharp/art-sharp-2.24.2.ebuild b/dev-dotnet/art-sharp/art-sharp-2.24.2.ebuild new file mode 100644 index 000000000000..9b74cf177e94 --- /dev/null +++ b/dev-dotnet/art-sharp/art-sharp-2.24.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/art-sharp/metadata.xml b/dev-dotnet/art-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/art-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/atk-sharp/Manifest b/dev-dotnet/atk-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/atk-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/atk-sharp/atk-sharp-2.12.10.ebuild b/dev-dotnet/atk-sharp/atk-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..d2c512d04b4e --- /dev/null +++ b/dev-dotnet/atk-sharp/atk-sharp-2.12.10.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/atk-sharp/metadata.xml b/dev-dotnet/atk-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/atk-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/dbus-sharp-glib/Manifest b/dev-dotnet/dbus-sharp-glib/Manifest new file mode 100644 index 000000000000..37a07db0e875 --- /dev/null +++ b/dev-dotnet/dbus-sharp-glib/Manifest @@ -0,0 +1 @@ +DIST dbus-sharp-glib-0.5.0.tar.gz 95405 SHA256 f4fd663957f06ac5f0322beab264c5498bf6408f7435d0387950b4cb7996180e SHA512 651a8d9b42342d6aca6b7963a089e8da609f0d2e9d6421f40fb9589204af63e790f1bc5dd7735bb751f84d3f0d888e2e2f174c23f79206f8858e0502cba95065 WHIRLPOOL 2d5776e367757e4a06b34e0b114b95e61b4a8dea54b60029d59c73802bf58e58c198cea5cd6094371a584ee54317f9fd9fb60e63a9b483311014498084155d8e diff --git a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0.ebuild b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0.ebuild new file mode 100644 index 000000000000..bca6c8acab08 --- /dev/null +++ b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit mono + +DESCRIPTION="D-Bus for .NET: GLib integration module" +HOMEPAGE="https://github.com/mono/dbus-sharp" +SRC_URI="mirror://github/mono/dbus-sharp/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="dev-lang/mono + >=dev-dotnet/dbus-sharp-0.7" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + DOCS="AUTHORS README" +} diff --git a/dev-dotnet/dbus-sharp-glib/metadata.xml b/dev-dotnet/dbus-sharp-glib/metadata.xml new file mode 100644 index 000000000000..4bfc7f9f6c3f --- /dev/null +++ b/dev-dotnet/dbus-sharp-glib/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> + <upstream> + <remote-id type="github">mono/dbus-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/dbus-sharp/Manifest b/dev-dotnet/dbus-sharp/Manifest new file mode 100644 index 000000000000..678d8ce580b6 --- /dev/null +++ b/dev-dotnet/dbus-sharp/Manifest @@ -0,0 +1 @@ +DIST dbus-sharp-0.7.0.tar.gz 127651 SHA256 92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41 SHA512 76d9c83aae227476e40efee1e987a03a8b1da29def79657365906a8220d2cceabe433f4b4679a87dd74e77431382b6c2857ca5498b0671b679d5ddd566d0229d WHIRLPOOL 275c0149c40cf65a7967eb86936f077aa0d526c70ce315dbf43057a2c962be0b7e07f5b9d3a69ac30ed88c785e9f0f1f7f105002b1709e202dee52433627158b diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r1.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r1.ebuild new file mode 100644 index 000000000000..77a76cde17f0 --- /dev/null +++ b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit mono eutils + +DESCRIPTION="D-Bus for .NET" +HOMEPAGE="https://github.com/mono/dbus-sharp" +SRC_URI="mirror://github/mono/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="dev-lang/mono + sys-apps/dbus" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + DOCS="AUTHORS README" +} + +src_prepare() { + # Fix signals, bug #387097 + epatch "${FILESDIR}/${P}-fix-signals.patch" + epatch "${FILESDIR}/${P}-fix-signals2.patch" +} diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch new file mode 100644 index 000000000000..934d7630d164 --- /dev/null +++ b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch @@ -0,0 +1,28 @@ +From 608328ba1e0ccc8d0387c244793b229bcc184648 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com> +Date: Fri, 10 Dec 2010 15:03:12 +0000 +Subject: [PATCH] Disable broken matching on sender for signals. Fix issue #8. + +--- + src/BusObject.cs | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +diff --git a/src/BusObject.cs b/src/BusObject.cs +index e12207e..fe32b72 100644 +--- a/src/BusObject.cs ++++ b/src/BusObject.cs +@@ -56,7 +56,10 @@ public void ToggleSignal (string iface, string member, Delegate dlg, bool adding + rule.Fields.Add (FieldCode.Interface, new MatchTest (iface)); + rule.Fields.Add (FieldCode.Member, new MatchTest (member)); + rule.Fields.Add (FieldCode.Path, new MatchTest (object_path)); +- rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name)); ++ // FIXME: Cause a regression compared to 0.6 as name wasn't matched before ++ // the problem arises because busname is not used by DBus daemon and ++ // instead it uses the canonical name of the sender (i.e. similar to ':1.13') ++ //rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name)); + + if (adding) { + if (conn.Handlers.ContainsKey (rule)) +-- +1.7.5.4 + diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch new file mode 100644 index 000000000000..d74361c08019 --- /dev/null +++ b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch @@ -0,0 +1,26 @@ +From 76f43e6cc25eae25b658831111b37b10376311d2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com> +Date: Thu, 10 Feb 2011 17:31:38 +0000 +Subject: [PATCH] Remove sender match check on receiving side too. Properly + fix issue 8. + +--- + src/Connection.cs | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/Connection.cs b/src/Connection.cs +index b414994..e593db9 100644 +--- a/src/Connection.cs ++++ b/src/Connection.cs +@@ -278,7 +278,7 @@ internal void HandleSignal (Message msg) + rule.MessageType = MessageType.Signal; + rule.Fields.Add (FieldCode.Interface, new MatchTest (signal.Interface)); + rule.Fields.Add (FieldCode.Member, new MatchTest (signal.Member)); +- rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender)); ++ //rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender)); + rule.Fields.Add (FieldCode.Path, new MatchTest (signal.Path)); + + Delegate dlg; +-- +1.7.5.4 + diff --git a/dev-dotnet/dbus-sharp/metadata.xml b/dev-dotnet/dbus-sharp/metadata.xml new file mode 100644 index 000000000000..4bfc7f9f6c3f --- /dev/null +++ b/dev-dotnet/dbus-sharp/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> + <upstream> + <remote-id type="github">mono/dbus-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/flickrnet-bin/Manifest b/dev-dotnet/flickrnet-bin/Manifest new file mode 100644 index 000000000000..ca7697736df2 --- /dev/null +++ b/dev-dotnet/flickrnet-bin/Manifest @@ -0,0 +1 @@ +DIST FlickrNet2.2.zip 243208 SHA256 a3f31f959a595aa1e158197c2b4dcd12f71d6a05c87e8a904a223637c6447ea5 SHA512 a591867e5a58ea22f4f8932dee11346aa6c2a5ef653ae34bab69c60cf3fb3a0d1108424439c2b8788a557f7fee35915ad4a54c0a57f29e653daef90ee80c4a0d WHIRLPOOL f33c81ba7143c3471b99ae4e071fba894498990cc88a252e4db86d7edcd143294dec778a266a10857fda8cba788dd1ebaafbce1bb47720c18451488627fd7ecc diff --git a/dev-dotnet/flickrnet-bin/files/flickrnet.pc.in b/dev-dotnet/flickrnet-bin/files/flickrnet.pc.in new file mode 100644 index 000000000000..326042df5fec --- /dev/null +++ b/dev-dotnet/flickrnet-bin/files/flickrnet.pc.in @@ -0,0 +1,8 @@ +libdir=@LIBDIR@ +assemblies_dir=${libdir}/mono/FlickrNet +Libraries=${assemblies_dir}/FlickrNet.dll + +Name: FlickrNet +Description: Flickr.Net API Library +Version: @VERSION@ +Libs: -r:${assemblies_dir}/FlickrNet.dll diff --git a/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild b/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild new file mode 100644 index 000000000000..e582f7954168 --- /dev/null +++ b/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +MY_PN="FlickrNet" + +inherit mono multilib + +DESCRIPTION="A .Net Library for accessing the Flickr API - Binary version" +HOMEPAGE="http://www.codeplex.com/FlickrNet" + +# Upstream download require click-through LGPL-2.1. +# Since the license allows us to do that, just redistribute +# it in a decent format. +SRC_URI="mirror://gentoo/${MY_PN}${PV}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2.4" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}" + +src_compile() { :; } + +src_install() { + egacinstall Release/${MY_PN}.dll ${MY_PN} || die + + # Install .pc file as required by f-spot + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:/usr/$(get_libdir):" \ + "${FILESDIR}"/flickrnet.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/flickrnet.pc \ + || die "sed failed" +} diff --git a/dev-dotnet/flickrnet-bin/metadata.xml b/dev-dotnet/flickrnet-bin/metadata.xml new file mode 100644 index 000000000000..d35e9300c540 --- /dev/null +++ b/dev-dotnet/flickrnet-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gconf-sharp/Manifest b/dev-dotnet/gconf-sharp/Manifest new file mode 100644 index 000000000000..565a7514d5e7 --- /dev/null +++ b/dev-dotnet/gconf-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-sharp-2.24.2.tar.bz2 421281 SHA256 122b1e03966d63ec3389decf5440fb94285907d1b6be48352dcf6aca292cf7b0 SHA512 1bf786d6febfb1d7fe29b2b94000ac56a61233dd842d173d028814b2c8f2360df060d781af16db509e9a0a445bdcbef9ed99af5793630192f50440cd0536e571 WHIRLPOOL 07fb7efd8c98e70dae0d2e9c6a2db7a09b551bf16187eb8c20b877218e0c85fb6164baff8eac9c84b1624ce69c81da61a0dbbf41918b75f3267f839b247f9ec8 diff --git a/dev-dotnet/gconf-sharp/gconf-sharp-2.24.2.ebuild b/dev-dotnet/gconf-sharp/gconf-sharp-2.24.2.ebuild new file mode 100644 index 000000000000..c90fdea1e103 --- /dev/null +++ b/dev-dotnet/gconf-sharp/gconf-sharp-2.24.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gconf-sharp/metadata.xml b/dev-dotnet/gconf-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gconf-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gdk-sharp/Manifest b/dev-dotnet/gdk-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/gdk-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/gdk-sharp/gdk-sharp-2.12.10.ebuild b/dev-dotnet/gdk-sharp/gdk-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..d2c512d04b4e --- /dev/null +++ b/dev-dotnet/gdk-sharp/gdk-sharp-2.12.10.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gdk-sharp/metadata.xml b/dev-dotnet/gdk-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gdk-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gio-sharp/Manifest b/dev-dotnet/gio-sharp/Manifest new file mode 100644 index 000000000000..dd259cfe8cd7 --- /dev/null +++ b/dev-dotnet/gio-sharp/Manifest @@ -0,0 +1 @@ +DIST gio-sharp-0.3.tar.gz 89752 SHA256 e800eafa4caf70d3b6b3db29c0ff9907ff416accfb7f324803f7014ef581a9c3 SHA512 69a3e5db422403fa756a25818a7db5adcf6c1bef81b1f10ce5dc4bdb63ea1462c3a9ea4a4f987b0e30dc444499258c1aac279005d045c8709187bae7f095a66a WHIRLPOOL e0a9e3b49b249c11747b51c6439e57d03d3f62ed4af0c0dc825f1224655315b3d3784759174dd7e7dec66a6ad30850480e9cd4bfa1c2541cb320eb8106d3daf6 diff --git a/dev-dotnet/gio-sharp/gio-sharp-0.3.ebuild b/dev-dotnet/gio-sharp/gio-sharp-0.3.ebuild new file mode 100644 index 000000000000..95d640103f76 --- /dev/null +++ b/dev-dotnet/gio-sharp/gio-sharp-0.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools mono + +DESCRIPTION="GIO API C# binding" +HOMEPAGE="http://github.com/mono/gio-sharp" +SRC_URI="http://github.com/mono/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-dotnet/glib-sharp-2.12 + >=dev-dotnet/gtk-sharp-gapi-2.12 + >=dev-libs/glib-2.22:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + DOCS="AUTHORS NEWS README" +} + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_prepare() { + sed -i -e '/autoreconf/d' autogen-generic.sh || die + NOCONFIGURE=1 ./autogen-2.22.sh || die + + eautoreconf +} + +src_compile() { + emake -j1 +} + +src_install() { + default + mono_multilib_comply +} diff --git a/dev-dotnet/gio-sharp/metadata.xml b/dev-dotnet/gio-sharp/metadata.xml new file mode 100644 index 000000000000..41b167255777 --- /dev/null +++ b/dev-dotnet/gio-sharp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <upstream> + <remote-id type="github">mono/gio-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/gkeyfile-sharp/Manifest b/dev-dotnet/gkeyfile-sharp/Manifest new file mode 100644 index 000000000000..1bc418004756 --- /dev/null +++ b/dev-dotnet/gkeyfile-sharp/Manifest @@ -0,0 +1 @@ +DIST gkeyfile-sharp-0.1.tar.gz 19862 SHA256 21a8a7ebfd4cbc2495d2f917426768550fe9dc2dead0e570541dc6a33f181c3d SHA512 056bf88b8e1e4032be5d082f4f9fcb1eb00df0294cec6edea8117539b5f5c29fddf41b26a43ff7fadc370d10f0e53add968dfa4bd7763f130e140f45b7c21e9d WHIRLPOOL 91a3410a8a702cb54b0746c5ccb90ba3740b13ffab74f7f95bb0a8a1ed5f1b82d998a5eaa80a5c4f02bcd623338cec91e12d3ba3f4109aa14ec9adb2752ce3b9 diff --git a/dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1.ebuild b/dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1.ebuild new file mode 100644 index 000000000000..50fa17c63e9f --- /dev/null +++ b/dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit autotools mono + +DESCRIPTION="C# binding for gkeyfile" +HOMEPAGE="http://launchpad.net/gkeyfile-sharp http://github.com/mono/gkeyfile-sharp" +SRC_URI="http://github.com/mono/${PN}/tarball/GKEYFILE_SHARP_0_1 -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-dotnet/glib-sharp-2.12.9 + >=dev-dotnet/gtk-sharp-gapi-1.9" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_prepare() { + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS +} diff --git a/dev-dotnet/gkeyfile-sharp/metadata.xml b/dev-dotnet/gkeyfile-sharp/metadata.xml new file mode 100644 index 000000000000..de3b398a7b73 --- /dev/null +++ b/dev-dotnet/gkeyfile-sharp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <upstream> + <remote-id type="github">mono/gkeyfile-sharp</remote-id> + <remote-id type="launchpad">gkeyfile-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/glade-sharp/Manifest b/dev-dotnet/glade-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/glade-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/glade-sharp/glade-sharp-2.12.10.ebuild b/dev-dotnet/glade-sharp/glade-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..d2c512d04b4e --- /dev/null +++ b/dev-dotnet/glade-sharp/glade-sharp-2.12.10.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/glade-sharp/metadata.xml b/dev-dotnet/glade-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/glade-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/glib-sharp/Manifest b/dev-dotnet/glib-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/glib-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/glib-sharp/files/glib-sharp-2.12.10-glib-header.patch b/dev-dotnet/glib-sharp/files/glib-sharp-2.12.10-glib-header.patch new file mode 100644 index 000000000000..760d55494395 --- /dev/null +++ b/dev-dotnet/glib-sharp/files/glib-sharp-2.12.10-glib-header.patch @@ -0,0 +1,36 @@ +diff -urN 1/glib/glue/list.c 2/glib/glue/list.c +--- 1/glib/glue/list.c 2009-01-07 10:54:06.000000000 -0600 ++++ 2/glib/glue/list.c 2012-02-14 20:50:32.116877699 -0600 +@@ -20,7 +20,7 @@ + */ + + +-#include <glib/glist.h> ++#include <glib.h> + + /* Forward declarations */ + gpointer gtksharp_list_get_data (GList *l); +diff -urN 1/glib/glue/slist.c 2/glib/glue/slist.c +--- 1/glib/glue/slist.c 2009-01-07 10:54:06.000000000 -0600 ++++ 2/glib/glue/slist.c 2012-02-14 20:50:43.721718553 -0600 +@@ -20,7 +20,7 @@ + */ + + +-#include <glib/gslist.h> ++#include <glib.h> + + /* Forward declarations */ + gpointer gtksharp_slist_get_data (GSList *l); +diff -urN 1/glib/glue/thread.c 2/glib/glue/thread.c +--- 1/glib/glue/thread.c 2009-01-07 10:54:06.000000000 -0600 ++++ 2/glib/glue/thread.c 2012-02-14 20:50:51.922605985 -0600 +@@ -20,7 +20,7 @@ + */ + + +-#include <glib/gthread.h> ++#include <glib.h> + + gboolean glibsharp_g_thread_supported (void); + diff --git a/dev-dotnet/glib-sharp/glib-sharp-2.12.10.ebuild b/dev-dotnet/glib-sharp/glib-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..ef0565e83401 --- /dev/null +++ b/dev-dotnet/glib-sharp/glib-sharp-2.12.10.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}/${PN}-2.12.10-glib-header.patch" ) diff --git a/dev-dotnet/glib-sharp/metadata.xml b/dev-dotnet/glib-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/glib-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gnome-desktop-sharp/Manifest b/dev-dotnet/gnome-desktop-sharp/Manifest new file mode 100644 index 000000000000..cf696106baca --- /dev/null +++ b/dev-dotnet/gnome-desktop-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-desktop-sharp-2.26.0.tar.bz2 313134 SHA256 577148d0937d91997341e8b2d2e8aadb0a5f1d898ca9bf579b114097c509aa67 SHA512 e7c220b16fd51512c87bc3c6f96604af47d95fa5560c5e7b264619fa65c8bce5b4fc89978c23b7dfd18b4fa090ee5e7f4696932f36bcb0e7782776505fe5f64e WHIRLPOOL 6d3ca3b2537644629ed20b8d17c6364ffb14e4472d2d316f19c81e4a655307ffc49659de60ce8ecc943cd3f115e5e673ef86ccaa8d5cf81fd644121c58df6c21 diff --git a/dev-dotnet/gnome-desktop-sharp/files/gnome-desktop-sharp-2.26.0-soname.patch b/dev-dotnet/gnome-desktop-sharp/files/gnome-desktop-sharp-2.26.0-soname.patch new file mode 100644 index 000000000000..3f0ea4933f70 --- /dev/null +++ b/dev-dotnet/gnome-desktop-sharp/files/gnome-desktop-sharp-2.26.0-soname.patch @@ -0,0 +1,9 @@ +--- gnome-desktop-sharp-2.26.0/gnomedesktop/gnomedesktop-sharp.dll.config.in.false 2009-02-23 19:01:27.000000000 +0100 ++++ gnome-desktop-sharp-2.26.0/gnomedesktop/gnomedesktop-sharp.dll.config.in 2010-02-11 15:59:36.000000000 +0100 +@@ -3,5 +3,5 @@ + <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/> + <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/> + <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/> +- <dllmap dll="gnome-desktop-2" target="libgnome-desktop-2@LIB_PREFIX@.11@LIB_SUFFIX@"/> ++ <dllmap dll="gnome-desktop-2" target="libgnome-desktop-2@LIB_PREFIX@.17@LIB_SUFFIX@"/> + </configuration> diff --git a/dev-dotnet/gnome-desktop-sharp/gnome-desktop-sharp-2.26.0-r1.ebuild b/dev-dotnet/gnome-desktop-sharp/gnome-desktop-sharp-2.26.0-r1.ebuild new file mode 100644 index 000000000000..6fafe701da82 --- /dev/null +++ b/dev-dotnet/gnome-desktop-sharp/gnome-desktop-sharp-2.26.0-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" +GTK_SHARP_MODULE_DIR="gnomedesktop" + +inherit eutils gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RESTRICT="test" + +add_rdepend ">=gnome-base/gnome-desktop-2.30:2" + +src_prepare() { + # Update soname to fit with gnome-desktop-2.30 + epatch "${FILESDIR}/${P}-soname.patch" + gtk-sharp-module_src_prepare +} diff --git a/dev-dotnet/gnome-desktop-sharp/metadata.xml b/dev-dotnet/gnome-desktop-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gnome-desktop-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gnome-keyring-sharp/Manifest b/dev-dotnet/gnome-keyring-sharp/Manifest new file mode 100644 index 000000000000..30801288754e --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-keyring-sharp-1.0.2.tar.gz 308244 SHA256 043e3e22132bdfe34e8ca314b6fd34bb0bc55a23eeb102778c64c243bb595315 SHA512 aad2fc1515a9d94971326a626d5957772927af5472afdbb517192e57c3928f32705c284b9599f350384a0c5d9cd7665b46677d550efe8506e27b485e2c40dcf0 WHIRLPOOL 2ce743dda131a15e1c6c46537322f8040b813bb91474f8bdabdb2d3006a2dd2467167fe790d10e027980fd20c46a14b8bdd27d6c7ad425b27247121001682dee diff --git a/dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.2-monodoc-dir.patch b/dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.2-monodoc-dir.patch new file mode 100644 index 000000000000..71945c236635 --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.2-monodoc-dir.patch @@ -0,0 +1,10 @@ +diff -uNr gnome-keyring-sharp-1.0.1.old/docs/Makefile.am gnome-keyring-sharp-1.0.1/docs/Makefile.am +--- gnome-keyring-sharp-1.0.1.old/docs/Makefile.am 2009-05-07 17:32:19.000000000 +0200 ++++ gnome-keyring-sharp-1.0.1/docs/Makefile.am 2011-10-31 17:03:46.648191581 +0100 +@@ -1,5 +1,5 @@ + if ENABLE_MONODOC +-SOURCESDIR=$(libdir)/monodoc/sources ++SOURCESDIR=$(prefix)/lib/monodoc/sources + TARGETS=Gnome.Keyring.tree Gnome.Keyring.zip Gnome.Keyring.source + UPDATER = $(MONODOCER) -path:Gnome.Keyring $(UPDATE_ASSEMBLIES) + else diff --git a/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r1.ebuild b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r1.ebuild new file mode 100644 index 000000000000..d0dc0a6f03c3 --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils mono-env + +DESCRIPTION="C# implementation of gnome-keyring" +HOMEPAGE="http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp" +SRC_URI="http://www.go-mono.com/archive/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=" + >=dev-lang/mono-2.0 + >=gnome-base/libgnome-keyring-2.30.0 + dev-dotnet/glib-sharp +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + # Disable building samples. + sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed" + + # Apply Fedora patches + epatch "${FILESDIR}/${PN}-1.0.2-monodoc-dir.patch" + eautoreconf +} + +src_compile() { + # This dies without telling in docs with anything not -j1 + # CSC=gmcs needed for http://bugs.gentoo.org/show_bug.cgi?id=250069 + emake -j1 CSC=gmcs +} + +src_install() { + default + prune_libtool_files --modules +} diff --git a/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2.ebuild b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2.ebuild new file mode 100644 index 000000000000..45927c6049ce --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit mono + +DESCRIPTION="C# implementation of gnome-keyring" +HOMEPAGE="http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp" +SRC_URI="http://www.go-mono.com/archive/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc" + +RDEPEND=">=dev-lang/mono-2.0 + >=gnome-base/libgnome-keyring-2.30.0 + dev-dotnet/glib-sharp" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # Disable building samples. + sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed" +} + +src_configure() { + econf $(use_enable doc monodoc) || die "econf failed" +} + +src_compile() { + # This dies without telling in docs with anything not -j1 + # CSC=gmcs needed for http://bugs.gentoo.org/show_bug.cgi?id=250069 + emake -j1 CSC=gmcs || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README || die + mono_multilib_comply + find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" +} diff --git a/dev-dotnet/gnome-keyring-sharp/metadata.xml b/dev-dotnet/gnome-keyring-sharp/metadata.xml new file mode 100644 index 000000000000..7bc9c3374745 --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <upstream> + <remote-id type="github">mono/gnome-keyring-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/gnome-sharp/Manifest b/dev-dotnet/gnome-sharp/Manifest new file mode 100644 index 000000000000..565a7514d5e7 --- /dev/null +++ b/dev-dotnet/gnome-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-sharp-2.24.2.tar.bz2 421281 SHA256 122b1e03966d63ec3389decf5440fb94285907d1b6be48352dcf6aca292cf7b0 SHA512 1bf786d6febfb1d7fe29b2b94000ac56a61233dd842d173d028814b2c8f2360df060d781af16db509e9a0a445bdcbef9ed99af5793630192f50440cd0536e571 WHIRLPOOL 07fb7efd8c98e70dae0d2e9c6a2db7a09b551bf16187eb8c20b877218e0c85fb6164baff8eac9c84b1624ce69c81da61a0dbbf41918b75f3267f839b247f9ec8 diff --git a/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2.ebuild b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2.ebuild new file mode 100644 index 000000000000..2056d7bbfc66 --- /dev/null +++ b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" +GNOMECANVAS_REQUIRED_VERSION="2.20" +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gnome-sharp/metadata.xml b/dev-dotnet/gnome-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gnome-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gnomevfs-sharp/Manifest b/dev-dotnet/gnomevfs-sharp/Manifest new file mode 100644 index 000000000000..565a7514d5e7 --- /dev/null +++ b/dev-dotnet/gnomevfs-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-sharp-2.24.2.tar.bz2 421281 SHA256 122b1e03966d63ec3389decf5440fb94285907d1b6be48352dcf6aca292cf7b0 SHA512 1bf786d6febfb1d7fe29b2b94000ac56a61233dd842d173d028814b2c8f2360df060d781af16db509e9a0a445bdcbef9ed99af5793630192f50440cd0536e571 WHIRLPOOL 07fb7efd8c98e70dae0d2e9c6a2db7a09b551bf16187eb8c20b877218e0c85fb6164baff8eac9c84b1624ce69c81da61a0dbbf41918b75f3267f839b247f9ec8 diff --git a/dev-dotnet/gnomevfs-sharp/gnomevfs-sharp-2.24.2.ebuild b/dev-dotnet/gnomevfs-sharp/gnomevfs-sharp-2.24.2.ebuild new file mode 100644 index 000000000000..9b74cf177e94 --- /dev/null +++ b/dev-dotnet/gnomevfs-sharp/gnomevfs-sharp-2.24.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gnomevfs-sharp/metadata.xml b/dev-dotnet/gnomevfs-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gnomevfs-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/google-gdata-sharp/Manifest b/dev-dotnet/google-gdata-sharp/Manifest new file mode 100644 index 000000000000..5eed29e2e497 --- /dev/null +++ b/dev-dotnet/google-gdata-sharp/Manifest @@ -0,0 +1 @@ +DIST libgoogle-data-mono-1.4.0.2.tar.gz 2090937 SHA256 761124feb67ad972e61a10a09bbde68536a2fa8cc67f9f17fcda907bbdb2fbe4 SHA512 b64d6f3d066454ece8b7b6c2dd7cb728244ece3298ce226718317521a9eca2ba0273056041991fb1453bd936d81eed411a04d7fb5de9c1b7cab9af659aef2200 WHIRLPOOL 20f075ed3b14a3d22229a115b4e1953b5d2fc790903860f91814a931c476fc3cccd87eef8ad1a083f517a8195397350f0a68ca01f263e56cfc79825f98bd3fc6 diff --git a/dev-dotnet/google-gdata-sharp/files/pkgconfig-typo-fix.patch b/dev-dotnet/google-gdata-sharp/files/pkgconfig-typo-fix.patch new file mode 100644 index 000000000000..854e6dd085ff --- /dev/null +++ b/dev-dotnet/google-gdata-sharp/files/pkgconfig-typo-fix.patch @@ -0,0 +1,8 @@ +--- libgoogle-data-mono-1.4.0.2/misc/gdata-sharp-core.pc.in 2010-03-09 13:07:29.000000000 +0100 ++++ libgoogle-data-mono-1.4.0.2.new/misc/gdata-sharp-core.pc.in 2010-03-10 13:11:29.000000000 +0100 +@@ -5,4 +5,4 @@ Name: GData Sharp Core + Description: CLI bindings to Google's online services (Core libraries)
+ Version: 1.4.0.2
+
+-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll
++Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r:${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll
diff --git a/dev-dotnet/google-gdata-sharp/google-gdata-sharp-1.4.0.2-r2.ebuild b/dev-dotnet/google-gdata-sharp/google-gdata-sharp-1.4.0.2-r2.ebuild new file mode 100644 index 000000000000..f18fbd63d3cf --- /dev/null +++ b/dev-dotnet/google-gdata-sharp/google-gdata-sharp-1.4.0.2-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit mono eutils + +MY_PN="libgoogle-data-mono" + +DESCRIPTION="C# bindings for the Google GData API" +HOMEPAGE="http://code.google.com/p/google-gdata/" +SRC_URI="http://google-gdata.googlecode.com/files/${MY_PN}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +# tests are completely broken (bug #310101), revisit in future bumps. +RESTRICT="test" + +DEPEND=">=dev-lang/mono-2.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + epatch "${FILESDIR}"/pkgconfig-typo-fix.patch +} + +src_compile() { + emake PREFIX=/usr || die "compilation failed" +} + +src_install() { + # The Makefile has prefix=/usr/local by default :| + emake PREFIX=/usr DESTDIR="${ED}" install || die "installation failed" +} diff --git a/dev-dotnet/google-gdata-sharp/metadata.xml b/dev-dotnet/google-gdata-sharp/metadata.xml new file mode 100644 index 000000000000..73e8fe36697b --- /dev/null +++ b/dev-dotnet/google-gdata-sharp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> + <upstream> + <remote-id type="google-code">google-gdata</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/gsf-sharp/Manifest b/dev-dotnet/gsf-sharp/Manifest new file mode 100644 index 000000000000..e58fd69ee42e --- /dev/null +++ b/dev-dotnet/gsf-sharp/Manifest @@ -0,0 +1 @@ +DIST gsf-sharp-0.8.1.tar.gz 323991 SHA256 223f200087ed536fd3c94d3cc0dea1231618c7de6386b771f334d24d6169a8db SHA512 f4d3ef638049414becb051d5e0115a9d09585ff89b733b11b5fe087d45c0e97479433c4047b39faea269fcc40373afed66f341e46da36ca20b2d3f9d45ebbc37 WHIRLPOOL 0b85548ca5115ddac7fcbb6ea18ce0f4a705cd9e3a8c2a3cdf740293676913ff2ff635832d7887f331ac781aedda308c0a2ee882008989a93aa5504138d1476b diff --git a/dev-dotnet/gsf-sharp/gsf-sharp-0.8.1.ebuild b/dev-dotnet/gsf-sharp/gsf-sharp-0.8.1.ebuild new file mode 100644 index 000000000000..56d010be504b --- /dev/null +++ b/dev-dotnet/gsf-sharp/gsf-sharp-0.8.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils mono + +DESCRIPTION="C# bindings for libgsf" +HOMEPAGE="http://www.mono-project.com/" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="LGPL-2" + +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" +RDEPEND="dev-lang/mono + >=gnome-extra/libgsf-1.14.1 + >=dev-dotnet/gtk-sharp-2.4.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + make install DESTDIR="${D}" + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/dev-dotnet/gsf-sharp/metadata.xml b/dev-dotnet/gsf-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gsf-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gtk-dotnet-sharp/Manifest b/dev-dotnet/gtk-dotnet-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/gtk-dotnet-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/gtk-dotnet-sharp/gtk-dotnet-sharp-2.12.10.ebuild b/dev-dotnet/gtk-dotnet-sharp/gtk-dotnet-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..d740eb585894 --- /dev/null +++ b/dev-dotnet/gtk-dotnet-sharp/gtk-dotnet-sharp-2.12.10.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +GTK_SHARP_MODULE_DIR=gtkdotnet + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gtk-dotnet-sharp/metadata.xml b/dev-dotnet/gtk-dotnet-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gtk-dotnet-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gtk-sharp-beans/Manifest b/dev-dotnet/gtk-sharp-beans/Manifest new file mode 100644 index 000000000000..6a5c7cae425f --- /dev/null +++ b/dev-dotnet/gtk-sharp-beans/Manifest @@ -0,0 +1 @@ +DIST gtk-sharp-beans-2.14.0.tar.gz 21265 SHA256 91fe411ac6889bcf6b70074f3c0dc62de9076a43e804fd7cc2009f8b008dbd6b SHA512 8d4a6c654803ea5ed5c129456041fa8d98ea59997b72e15aca8b936e17677f1c13042f601caee05d1289fe0f78c3d91e7ab9b9a2dffddff2028ff8c278a4aac3 WHIRLPOOL 1d519a76586320369e68850cecb301b8b40c46ffe208d0d355b3784b7d436461a93b7048b51c2ebc94ed32eb92bb729be78a8a9bbf744a436b1d1f854d8cc7b1 diff --git a/dev-dotnet/gtk-sharp-beans/gtk-sharp-beans-2.14.0.ebuild b/dev-dotnet/gtk-sharp-beans/gtk-sharp-beans-2.14.0.ebuild new file mode 100644 index 000000000000..521c8dd699b2 --- /dev/null +++ b/dev-dotnet/gtk-sharp-beans/gtk-sharp-beans-2.14.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit autotools mono + +DESCRIPTION="GTK+ API C# binding" +HOMEPAGE="http://github.com/mono/gtk-sharp-beans" +SRC_URI="http://github.com/mono/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-dotnet/gio-sharp + >=dev-dotnet/glib-sharp-2.12 + >=dev-dotnet/gtk-sharp-2.12 + >=dev-dotnet/gtk-sharp-gapi-2.12" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_prepare() { + eautoreconf +} + +src_compile() { + emake -j1 || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS NEWS README + + mono_multilib_comply +} diff --git a/dev-dotnet/gtk-sharp-beans/metadata.xml b/dev-dotnet/gtk-sharp-beans/metadata.xml new file mode 100644 index 000000000000..5265352950f3 --- /dev/null +++ b/dev-dotnet/gtk-sharp-beans/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <upstream> + <remote-id type="github">mono/gtk-sharp-beans</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/gtk-sharp-docs/Manifest b/dev-dotnet/gtk-sharp-docs/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/gtk-sharp-docs/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/gtk-sharp-docs/gtk-sharp-docs-2.12.10.ebuild b/dev-dotnet/gtk-sharp-docs/gtk-sharp-docs-2.12.10.ebuild new file mode 100644 index 000000000000..14d2cd5e35e4 --- /dev/null +++ b/dev-dotnet/gtk-sharp-docs/gtk-sharp-docs-2.12.10.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +GTK_SHARP_MODULE_DIR="doc" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gtk-sharp-docs/metadata.xml b/dev-dotnet/gtk-sharp-docs/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gtk-sharp-docs/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gtk-sharp-gapi/Manifest b/dev-dotnet/gtk-sharp-gapi/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/gtk-sharp-gapi/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/gtk-sharp-gapi/gtk-sharp-gapi-2.12.10.ebuild b/dev-dotnet/gtk-sharp-gapi/gtk-sharp-gapi-2.12.10.ebuild new file mode 100644 index 000000000000..cec872e4eb8d --- /dev/null +++ b/dev-dotnet/gtk-sharp-gapi/gtk-sharp-gapi-2.12.10.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_MODULE_DIR=parser + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="" + +RESTRICT="test" + +src_compile() { + GTK_SHARP_MODULE_DIR="parser" gtk-sharp-module_src_compile + GTK_SHARP_MODULE_DIR="generator" gtk-sharp-module_src_compile +} + +src_install() { + local exec + mv_command="cp -pPR" + GTK_SHARP_MODULE_DIR="parser" gtk-sharp-module_src_install + GTK_SHARP_MODULE_DIR="generator" gtk-sharp-module_src_install +} diff --git a/dev-dotnet/gtk-sharp-gapi/metadata.xml b/dev-dotnet/gtk-sharp-gapi/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gtk-sharp-gapi/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gtk-sharp/Manifest b/dev-dotnet/gtk-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/gtk-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.10.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..97f58f6bc117 --- /dev/null +++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.10.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gtk-sharp/metadata.xml b/dev-dotnet/gtk-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gtk-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gtksourceview-sharp/Manifest b/dev-dotnet/gtksourceview-sharp/Manifest new file mode 100644 index 000000000000..e13035c22d1a --- /dev/null +++ b/dev-dotnet/gtksourceview-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-desktop-sharp-2.24.0.tar.bz2 309256 SHA256 fc66b3663b61b38c4d53cdee7ea6ace713feba333e022532e9a6933a7a1fef1c SHA512 5c228e71ad71a27f8793df1f7cfc40ceefdf47bde00a3bf8b1b8f2fc32ea5b2d4b4fd4adec118e6b17ba69377e2e9b88c957373f255eb92890a46416b178ccf4 WHIRLPOOL 74cf8219f4f01214a6bdf2e7edcf6cbb7cf65ad42e76a28fc3dc9db58d13c59c8b76cba1db589c0e8142c0b1baaea507ee0ec3415178fcab9263fe9dbffff6c4 diff --git a/dev-dotnet/gtksourceview-sharp/gtksourceview-sharp-2.24.0-r10.ebuild b/dev-dotnet/gtksourceview-sharp/gtksourceview-sharp-2.24.0-r10.ebuild new file mode 100644 index 000000000000..bb23ae1ca5e3 --- /dev/null +++ b/dev-dotnet/gtksourceview-sharp/gtksourceview-sharp-2.24.0-r10.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" +GTKSOURCEVIEW_REQUIRED_VERSION=2.4.1 + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/gtksourceview-sharp/metadata.xml b/dev-dotnet/gtksourceview-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/gtksourceview-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/gudev-sharp/Manifest b/dev-dotnet/gudev-sharp/Manifest new file mode 100644 index 000000000000..b3589ad6c9fa --- /dev/null +++ b/dev-dotnet/gudev-sharp/Manifest @@ -0,0 +1 @@ +DIST gudev-sharp-1.0-0.1.tar.gz 102403 SHA256 5fa5b60b8e445e854d76e538de666678091b348db7b52dab678b3c4cd772a010 SHA512 6cc01bc8ec969a8f960eb89b6f75e40e8e7e9c627fc88672aee8b07d7de6a24dc8215b0619a57fa62616e087c5de8fcea3cc3adf3574b5894e19f2281cc6a856 WHIRLPOOL 745da5d56a27ded41817d95edf28fe18216b06828780e71cbe957f33044478f3ec3b3b8ef8a0dfb2c239140372dfc1b49a79fde3268d1553fa11845fcc5a1841 diff --git a/dev-dotnet/gudev-sharp/gudev-sharp-0.1.ebuild b/dev-dotnet/gudev-sharp/gudev-sharp-0.1.ebuild new file mode 100644 index 000000000000..c81b6538f6e0 --- /dev/null +++ b/dev-dotnet/gudev-sharp/gudev-sharp-0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit mono + +DESCRIPTION="GUDEV API C# binding" +HOMEPAGE="http://launchpad.net/gudev-sharp" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${PN}-1.0-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-dotnet/gtk-sharp-1.9 + >=dev-dotnet/gtk-sharp-gapi-1.9 + virtual/libgudev" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${PN}-1.0-${PV} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS +} diff --git a/dev-dotnet/gudev-sharp/metadata.xml b/dev-dotnet/gudev-sharp/metadata.xml new file mode 100644 index 000000000000..b07825d32d99 --- /dev/null +++ b/dev-dotnet/gudev-sharp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <upstream> + <remote-id type="launchpad">gudev-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/ikvm-bin/Manifest b/dev-dotnet/ikvm-bin/Manifest new file mode 100644 index 000000000000..e8556fb69dec --- /dev/null +++ b/dev-dotnet/ikvm-bin/Manifest @@ -0,0 +1,2 @@ +DIST ikvmbin-0.46.0.2.zip 15683101 SHA256 6694698b03910282eae1bbdfccd935f7f90396cad17a657c4734f66fc1e69f13 SHA512 6831c5aa69ec7ec7b60697c436404a79b3985f6732908d6da990132e44a13f6823ce2d69b41f3e742bfac8c9b0bdd002e24b47d2125919d6cbd59e45ddcd37d9 WHIRLPOOL f600b934dcd98ea751f6c2511e1720143cbcd02ffaebf0fb1a2026724212f361125544cd18f30bfb824d14d972b8df64a7ef8089cd7d7372cf706420cf1a8480 +DIST ikvmbin-7.1.4532.2.zip 16391340 SHA256 f28f6ae9bd58bf8ed3f23ab2cb4003676ca8c036e063f3641957386f4aa24572 SHA512 a447473741541e13b6723feef7f474a01670d885ffbfd68269b121cfb39658ca0189f30e055b811f7c72e320b7a28e115b2b858679c43b55b86f00a1429ecdae WHIRLPOOL 0fee6104d1d3f9e9446bd33186bb92801f2d7483db4b3c1ed7bac5dc3274f4062a3f06b007fea21de4cee50c62be0b5c6ed40d525a6e145bc8eb833dd760f6c2 diff --git a/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in b/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in new file mode 100644 index 000000000000..aaf131f3531f --- /dev/null +++ b/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in @@ -0,0 +1,9 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${prefix}/@LIBDIR@ + + +Name: IKVM.NET +Description: An implementation of Java for Mono and the Microsoft .NET Framework. +Version: @VERSION@ +Libs: -r:${libdir}/ikvm/IKVM.Runtime.dll -r:${libdir}/ikvm/IKVM.OpenJDK.ClassLibrary.dll -r:${libdir}/ikvm/IKVM.AWT.WinForms.dll diff --git a/dev-dotnet/ikvm-bin/ikvm-bin-0.46.0.2.ebuild b/dev-dotnet/ikvm-bin/ikvm-bin-0.46.0.2.ebuild new file mode 100644 index 000000000000..f59ffdf56996 --- /dev/null +++ b/dev-dotnet/ikvm-bin/ikvm-bin-0.46.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils mono multilib + +MY_P=${P/-bin/} +MY_PN=${PN/-bin/} + +DESCRIPTION="Java VM for .NET" +HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" +SRC_URI="http://www.frijters.net/${MY_PN}bin-${PV}.zip" +LICENSE="ZLIB GPL-2-with-linking-exception" + +SLOT="0" +S=${WORKDIR}/${MY_P} + +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=dev-lang/mono-1.1 + !dev-dotnet/ikvm + app-arch/unzip" +RDEPEND="${DEPEND}" + +src_install() { + insinto /usr/$(get_libdir)/${MY_PN} + doins bin/* + + for exe in ikvm ikvmc ikvmstub; + do + make_wrapper ${exe} "mono /usr/$(get_libdir)/${MY_PN}/${exe}.exe" || die + done + + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:$(get_libdir):" \ + "${FILESDIR}"/ikvm-0.36.0.5.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${MY_PN}.pc \ + || die "sed failed" + + for dll in bin/IKVM*.dll + do + dllbase=${dll##*/} + ebegin "Installing and registering ${dllbase}" + gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ + -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null + eend $? || die "Failed installing ${dllbase}" + done +} diff --git a/dev-dotnet/ikvm-bin/ikvm-bin-7.1.4532.2.ebuild b/dev-dotnet/ikvm-bin/ikvm-bin-7.1.4532.2.ebuild new file mode 100644 index 000000000000..16dcaa8d1d65 --- /dev/null +++ b/dev-dotnet/ikvm-bin/ikvm-bin-7.1.4532.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils mono multilib + +MY_P=${P/-bin/} +MY_PN=${PN/-bin/} + +DESCRIPTION="Java VM for .NET" +HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" +SRC_URI="http://www.frijters.net/${MY_PN}bin-${PV}.zip" +LICENSE="ZLIB GPL-2-with-linking-exception" + +SLOT="0" +S=${WORKDIR}/${MY_P} + +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/mono-1.1 + !dev-dotnet/ikvm + app-arch/unzip" +RDEPEND="${DEPEND}" + +src_install() { + insinto /usr/$(get_libdir)/${MY_PN} + doins bin/* + + for exe in ikvm ikvmc ikvmstub; + do + make_wrapper ${exe} "mono /usr/$(get_libdir)/${MY_PN}/${exe}.exe" || die + done + + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:$(get_libdir):" \ + "${FILESDIR}"/ikvm-0.36.0.5.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${MY_PN}.pc \ + || die "sed failed" + + for dll in bin/IKVM*.dll + do + dllbase=${dll##*/} + ebegin "Installing and registering ${dllbase}" + gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ + -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null + eend $? || die "Failed installing ${dllbase}" + done +} diff --git a/dev-dotnet/ikvm-bin/metadata.xml b/dev-dotnet/ikvm-bin/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/ikvm-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/ikvm/Manifest b/dev-dotnet/ikvm/Manifest new file mode 100644 index 000000000000..4bb75460bb09 --- /dev/null +++ b/dev-dotnet/ikvm/Manifest @@ -0,0 +1,5 @@ +DIST ikvmsrc-0.46.0.1.zip 1870376 SHA256 901e8b990cf6d0fc9f8a18179e040cdba8a2fa00ac5658eded5c9ea4665f6423 SHA512 83c0dbaf0ea229fb8046d0f6016bfe1990c88639fd5d162afea3330441ec627edcb93de903e5fa3d73062c917574441bac832c2d61144626e70b3324dfdbf9f4 WHIRLPOOL ee837a2d9c038ec2fdfec93ed2cd0ec162bf4e081b8a0f0fe8b9bab62eada13f72cf8a8c5a8c83600b415d89dd5b0a539056e169ea79d8eb885298ddf91e3533 +DIST ikvmsrc-0.46.0.2.zip 1873662 SHA256 25afda0b29a2562ffb8f0a457204bde1008c8d255abaf45c3a09b13f7eba5f06 SHA512 79976ef9f90a691a607740d4efd338ed8ee86061298ebf3a5b3c660bed779e54bb7fe80548fc1eed78ce35fbdcccb460b656960a2c464377fcfcb98c2c6ed12b WHIRLPOOL 5c7f6c800c5b4670fb9e9a45161059233edf06b0440e7428217b03f400f29a46a0b0fd253bbc5d608ab5be7d0edac78b98efe6dbf219b72e960d5d51731b6a26 +DIST ikvmsrc-7.1.4532.2.zip 2102200 SHA256 3f22b9171b56a7600f28c42828898772bcd37c996d15b219c1b9ba08aa4c12e0 SHA512 889e23ce9cdc9abff98c54e5e02b9798ab908c37ecb6b8b0733d7b6e8e813c939ab91daa6ae57a0abd4fa90365c395231de5c9596fd77bdf1b15505c6b46abb1 WHIRLPOOL 5cf5e210b21b2697a489b0d6d40321d9f4cf89e92b2d280fa6686583836821d3bb613ce9af1bbde772fda5a0373dac20f7a09f4852d5c59ecef2bd65bce82235 +DIST openjdk-7u4-stripped.zip 55617337 SHA256 d85b89b452ecdb46309ec39b28e283813660bb8b8399d4c222d3ff1a83b971f9 SHA512 3f4d32994c9a078b68ae6da13770c249561240a01840f88094e139b0297b25e37a2acd3ef74fa14a830be5aa43c693b3ecf1c745dbc7051c4b2e1816c397e9a1 WHIRLPOOL b7690de8c31acb4b3a62fdd132bcf33b2264559e64a116d75fed3a3edeb570345ade582377d2d824d2ab5831a0865b5b1c51f7a514285935696be3cef5079b1b +DIST openjdk6-b22-stripped.zip 51279392 SHA256 32af924f320118b242c1bce4828abbe4c11120dd144c012ce2f5d88b75d2f568 SHA512 e0cd896c80e3b10aaa1b1128ea63b062c7de0539188d66f2ae081d420c6f467b1aa8fdbc5fe4cb366c89ed2880560b287e9af5e8312d36903a46f23d1bbbe791 WHIRLPOOL 7d86ea0693e371273ea160ba20daafe7b8d9453687a3e21f81ef239f4186cafcc367950a1117a14da21b212831baebfab9a03f87166f7cd6a598811cc73e3a10 diff --git a/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch b/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch new file mode 100644 index 000000000000..cd45f6bf0da3 --- /dev/null +++ b/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch @@ -0,0 +1,61 @@ +Author: Jo Shields +Description: This patch ensures that rather than trying to use the Mono Crypto +Description: Service Provider to retrieve a signing key (CSP is not safe to +Description: run with fakeroot), we simply hard-code the path to a bundled key +Description: file +Index: ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in +=================================================================== +--- ikvm.orig/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:24:45.000000000 +0100 ++++ ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:28:22.000000000 +0100 +@@ -33,5 +33,6 @@ +
+ #if SIGNCODE
+ #pragma warning disable 1699
+- [assembly: AssemblyKeyName("ikvm-key")]
++ [assembly: AssemblyDelaySign(false)]
++ [assembly: AssemblyKeyFile("../mono.snk")]
+ #endif
+Index: ikvm/ikvm-0.46.0.1/ikvm.build +=================================================================== +--- ikvm.orig/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:24:45.000000000 +0100 ++++ ikvm/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:33:07.000000000 +0100 +@@ -6,8 +6,8 @@ + </target>
+ <target name="signed">
+ <property name="signed" value="SIGNCODE" />
+- <property name="signoption" value="-key:ikvm-key" />
+- <property name="ilasm_signoption" value="/key:@ikvm-key" />
++ <property name="signoption" value="-keyfile:../mono.snk" />
++ <property name="ilasm_signoption" value="/key:../mono.snk" />
+ <call target="managed" />
+ </target>
+ <target name="managed" depends="clean-managed CommonAssemblyInfo">
+Index: ikvm/ikvm-0.46.0.1/runtime/runtime.build +=================================================================== +--- ikvm.orig/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:24:45.000000000 +0100 ++++ ikvm/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:32:53.000000000 +0100 +@@ -7,8 +7,8 @@ + </target>
+ <target name="signed">
+ <property name="signed" value="SIGNCODE" />
+- <property name="signoption" value="-key:ikvm-key" />
+- <property name="ilasm_signoption" value="/key:@ikvm-key" />
++ <property name="signoption" value="-keyfile:../../mono.snk" />
++ <property name="ilasm_signoption" value="/key:../../mono.snk" />
+ <call target="IKVM.Runtime" />
+ </target>
+
+Index: ikvm/ikvm-0.46.0.1/tools/pubkey.cs +=================================================================== +--- ikvm.orig/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:24:45.000000000 +0100 ++++ ikvm/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:28:22.000000000 +0100 +@@ -29,7 +29,8 @@ +
+ #if SIGNCODE
+ #pragma warning disable 1699
+- [assembly: AssemblyKeyName("ikvm-key")]
++ [assembly: AssemblyDelaySign(false)]
++ [assembly: AssemblyKeyFile("../mono.snk")]
+ #endif
+
+ class PublicKey
diff --git a/dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch b/dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch new file mode 100644 index 000000000000..2ed0308af74d --- /dev/null +++ b/dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch @@ -0,0 +1,11 @@ +--- openjdk/sun/print/Win32PrintService.java.orig 2012-02-26 17:56:16.751000012 +0100 ++++ openjdk/sun/print/Win32PrintService.java 2012-02-26 17:56:37.182000012 +0100 +@@ -119,7 +119,7 @@ + Chromaticity.class
+ };
+
+- // conversion from 1/100 Inch (.NET) to m (Java)
++ // conversion from 1/100 Inch (.NET) to m (Java)
+ private static final int INCH100_TO_MYM = 254;
+ private static final int MATCH_DIFF = 500; // 0.5 mm
+
diff --git a/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch b/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch new file mode 100644 index 000000000000..34ce79da5bb6 --- /dev/null +++ b/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch @@ -0,0 +1,61 @@ +Author: Jo Shields +Description: This patch ensures that rather than trying to use the Mono Crypto +Description: Service Provider to retrieve a signing key (CSP is not safe to +Description: run with fakeroot), we simply hard-code the path to a bundled key +Description: file +Index: ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in +=================================================================== +--- ikvm.orig/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:29:25.080047165 +0000 ++++ ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:30:58.092593303 +0000 +@@ -33,5 +33,6 @@ +
+ #if SIGNCODE
+ #pragma warning disable 1699
+- [assembly: AssemblyKeyName("ikvm-key")]
++ [assembly: AssemblyDelaySign(false)]
++ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
+ #endif
+Index: ikvm/ikvm-7.0.4335.0/ikvm.build +=================================================================== +--- ikvm.orig/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:29:57.152235493 +0000 ++++ ikvm/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:30:48.348536094 +0000 +@@ -6,8 +6,8 @@ + </target>
+ <target name="signed">
+ <property name="signed" value="SIGNCODE" />
+- <property name="signoption" value="-key:ikvm-key" />
+- <property name="ilasm_signoption" value="/key:@ikvm-key" />
++ <property name="signoption" value="-keyfile:../../debian/mono.snk" />
++ <property name="ilasm_signoption" value="/key:../../debian/mono.snk" />
+ <call target="managed" />
+ </target>
+ <target name="managed" depends="clean-managed CommonAssemblyInfo">
+Index: ikvm/ikvm-7.0.4335.0/runtime/runtime.build +=================================================================== +--- ikvm.orig/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:20.084722420 +0000 ++++ ikvm/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:47.120881144 +0000 +@@ -19,8 +19,8 @@ +
+ <target name="signed">
+ <property name="signed" value="SIGNCODE" />
+- <property name="signoption" value="-key:ikvm-key" />
+- <property name="ilasm_signoption" value="/key:@ikvm-key" />
++ <property name="signoption" value="-keyfile:../../../debian/mono.snk" />
++ <property name="ilasm_signoption" value="/key:../../../debian/mono.snk" />
+ <call target="full" />
+ </target>
+
+Index: ikvm/ikvm-7.0.4335.0/tools/pubkey.cs +=================================================================== +--- ikvm.orig/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:30.479726527 +0000 ++++ ikvm/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:58.927893592 +0000 +@@ -29,7 +29,8 @@ +
+ #if SIGNCODE
+ #pragma warning disable 1699
+- [assembly: AssemblyKeyName("ikvm-key")]
++ [assembly: AssemblyDelaySign(false)]
++ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
+ #endif
+
+ class PublicKey
diff --git a/dev-dotnet/ikvm/files/mono.snk.uu b/dev-dotnet/ikvm/files/mono.snk.uu new file mode 100644 index 000000000000..ae4f04a38f5d --- /dev/null +++ b/dev-dotnet/ikvm/files/mono.snk.uu @@ -0,0 +1,20 @@ + +++ ikvm-0.40.0.1+dfsg/debian/mono.snk.uu + +begin 644 mono.snk +M!P(````D``!24T$R``0```$``0!Y%9EWTM`ZCFOJ>BYTZ-&OS)/HA1ETE2NT +M@*$LD31'300&)$?#?@YHP(!3;\\\/[XO^<EYSIF$=>4&Z,Z"W5L/-0W!#I._ +M+N[/ATLD=PQ0@=OJ=$?]VOHG>R+>1];_ZD26=*3Y_,^$T5!I").`*$V]TU]& +MS?\2H;UXY.\`9=`6WTW&V[S-/V")DAN)G[17F@RI:B)C5#D%RJ56:#^3AH,C +M]@&$<!=,R%8*<F"H`S/!I(,;/V3OE6!0!Z`&H,SN[/;=^?:,:CB8!<'N2$.% +M7H%/2X3=?@$W-)2"1)`'WV\2@53=A6JBUHW;N?U!-S]<EJ/Y6HW9F4=Z::0K +MC=$/H4GG7;O3OP\,QS/*+(.1##JVL!^\0:S9KUORVJ*OY?23U1C</20JL+MN +MY*-:I&QG!TAKRN5Z7%,_D!Y@^\S6+41[9`GU8FWBY@M+$ZS&#K(\<<GX`1GJ +MQT-7=!]>W>!$Z8GJN;LFRG+&@,&'^&J!2YL4]D*X*;XW'`$9-D,ZEH"`T-L\ +MPU"47K=X!%N$=E*!_.5#/%'9DL*<%>?&(60?[(CZ_.8[1Y0B%U'\GL:UQF`P +M\@6'"3BB@G]:IBH-9]TTGER_$0GG'@?>3)<Z'^>B^*J&Y5W-W,A=.\\4*>\+ +M*L(^3D9>^G_9U9<N]IZ?;39PJI<OLPD/L8E-C/%(BQS6L2^W1E])]Z#[M2YD +MR\0O7F0E1BOXBHJE$K'XC#U1H="B6>7:7^IZ$+.NG,][`/4*::QS_SFM!W[` ++"5R_0#E/%?%_J<\` +` +end diff --git a/dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild b/dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild new file mode 100644 index 000000000000..69be319ba493 --- /dev/null +++ b/dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils mono multilib java-pkg-2 + +DESCRIPTION="Java VM for .NET" +HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" +SRC_URI="http://www.frijters.net/openjdk6-b22-stripped.zip + http://www.frijters.net/${PN}src-${PV}.zip" +LICENSE="ZLIB GPL-2-with-linking-exception" + +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2 + dev-libs/glib" +DEPEND="${RDEPEND} + !dev-dotnet/ikvm-bin + >=dev-dotnet/nant-0.85 + >=virtual/jdk-1.6 + app-arch/unzip + virtual/pkgconfig + app-arch/sharutils" + +src_prepare() { + # We cannot rely on Mono Crypto Service Provider as it doesn't work inside + # sandbox, we simply hard-code the path to a bundled key like Debian does. + epatch "${FILESDIR}"/${PN}-0.46.0.1-key.patch + uudecode < "${FILESDIR}"/mono.snk.uu || die + + # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying + # on ikvm-bin one + sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \ + ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die + + sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \ + native/native.build || die + + mkdir -p "${T}"/home/test +} + +src_configure() { + : +} + +src_compile() { + XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed" +} + +generate_pkgconfig() { + ebegin "Generating .pc file" + local dll LSTRING="Libs:" + dodir "/usr/$(get_libdir)/pkgconfig" + cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" + prefix=/usr + exec_prefix=\${prefix} + libdir=\${prefix}/$(get_libdir) + Name: IKVM.NET + Description: An implementation of Java for Mono and the Microsoft .NET Framework. + Version: ${PV} + EOF + for dll in "${S}"/bin/IKVM.*.dll + do + LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}" + done + printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" + PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null + eend $? +} + +src_install() { + local dll dllbase exe + insinto /usr/$(get_libdir)/${PN} + doins bin/*.exe + + dodir /bin + for exe in bin/*.exe + do + exebase=${exe##*/} + ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}" + make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}" + eend $? || die "Failed generating wrapper for ${exebase}" + done + + generate_pkgconfig || die "generating .pc failed" + + for dll in bin/IKVM.*.dll + do + dllbase=${dll##*/} + ebegin "Installing and registering ${dllbase}" + gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ + -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null + eend $? || die "Failed installing ${dllbase}" + done +} diff --git a/dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild b/dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild new file mode 100644 index 000000000000..1cc180fe31db --- /dev/null +++ b/dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils mono multilib java-pkg-2 + +DESCRIPTION="Java VM for .NET" +HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" +SRC_URI="http://www.frijters.net/openjdk6-b22-stripped.zip + http://www.frijters.net/${PN}src-${PV}.zip" +LICENSE="ZLIB GPL-2-with-linking-exception" + +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2 + dev-libs/glib" +DEPEND="${RDEPEND} + !dev-dotnet/ikvm-bin + >=dev-dotnet/nant-0.85 + virtual/jdk:1.6 + app-arch/unzip + virtual/pkgconfig + app-arch/sharutils" + +src_prepare() { + # Fix unmappable character for encoding ASCII, bug #399729 + epatch "${FILESDIR}"/${PN}-0.46.0.2-unmappable-character.patch + + # We cannot rely on Mono Crypto Service Provider as it doesn't work inside + # sandbox, we simply hard-code the path to a bundled key like Debian does. + epatch "${FILESDIR}"/${PN}-0.46.0.1-key.patch + uudecode < "${FILESDIR}"/mono.snk.uu || die + + # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying + # on ikvm-bin one + sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \ + ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die + + sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \ + native/native.build || die + + mkdir -p "${T}"/home/test + java-pkg-2_src_prepare +} + +src_configure() { + : +} + +src_compile() { + XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed" +} + +generate_pkgconfig() { + ebegin "Generating .pc file" + local dll LSTRING="Libs:" + dodir "/usr/$(get_libdir)/pkgconfig" + cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" + prefix=/usr + exec_prefix=\${prefix} + libdir=\${prefix}/$(get_libdir) + Name: IKVM.NET + Description: An implementation of Java for Mono and the Microsoft .NET Framework. + Version: ${PV} + EOF + for dll in "${S}"/bin/IKVM.*.dll + do + LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}" + done + printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" + PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null + eend $? +} + +src_install() { + local dll dllbase exe + insinto /usr/$(get_libdir)/${PN} + doins bin/*.exe + + dodir /bin + for exe in bin/*.exe + do + exebase=${exe##*/} + ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}" + make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}" + eend $? || die "Failed generating wrapper for ${exebase}" + done + + generate_pkgconfig || die "generating .pc failed" + + for dll in bin/IKVM.*.dll + do + dllbase=${dll##*/} + ebegin "Installing and registering ${dllbase}" + gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ + -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null + eend $? || die "Failed installing ${dllbase}" + done +} diff --git a/dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild b/dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild new file mode 100644 index 000000000000..094dd1fc78fb --- /dev/null +++ b/dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils mono multilib java-pkg-2 + +DESCRIPTION="Java VM for .NET" +HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" +SRC_URI="http://www.frijters.net/openjdk-7u4-stripped.zip + http://www.frijters.net/${PN}src-${PV}.zip" +LICENSE="ZLIB GPL-2-with-linking-exception" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2 + dev-libs/glib" +DEPEND="${RDEPEND} + !dev-dotnet/ikvm-bin + >=dev-dotnet/nant-0.85 + virtual/jdk:1.7 + app-arch/unzip + virtual/pkgconfig + app-arch/sharutils" + +src_prepare() { + # We cannot rely on Mono Crypto Service Provider as it doesn't work inside + # sandbox, we simply hard-code the path to a bundled key like Debian does. + epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch + mkdir -p ../debian/ || die + uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die + + # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying + # on ikvm-bin one + sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \ + ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die + + sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \ + native/native.build || die + + mkdir -p "${T}"/home/test + + java-pkg-2_src_prepare +} + +src_configure() { + : +} + +src_compile() { + XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed" +} + +generate_pkgconfig() { + ebegin "Generating .pc file" + local dll LSTRING="Libs:" + dodir "/usr/$(get_libdir)/pkgconfig" + cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" + prefix=/usr + exec_prefix=\${prefix} + libdir=\${prefix}/$(get_libdir) + Name: IKVM.NET + Description: An implementation of Java for Mono and the Microsoft .NET Framework. + Version: ${PV} + EOF + for dll in "${S}"/bin/IKVM.*.dll + do + LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}" + done + printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" + PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null + eend $? +} + +src_install() { + local dll dllbase exe + insinto /usr/$(get_libdir)/${PN} + doins bin/*.exe + + dodir /bin + for exe in bin/*.exe + do + exebase=${exe##*/} + ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}" + make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}" + eend $? || die "Failed generating wrapper for ${exebase}" + done + + generate_pkgconfig || die "generating .pc failed" + + for dll in bin/IKVM.*.dll + do + dllbase=${dll##*/} + ebegin "Installing and registering ${dllbase}" + gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ + -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null + eend $? || die "Failed installing ${dllbase}" + done +} diff --git a/dev-dotnet/ikvm/metadata.xml b/dev-dotnet/ikvm/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/ikvm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/libgdiplus/Manifest b/dev-dotnet/libgdiplus/Manifest new file mode 100644 index 000000000000..c3082d64f6d7 --- /dev/null +++ b/dev-dotnet/libgdiplus/Manifest @@ -0,0 +1 @@ +DIST libgdiplus-2.10.9.tar.bz2 2074317 SHA256 6ddeb6c327bada7cb6e06d1a20714f526a0c69520dfd42c12ddd032c3c5d964e SHA512 7f1944795c7ede5fd92a6d7e8d7d6cf2ef3c154e656b83e769b417f8f7195dd975084afe3c3cd1dda1ecb2c1167f76c0b5714cd16d549ff056add09763c6b26c WHIRLPOOL 0930cb2ad191c34b7ebd073f687536663bcfe9a44ed3296cf81bc9d43cfc7ee39d8f60f9b9f83f89847164b7366e514ee945737be50b82257209507c3b6e9c5d diff --git a/dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch new file mode 100644 index 000000000000..31a1c01629d8 --- /dev/null +++ b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch @@ -0,0 +1,164 @@ +$NetBSD: patch-aa,v 1.8 2011/01/21 10:21:51 wiz Exp $ + +Fix build with png-1.5. + +--- src/pngcodec.c.orig 2010-11-03 16:52:54.000000000 +0000 ++++ src/pngcodec.c +@@ -116,10 +116,15 @@ gdip_load_png_properties (png_structp pn + bitmap_data->dpi_horz = png_get_x_pixels_per_inch(png_ptr, info_ptr); + bitmap_data->dpi_vert = png_get_y_pixels_per_inch(png_ptr, info_ptr); + #elif defined(PNG_pHYs_SUPPORTED) +- if ((info_ptr->valid & PNG_INFO_pHYs) && (info_ptr->phys_unit_type == PNG_RESOLUTION_METER)) { +- bitmap_data->image_flags |= ImageFlagsHasRealDPI; +- bitmap_data->dpi_horz = info_ptr->x_pixels_per_unit * 0.0254; +- bitmap_data->dpi_vert = info_ptr->y_pixels_per_unit * 0.0254; ++ if (png_get_valid (png_ptr, info_ptr, PNG_INFO_pHYs)) { ++ png_uint_32 res_x, res_y; ++ int unit_type; ++ png_get_pHYs (png_ptr, info_ptr, &res_x, &res_y, &unit_type); ++ if (unit_type == PNG_RESOLUTION_METER) { ++ bitmap_data->image_flags |= ImageFlagsHasRealDPI; ++ bitmap_data->dpi_horz = res_x * 0.0254; ++ bitmap_data->dpi_vert = res_y * 0.0254; ++ } + } + #endif + /* default to screen resolution (if nothing was provided or available) */ +@@ -130,7 +135,7 @@ gdip_load_png_properties (png_structp pn + #if defined(PNG_iCCP_SUPPORTED) + { + png_charp name; +- png_charp profile; ++ png_bytep profile; + png_uint_32 proflen; + int compression_type; + +@@ -292,6 +297,11 @@ gdip_load_png_image_from_file_or_stream + ImageFlags colourspace_flag; + int i; + int j; ++ png_colorp png_palette; ++ int png_num_palette; ++ png_bytep trans_alpha; ++ int num_trans; ++ png_color_16p trans_color; + + width = png_get_image_width (png_ptr, info_ptr); + height = png_get_image_height (png_ptr, info_ptr); +@@ -309,6 +319,8 @@ gdip_load_png_image_from_file_or_stream + } + + /* Copy palette. */ ++ png_get_PLTE (png_ptr, info_ptr, &png_palette, &png_num_palette); ++ + num_colours = 1 << bit_depth; + + if (png_get_color_type (png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY) { +@@ -321,8 +333,8 @@ gdip_load_png_image_from_file_or_stream + colourspace_flag = ImageFlagsColorSpaceRGB; + + palette_entries = num_colours; +- if (palette_entries > info_ptr->num_palette) { +- palette_entries = info_ptr->num_palette; ++ if (palette_entries > png_num_palette) { ++ palette_entries = png_num_palette; + } + + palette = GdipAlloc (sizeof(ColorPalette) + (num_colours - 1) * sizeof(ARGB)); +@@ -331,29 +343,30 @@ gdip_load_png_image_from_file_or_stream + + for (i=0; i < palette_entries; i++) { + set_pixel_bgra (&palette->Entries[i], 0, +- info_ptr->palette[i].blue, +- info_ptr->palette[i].green, +- info_ptr->palette[i].red, ++ png_palette[i].blue, ++ png_palette[i].green, ++ png_palette[i].red, + 0xFF); /* alpha */ + } + } + ++ png_get_tRNS (png_ptr, info_ptr, &trans_alpha, &num_trans, &trans_color); + /* Make sure transparency is respected. */ +- if (info_ptr->num_trans > 0) { ++ if (num_trans > 0) { + palette->Flags |= PaletteFlagsHasAlpha; + colourspace_flag |= ImageFlagsHasAlpha; + +- if (info_ptr->num_trans > info_ptr->num_palette) { +- info_ptr->num_trans = info_ptr->num_palette; ++ if (num_trans > png_num_palette) { ++ num_trans = png_num_palette; + } + +- for (i=0; i < info_ptr->num_trans; i++) { ++ for (i=0; i < num_trans; i++) { + set_pixel_bgra(&palette->Entries[i], 0, +- info_ptr->palette[i].blue, +- info_ptr->palette[i].green, +- info_ptr->palette[i].red, ++ png_palette[i].blue, ++ png_palette[i].green, ++ png_palette[i].red, + #if PNG_LIBPNG_VER > 10399 +- info_ptr->trans_alpha [i]); /* alpha */ ++ trans_alpha [i]); /* alpha */ + #else + info_ptr->trans[i]); /* alpha */ + #endif +@@ -398,6 +411,8 @@ gdip_load_png_image_from_file_or_stream + BYTE bit_depth; + int stride; + int interlace; ++ png_colorp png_palette; ++ int png_num_palette; + png_bytep *row_pointers; + BYTE *rawptr; + int i, j; +@@ -490,32 +505,33 @@ gdip_load_png_image_from_file_or_stream + png_byte palette = 0; + png_byte pix = *rowp++; + ++ png_get_PLTE (png_ptr, info_ptr, &png_palette, &png_num_palette); + palette = (pix >> 6) & 0x03; + set_pixel_bgra (rawptr, 0, +- info_ptr->palette[palette].blue, +- info_ptr->palette[palette].green, +- info_ptr->palette[palette].red, ++ png_palette[palette].blue, ++ png_palette[palette].green, ++ png_palette[palette].red, + 0xFF); /* alpha */ + + palette = (pix >> 4) & 0x03; + set_pixel_bgra (rawptr, 4, +- info_ptr->palette[palette].blue, +- info_ptr->palette[palette].green, +- info_ptr->palette[palette].red, ++ png_palette[palette].blue, ++ png_palette[palette].green, ++ png_palette[palette].red, + 0xFF); /* alpha */ + + palette = (pix >> 2) & 0x03; + set_pixel_bgra (rawptr, 8, +- info_ptr->palette[palette].blue, +- info_ptr->palette[palette].green, +- info_ptr->palette[palette].red, ++ png_palette[palette].blue, ++ png_palette[palette].green, ++ png_palette[palette].red, + 0xFF); /* alpha */ + + palette = pix & 0x03; + set_pixel_bgra (rawptr, 12, +- info_ptr->palette[palette].blue, +- info_ptr->palette[palette].green, +- info_ptr->palette[palette].red, ++ png_palette[palette].blue, ++ png_palette[palette].green, ++ png_palette[palette].red, + 0xFF); /* alpha */ + rawptr += 16; + } diff --git a/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-freetype251.patch b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-freetype251.patch new file mode 100644 index 000000000000..b4faa06d6415 --- /dev/null +++ b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-freetype251.patch @@ -0,0 +1,12 @@ +--- libgdiplus-2.10.9/src/gdiplus-private.h ++++ libgdiplus-2.10.9/src/gdiplus-private.h +@@ -30,7 +30,8 @@ + #include <stdio.h> + #include <math.h> + #include <glib.h> +-#include <freetype/tttables.h> ++#include <ft2build.h> ++#include FT_TRUETYPE_TABLES_H + #include <pthread.h> + #include <unistd.h> + diff --git a/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-giflib-quantizebuffer.patch b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-giflib-quantizebuffer.patch new file mode 100644 index 000000000000..f65c349af772 --- /dev/null +++ b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-giflib-quantizebuffer.patch @@ -0,0 +1,296 @@ +diff -uNr libgdiplus-2.10.9/src/gifcodec.c libgdiplus-2.10.9-funtoo/src/gifcodec.c
+--- libgdiplus-2.10.9/src/gifcodec.c 2011-12-02 18:23:12.000000000 +0100
++++ libgdiplus-2.10.9-funtoo/src/gifcodec.c 2013-10-08 18:06:44.643554570 +0200
+@@ -39,6 +39,293 @@
+
+ #include "gifcodec.h"
+
++#define COLOR_ARRAY_SIZE 32768
++#define BITS_PER_PRIM_COLOR 5
++#define MAX_PRIM_COLOR 0x1f
++
++static int SortRGBAxis;
++
++typedef struct QuantizedColorType {
++ GifByteType RGB[3];
++ GifByteType NewColorIndex;
++ long Count;
++ struct QuantizedColorType *Pnext;
++} QuantizedColorType;
++
++typedef struct NewColorMapType {
++ GifByteType RGBMin[3], RGBWidth[3];
++ unsigned int NumEntries; /* # of QuantizedColorType in linked list below */
++ unsigned long Count; /* Total number of pixels in all the entries */
++ QuantizedColorType *QuantizedColors;
++} NewColorMapType;
++
++
++/****************************************************************************
++ * Routine called by qsort to compare two entries.
++ ****************************************************************************/
++static int
++SortCmpRtn(const void *Entry1,
++ const void *Entry2) {
++
++ return (*((QuantizedColorType **) Entry1))->RGB[SortRGBAxis] -
++ (*((QuantizedColorType **) Entry2))->RGB[SortRGBAxis];
++}
++
++/******************************************************************************
++ * Routine to subdivide the RGB space recursively using median cut in each
++ * axes alternatingly until ColorMapSize different cubes exists.
++ * The biggest cube in one dimension is subdivide unless it has only one entry.
++ * Returns GIF_ERROR if failed, otherwise GIF_OK.
++ ******************************************************************************/
++static int
++SubdivColorMap(NewColorMapType * NewColorSubdiv,
++ unsigned int ColorMapSize,
++ unsigned int *NewColorMapSize) {
++
++ int MaxSize;
++ unsigned int i, j, Index = 0, NumEntries, MinColor, MaxColor;
++ long Sum, Count;
++ QuantizedColorType *QuantizedColor, **SortArray;
++
++ while (ColorMapSize > *NewColorMapSize) {
++ /* Find candidate for subdivision: */
++ MaxSize = -1;
++ for (i = 0; i < *NewColorMapSize; i++) {
++ for (j = 0; j < 3; j++) {
++ if ((((int)NewColorSubdiv[i].RGBWidth[j]) > MaxSize) &&
++ (NewColorSubdiv[i].NumEntries > 1)) {
++ MaxSize = NewColorSubdiv[i].RGBWidth[j];
++ Index = i;
++ SortRGBAxis = j;
++ }
++ }
++ }
++
++ if (MaxSize == -1)
++ return GIF_OK;
++
++ /* Split the entry Index into two along the axis SortRGBAxis: */
++
++ /* Sort all elements in that entry along the given axis and split at
++ * the median. */
++ SortArray = (QuantizedColorType **)malloc(
++ sizeof(QuantizedColorType *) *
++ NewColorSubdiv[Index].NumEntries);
++ if (SortArray == NULL)
++ return GIF_ERROR;
++ for (j = 0, QuantizedColor = NewColorSubdiv[Index].QuantizedColors;
++ j < NewColorSubdiv[Index].NumEntries && QuantizedColor != NULL;
++ j++, QuantizedColor = QuantizedColor->Pnext)
++ SortArray[j] = QuantizedColor;
++
++ qsort(SortArray, NewColorSubdiv[Index].NumEntries,
++ sizeof(QuantizedColorType *), SortCmpRtn);
++
++ /* Relink the sorted list into one: */
++ for (j = 0; j < NewColorSubdiv[Index].NumEntries - 1; j++)
++ SortArray[j]->Pnext = SortArray[j + 1];
++ SortArray[NewColorSubdiv[Index].NumEntries - 1]->Pnext = NULL;
++ NewColorSubdiv[Index].QuantizedColors = QuantizedColor = SortArray[0];
++ free((char *)SortArray);
++
++ /* Now simply add the Counts until we have half of the Count: */
++ Sum = NewColorSubdiv[Index].Count / 2 - QuantizedColor->Count;
++ NumEntries = 1;
++ Count = QuantizedColor->Count;
++ while (QuantizedColor->Pnext != NULL &&
++ (Sum -= QuantizedColor->Pnext->Count) >= 0 &&
++ QuantizedColor->Pnext->Pnext != NULL) {
++ QuantizedColor = QuantizedColor->Pnext;
++ NumEntries++;
++ Count += QuantizedColor->Count;
++ }
++ /* Save the values of the last color of the first half, and first
++ * of the second half so we can update the Bounding Boxes later.
++ * Also as the colors are quantized and the BBoxes are full 0..255,
++ * they need to be rescaled.
++ */
++ MaxColor = QuantizedColor->RGB[SortRGBAxis]; /* Max. of first half */
++ /* coverity[var_deref_op] */
++ MinColor = QuantizedColor->Pnext->RGB[SortRGBAxis]; /* of second */
++ MaxColor <<= (8 - BITS_PER_PRIM_COLOR);
++ MinColor <<= (8 - BITS_PER_PRIM_COLOR);
++
++ /* Partition right here: */
++ NewColorSubdiv[*NewColorMapSize].QuantizedColors =
++ QuantizedColor->Pnext;
++ QuantizedColor->Pnext = NULL;
++ NewColorSubdiv[*NewColorMapSize].Count = Count;
++ NewColorSubdiv[Index].Count -= Count;
++ NewColorSubdiv[*NewColorMapSize].NumEntries =
++ NewColorSubdiv[Index].NumEntries - NumEntries;
++ NewColorSubdiv[Index].NumEntries = NumEntries;
++ for (j = 0; j < 3; j++) {
++ NewColorSubdiv[*NewColorMapSize].RGBMin[j] =
++ NewColorSubdiv[Index].RGBMin[j];
++ NewColorSubdiv[*NewColorMapSize].RGBWidth[j] =
++ NewColorSubdiv[Index].RGBWidth[j];
++ }
++ NewColorSubdiv[*NewColorMapSize].RGBWidth[SortRGBAxis] =
++ NewColorSubdiv[*NewColorMapSize].RGBMin[SortRGBAxis] +
++ NewColorSubdiv[*NewColorMapSize].RGBWidth[SortRGBAxis] - MinColor;
++ NewColorSubdiv[*NewColorMapSize].RGBMin[SortRGBAxis] = MinColor;
++
++ NewColorSubdiv[Index].RGBWidth[SortRGBAxis] =
++ MaxColor - NewColorSubdiv[Index].RGBMin[SortRGBAxis];
++
++ (*NewColorMapSize)++;
++ }
++
++ return GIF_OK;
++}
++
++/******************************************************************************
++ * Quantize high resolution image into lower one. Input image consists of a
++ * 2D array for each of the RGB colors with size Width by Height. There is no
++ * Color map for the input. Output is a quantized image with 2D array of
++ * indexes into the output color map.
++ * Note input image can be 24 bits at the most (8 for red/green/blue) and
++ * the output has 256 colors at the most (256 entries in the color map.).
++ * ColorMapSize specifies size of color map up to 256 and will be updated to
++ * real size before returning.
++ * Also non of the parameter are allocated by this routine.
++ * This function returns GIF_OK if succesfull, GIF_ERROR otherwise.
++ ******************************************************************************/
++static int
++QuantizeBuffer(unsigned int Width,
++ unsigned int Height,
++ int *ColorMapSize,
++ GifByteType * RedInput,
++ GifByteType * GreenInput,
++ GifByteType * BlueInput,
++ GifByteType * OutputBuffer,
++ GifColorType * OutputColorMap) {
++
++ unsigned int Index, NumOfEntries;
++ int i, j, MaxRGBError[3];
++ unsigned int NewColorMapSize;
++ long Red, Green, Blue;
++ NewColorMapType NewColorSubdiv[256];
++ QuantizedColorType *ColorArrayEntries, *QuantizedColor;
++
++ ColorArrayEntries = (QuantizedColorType *)malloc(
++ sizeof(QuantizedColorType) * COLOR_ARRAY_SIZE);
++ if (ColorArrayEntries == NULL) {
++ return GIF_ERROR;
++ }
++
++ for (i = 0; i < COLOR_ARRAY_SIZE; i++) {
++ ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR);
++ ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) &
++ MAX_PRIM_COLOR;
++ ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR;
++ ColorArrayEntries[i].Count = 0;
++ }
++
++ /* Sample the colors and their distribution: */
++ for (i = 0; i < (int)(Width * Height); i++) {
++ Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ (2 * BITS_PER_PRIM_COLOR)) +
++ ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ BITS_PER_PRIM_COLOR) +
++ (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR));
++ ColorArrayEntries[Index].Count++;
++ }
++
++ /* Put all the colors in the first entry of the color map, and call the
++ * recursive subdivision process. */
++ for (i = 0; i < 256; i++) {
++ NewColorSubdiv[i].QuantizedColors = NULL;
++ NewColorSubdiv[i].Count = NewColorSubdiv[i].NumEntries = 0;
++ for (j = 0; j < 3; j++) {
++ NewColorSubdiv[i].RGBMin[j] = 0;
++ NewColorSubdiv[i].RGBWidth[j] = 255;
++ }
++ }
++
++ /* Find the non empty entries in the color table and chain them: */
++ for (i = 0; i < COLOR_ARRAY_SIZE; i++)
++ if (ColorArrayEntries[i].Count > 0)
++ break;
++ QuantizedColor = NewColorSubdiv[0].QuantizedColors = &ColorArrayEntries[i];
++ NumOfEntries = 1;
++ while (++i < COLOR_ARRAY_SIZE)
++ if (ColorArrayEntries[i].Count > 0) {
++ QuantizedColor->Pnext = &ColorArrayEntries[i];
++ QuantizedColor = &ColorArrayEntries[i];
++ NumOfEntries++;
++ }
++ QuantizedColor->Pnext = NULL;
++
++ NewColorSubdiv[0].NumEntries = NumOfEntries; /* Different sampled colors */
++ NewColorSubdiv[0].Count = ((long)Width) * Height; /* Pixels */
++ NewColorMapSize = 1;
++ if (SubdivColorMap(NewColorSubdiv, *ColorMapSize, &NewColorMapSize) !=
++ GIF_OK) {
++ free((char *)ColorArrayEntries);
++ return GIF_ERROR;
++ }
++ if (NewColorMapSize < *ColorMapSize) {
++ /* And clear rest of color map: */
++ for (i = NewColorMapSize; i < *ColorMapSize; i++)
++ OutputColorMap[i].Red = OutputColorMap[i].Green =
++ OutputColorMap[i].Blue = 0;
++ }
++
++ /* Average the colors in each entry to be the color to be used in the
++ * output color map, and plug it into the output color map itself. */
++ for (i = 0; i < NewColorMapSize; i++) {
++ if ((j = NewColorSubdiv[i].NumEntries) > 0) {
++ QuantizedColor = NewColorSubdiv[i].QuantizedColors;
++ Red = Green = Blue = 0;
++ while (QuantizedColor) {
++ QuantizedColor->NewColorIndex = i;
++ Red += QuantizedColor->RGB[0];
++ Green += QuantizedColor->RGB[1];
++ Blue += QuantizedColor->RGB[2];
++ QuantizedColor = QuantizedColor->Pnext;
++ }
++ OutputColorMap[i].Red = (Red << (8 - BITS_PER_PRIM_COLOR)) / j;
++ OutputColorMap[i].Green = (Green << (8 - BITS_PER_PRIM_COLOR)) / j;
++ OutputColorMap[i].Blue = (Blue << (8 - BITS_PER_PRIM_COLOR)) / j;
++ } else
++ fprintf(stderr,
++ "\n%s: Null entry in quantized color map - that's weird.\n",
++ "libgdiplus");
++ }
++
++ /* Finally scan the input buffer again and put the mapped index in the
++ * output buffer. */
++ MaxRGBError[0] = MaxRGBError[1] = MaxRGBError[2] = 0;
++ for (i = 0; i < (int)(Width * Height); i++) {
++ Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ (2 * BITS_PER_PRIM_COLOR)) +
++ ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ BITS_PER_PRIM_COLOR) +
++ (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR));
++ Index = ColorArrayEntries[Index].NewColorIndex;
++ OutputBuffer[i] = Index;
++ if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i]))
++ MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]);
++ if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i]))
++ MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]);
++ if (MaxRGBError[2] < ABS(OutputColorMap[Index].Blue - BlueInput[i]))
++ MaxRGBError[2] = ABS(OutputColorMap[Index].Blue - BlueInput[i]);
++ }
++
++#ifdef DEBUG
++ fprintf(stderr,
++ "Quantization L(0) errors: Red = %d, Green = %d, Blue = %d.\n",
++ MaxRGBError[0], MaxRGBError[1], MaxRGBError[2]);
++#endif /* DEBUG */
++
++ free((char *)ColorArrayEntries);
++
++ *ColorMapSize = NewColorMapSize;
++
++ return GIF_OK;
++}
++
+ /* giflib declares this incorrectly as EgifOpen */
+ extern GifFileType *EGifOpen(void *userData, OutputFunc writeFunc);
diff --git a/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-gold.patch b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-gold.patch new file mode 100644 index 000000000000..379ae941ef40 --- /dev/null +++ b/dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-gold.patch @@ -0,0 +1,16 @@ + tests/Makefile.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/tests/Makefile.in b/tests/Makefile.in +index 97f5f4e..c02ca25 100644 +--- a/tests/Makefile.in ++++ b/tests/Makefile.in +@@ -228,7 +228,7 @@ DEPS = \ + $(top_builddir)/src/libgdiplus.la + + LDADDS = \ +- $(top_builddir)/src/libgdiplus.la ++ $(top_builddir)/src/libgdiplus.la -lX11 -lglib-2.0 + + testgdi_DEPENDENCIES = $(TEST_DEPS) + testgdi_LDADD = $(LDADDS) diff --git a/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild new file mode 100644 index 000000000000..d6a06a3abebf --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit base eutils mono flag-o-matic + +DESCRIPTION="Library for using System.Drawing with mono" +HOMEPAGE="http://www.mono-project.com" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" + +IUSE="cairo" + +RDEPEND=">=dev-libs/glib-2.16:2 + >=media-libs/freetype-2.3.7 + >=media-libs/fontconfig-2.6 + >=media-libs/libpng-1.4:0 + x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXt + >=x11-libs/cairo-1.8.4[X] + media-libs/libexif + >=media-libs/giflib-4.1.3 + virtual/jpeg:0 + media-libs/tiff:0 + !cairo? ( >=x11-libs/pango-1.20 )" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +PATCHES=("${FILESDIR}/${P}-gold.patch" + "${FILESDIR}/${PN}-2.10.1-libpng15.patch" + "${FILESDIR}/${PN}-2.10.9-freetype251.patch") + +src_prepare() { + base_src_prepare + sed -i -e 's:ungif:gif:g' configure || die +} + +src_configure() { + append-flags -fno-strict-aliasing + econf --disable-dependency-tracking \ + --disable-static \ + --with-cairo=system \ + $(use !cairo && printf %s --with-pango) +} + +src_compile() { + emake "$@" +} + +src_install () { + emake -j1 DESTDIR="${D}" "$@" install #nowarn + mono_multilib_comply + local commondoc=( AUTHORS ChangeLog README TODO ) + for docfile in "${commondoc[@]}" + do + [[ -e "${docfile}" ]] && dodoc "${docfile}" + done + if [[ "${DOCS[@]}" ]] + then + dodoc "${DOCS[@]}" + fi + prune_libtool_files +} diff --git a/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r2.ebuild b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r2.ebuild new file mode 100644 index 000000000000..23bcad1d786c --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit base eutils mono flag-o-matic + +DESCRIPTION="Library for using System.Drawing with mono" +HOMEPAGE="http://www.mono-project.com" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" + +IUSE="cairo" + +RDEPEND=">=dev-libs/glib-2.16:2 + >=media-libs/freetype-2.3.7 + >=media-libs/fontconfig-2.6 + >=media-libs/libpng-1.4:0 + x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXt + >=x11-libs/cairo-1.8.4[X] + media-libs/libexif + >=media-libs/giflib-4.2.3 + virtual/jpeg:0 + media-libs/tiff:0 + !cairo? ( >=x11-libs/pango-1.20 )" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +PATCHES=("${FILESDIR}/${P}-gold.patch" + "${FILESDIR}/${PN}-2.10.1-libpng15.patch" + "${FILESDIR}/${PN}-2.10.9-giflib-quantizebuffer.patch" + "${FILESDIR}/${PN}-2.10.9-freetype251.patch") + +src_prepare() { + base_src_prepare + sed -i -e 's:ungif:gif:g' configure || die +} + +src_configure() { + append-flags -fno-strict-aliasing + econf --disable-dependency-tracking \ + --disable-static \ + --with-cairo=system \ + $(use !cairo && printf %s --with-pango) +} + +src_compile() { + emake "$@" +} + +src_install () { + emake -j1 DESTDIR="${D}" "$@" install #nowarn + mono_multilib_comply + local commondoc=( AUTHORS ChangeLog README TODO ) + for docfile in "${commondoc[@]}" + do + [[ -e "${docfile}" ]] && dodoc "${docfile}" + done + if [[ "${DOCS[@]}" ]] + then + dodoc "${DOCS[@]}" + fi + prune_libtool_files +} diff --git a/dev-dotnet/libgdiplus/libgdiplus-2.10.9.ebuild b/dev-dotnet/libgdiplus/libgdiplus-2.10.9.ebuild new file mode 100644 index 000000000000..fe947ef804e4 --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit eutils go-mono mono flag-o-matic + +DESCRIPTION="Library for using System.Drawing with mono" +HOMEPAGE="http://www.mono-project.com" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="cairo" + +RDEPEND=">=dev-libs/glib-2.16:2 + >=media-libs/freetype-2.3.7 + >=media-libs/fontconfig-2.6 + >=media-libs/libpng-1.4:0 + x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXt + >=x11-libs/cairo-1.8.4[X] + media-libs/libexif + >=media-libs/giflib-4.1.3 + virtual/jpeg:0 + media-libs/tiff:0 + !cairo? ( >=x11-libs/pango-1.20 )" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${P}-gold.patch" + "${FILESDIR}/${PN}-2.10.1-libpng15.patch" ) + +src_prepare() { + go-mono_src_prepare + sed -i -e 's:ungif:gif:g' configure || die +} + +src_configure() { + append-flags -fno-strict-aliasing + go-mono_src_configure --with-cairo=system \ + $(use !cairo && printf %s --with-pango) \ + || die "configure failed" +} diff --git a/dev-dotnet/libgdiplus/metadata.xml b/dev-dotnet/libgdiplus/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/libgdiplus/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/log4net/Manifest b/dev-dotnet/log4net/Manifest new file mode 100644 index 000000000000..d0237770d4f7 --- /dev/null +++ b/dev-dotnet/log4net/Manifest @@ -0,0 +1,2 @@ +DIST log4net-1.2.11-src.zip 1208854 SHA256 d9926e32e2b18a67ef4f90553b560621d34c49e6eb53b1f4d954b6bf6501e771 SHA512 b6ad8c873de69a30c68c82265dd2a5de331ecb780896f750088fe1e91f17191c2b54850629ece26659ec4c72b695cccae48eae30dbdf4dd18d5545cc24a42865 WHIRLPOOL d2c0c3e1c4d59c0c94b395d4055ad7ab1a0b84966aeb1f8f89396c1f74c8e11aa55bf448fec5915e3e7d91093c30e740285a615c462b4e9de1cc5e5a2d87aba8 +DIST log4net.snk 596 SHA256 6d593f81f9557e206d9f822cc2b0a07bd28a7e6a6448e8eed4b619812950db69 SHA512 b0525adfe90b8d86c7e7ac8295097b60b03b427aa4e6ad36b32bb98c7bc9fc081158249285c42eeff7637bd66a742ca422906a85544ca6526fe5e785cead8ff7 WHIRLPOOL 342123baa0ed762c67e7e14d9dd5b9f1cdea477fed9061bce7ee446916dda804f44e00f5647cd65649ca605ff4fd414dc3dd53f2705ca20db5594923f74348f7 diff --git a/dev-dotnet/log4net/files/log4net.pc.in-r1 b/dev-dotnet/log4net/files/log4net.pc.in-r1 new file mode 100644 index 000000000000..262850fc1e4d --- /dev/null +++ b/dev-dotnet/log4net/files/log4net.pc.in-r1 @@ -0,0 +1,8 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/@LIBDIR@ + +Name: Log4net +Description: Log4net - Logging library for C# and VB.NET +Version: @VERSION@ +Libs: -r:${libdir}/mono/log4net/log4net.dll diff --git a/dev-dotnet/log4net/log4net-1.2.11.ebuild b/dev-dotnet/log4net/log4net-1.2.11.ebuild new file mode 100644 index 000000000000..3a28feb4d9ad --- /dev/null +++ b/dev-dotnet/log4net/log4net-1.2.11.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils mono multilib versionator + +PV_MAJOR=$(get_version_component_range 1-2) + +DESCRIPTION="tool to help the programmer output log statements to a variety of output targets" +HOMEPAGE="http://logging.apache.org/log4net/" +SRC_URI="mirror://apache/logging/log4net/source/${P}-src.zip + http://dev.gentoo.org/~pacho/dotnet/log4net.snk" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2.0" +DEPEND="${RDEPEND}" + +src_compile() { + /usr/bin/gmcs \ + -t:library \ + -out:log4net.dll \ + -keyfile:"${DISTDIR}"/log4net.snk \ + -r:System.Data \ + -r:System.Web \ + $(find src -name "*.cs") || die +} + +src_install() { + egacinstall log4net.dll + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:$(get_libdir):" \ + -e "s:@NET_VERSION@:2.0:" \ + "${FILESDIR}"/${PN}.pc.in-r1 > "${D}"/usr/$(get_libdir)/pkgconfig/${PN}-${PV}.pc + dosym ${PN}-${PV}.pc /usr/$(get_libdir)/pkgconfig/${PN}-${PV_MAJOR}.pc + dosym ${PN}-${PV}.pc /usr/$(get_libdir)/pkgconfig/${PN}.pc + + dodoc README.txt STATUS.txt +} diff --git a/dev-dotnet/log4net/metadata.xml b/dev-dotnet/log4net/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/log4net/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/metadata.xml b/dev-dotnet/metadata.xml new file mode 100644 index 000000000000..c2df3bfe8ca6 --- /dev/null +++ b/dev-dotnet/metadata.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The dev-dotnet category contains libraries and utilities relevant to the + .NET programming environment. + </longdescription> + <longdescription lang="de"> + Die Kategorie dev-dotnet enthält Bibliotheken und Werkzeuge für die + .NET Programmierumgebung. + </longdescription> + <longdescription lang="es"> + La categoría dev-dotnet contiene librerias y utilidades referentes al + ambiente de programación .NET. + </longdescription> + <longdescription lang="ja"> + dev-dotnet カテゴリーには.Netプログラミング環境に関連したライブラリーと + ユーティリティが含まれます。 + </longdescription> + <longdescription lang="nl"> + De dev-dotnet categorie bevat bibliotheken en hulpmiddelen voor het gebruik + van de verschillende .NET programmeertalen. + </longdescription> + <longdescription lang="vi"> + Nhóm dev-dotnet chứa các thư viện và tiện ích liên quan + đến môi trường lập trình .NET. + </longdescription> + <longdescription lang="it"> + La categoria dev-dotnet contiene librerie ed utilità per l'ambiente .NET. + </longdescription> + <longdescription lang="pt"> + A categoria dev-dotnet contém bibliotecas e utilitários para o + ambiente .NET. + </longdescription> + <longdescription lang="pl"> + Kategoria dev-dotnet zawiera biblioteki i narzędzia związane ze + środowiskiem programowania .NET. + </longdescription> +</catmetadata> + diff --git a/dev-dotnet/mono-addins/Manifest b/dev-dotnet/mono-addins/Manifest new file mode 100644 index 000000000000..9a8d458b7480 --- /dev/null +++ b/dev-dotnet/mono-addins/Manifest @@ -0,0 +1 @@ +DIST mono-addins-0.6.2.tar.bz2 337614 SHA256 3c24199e1de00860bffcfa0ff0859abe8ee38cacdcbffff0c6854042d8ea2f2c SHA512 6556cf8c82c9f25eba5df88bbec8d9d3dd39ad5b3a904cdadc82d6eccc71b27e07ad2faa2b41eba5b3519fd6dbcc50a398104e396dcae09b152252adb8f3f0f5 WHIRLPOOL b307fb11476bd2e29cdb80260b0c54556ebe5d3a25d4d84751415972085a72680218948fdbf030ba94cf7a5aacf155ce774d399f28771f73ddd41b060269faff diff --git a/dev-dotnet/mono-addins/metadata.xml b/dev-dotnet/mono-addins/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/mono-addins/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild b/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild new file mode 100644 index 000000000000..c90032734c60 --- /dev/null +++ b/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit mono multilib + +DESCRIPTION="A generic framework for creating extensible applications" +HOMEPAGE="http://www.mono-project.com/Mono.Addins" +SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="+gtk" + +RDEPEND=">=dev-lang/mono-2 + gtk? ( >=dev-dotnet/gtk-sharp-2.0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf $(use_enable gtk gui) +} + +src_compile() { + emake -j1 +} + +src_install() { + emake -j1 DESTDIR="${D}" install + mono_multilib_comply +} diff --git a/dev-dotnet/mono-nat/Manifest b/dev-dotnet/mono-nat/Manifest new file mode 100644 index 000000000000..873848372f4c --- /dev/null +++ b/dev-dotnet/mono-nat/Manifest @@ -0,0 +1,2 @@ +DIST mono-nat-1.1.0.tar.gz 79637 SHA256 34095f6524f9e6bebe0b696d76fbfcaba84cfe3ac04f811ba9d37fe14ba0bca1 SHA512 bc3aee9f31966c9726f94a89929a13d900aea27cb3dc57d6fa953f5eab4fdb36b00a3180c150f9fd5a7c2fd58c122e4b64b046e4f4b8f3ca4d6313298459985d WHIRLPOOL 262e2808aea33a7d45bbb6bde989bf2ad8afdd9107c6bddb0702bd889ae3af721af3b82359f6b2da8a433032898f893057804e103ac8a53822db1dee6256fc34 +DIST mono.snk.bz2 785 SHA256 0cc2ca58f90773eafa8460dfb8ff4ac6238b68106eb1631348a800091a6ff3de SHA512 de64da7a9e4fa53e5a5abaee00aae05ce3560c72ad8251fd79e2ff9ffa7fb2d5e7c1a4bdb2dbc2eeeeac6450aaad8c40649ff4675ddf95365ef8604a93333224 WHIRLPOOL 05882dd5cc9e2b99b78dc882fed49547dc6b6c133616574987322623e3bd734dc74435b69a6c864f928eb087df7a1ab42910adc47a7d0e70d54178e6b319f628 diff --git a/dev-dotnet/mono-nat/files/mono-nat.pc.in b/dev-dotnet/mono-nat/files/mono-nat.pc.in new file mode 100644 index 000000000000..33d48a810842 --- /dev/null +++ b/dev-dotnet/mono-nat/files/mono-nat.pc.in @@ -0,0 +1,8 @@ +prefix=${pcfiledir}/../.. +exec_prefix=${prefix} +libdir=${exec_prefix}/@LIBDIR@ + +Name: @PACKAGENAME@ +Description: @DESCRIPTION@ +Version: @VERSION@ +Libs: @LIBS@ diff --git a/dev-dotnet/mono-nat/metadata.xml b/dev-dotnet/mono-nat/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/mono-nat/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild b/dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild new file mode 100644 index 000000000000..8294d0494130 --- /dev/null +++ b/dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit mono multilib + +MY_PN=Mono.Nat + +DESCRIPTION="Mono.Nat is a C# library used for automatic port forwarding, using either uPnP or nat-pmp" +HOMEPAGE="http://projects.qnetp.net/projects/show/mono-nat" +SRC_URI="http://projects.qnetp.net/attachments/download/76/${P}.tar.gz + mirror://gentoo/mono.snk.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RDEPEND=">=dev-lang/mono-2.0.1" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + emake -j1 ASSEMBLY_COMPILER_COMMAND="/usr/bin/gmcs -keyfile:${WORKDIR}/mono.snk" +} + +src_install() { + egacinstall $(find . -name "Mono.Nat.dll") + dodir /usr/$(get_libdir)/pkgconfig + ebegin "Installing .pc file" + sed \ + -e "s:@LIBDIR@:$(get_libdir):" \ + -e "s:@PACKAGENAME@:${MY_PN}:" \ + -e "s:@DESCRIPTION@:${DESCRIPTION}:" \ + -e "s:@VERSION@:${PV}:" \ + -e 's;@LIBS@;-r:${libdir}/mono/mono-nat/Mono.Nat.dll;' \ + "${FILESDIR}"/${PN}.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/mono.nat.pc \ + || die "sed failed" + PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --exists mono.nat || die ".pc file failed to validate." + eend $? +} diff --git a/dev-dotnet/mono-zeroconf/Manifest b/dev-dotnet/mono-zeroconf/Manifest new file mode 100644 index 000000000000..f06113c8dbad --- /dev/null +++ b/dev-dotnet/mono-zeroconf/Manifest @@ -0,0 +1 @@ +DIST mono-zeroconf-0.9.0.tar.bz2 139677 SHA256 6bde77b0240a45b148f182677022cf20d8ee8e1711b220a1162c9fae3726d7e1 SHA512 043ecd8f5123864b000bb854db4d2e58535dcaf9306e64846f67c2d2e025d631701a5e5abdfd29ffca5a8d08bba05aabfd1633641a89ffd3c116498d80effc25 WHIRLPOOL f388051dbcc36b2713e67e4482a9793aaf1f3a42799441b3baa32b0ec5845903bf78e9e26451e11721be3c6ccdbff1fc39b666a1ca7910b32b20e5379be9567b diff --git a/dev-dotnet/mono-zeroconf/metadata.xml b/dev-dotnet/mono-zeroconf/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/mono-zeroconf/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/mono-zeroconf/mono-zeroconf-0.9.0.ebuild b/dev-dotnet/mono-zeroconf/mono-zeroconf-0.9.0.ebuild new file mode 100644 index 000000000000..1065caefd250 --- /dev/null +++ b/dev-dotnet/mono-zeroconf/mono-zeroconf-0.9.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit base mono + +DESCRIPTION="a cross platform Zero Configuration Networking library for Mono and .NET" +HOMEPAGE="http://www.mono-project.com/Mono.Zeroconf" +SRC_URI="http://banshee-project.org/files/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc" + +RDEPEND=">=dev-lang/mono-2.0 + >=net-dns/avahi-0.6[mono]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf $(use_enable doc docs) --enable-avahi +} + +src_compile() { + emake -j1 || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README || die "docs failed" + mono_multilib_comply +} diff --git a/dev-dotnet/monocalendar/Manifest b/dev-dotnet/monocalendar/Manifest new file mode 100644 index 000000000000..db52a8cf5d02 --- /dev/null +++ b/dev-dotnet/monocalendar/Manifest @@ -0,0 +1 @@ +DIST monocalendar-source-0.7.2.tar.gz 178249 SHA256 1058cf87a08d26017fd98eb8909da0dce45d1388f31b7a54828ff05e78f933a0 SHA512 8793f4a56d5626485a2e8378121b8b2f2435a5c7f26be12fad1bf4647e464686f670becbf1b0a35add60080f1bdf06ba993f9ecbc4d30ca3fad5ecceebcd0c12 WHIRLPOOL ef5bd41e75ee325d00bfd61bab37761153bfe417c883bb5376b752b2ed4967a6344801373c31e61033a34e7ba95fb889bdb077ea107b0fe4b0bbbc61cffcca6d diff --git a/dev-dotnet/monocalendar/metadata.xml b/dev-dotnet/monocalendar/metadata.xml new file mode 100644 index 000000000000..19daf93693a9 --- /dev/null +++ b/dev-dotnet/monocalendar/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <upstream> + <remote-id type="sourceforge">monocalendar</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild b/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild new file mode 100644 index 000000000000..48a310773ffe --- /dev/null +++ b/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit mono eutils multilib + +S="${WORKDIR}/MonoCalendar" + +DESCRIPTION="iCal clone for .NET" +HOMEPAGE="http://www.monocalendar.com/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +DEPEND=">=dev-lang/mono-1.2.1" +RDEPEND="${DEPEND}" + +src_compile() { + cd "${S}"/bin/Release/ + + emake || die "emake failed" +} + +src_install() { + dodir /usr/$(get_libdir)/${PN} + insinto /usr/$(get_libdir)/${PN} + + doins bin/Release/*dll + doins bin/Release/*.exe + + make_wrapper monocalendar "mono /usr/$(get_libdir)/${PN}/MonoCalendar.exe" +} diff --git a/dev-dotnet/monotorrent/Manifest b/dev-dotnet/monotorrent/Manifest new file mode 100644 index 000000000000..bce27d0e9e27 --- /dev/null +++ b/dev-dotnet/monotorrent/Manifest @@ -0,0 +1,2 @@ +DIST mono.snk.bz2 785 SHA256 0cc2ca58f90773eafa8460dfb8ff4ac6238b68106eb1631348a800091a6ff3de SHA512 de64da7a9e4fa53e5a5abaee00aae05ce3560c72ad8251fd79e2ff9ffa7fb2d5e7c1a4bdb2dbc2eeeeac6450aaad8c40649ff4675ddf95365ef8604a93333224 WHIRLPOOL 05882dd5cc9e2b99b78dc882fed49547dc6b6c133616574987322623e3bd734dc74435b69a6c864f928eb087df7a1ab42910adc47a7d0e70d54178e6b319f628 +DIST monotorrent-0.80.tar.gz 290837 SHA256 d9c079dc4757e637f1e81a4d8b8a153394fcbeff8dd572bb0622e3430c5a34cf SHA512 91f5559c278d5b89d43231eb545a4ba4b182e2ab1f56cc338a6db00464b8f97f2968c40a1f002d53ced30fb2199c024077157cbd853f30cd5af468c6fb5f6af2 WHIRLPOOL 234558edf10cce26dd7466c515f4fb54d6ebabdca7c79fef925ddb45d1058a88e934a5540a1ed4218e75413c4631748f8c68404c3f2e5f6097ffdfb3325c275c diff --git a/dev-dotnet/monotorrent/files/monotorrent.pc.in b/dev-dotnet/monotorrent/files/monotorrent.pc.in new file mode 100644 index 000000000000..33d48a810842 --- /dev/null +++ b/dev-dotnet/monotorrent/files/monotorrent.pc.in @@ -0,0 +1,8 @@ +prefix=${pcfiledir}/../.. +exec_prefix=${prefix} +libdir=${exec_prefix}/@LIBDIR@ + +Name: @PACKAGENAME@ +Description: @DESCRIPTION@ +Version: @VERSION@ +Libs: @LIBS@ diff --git a/dev-dotnet/monotorrent/metadata.xml b/dev-dotnet/monotorrent/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/monotorrent/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/monotorrent/monotorrent-0.80.ebuild b/dev-dotnet/monotorrent/monotorrent-0.80.ebuild new file mode 100644 index 000000000000..dfa84b7da47b --- /dev/null +++ b/dev-dotnet/monotorrent/monotorrent-0.80.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit mono multilib + +DESCRIPTION="Monotorrent is an open source C# bittorrent library" +HOMEPAGE="http://projects.qnetp.net/projects/show/monotorrent" +SRC_URI="http://projects.qnetp.net/attachments/download/28/${P}.tar.gz + mirror://gentoo/mono.snk.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RDEPEND=">=dev-lang/mono-2.0.1" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +# The hack we do to get the dll installed in the GAC makes the unit-tests +# defunct. +RESTRICT="test" + +src_prepare() { + sed -i \ + -e "/InternalsVisibleTo/d" \ + MonoTorrent/AssemblyInfo.cs* || die +} + +src_compile() { + emake -j1 ASSEMBLY_COMPILER_COMMAND="/usr/bin/gmcs -keyfile:${WORKDIR}/mono.snk" +} + +src_install() { + egacinstall $(find . -name "MonoTorrent.dll") + dodir /usr/$(get_libdir)/pkgconfig + ebegin "Installing .pc file" + sed \ + -e "s:@LIBDIR@:$(get_libdir):" \ + -e "s:@PACKAGENAME@:${PN}:" \ + -e "s:@DESCRIPTION@:${DESCRIPTION}:" \ + -e "s:@VERSION@:${PV}:" \ + -e 's;@LIBS@;-r:${libdir}/mono/monotorrent/MonoTorrent.dll;' \ + "${FILESDIR}"/${PN}.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${PN}.pc + PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --exists monotorrent || die ".pc file failed to validate." + eend $? +} diff --git a/dev-dotnet/nant/Manifest b/dev-dotnet/nant/Manifest new file mode 100644 index 000000000000..1a07ac2ca1ea --- /dev/null +++ b/dev-dotnet/nant/Manifest @@ -0,0 +1,2 @@ +DIST nant-0.92-src.tar.gz 1601180 SHA256 72d4d585267ed7f03e1aa75087d96f4f8d49ee976c32d974c5ab1fef4d4f8305 SHA512 4172b208ef22af19c456802113005652ac54b41e1baad8130eb4a9321872ee55fbc50379087aeaff7188f40d178519b35f1d74fa7e799c1fbfa046c619536005 WHIRLPOOL b5389dcf693d9e1c41297d5e59ba8caba584b819c53bb7ab8dd9810fe904c155941e0613ff9123fd2b57d1462452c9083f828cb4192d22f995f7981c0a6ac131 +DIST nant-0.93_pre20130131.tar.bz2 10828155 SHA256 c5f88105984dd6de886e7b7f61a1258806e5da5c1f2f0d6459bc5b97b817a9b7 SHA512 ab4fa73d979d6b8485ed4ad5d7938b7a7bf10030435955d0c5615ac27f0543edb823869f1773f3e9fcd1bdfe67a25a93af111daae4f8fadb7c64b65d87232e42 WHIRLPOOL d0a373d1c5b6e63919854aa2f863ca948800b873233bca1e686db0e82c8596608f35b07b8177caec7fe311378f8b68ca09bded8d1e3453f84e911ba9e573ad68 diff --git a/dev-dotnet/nant/metadata.xml b/dev-dotnet/nant/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/nant/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/nant/nant-0.92.ebuild b/dev-dotnet/nant/nant-0.92.ebuild new file mode 100644 index 000000000000..cc1c3ddcfdfc --- /dev/null +++ b/dev-dotnet/nant/nant-0.92.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit mono multilib eutils + +DESCRIPTION=".NET build tool" +HOMEPAGE="http://nant.sourceforge.net/" +SRC_URI="mirror://sourceforge/nant/${P/_/-}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +# This build is not parallel build friendly +MAKEOPTS="${MAKEOPTS} -j1" + +S="${WORKDIR}/${P/_/-}" + +src_install() { + emake prefix="${ED}/usr" install + + # Fix ${ED} showing up in the nant wrapper script, as well as silencing + # warnings related to the log4net library + sed -i \ + -e "s:${ED}::" \ + -e "2iexport MONO_SILENT_WARNING=1" \ + -e "s:${ED}::" \ + "${ED}"/usr/bin/nant || die "Sed nant failed" + + dodoc README.txt +} diff --git a/dev-dotnet/nant/nant-0.93_pre20130131.ebuild b/dev-dotnet/nant/nant-0.93_pre20130131.ebuild new file mode 100644 index 000000000000..eb3c390ddc59 --- /dev/null +++ b/dev-dotnet/nant/nant-0.93_pre20130131.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit mono-env eutils + +DESCRIPTION=".NET build tool" +HOMEPAGE="http://nant.sourceforge.net/" +SRC_URI="http://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2.0" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +# This build is not parallel build friendly +MAKEOPTS="${MAKEOPTS} -j1" + +S="${WORKDIR}/${PN}" + +src_compile() { + emake TARGET=mono-4.5 MCS="gmcs -sdk:4" +} + +src_install() { + emake prefix="${ED}/usr" TARGET=mono-4.5 MCS="gmcs -sdk:4" install + + # Fix ${ED} showing up in the nant wrapper script, as well as silencing + # warnings related to the log4net library + sed -i \ + -e "s:${ED}::" \ + -e "2iexport MONO_SILENT_WARNING=1" \ + -e "s:${ED}::" \ + "${ED}"/usr/bin/nant || die "Sed nant failed" + + dodoc README.txt +} diff --git a/dev-dotnet/ndesk-dbus-glib/Manifest b/dev-dotnet/ndesk-dbus-glib/Manifest new file mode 100644 index 000000000000..4e91e70d5c63 --- /dev/null +++ b/dev-dotnet/ndesk-dbus-glib/Manifest @@ -0,0 +1 @@ +DIST ndesk-dbus-glib-0.4.1.tar.gz 85471 SHA256 0a6d5fe7be55b6301615d71b89507b712f287b4ba498b798301333ffabe06769 SHA512 334389a2c0dc43a94167adb3c7febebb578a79eae625ba451818734075746af44d6dec2fa0e450b30ef5d5306d826e573d25ca0571b80eaa652ebadb8d713d01 WHIRLPOOL be8de7744a78202fc7890395a59ff59a7ba617a68da39d81724e08ca6d5ba3a809c1e2606ea7d64ad73afa90b6579a237b8d55222822a550875ba513f1de8913 diff --git a/dev-dotnet/ndesk-dbus-glib/metadata.xml b/dev-dotnet/ndesk-dbus-glib/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/ndesk-dbus-glib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild b/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild new file mode 100644 index 000000000000..3cec3cf01868 --- /dev/null +++ b/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit mono multilib + +DESCRIPTION="glib integration for DBus-Sharp" +HOMEPAGE="http://www.ndesk.org/DBusSharp" +SRC_URI="http://www.ndesk.org/archive/dbus-sharp/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="debug" + +RDEPEND=">=dev-lang/mono-1.2.4 + >=dev-dotnet/ndesk-dbus-0.4" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} diff --git a/dev-dotnet/ndesk-dbus/Manifest b/dev-dotnet/ndesk-dbus/Manifest new file mode 100644 index 000000000000..7dc0b6011494 --- /dev/null +++ b/dev-dotnet/ndesk-dbus/Manifest @@ -0,0 +1 @@ +DIST ndesk-dbus-0.6.1a.tar.gz 121667 SHA256 bb4681f9bfb9cc175cf2c2afbf55706975db45d55d11701f52cb4e436377ae0b SHA512 67cf59e51a57c0f61a2470abb0af5cd362955ad0701a1eee6da4a0959a8f1bb1999ff9dc25dd10394ce806d44f6504238a2b50669de4abb89112d2957d96b334 WHIRLPOOL 0f9cf20eb9d44a3fcde5ae533039be5f1ce0d4ba416466845ee4dc3ee1c201de83787b62dc53f6f934311439c06fa69197a1947edce50d5d7fc19257058d424d diff --git a/dev-dotnet/ndesk-dbus/metadata.xml b/dev-dotnet/ndesk-dbus/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/ndesk-dbus/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild new file mode 100644 index 000000000000..b7d6156088e7 --- /dev/null +++ b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit mono + +DESCRIPTION="Managed D-Bus Implementation for .NET" +HOMEPAGE="http://www.ndesk.org/DBusSharp" +SRC_URI="http://www.ndesk.org/archive/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-1.2.4 + >=sys-apps/dbus-1" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS README +} diff --git a/dev-dotnet/nini/Manifest b/dev-dotnet/nini/Manifest new file mode 100644 index 000000000000..4ad874c7c946 --- /dev/null +++ b/dev-dotnet/nini/Manifest @@ -0,0 +1 @@ +DIST Nini-1.1.0.zip 1246584 SHA256 460cc71d931a8fb9afbc86c764eddb926051a71bde0f7deb04e22066b125270b SHA512 ae366e06ce30b04cb4afb57f4f78f6fab2c12a784abec6edc57f7c775df4887cbef0ca3eb290d1187c82a68a4ea2c4264bf20f5574475d3fcfe5d23958a9ab46 WHIRLPOOL 7b8dd4b51f8b4dad979899cd7a061aab06bcbbf80e94283275f4f576d2aadef890cbe6e3272a04758e58a8c1282346f89eee4f4188d7c5b1f342614e9e45f1a0 diff --git a/dev-dotnet/nini/files/Nini.snk.uue b/dev-dotnet/nini/files/Nini.snk.uue new file mode 100644 index 000000000000..7fd27217fd0d --- /dev/null +++ b/dev-dotnet/nini/files/Nini.snk.uue @@ -0,0 +1,17 @@ +begin 600 Nini.snk +M!P(````D``!24T$R``0``!$```"M"VY;.)&'^47#V1XRZK&L!JH`'DGLG<\[ +M"LBOVSTV7G<+?3._7#3<#<UD1G:^SPX+#QT9C(:EN&/V]%74"X8U@0^1:LPO +M[!_])"\ZN=.W4Z$N1BHMX3Q_R6JS06D[^I!O(H_X"0B]ZR\@`_DNS9`3L1L3 +M^)'=V#/-C?;_\X4WLE'E(.!R%+0Y2E5<S*65.#.=]TX,8_1YT[`A:@*>$J^I +M6I7[PU8Z^8E45^O#O&2R=,*B1&VB>*-@/LL)[M3E.N&=F?2=E`!H>2PR%AUB +M_19@,5N<$$5LZ<,)#6)&"9`M5EFVQ]*I9'$>?'%-V++-]&KUJ!"%VNKS]RH/ +M9,KW9Y#*H14L+S@_^4$%#^A*D@M02R&`&$<Y;CY@]ED2\Q*VUK,$P*%A']G, +MB#MZHG"(_C.CNJU:48^(V^L8=]ND?W^[QO7SH-?BI?TQ]%]%5QDLOE04K8N[ +M9_]!Y^6,57>IE>6,Z!TTP!C/3-#G6YC@A2>_X#?K%8+AC8+/+_?LZ4>C:%,P +M+FN11TL5R&W@WFV_%],I,RVA@Y_AP,[J&VLW)61KI/9"<G"3ZL<_;<TM2]^A +MC$])X,@/#MOD=-^KL6$-MZDQ<?M7Q:_/H]_7QQA*JBE^JZ8:F;6B&!+R\>%' +MS=!__IA5!Z@7NQ27&^=L4;E!9"%R-?L<3=\<A+A58HU4%3,#"&FRLTB98Z1T +MT'C,$2!RIOFB8M`B%E]N#L0J_1?``[_13`VCO8_WYH4VSS[Z<2%93`I3IB9I ++I\$YY9)26C)0Q)(` +` +end diff --git a/dev-dotnet/nini/files/nini.pc.in b/dev-dotnet/nini/files/nini.pc.in new file mode 100644 index 000000000000..5a8f90b49749 --- /dev/null +++ b/dev-dotnet/nini/files/nini.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ + + +Name: Nini +Description: .NET Configuration Library +Version: @VERSION@ +Libs: @libs@ diff --git a/dev-dotnet/nini/metadata.xml b/dev-dotnet/nini/metadata.xml new file mode 100644 index 000000000000..1b0dff51915c --- /dev/null +++ b/dev-dotnet/nini/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <longdescription lang="en"> + A .NET configuration library + </longdescription> + <upstream> + <remote-id type="sourceforge">nini</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/nini/nini-1.1.0-r2.ebuild b/dev-dotnet/nini/nini-1.1.0-r2.ebuild new file mode 100644 index 000000000000..b828a7ee7ed0 --- /dev/null +++ b/dev-dotnet/nini/nini-1.1.0-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit mono multilib versionator + +DESCRIPTION="Nini - A configuration library for .NET" +HOMEPAGE="http://nini.sourceforge.net" +SRC_URI="mirror://sourceforge/nini/Nini-${PV}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug" + +RDEPEND=">=dev-lang/mono-2" +DEPEND="${RDEPEND} + app-arch/sharutils + sys-apps/sed" + +S=${WORKDIR}/Nini/Source + +src_prepare() { + uudecode -o Nini.snk "${FILESDIR}"/Nini.snk.uue +} + +src_configure() { + use debug&&DEBUG="-debug" +} + +src_compile() { + #See nini in Debian for info + gmcs ${DEBUG} \ + -nowarn:1616 \ + -target:library \ + -out:Nini.dll \ + -define:STRONG \ + -r:System.dll \ + -r:System.Xml.dll \ + -keyfile:Nini.snk \ + AssemblyInfo.cs Config/*.cs Ini/*.cs Util/*.cs \ + || die "Compilation failed" + + sed \ + -e 's|@prefix@|${pcfiledir}/../..|' \ + -e 's|@exec_prefix@|${prefix}|' \ + -e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)|" \ + -e "s|@libs@|-r:\$\{libdir\}/mono/Nini/Nini.dll|" \ + -e "s|@VERSION@|${PV}|" \ + "${FILESDIR}"/nini.pc.in > "${S}"/nini.pc +} + +src_install() { + egacinstall Nini.dll Nini + pkgconfigdir=/usr/$(get_libdir)/pkgconfig + insinto ${pkgconfigdir} + newins "${S}"/nini.pc ${P}.pc + dosym ${P}.pc ${pkgconfigdir}/${PN}-$(get_version_component_range 1-2).pc + dosym ${P}.pc ${pkgconfigdir}/${PN}.pc + + dodoc "${S}"/../CHANGELOG.txt "${S}"/../README.txt +} diff --git a/dev-dotnet/notify-sharp/Manifest b/dev-dotnet/notify-sharp/Manifest new file mode 100644 index 000000000000..e52164f1e6f1 --- /dev/null +++ b/dev-dotnet/notify-sharp/Manifest @@ -0,0 +1 @@ +DIST notify-sharp-20090305.tar.bz2 79020 SHA256 67101c024f28209181ad5b62e4f4cfa038e362f808c1511d95b21a1a698731f2 SHA512 2daf6d33b3a4f53445193a654c3a92cd8e3766772472a914aa12a1c8619e5d48ed954987c44c3d856faec2e0a03e3348f6b4809a615ea3cfb4ef17ef5000c686 WHIRLPOOL a59b21e987613644a3eec4a04848f7219a318f7ef1a66e9d34b67b3621835d382b7874d13e0134658f0e4092c4651198475c55ba2231264053ebefbadd9c36c2 diff --git a/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch new file mode 100644 index 000000000000..44ff05881fb4 --- /dev/null +++ b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch @@ -0,0 +1,28 @@ +diff -NrU5 notify-sharp-20080912.orig/configure.ac notify-sharp-20080912/configure.ac +--- notify-sharp-20080912.orig/configure.ac 2008-11-26 21:56:02.000000000 +0100 ++++ notify-sharp-20080912/configure.ac 2008-11-26 22:01:08.000000000 +0100 +@@ -34,16 +34,21 @@ + if test "x$GACUTIL" = "xno"; then + AC_MSG_ERROR([You need to install gacutil]) + fi + AC_SUBST(GACUTIL) + +-AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], +- [Do not build documentation]), with_docs=no, with_docs=yes) ++AC_ARG_ENABLE( [docs], ++ [AC_HELP_STRING( [--enable/disable-docs], ++ [Do (not) build documentation (default=yes)] ++ )], ++ [], ++ [enable_docs=yes] ++) + + MONODOC_REQ_VERSION=1.1.18 + +-if test "x$with_docs" = "xyes"; then ++if test "x$enable_docs" = "xyes"; then + PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQ_VERSION,, + [AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])]) + AC_PATH_PROG(MONODOCER, monodocer, no) + if test "x$MONODOCER" = "xno"; then + AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation]) diff --git a/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20090305-dbus-sharp.patch b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20090305-dbus-sharp.patch new file mode 100644 index 000000000000..28c6316dc5aa --- /dev/null +++ b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20090305-dbus-sharp.patch @@ -0,0 +1,60 @@ +diff --git a/configure.ac b/configure.ac +index d2ff635..7200f06 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -71,11 +71,11 @@ GTK_SHARP_REQ_VERSION=2.10.1 + PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION) + AC_SUBST(GTK_SHARP_LIBS) + +-NDESK_DBUS_REQ_VERSION=0.4 +-NDESK_DBUS_GLIB_REQ_VERSION=0.3 +-PKG_CHECK_MODULES(NDESK_DBUS, ndesk-dbus-1.0 >= $NDESK_DBUS_REQ_VERSION \ +- ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQ_VERSION) +-AC_SUBST(NDESK_DBUS_LIBS) ++DBUS_SHARP_REQ_VERSION=0.7 ++DBUS_SHARP_GLIB_REQ_VERSION=0.5 ++PKG_CHECK_MODULES(DBUS_SHARP, dbus-sharp-1.0 >= $DBUS_SHARP_REQ_VERSION \ ++ dbus-sharp-glib-1.0 >= $DBUS_SHARP_GLIB_REQ_VERSION) ++AC_SUBST(DBUS_SHARP_LIBS) + + required_assemblies="Mono.Posix" + +diff --git a/src/Global.cs b/src/Global.cs +index eedefbf..a0f80ed 100644 +--- a/src/Global.cs ++++ b/src/Global.cs +@@ -24,7 +24,7 @@ using System; + using System.Reflection; + using System.Collections.Generic; + +-using NDesk.DBus; ++using DBus; + using org.freedesktop; + using org.freedesktop.DBus; + +diff --git a/src/Makefile.am b/src/Makefile.am +index 3b39c23..50bbb39 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -7,7 +7,7 @@ CSFLAGS = \ + LIBFLAGS = \ + -r:Mono.Posix \ + $(GTK_SHARP_LIBS) \ +- $(NDESK_DBUS_LIBS) ++ $(DBUS_SHARP_LIBS) + + CSFILES = \ + $(srcdir)/Global.cs \ +diff --git a/src/Notification.cs b/src/Notification.cs +index 09ef83e..e2ab72f 100644 +--- a/src/Notification.cs ++++ b/src/Notification.cs +@@ -28,7 +28,7 @@ using GLib; + using Gdk; + using Gtk; + +-using NDesk.DBus; ++using DBus; + using org.freedesktop; + using org.freedesktop.DBus; + diff --git a/dev-dotnet/notify-sharp/metadata.xml b/dev-dotnet/notify-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/notify-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305.ebuild b/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305.ebuild new file mode 100644 index 000000000000..ae33c3b95e44 --- /dev/null +++ b/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils mono + +MY_P=${PN}-${PV#*_pre} + +DESCRIPTION="a C# client implementation for Desktop Notifications" +HOMEPAGE="http://www.ndesk.org/NotifySharp" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc" + +RDEPEND=">=dev-lang/mono-1.1.13 + >=dev-dotnet/gtk-sharp-2.10.1 + >=dev-dotnet/dbus-sharp-0.6 + >=dev-dotnet/dbus-sharp-glib-0.4 + >=x11-libs/libnotify-0.4.5" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.4.0_pre20080912-control-docs.patch" \ + "${FILESDIR}/${P}-dbus-sharp.patch" + eautoreconf +} + +src_configure() { + econf $(use_enable doc docs) +} diff --git a/dev-dotnet/pango-sharp/Manifest b/dev-dotnet/pango-sharp/Manifest new file mode 100644 index 000000000000..9bb6c8f4a547 --- /dev/null +++ b/dev-dotnet/pango-sharp/Manifest @@ -0,0 +1,2 @@ +DIST gtk-sharp-2.12.10.tar.bz2 1638263 SHA256 aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770 SHA512 232137dfef327f664a941e96edb8e87a18e7def8bccf64e352e846fbd14fe4b93a0725f43b1167c05d597de10ce50c546935810e28681457d5eaba172fc457e0 WHIRLPOOL 3a8a12744ba09ba5b30da8b51b35a9d9cfccfa52e0493bafd71935a7cb6af855bf5860477569a5c17a6416a495e9a9cd4f74c61b8d25b7aedeaab1119fb16cc1 +DIST gtk-sharp-2.12.7.patch.bz2 1069 SHA256 f9db539471450d7cd17406573db117584d10c76bdbc36e11147335e93d6d10c8 SHA512 900a0c63308881b09d51bbd319c917f79ee638e82d2bbc3f7ffad6c15ad21fa22593895907caf76330511c0aa232e44ab6540bb417a2fc1963ea449b2339e427 WHIRLPOOL d3ffbe7e7189516862f64cbb7119484cf8f0d2bd6fd92e3afc839091c525a9cc4e1f8b8981b6cf9bfc52af46156e3f43940536d812d4b68ffcf01559bd3dfb74 diff --git a/dev-dotnet/pango-sharp/metadata.xml b/dev-dotnet/pango-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/pango-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/pango-sharp/pango-sharp-2.12.10.ebuild b/dev-dotnet/pango-sharp/pango-sharp-2.12.10.ebuild new file mode 100644 index 000000000000..d2c512d04b4e --- /dev/null +++ b/dev-dotnet/pango-sharp/pango-sharp-2.12.10.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/pe-format/Manifest b/dev-dotnet/pe-format/Manifest new file mode 100644 index 000000000000..4ff3e0a052a4 --- /dev/null +++ b/dev-dotnet/pe-format/Manifest @@ -0,0 +1 @@ +DIST pe-format-2.1.2.tar.bz2 79023 SHA256 645430d6d4ace715094e452b5da70bbc759d0ae97ddb7393a995ab2a60b8cbf9 SHA512 c946384fdb95593f8b9390f77c7ccc2fc5ae2588412e37e868785523ca91f0d9d98e41928ec61c4cd1f47ba7d1b167cd7b6671f6662ac247d1d83a37b1c32b0f WHIRLPOOL 373717293ee8641193bfdef587ff7301a00c99737a57038cc849f2375138de1bc93d0ad634dd34829ce08255b2aedb2bf346ee6b0c7979bafb666b55f51f6e0d diff --git a/dev-dotnet/pe-format/files/pe-format.conf b/dev-dotnet/pe-format/files/pe-format.conf new file mode 100644 index 000000000000..b432728b0869 --- /dev/null +++ b/dev-dotnet/pe-format/files/pe-format.conf @@ -0,0 +1,11 @@ +# /etc/conf.d/pe-format + +# Define what to register with PE binaries so you can avoid running them with +# "<.NET runtime> program.exe" +# NOTE: In order to get this working you need to 'chmod +x' your program + +# CLR determines the executor for the PE binaries. +# mono - Use the mono runtime engine 'mono' +# ilrun - Use the DotGNU Portable .NET runtime engine 'ilrun' + +CLR="mono" diff --git a/dev-dotnet/pe-format/files/pe-format.init-1 b/dev-dotnet/pe-format/files/pe-format.init-1 new file mode 100644 index 000000000000..18420db9c310 --- /dev/null +++ b/dev-dotnet/pe-format/files/pe-format.init-1 @@ -0,0 +1,53 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + after procfs +} + +start() { + ebegin "Registering PE binaries with ${CLR}" + + if [[ ! -d /proc/sys/fs/binfmt_misc ]] ; then + eerror "You need support for \"misc binaries\" in your kernel!" + eend 1 + fi + + if [[ $(mount | grep -c binfmt_misc) -eq 0 ]] ; then + mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &> /dev/null + local result=$? + + if [[ $result -ne 0 ]] ; then + eend $result + fi + fi + + case "${CLR}" in + mono) + echo ':PE:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register + eend 0 + ;; + ilrun) + echo ':PE:M::MZ::/usr/bin/ilrun:' > /proc/sys/fs/binfmt_misc/register + eend 0 + ;; + *) + eerror 'Please enter a valid option in /etc/conf.d/pe-format' + eend 1 + ;; + esac +} + +stop() { + ebegin "Unregistering PE binaries" + + if [[ -f /proc/sys/fs/binfmt_misc/PE ]] ; then + echo '-1' > /proc/sys/fs/binfmt_misc/PE + fi + + eend $? +} + +# vim: ts=4 : diff --git a/dev-dotnet/pe-format/metadata.xml b/dev-dotnet/pe-format/metadata.xml new file mode 100644 index 000000000000..c4626c89da13 --- /dev/null +++ b/dev-dotnet/pe-format/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <maintainer> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <bugs-to>https://bitbucket.org/mgorny/pe-format2/issues/</bugs-to> + <remote-id type="bitbucket">mgorny/pe-format2</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/pe-format/pe-format-2.1.2.ebuild b/dev-dotnet/pe-format/pe-format-2.1.2.ebuild new file mode 100644 index 000000000000..311b50a45ca0 --- /dev/null +++ b/dev-dotnet/pe-format/pe-format-2.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools-utils fdo-mime systemd + +DESCRIPTION="Intelligent PE executable wrapper for binfmt_misc" +HOMEPAGE="https://bitbucket.org/mgorny/pe-format2/" +SRC_URI="https://www.bitbucket.org/mgorny/${PN}2/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="!<sys-apps/openrc-0.9.4" + +src_configure() { + local myeconfargs=( + "$(systemd_with_unitdir)" + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + keepdir /var/lib +} + +pkg_postinst() { + ebegin "Calling pe-format2-setup to update handler setup" + pe-format2-setup + eend ${?} + + fdo-mime_desktop_database_update +} diff --git a/dev-dotnet/pe-format/pe-format-2.9999.ebuild b/dev-dotnet/pe-format/pe-format-2.9999.ebuild new file mode 100644 index 000000000000..a4a5667cefba --- /dev/null +++ b/dev-dotnet/pe-format/pe-format-2.9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +#if LIVE +AUTOTOOLS_AUTORECONF=yes +EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}2.git" + +inherit git-r3 +#endif + +inherit autotools-utils fdo-mime systemd + +DESCRIPTION="Intelligent PE executable wrapper for binfmt_misc" +HOMEPAGE="https://bitbucket.org/mgorny/pe-format2/" +SRC_URI="https://www.bitbucket.org/mgorny/${PN}2/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="!<sys-apps/openrc-0.9.4" + +#if LIVE +KEYWORDS= +SRC_URI= + +DEPEND="sys-devel/systemd-m4" +#endif + +src_configure() { + local myeconfargs=( + "$(systemd_with_unitdir)" + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + keepdir /var/lib +} + +pkg_postinst() { + ebegin "Calling pe-format2-setup to update handler setup" + pe-format2-setup + eend ${?} + + fdo-mime_desktop_database_update +} diff --git a/dev-dotnet/rsvg-sharp/Manifest b/dev-dotnet/rsvg-sharp/Manifest new file mode 100644 index 000000000000..e13035c22d1a --- /dev/null +++ b/dev-dotnet/rsvg-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-desktop-sharp-2.24.0.tar.bz2 309256 SHA256 fc66b3663b61b38c4d53cdee7ea6ace713feba333e022532e9a6933a7a1fef1c SHA512 5c228e71ad71a27f8793df1f7cfc40ceefdf47bde00a3bf8b1b8f2fc32ea5b2d4b4fd4adec118e6b17ba69377e2e9b88c957373f255eb92890a46416b178ccf4 WHIRLPOOL 74cf8219f4f01214a6bdf2e7edcf6cbb7cf65ad42e76a28fc3dc9db58d13c59c8b76cba1db589c0e8142c0b1baaea507ee0ec3415178fcab9263fe9dbffff6c4 diff --git a/dev-dotnet/rsvg-sharp/metadata.xml b/dev-dotnet/rsvg-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/rsvg-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/rsvg-sharp/rsvg-sharp-2.24.0-r10.ebuild b/dev-dotnet/rsvg-sharp/rsvg-sharp-2.24.0-r10.ebuild new file mode 100644 index 000000000000..a40e93336c33 --- /dev/null +++ b/dev-dotnet/rsvg-sharp/rsvg-sharp-2.24.0-r10.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" +RSVG_REQUIRED_VERSION="2.22.2" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/smartirc4net/Manifest b/dev-dotnet/smartirc4net/Manifest new file mode 100644 index 000000000000..2619d14e3a3d --- /dev/null +++ b/dev-dotnet/smartirc4net/Manifest @@ -0,0 +1 @@ +DIST smartirc4net-0.4.5.1.tar.gz 112374 SHA256 56403be3be7c541828d6eabac70ffdcf49d8ce8c9506ac92160300a0d6823bc9 SHA512 3186d865dbd8117f37b05a6c3f44ffce38b434876ffae30a77e954bd58e9c82661e553e567a32a39d295910ca109ca397d19a0469264d90de518cb10581bbe19 WHIRLPOOL c034f39013503ad339373c3e993dda9cb4ed22030f856324bc2c9ed20427f03bb60728cf37eeed1696a2341b4f13d260a809964005c78f2213f1cb9cebcd772f diff --git a/dev-dotnet/smartirc4net/metadata.xml b/dev-dotnet/smartirc4net/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/smartirc4net/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/smartirc4net/smartirc4net-0.4.5.1.ebuild b/dev-dotnet/smartirc4net/smartirc4net-0.4.5.1.ebuild new file mode 100644 index 000000000000..6cc86aa7174b --- /dev/null +++ b/dev-dotnet/smartirc4net/smartirc4net-0.4.5.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit mono-env + +HOMEPAGE="http://www.smuxi.org/page/Download" +SRC_URI="http://smuxi.meebey.net/jaws/data/files/${P}.tar.gz" +DESCRIPTION="Multi-threaded and thread-safe IRC library written in C#" + +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +LICENSE="|| ( LGPL-2.1 LGPL-3 )" + +RDEPEND=">=dev-lang/mono-2.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( FEATURES TODO API_CHANGE CHANGELOG README ) diff --git a/dev-dotnet/taglib-sharp/Manifest b/dev-dotnet/taglib-sharp/Manifest new file mode 100644 index 000000000000..59bf5d483072 --- /dev/null +++ b/dev-dotnet/taglib-sharp/Manifest @@ -0,0 +1,2 @@ +DIST taglib-sharp-2.0.4.0.tar.bz2 505231 SHA256 1acb310ec555e47e053ae9bd7299495c1f05e729d4e32d48ade8847233008040 SHA512 0c10edd08b5ff7dc4dc39e2e1e72a67eca17c2dbbce0d29a798a1c782de3c87e19a276d919a4dafd2518d58af23b3dd037a1e02ef49bc2ec2483e6cb53ce56a5 WHIRLPOOL c63f26dda644d87676b31f659e4055d35182d794ecc37853be80e12d694e605fb46d94372b88207e5915725bb74a046caa8ab5efa04a2d566b856a59fe818981 +DIST taglib-sharp-2.1.0.0.tar.bz2 514406 SHA256 a2a74092eddec23a47a1cf2e569e52bb784b6ea26fe640f4fac5959acb4da2a8 SHA512 59c3ab4086c6aa40d277dd146b15f5e2d1aca07a7315cd6a3bdc20849f11c4077a06051c602f254b5edd1aa83b00e37d5871a468795c26826235d5c623e74957 WHIRLPOOL 85ac5a68f1499b6e4ea1ae6de692d75631d4a5679ab5fb80bb6860f7e2370d555b96c7cfb7c053446041c942f9a51332ce0f846b963e8574c6ddcce6e4147d33 diff --git a/dev-dotnet/taglib-sharp/metadata.xml b/dev-dotnet/taglib-sharp/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/taglib-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/taglib-sharp/taglib-sharp-2.0.4.0.ebuild b/dev-dotnet/taglib-sharp/taglib-sharp-2.0.4.0.ebuild new file mode 100644 index 000000000000..aa5d30bbef37 --- /dev/null +++ b/dev-dotnet/taglib-sharp/taglib-sharp-2.0.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit mono + +DESCRIPTION="Taglib# 2.0 - Managed tag reader/writer" +HOMEPAGE="http://download.banshee.fm/taglib-sharp/" +SRC_URI="http://download.banshee-project.org/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="dev-lang/mono" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + sed -i -e "s:docs::" \ + -e "s:examples::" \ + Makefile.in || die "sedding sense into makefiles failed" +} + +src_configure() { + econf --disable-docs +} diff --git a/dev-dotnet/taglib-sharp/taglib-sharp-2.1.0.0.ebuild b/dev-dotnet/taglib-sharp/taglib-sharp-2.1.0.0.ebuild new file mode 100644 index 000000000000..9f9723e55564 --- /dev/null +++ b/dev-dotnet/taglib-sharp/taglib-sharp-2.1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit mono + +DESCRIPTION="Taglib# 2.0 - Managed tag reader/writer" +HOMEPAGE="http://download.banshee.fm/taglib-sharp/" +SRC_URI="http://download.banshee-project.org/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="dev-lang/mono" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + sed -i -e "s:docs::" \ + -e "s:examples::" \ + Makefile.in || die "sedding sense into makefiles failed" +} + +src_configure() { + econf --disable-docs +} diff --git a/dev-dotnet/vte-sharp/Manifest b/dev-dotnet/vte-sharp/Manifest new file mode 100644 index 000000000000..e13035c22d1a --- /dev/null +++ b/dev-dotnet/vte-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-desktop-sharp-2.24.0.tar.bz2 309256 SHA256 fc66b3663b61b38c4d53cdee7ea6ace713feba333e022532e9a6933a7a1fef1c SHA512 5c228e71ad71a27f8793df1f7cfc40ceefdf47bde00a3bf8b1b8f2fc32ea5b2d4b4fd4adec118e6b17ba69377e2e9b88c957373f255eb92890a46416b178ccf4 WHIRLPOOL 74cf8219f4f01214a6bdf2e7edcf6cbb7cf65ad42e76a28fc3dc9db58d13c59c8b76cba1db589c0e8142c0b1baaea507ee0ec3415178fcab9263fe9dbffff6c4 diff --git a/dev-dotnet/vte-sharp/metadata.xml b/dev-dotnet/vte-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/vte-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/vte-sharp/vte-sharp-2.24.0-r10.ebuild b/dev-dotnet/vte-sharp/vte-sharp-2.24.0-r10.ebuild new file mode 100644 index 000000000000..785cff083704 --- /dev/null +++ b/dev-dotnet/vte-sharp/vte-sharp-2.24.0-r10.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" +VTE_REQUIRED_VERSION=0.16.14 + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/webkit-sharp/Manifest b/dev-dotnet/webkit-sharp/Manifest new file mode 100644 index 000000000000..06586116225c --- /dev/null +++ b/dev-dotnet/webkit-sharp/Manifest @@ -0,0 +1 @@ +DIST webkit-sharp-0.3.tar.bz2 88972 SHA256 6633630b6e4834b0f93726570d1c97e884470e3c400ae929cca2f1376b7b959a SHA512 3a70b41a16024d0682328bcd59d7f99f51a0c191d63a96a4c3bd66ea3e8fb7dea1e85b4934ed3d98c5ae15b69b7745c273f78ad94610653e9f669ffaddc20231 WHIRLPOOL 71dc5d23171603b011322e6aa07dd3b77585ee1311c74ca2cc376f4e06f880a51f7fad60a4cacf20ef2905e1afbc21af7a65991c78e0d8dc715abb78fa64b7d5 diff --git a/dev-dotnet/webkit-sharp/files/webkit-sharp-0.3-webkit14.patch b/dev-dotnet/webkit-sharp/files/webkit-sharp-0.3-webkit14.patch new file mode 100644 index 000000000000..21f40d4424e4 --- /dev/null +++ b/dev-dotnet/webkit-sharp/files/webkit-sharp-0.3-webkit14.patch @@ -0,0 +1,9 @@ +diff --git a/sources/webkit-sharp.dll.config.in b/sources/webkit-sharp.dll.config.in +index 75788f8..4220311 100644 +--- a/sources/webkit-sharp.dll.config.in ++++ b/sources/webkit-sharp.dll.config.in +@@ -1,3 +1,3 @@ + <configuration> +- <dllmap dll="webkit-1.0" target="webkit-1.0@LIB_PREFIX@.2@LIB_SUFFIX@"/> ++ <dllmap dll="webkit-1.0" target="libwebkitgtk-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/> + </configuration> diff --git a/dev-dotnet/webkit-sharp/metadata.xml b/dev-dotnet/webkit-sharp/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/webkit-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/webkit-sharp/webkit-sharp-0.3-r1.ebuild b/dev-dotnet/webkit-sharp/webkit-sharp-0.3-r1.ebuild new file mode 100644 index 000000000000..436b0ed4c75a --- /dev/null +++ b/dev-dotnet/webkit-sharp/webkit-sharp-0.3-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit mono multilib eutils + +DESCRIPTION="WebKit-gtk bindings for Mono" +HOMEPAGE="http://www.mono-project.com/" +SRC_URI="http://mono.ximian.com/monobuild/preview/sources/webkit-sharp/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND=">=dev-lang/mono-2 + >=net-libs/webkit-gtk-1.4:2 + dev-dotnet/gtk-sharp:2" + +RDEPEND="${DEPEND}" + +MAKEOPTS="${MAKEOPTS} -j1" + +src_prepare() { + epatch "${FILESDIR}/${P}-webkit14.patch" +} + +src_install() { + default + mono_multilib_comply +} diff --git a/dev-dotnet/wnck-sharp/Manifest b/dev-dotnet/wnck-sharp/Manifest new file mode 100644 index 000000000000..e13035c22d1a --- /dev/null +++ b/dev-dotnet/wnck-sharp/Manifest @@ -0,0 +1 @@ +DIST gnome-desktop-sharp-2.24.0.tar.bz2 309256 SHA256 fc66b3663b61b38c4d53cdee7ea6ace713feba333e022532e9a6933a7a1fef1c SHA512 5c228e71ad71a27f8793df1f7cfc40ceefdf47bde00a3bf8b1b8f2fc32ea5b2d4b4fd4adec118e6b17ba69377e2e9b88c957373f255eb92890a46416b178ccf4 WHIRLPOOL 74cf8219f4f01214a6bdf2e7edcf6cbb7cf65ad42e76a28fc3dc9db58d13c59c8b76cba1db589c0e8142c0b1baaea507ee0ec3415178fcab9263fe9dbffff6c4 diff --git a/dev-dotnet/wnck-sharp/metadata.xml b/dev-dotnet/wnck-sharp/metadata.xml new file mode 100644 index 000000000000..e01adbb307db --- /dev/null +++ b/dev-dotnet/wnck-sharp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/wnck-sharp/wnck-sharp-2.24.0-r10.ebuild b/dev-dotnet/wnck-sharp/wnck-sharp-2.24.0-r10.ebuild new file mode 100644 index 000000000000..a144be432b9a --- /dev/null +++ b/dev-dotnet/wnck-sharp/wnck-sharp-2.24.0-r10.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +GTK_SHARP_REQUIRED_VERSION="2.12" + +inherit gtk-sharp-module + +SLOT="2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RESTRICT="test" diff --git a/dev-dotnet/xsp/Manifest b/dev-dotnet/xsp/Manifest new file mode 100644 index 000000000000..01017d5b3e17 --- /dev/null +++ b/dev-dotnet/xsp/Manifest @@ -0,0 +1 @@ +DIST xsp-2.10.2.tar.bz2 284801 SHA256 f4657f724167244d9baedf94e1d5747b8f1f53c339c7a11897154c1eb1289d4e SHA512 9b49e3a712e062b9a272e72609eda3cb8139127bc9780d6374a3567f51f15f38233f92252c2e4c22778b1841de66855dfe6a8cf81c97c6ebbf84f71dda0d43dd WHIRLPOOL fce613fedf164f7cd4cf0bae622884a4f7b6747e249d965c4ea23997586371b6a588ad96d66bcc5c6e74f98b76de3f374cd676de164ba1f3a889e4b00b8b6dcc diff --git a/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd b/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd new file mode 100644 index 000000000000..6fda67726d82 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd @@ -0,0 +1,83 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use net + after dotnet +} + +start() { + [ -z "$MonoServerRootDir" ] && \ + MonoServerRootDir="/usr/lib/xsp/test" + [ -z "$MonoApplications" ] && \ + MonoApplications="/mono:/usr/lib/xsp/test,/:." + [ -z "$UnixSocketFileName" ] && \ + UnixSocketFileName="/tmp/mod_mono_server" + [ -z "$MonoServerAddress" ] && \ + MonoServerAddress=127.0.0.1 + [ -z "$MonoServerPort" ] && \ + MonoServerPort=8080 + [ -z "$MonoServerVersion" ] && \ + MonoServerVersion=1 + + MONO_SERVER_OPTS="--root ${MonoServerRootDir} \ +--applications ${MonoApplications} --nonstop" + + [ -n "$MonoApplicationsConfigDir" ] && \ + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--appconfigdir ${MonoApplicationsConfigDir}" + + case "$MonoServerChannel" in + "tcp" ) + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--address ${MonoServerAddress} --port ${MonoServerPort}" + ;; + + "unix" ) + [ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--filename ${UnixSocketFileName}" + ;; + + * ) + eerror "Please set a valid value for MonoServerChannel" + return 1 + ;; + esac + + if [ ${MonoServerVersion} -eq 1 ]; then + modmonoserverpath=1.0/mod-mono-server.exe + elif [ ${MonoServerVersion} -eq 2 ]; then + modmonoserverpath=2.0/mod-mono-server2.exe + elif [ ${MonoServerVersion} -eq 4 ]; then + modmonoserverpath=4.0/mod-mono-server4.exe + else + eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/mod-mono-server" + return 1 + fi + + MONO_SHARED_DIR=/tmp ; export MONO_SHARED_DIR + + ebegin "Starting mod-mono-server" + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/mod-mono-server.pid \ + --user aspnet \ + --exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \ + -- $MONO_SERVER_OPTS + + eend $? +} + +stop() { + ebegin "Stopping mod-mono-server" + + start-stop-daemon --quiet --stop \ + --pidfile /var/run/aspnet/mod-mono-server.pid + + eend $? +} diff --git a/dev-dotnet/xsp/files/2.2/mod-mono-server.confd b/dev-dotnet/xsp/files/2.2/mod-mono-server.confd new file mode 100644 index 000000000000..dbc5c4cf20c2 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/mod-mono-server.confd @@ -0,0 +1,34 @@ +# Config file for /etc/init.d/mod-mono-server +# $Id$ + +# Configuration directives for mod-mono-server.exe. For more information on +# these variables, see the man page for xsp(1). + +# This is the document root; trailing slash is not necessary +#MonoServerRootDir="/usr/lib/xsp/test" + +# Directory to search for files with an `.webapp' extension. +#MonoApplicationsConfigDir="/usr/lib/xsp/test" + +# Comma separated list of directories (in the form virtual:real) for all +# applications managed by the server. For example: +# /app1:/var/www/localhost/htdocs/app1,/app2:/var/www/localhost/htdocs/app2 +MonoApplications="/mono:/usr/lib/xsp/test" + +# The communication channel used between mod-mono-server and mod_mono. +# unix - A unix socket +# tcp - A TCP connection +MonoServerChannel="unix" + +# When the comm. channel is "unix", the local filename used by the socket. +UnixSocketFileName="/tmp/mod_mono_server" + +# When the comm. channel is "tcp", IP address for the server to listen on. +#MonoServerAddress=127.0.0.1 + +# When the comm. channel is "tcp", port for the server to listen on. +#MonoServerPort=8080 + +# If you want to host .NET 2.0 applications you have to set this to 2. +# Otherwise, leave it unchaged +MonoServerVersion=1 diff --git a/dev-dotnet/xsp/files/2.2/xsp.confd b/dev-dotnet/xsp/files/2.2/xsp.confd new file mode 100644 index 000000000000..1004e7428fa8 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/xsp.confd @@ -0,0 +1,12 @@ +# Config file for /etc/init.d/xsp +# $Id$ + +# This is the document root; trailing slash is not necessary +MonoServerRoot=/usr/lib/xsp/test + +# Port for the server to run on +MonoServerPort=8000 + +# If you want to host .NET 2.0 applications you have to set this to 2. +# Otherwise, leave it unchanged +MonoServerVersion=1 diff --git a/dev-dotnet/xsp/files/2.2/xsp.initd b/dev-dotnet/xsp/files/2.2/xsp.initd new file mode 100644 index 000000000000..5b609580ebfa --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/xsp.initd @@ -0,0 +1,38 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net + after dotnet +} + +start() { + ebegin "Starting xsp" + + if [ ${MonoServerVersion} -eq 1 ]; then + xsppath=1.0/xsp.exe + elif [ ${MonoServerVersion} -eq 2 ]; then + xsppath=2.0/xsp2.exe + else + eerror "MonoServerVersion was not properly set. Check your config file" + return 1 + fi + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/xsp.pid \ + --chuid aspnet \ + --exec /usr/bin/mono /usr/lib/mono/${xsppath} -- --root ${MonoServerRoot} --port ${MonoServerPort} --nonstop + eend $? +} + +stop() { + ebegin "Stopping xsp" + start-stop-daemon -o --quiet --stop \ + --pidfile /var/run/aspnet/xsp.pid + eend $? +} + diff --git a/dev-dotnet/xsp/files/xsp-2.10.2-endrequest.patch b/dev-dotnet/xsp/files/xsp-2.10.2-endrequest.patch new file mode 100644 index 000000000000..ff702d3faa59 --- /dev/null +++ b/dev-dotnet/xsp/files/xsp-2.10.2-endrequest.patch @@ -0,0 +1,35 @@ +From d2c4a279942a4575b80618719646d0767c077e96 Mon Sep 17 00:00:00 2001 +From: Guillaume Pitel <guillaume.pitel@exensa.com> +Date: Tue, 6 Mar 2012 17:20:24 +0100 +Subject: [PATCH] Added try/catch around EndRequest Record sending (Bug 3765 + https://bugzilla.xamarin.com/show_bug.cgi?id=3765) + +--- + src/Mono.WebServer.FastCgi/Connection.cs | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/src/Mono.WebServer.FastCgi/Connection.cs b/src/Mono.WebServer.FastCgi/Connection.cs +index 6c70824..0e9ef64 100644 +--- a/src/Mono.WebServer.FastCgi/Connection.cs ++++ b/src/Mono.WebServer.FastCgi/Connection.cs +@@ -319,10 +319,13 @@ public void Run () + { + EndRequestBody body = new EndRequestBody (appStatus, + protocolStatus); +- +- if (IsConnected) +- new Record (1, RecordType.EndRequest, requestID, +- body.GetData ()).Send (socket); ++ try { ++ if (IsConnected) ++ new Record (1, RecordType.EndRequest, requestID, ++ body.GetData ()).Send (socket); ++ } catch (System.Net.Sockets.SocketException) { ++ } ++ + + int index = GetRequestIndex (requestID); + +-- +1.7.10 + diff --git a/dev-dotnet/xsp/metadata.xml b/dev-dotnet/xsp/metadata.xml new file mode 100644 index 000000000000..c264edab779b --- /dev/null +++ b/dev-dotnet/xsp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <longdescription lang="en"> + XSP is a standalone web server written in C# that can be used to run + your ASP.NET applications. + </longdescription> +</pkgmetadata> diff --git a/dev-dotnet/xsp/xsp-2.10.2-r2.ebuild b/dev-dotnet/xsp/xsp-2.10.2-r2.ebuild new file mode 100644 index 000000000000..dcf35279a672 --- /dev/null +++ b/dev-dotnet/xsp/xsp-2.10.2-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils go-mono mono user + +PATCHDIR="${FILESDIR}/2.2/" + +DESCRIPTION="XSP is a small web server that can host ASP.NET pages" +HOMEPAGE="http://www.mono-project.com/ASP.NET" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" + +RDEPEND="dev-db/sqlite:3" +DEPEND="${RDEPEND}" + +MAKEOPTS="${MAKEOPTS} -j1" + +src_prepare() { + # Added try/catch around EndRequest Record sending, bug #432750 + epatch "${FILESDIR}/${PN}-2.10.2-endrequest.patch" +} + +src_configure() { + default +} + +pkg_preinst() { + enewgroup aspnet + # Give aspnet home dir of /tmp since it must create ~/.wapi + enewuser aspnet -1 -1 /tmp aspnet +} + +src_install() { + mv_command="cp -ar" go-mono_src_install + newinitd "${PATCHDIR}"/xsp.initd xsp + newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server + newconfd "${PATCHDIR}"/xsp.confd xsp + newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server + + keepdir /var/run/aspnet +} + +pkg_postinst() { + chown aspnet:aspnet /var/run/aspnet +} diff --git a/dev-dotnet/zeitgeist-sharp/Manifest b/dev-dotnet/zeitgeist-sharp/Manifest new file mode 100644 index 000000000000..fe7c0b6e9551 --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/Manifest @@ -0,0 +1,2 @@ +DIST zeitgeist-sharp-0.8.0.0.tar.gz 91520 SHA256 9878ebf87dbce99325ef66278778634e3509a331b6b07708cf68f78bde860fce SHA512 386a3c0b9bc03d4a73ce874243e7424c791c1c80622962e75eb6bddfd85ce8ce2e52c327bf132701ceb196c8d5f56a8ecff6605e3a2b3c39036fbb88c4ddf5f8 WHIRLPOOL ee362c4a5ff5016f2f0eb9b6b9df6010fa6e8389921c50c063b951702281a19658cbd152e9d448d1a34d03c2e291bbb8780780940bf3798784639ac983123a62 +DIST zeitgeist-sharp-docs-0.8.0.tar.gz 62294 SHA256 b0bccf187131ed226d040af02b0f1eae96cdb158358b5c348c21c73e5d2d0db3 SHA512 4d67a5b173338b8d10a96f53ead3bd310a21464d0b5e9f3afd7f44f46e86d3580bc6c84f1cd4722c4794c8ddc5efa4d5647da25978e55969e5b0b4004d80e10f WHIRLPOOL 765f28d12c86419486e5b1fc1cab958726c82641ab335abf6c5cf23979890dcdea378ed91f4cce331d3447a4feec2e7e6327f2c3e4292f7176490693f53e62f7 diff --git a/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-automake-1.12.patch b/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-automake-1.12.patch new file mode 100644 index 000000000000..b451be8464b7 --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-automake-1.12.patch @@ -0,0 +1,28 @@ +Description: Use a custom target, programfilesdir, to install to pkglibdir. + Automake 1.11.2 changed behaviour here, breaking the build. +Author: Iain Lane <laney@debian.org> +Forwarded: no + +Index: b/Makefile.am +=================================================================== +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,3 +1,3 @@ + EXTRA_DIST = expansions.m4 + SUBDIRS = Zeitgeist +-EXTRA_DIST = LICENSE MAINTAINERS NEWS ++EXTRA_DIST += LICENSE MAINTAINERS NEWS +Index: b/Zeitgeist/Makefile.am +=================================================================== +--- a/Zeitgeist/Makefile.am ++++ b/Zeitgeist/Makefile.am +@@ -13,7 +13,8 @@ + ZS_GACUTIL_UNINSTALL = $(GACUTIL) -u $(ZS_ASSEMBLY_NAME) $(GACUTIL_FLAGS) + + # magic automake variables +-pkglib_DATA = \ ++programfilesdir = $(pkglibdir) ++programfiles_DATA = \ + $(ZS_ASSEMBLY_TARGET) $(ZS_ASSEMBLY_TARGET).mdb + + EXTRA_DIST = \ diff --git a/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-fix-tools-version.patch b/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-fix-tools-version.patch new file mode 100644 index 000000000000..825b16b2d3b5 --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-fix-tools-version.patch @@ -0,0 +1,10 @@ +diff -ur a/Zeitgeist/Zeitgeist.csproj b/Zeitgeist/Zeitgeist.csproj +--- a/Zeitgeist/Zeitgeist.csproj 2011-05-09 16:24:12.000000000 -0500 ++++ b/Zeitgeist/Zeitgeist.csproj 2015-02-25 11:13:13.360309437 -0600 +@@ -1,5 +1,5 @@ + <?xml version="1.0" encoding="utf-8"?> +-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> ++<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> diff --git a/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-zg-0.9.patch b/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-zg-0.9.patch new file mode 100644 index 000000000000..97639b26a126 --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/files/zeitgeist-sharp-0.8.0.0-zg-0.9.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac
+index acf4cfd..11ed653 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -45,7 +45,7 @@ PKG_CHECK_MODULES([DBUS_SHARP_10], [dbus-sharp-1.0])
+ PKG_CHECK_MODULES([DBUS_SHARP_GLIB_10], [dbus-sharp-glib-1.0])
+ PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
+
+-PKG_CHECK_MODULES([ZEITGEIST_DAEMON], [zeitgeist-daemon >= 0.7.1])
++AC_CHECK_PROG([ZEITGEIST_DAEMON], [zeitgeist-daemon], yes, no)
+
+ AC_CONFIG_FILES([
+ Zeitgeist/zeitgeist-sharp.pc
\ No newline at end of file diff --git a/dev-dotnet/zeitgeist-sharp/metadata.xml b/dev-dotnet/zeitgeist-sharp/metadata.xml new file mode 100644 index 000000000000..f6cd94fa34c2 --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="launchpad">zeitgeist-sharp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-dotnet/zeitgeist-sharp/zeitgeist-sharp-0.8.0.0-r1.ebuild b/dev-dotnet/zeitgeist-sharp/zeitgeist-sharp-0.8.0.0-r1.ebuild new file mode 100644 index 000000000000..28943d7a11c6 --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/zeitgeist-sharp-0.8.0.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils mono versionator + +DIR_PV=$(get_version_component_range 1-2) +DIR_PV2=$(get_version_component_range 1-3) + +DESCRIPTION="Mono DBus API wrapper for Zeitgeist" +HOMEPAGE="https://launchpad.net/zeitgeist-sharp/" +SRC_URI=" + http://launchpad.net/zeitgeist-sharp/${DIR_PV}/${DIR_PV2}/+download/${P}.tar.gz + doc? ( http://launchpad.net/zeitgeist-sharp/${DIR_PV}/${DIR_PV2}/+download/${PN}-docs-${DIR_PV2}.tar.gz )" + +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" +IUSE="doc" + +RDEPEND=" + dev-dotnet/dbus-sharp + dev-dotnet/dbus-sharp-glib + dev-dotnet/glib-sharp + dev-lang/mono + gnome-extra/zeitgeist" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PATCHES=( + "${FILESDIR}"/${P}-zg-0.9.patch + "${FILESDIR}"/${P}-automake-1.12.patch ) + +src_prepare() { + sed \ + -e "s:@expanded_libdir@:@libdir@:" \ + -i Zeitgeist/zeitgeist-sharp.pc.in || die + autotools-utils_src_prepare +} + +src_install() { + autotools-utils_src_install + use doc && dohtml -r "${WORKDIR}"/${PN}-docs/* +} diff --git a/dev-dotnet/zeitgeist-sharp/zeitgeist-sharp-0.8.0.0-r2.ebuild b/dev-dotnet/zeitgeist-sharp/zeitgeist-sharp-0.8.0.0-r2.ebuild new file mode 100644 index 000000000000..26b476448c3e --- /dev/null +++ b/dev-dotnet/zeitgeist-sharp/zeitgeist-sharp-0.8.0.0-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils mono-env versionator + +DIR_PV=$(get_version_component_range 1-2) +DIR_PV2=$(get_version_component_range 1-3) + +DESCRIPTION="Mono DBus API wrapper for Zeitgeist" +HOMEPAGE="https://launchpad.net/zeitgeist-sharp/" +SRC_URI=" + http://launchpad.net/zeitgeist-sharp/${DIR_PV}/${DIR_PV2}/+download/${P}.tar.gz + doc? ( http://launchpad.net/zeitgeist-sharp/${DIR_PV}/${DIR_PV2}/+download/${PN}-docs-${DIR_PV2}.tar.gz )" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" +IUSE="doc" + +RDEPEND=" + dev-dotnet/dbus-sharp + dev-dotnet/dbus-sharp-glib + dev-dotnet/glib-sharp + dev-lang/mono + gnome-extra/zeitgeist" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PATCHES=( + "${FILESDIR}"/${P}-zg-0.9.patch + "${FILESDIR}"/${P}-automake-1.12.patch + "${FILESDIR}"/${P}-fix-tools-version.patch +) + +src_prepare() { + sed \ + -e "s:@expanded_libdir@:@libdir@:" \ + -i Zeitgeist/zeitgeist-sharp.pc.in || die + autotools-utils_src_prepare +} + +src_install() { + use doc && HTML_DOCS=( "${WORKDIR}"/${PN}-docs/. ) + autotools-utils_src_install +} |