summaryrefslogtreecommitdiff
path: root/dev-dotnet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-dotnet
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/Manifest.gzbin4244 -> 3075 bytes
-rw-r--r--dev-dotnet/dbus-sharp-0.7.0-r212
-rw-r--r--dev-dotnet/dbus-sharp-0.8.112
-rw-r--r--dev-dotnet/dbus-sharp-glib-0.5.0-r112
-rw-r--r--dev-dotnet/dbus-sharp-glib-0.6.012
-rw-r--r--dev-dotnet/dbus-sharp-glib/Manifest5
-rw-r--r--dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild29
-rw-r--r--dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild29
-rw-r--r--dev-dotnet/dbus-sharp-glib/metadata.xml11
-rw-r--r--dev-dotnet/dbus-sharp/Manifest7
-rw-r--r--dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild31
-rw-r--r--dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild29
-rw-r--r--dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch28
-rw-r--r--dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch26
-rw-r--r--dev-dotnet/dbus-sharp/metadata.xml11
-rw-r--r--dev-dotnet/flickrnet-bin-2.2-r112
-rw-r--r--dev-dotnet/flickrnet-bin/Manifest4
-rw-r--r--dev-dotnet/flickrnet-bin/files/flickrnet.pc.in8
-rw-r--r--dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild40
-rw-r--r--dev-dotnet/flickrnet-bin/metadata.xml8
-rw-r--r--dev-dotnet/gio-sharp-0.3-r112
-rw-r--r--dev-dotnet/gio-sharp/Manifest3
-rw-r--r--dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild42
-rw-r--r--dev-dotnet/gio-sharp/metadata.xml11
-rw-r--r--dev-dotnet/gkeyfile-sharp-0.1-r112
-rw-r--r--dev-dotnet/gkeyfile-sharp/Manifest3
-rw-r--r--dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1-r1.ebuild35
-rw-r--r--dev-dotnet/gkeyfile-sharp/metadata.xml12
-rw-r--r--dev-dotnet/gnome-keyring-sharp-1.0.2-r212
-rw-r--r--dev-dotnet/gnome-keyring-sharp/Manifest4
-rw-r--r--dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.2-monodoc-dir.patch10
-rw-r--r--dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild44
-rw-r--r--dev-dotnet/gnome-keyring-sharp/metadata.xml11
-rw-r--r--dev-dotnet/gsf-sharp-0.8.112
-rw-r--r--dev-dotnet/gsf-sharp/Manifest3
-rw-r--r--dev-dotnet/gsf-sharp/gsf-sharp-0.8.1.ebuild25
-rw-r--r--dev-dotnet/gsf-sharp/metadata.xml8
-rw-r--r--dev-dotnet/gtk-sharp-2.12.2114
-rw-r--r--dev-dotnet/gtk-sharp/Manifest3
-rw-r--r--dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild59
-rw-r--r--dev-dotnet/gtk-sharp/metadata.xml8
-rw-r--r--dev-dotnet/ikvm-bin-7.1.4532.212
-rw-r--r--dev-dotnet/ikvm-bin/Manifest4
-rw-r--r--dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in9
-rw-r--r--dev-dotnet/ikvm-bin/ikvm-bin-7.1.4532.2.ebuild50
-rw-r--r--dev-dotnet/ikvm-bin/metadata.xml8
-rw-r--r--dev-dotnet/libgdiplus-2.10.9-r114
-rw-r--r--dev-dotnet/libgdiplus-2.10.9-r214
-rw-r--r--dev-dotnet/libgdiplus-2.10.9-r314
-rw-r--r--dev-dotnet/libgdiplus-4.2-r213
-rw-r--r--dev-dotnet/libgdiplus-4.2-r313
-rw-r--r--dev-dotnet/libgdiplus/Manifest12
-rw-r--r--dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch164
-rw-r--r--dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-freetype251.patch12
-rw-r--r--dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-giflib-quantizebuffer.patch296
-rw-r--r--dev-dotnet/libgdiplus/files/libgdiplus-2.10.9-gold.patch16
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild69
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-2.10.9-r2.ebuild70
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-2.10.9-r3.ebuild68
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-4.2-r2.ebuild50
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild50
-rw-r--r--dev-dotnet/libgdiplus/metadata.xml8
-rw-r--r--dev-dotnet/log4net-1.2.1112
-rw-r--r--dev-dotnet/log4net/Manifest5
-rw-r--r--dev-dotnet/log4net/files/log4net.pc.in-r18
-rw-r--r--dev-dotnet/log4net/log4net-1.2.11.ebuild44
-rw-r--r--dev-dotnet/log4net/metadata.xml8
-rw-r--r--dev-dotnet/metadata.xml40
-rw-r--r--dev-dotnet/mono-addins-0.6.213
-rw-r--r--dev-dotnet/mono-addins-1.0-r113
-rw-r--r--dev-dotnet/mono-addins/Manifest6
-rw-r--r--dev-dotnet/mono-addins/files/gmcs.patch15
-rw-r--r--dev-dotnet/mono-addins/metadata.xml11
-rw-r--r--dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild33
-rw-r--r--dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild51
-rw-r--r--dev-dotnet/monocalendar-0.7.212
-rw-r--r--dev-dotnet/monocalendar/Manifest3
-rw-r--r--dev-dotnet/monocalendar/metadata.xml11
-rw-r--r--dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild36
-rw-r--r--dev-dotnet/ndesk-dbus-0.6.1a12
-rw-r--r--dev-dotnet/ndesk-dbus-glib-0.4.112
-rw-r--r--dev-dotnet/ndesk-dbus-glib/Manifest3
-rw-r--r--dev-dotnet/ndesk-dbus-glib/metadata.xml8
-rw-r--r--dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild28
-rw-r--r--dev-dotnet/ndesk-dbus/Manifest3
-rw-r--r--dev-dotnet/ndesk-dbus/metadata.xml8
-rw-r--r--dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild28
-rw-r--r--dev-dotnet/notify-sharp-0.4.0_pre20090305-r113
-rw-r--r--dev-dotnet/notify-sharp/Manifest5
-rw-r--r--dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch28
-rw-r--r--dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20090305-dbus-sharp.patch60
-rw-r--r--dev-dotnet/notify-sharp/metadata.xml8
-rw-r--r--dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305-r1.ebuild36
-rw-r--r--dev-dotnet/pe-format-2.1.2-r112
-rw-r--r--dev-dotnet/pe-format-999910
-rw-r--r--dev-dotnet/pe-format/Manifest4
-rw-r--r--dev-dotnet/pe-format/metadata.xml20
-rw-r--r--dev-dotnet/pe-format/pe-format-2.1.2-r1.ebuild38
-rw-r--r--dev-dotnet/pe-format/pe-format-9999.ebuild54
99 files changed, 2035 insertions, 311 deletions
diff --git a/dev-dotnet/Manifest.gz b/dev-dotnet/Manifest.gz
index 33585bc334d5..99a5097203bc 100644
--- a/dev-dotnet/Manifest.gz
+++ b/dev-dotnet/Manifest.gz
Binary files differ
diff --git a/dev-dotnet/dbus-sharp-0.7.0-r2 b/dev-dotnet/dbus-sharp-0.7.0-r2
deleted file mode 100644
index e46e36f8beec..000000000000
--- a/dev-dotnet/dbus-sharp-0.7.0-r2
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=prepare setup
-DEPEND=dev-lang/mono sys-apps/dbus virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=D-Bus for .NET
-EAPI=5
-HOMEPAGE=https://github.com/mono/dbus-sharp
-KEYWORDS=amd64 ppc x86
-LICENSE=MIT
-RDEPEND=dev-lang/mono sys-apps/dbus
-SLOT=1.0
-SRC_URI=mirror://github/mono/dbus-sharp/dbus-sharp-0.7.0.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=0110194f2c3f4e974113a0b1008995cb
diff --git a/dev-dotnet/dbus-sharp-0.8.1 b/dev-dotnet/dbus-sharp-0.8.1
deleted file mode 100644
index 9980fd71458f..000000000000
--- a/dev-dotnet/dbus-sharp-0.8.1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=prepare setup
-DEPEND=dev-lang/mono sys-apps/dbus virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=D-Bus for .NET
-EAPI=5
-HOMEPAGE=https://github.com/mono/dbus-sharp
-KEYWORDS=amd64 ~ppc x86
-LICENSE=MIT
-RDEPEND=dev-lang/mono sys-apps/dbus
-SLOT=2.0
-SRC_URI=https://github.com/mono/dbus-sharp/releases/download/v0.8.1/dbus-sharp-0.8.1.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=912a241fe22a41d07f66de7e6132b6cd
diff --git a/dev-dotnet/dbus-sharp-glib-0.5.0-r1 b/dev-dotnet/dbus-sharp-glib-0.5.0-r1
deleted file mode 100644
index 9ca413602d18..000000000000
--- a/dev-dotnet/dbus-sharp-glib-0.5.0-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=prepare setup
-DEPEND=dev-lang/mono >=dev-dotnet/dbus-sharp-0.7:1.0 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=D-Bus for .NET: GLib integration module
-EAPI=5
-HOMEPAGE=https://github.com/mono/dbus-sharp
-KEYWORDS=amd64 ppc x86
-LICENSE=MIT
-RDEPEND=dev-lang/mono >=dev-dotnet/dbus-sharp-0.7:1.0
-SLOT=1.0
-SRC_URI=mirror://github/mono/dbus-sharp/dbus-sharp-glib-0.5.0.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 libtool 0081a71a261724730ec4c248494f044d mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
-_md5_=acdef3744aefe82f1139c0e87d366bf8
diff --git a/dev-dotnet/dbus-sharp-glib-0.6.0 b/dev-dotnet/dbus-sharp-glib-0.6.0
deleted file mode 100644
index dd4916bdb718..000000000000
--- a/dev-dotnet/dbus-sharp-glib-0.6.0
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=prepare setup
-DEPEND=dev-lang/mono >=dev-dotnet/dbus-sharp-0.8:2.0 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=D-Bus for .NET: GLib integration module
-EAPI=5
-HOMEPAGE=https://github.com/mono/dbus-sharp
-KEYWORDS=amd64 ~ppc x86
-LICENSE=MIT
-RDEPEND=dev-lang/mono >=dev-dotnet/dbus-sharp-0.8:2.0
-SLOT=2.0
-SRC_URI=https://github.com/mono/dbus-sharp-glib/releases/download/v0.6/dbus-sharp-glib-0.6.0.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 libtool 0081a71a261724730ec4c248494f044d mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
-_md5_=019d4081cea58df5da30ab2a9f52987d
diff --git a/dev-dotnet/dbus-sharp-glib/Manifest b/dev-dotnet/dbus-sharp-glib/Manifest
new file mode 100644
index 000000000000..717e1570c239
--- /dev/null
+++ b/dev-dotnet/dbus-sharp-glib/Manifest
@@ -0,0 +1,5 @@
+DIST dbus-sharp-glib-0.5.0.tar.gz 95405 BLAKE2B 75ecffd97ada361d422afdd1e0d4b29663f982e003e95eec670556b26d59515029a42e56bd4b373a3c0e255053370f81b0dbce45b5978b2fba5c176c53e3e27c SHA512 651a8d9b42342d6aca6b7963a089e8da609f0d2e9d6421f40fb9589204af63e790f1bc5dd7735bb751f84d3f0d888e2e2f174c23f79206f8858e0502cba95065
+DIST dbus-sharp-glib-0.6.0.tar.gz 73675 BLAKE2B 21227db46a3ec816f72b823cf6c8de018484ac3ba3657cb47e07924b8ab525bbc6106cdc3c825a4b3ac6c71e1a515927456912afb7331ae20d8e3696b89b738d SHA512 271edf10d149e152290cd0ac8ebaf6ed7a6f5d0f280d5514dbfbdb84f77d8339ba0e2c5fd53242cf00e13c7d2bfa3fbf426ca9038467b26b9a8396c6c9c1ed67
+EBUILD dbus-sharp-glib-0.5.0-r1.ebuild 590 BLAKE2B 41319cc6cb6c6a9a42fe1437c06919d5f3dfc7baea7108b95853acf09298b0aeed3097a5b5ce93ed937eb385a9815a22ee1dc31ccf1942e52383893b9a83ffb7 SHA512 7e043bbe59574bd480f9025d38b36216a445ab81289d51fc738d9dd46c58edff0e9ca4a4f9a52fae400e95ef06ae5af8d7c7871aae9ce8a75344577dd9dc57e3
+EBUILD dbus-sharp-glib-0.6.0.ebuild 617 BLAKE2B c400767327f44251a1238f68aa27e86e93985ae1599787e4e346ede7f09ba08683bc4bfcccdeae6ab7fbc7ecb041eb4dfa5d2720d1d36b23f95960d332ed5db6 SHA512 0538d7360e8b5389a68ee34de5a5f784c8aebfe99de25f57d8090729b8a681246a94e8a9fd2df760f792a2ae481e7a9ab08a49902c3789f9c723023d8b55975b
+MISC metadata.xml 345 BLAKE2B 747c326727e3d06431bd7aa90f6aad5c410be93966abbeb6c127f2680c619a641fa5abac47ab62a3082436f0d415c47a8e2718c78429d083bf411b8bd4903f11 SHA512 95f9d22cdd905aa129746117df1e9b17319e95e4b388dcc63758990c5ae6df6e1305974b63fd9917b5218eecc45db6e6ae0696141e8a39adc8c3e8360ca6448f
diff --git a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..86efac961545
--- /dev/null
+++ b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools mono-env
+
+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="1.0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="dev-lang/mono
+ >=dev-dotnet/dbus-sharp-0.7:1.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS="AUTHORS README"
+ mono-env_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e 's/gmcs/mcs/' configure.ac || die
+ eautoreconf
+}
diff --git a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild
new file mode 100644
index 000000000000..cbb092330a73
--- /dev/null
+++ b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools mono-env
+
+DESCRIPTION="D-Bus for .NET: GLib integration module"
+HOMEPAGE="https://github.com/mono/dbus-sharp"
+SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV%.*}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2.0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="dev-lang/mono
+ >=dev-dotnet/dbus-sharp-0.8:2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS="AUTHORS README"
+ mono-env_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e 's/gmcs/mcs/' configure.ac || die
+ eautoreconf
+}
diff --git a/dev-dotnet/dbus-sharp-glib/metadata.xml b/dev-dotnet/dbus-sharp-glib/metadata.xml
new file mode 100644
index 000000000000..a949fc66c226
--- /dev/null
+++ b/dev-dotnet/dbus-sharp-glib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</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..0bffcb07dceb
--- /dev/null
+++ b/dev-dotnet/dbus-sharp/Manifest
@@ -0,0 +1,7 @@
+AUX dbus-sharp-0.7.0-fix-signals.patch 1242 BLAKE2B c0931a34d1cea09479932e98967392afe279906ead2907cfedf7394f9932ad2108d7df30a0c5c45dffabc0362f60934f3baad70ae1ed11a6b217a61cb55909a5 SHA512 8d7e1d29a465f4f6749a65d279b4fd93cc4c08a0a8855b2933ffed47e72b6fee5bfbaebaca874a9b1b0da84336c3ea9230aa0b2a5af0c2794b93b6231f7bb7ab
+AUX dbus-sharp-0.7.0-fix-signals2.patch 978 BLAKE2B e347c20349c09578610d82312f70744432e59065b43b17ca7713588f9929560dc0e26b48d4e0c2be0f442011eda974272d64806094d3eac38dc25776dad76bb2 SHA512 e25337f5e7db06691401c9d4f6b4da5be226db56f821b139f514be181b30ac4eb44573972df08c31693018f94354e24f5eb7c35b7bc007652471a3981bc24e04
+DIST dbus-sharp-0.7.0.tar.gz 127651 BLAKE2B ab89cc44a77d7d7b8783da5bde5e278b01560ac54d5a10960c0b58afe38ebdb4d8ce1384d10b37750bb5d58c2a48c9572beba056d7480e463afe81de1d9a9b9f SHA512 76d9c83aae227476e40efee1e987a03a8b1da29def79657365906a8220d2cceabe433f4b4679a87dd74e77431382b6c2857ca5498b0671b679d5ddd566d0229d
+DIST dbus-sharp-0.8.1.tar.gz 148177 BLAKE2B ca522730e75a433cb4e6ba794eadaa8420fc6d9e067be66c818e326139bae2070a1962adc563f17bbfe56d53355c312410b333690224f62657d27922bdc39d68 SHA512 da5f6cb9fb653a2303eb99865100cc959b0b27d463dee744459666c3a5851f87e30fcb229da08505be45fcc28f4a44629e707073944b321556478f9c7b5c20d3
+EBUILD dbus-sharp-0.7.0-r2.ebuild 648 BLAKE2B 96e0bffb37d2600014ba1b30452efe5e308b863637aa62ec1b20eb90ea16e88d704de712368da727398902f565f2c48196f4508b3feb98530fe39a900411c198 SHA512 50cbd4706db4029019a11a23ebf9dfea8cbc8b21cae8678b165ac84e3754f74ea07f4d2fe0b2ec782a237c1c995e39192a37db894984a11f296ef327dcd7f8c8
+EBUILD dbus-sharp-0.8.1.ebuild 578 BLAKE2B f108e60e291cd910fab485f720b75f50011a5e561fe4cb1d377e4175802ff3cd9ae43eb2588c0b8e79b3e7ed817457d9fb8e9c1718d71671d2bf0db666fd9e2b SHA512 787afc50836fbe6acc6def378ba51619780d1e1c94b09a995e0dbd182f555a98715bd88c66d35e13bc9c493c9961a4d6a70130545ae6d2d3ebc344d98c515621
+MISC metadata.xml 345 BLAKE2B 747c326727e3d06431bd7aa90f6aad5c410be93966abbeb6c127f2680c619a641fa5abac47ab62a3082436f0d415c47a8e2718c78429d083bf411b8bd4903f11 SHA512 95f9d22cdd905aa129746117df1e9b17319e95e4b388dcc63758990c5ae6df6e1305974b63fd9917b5218eecc45db6e6ae0696141e8a39adc8c3e8360ca6448f
diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild
new file mode 100644
index 000000000000..9507e48260dc
--- /dev/null
+++ b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools mono-env 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="1.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"
+ sed -i -e 's/gmcs/mcs/' configure.ac || die
+ eautoreconf
+}
diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild
new file mode 100644
index 000000000000..627f525f470d
--- /dev/null
+++ b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools mono-env eutils
+
+DESCRIPTION="D-Bus for .NET"
+HOMEPAGE="https://github.com/mono/dbus-sharp"
+SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2.0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="dev-lang/mono
+ sys-apps/dbus"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS="AUTHORS README"
+ mono-env_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e 's/gmcs/mcs/' configure.ac || die
+ eautoreconf
+}
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..a949fc66c226
--- /dev/null
+++ b/dev-dotnet/dbus-sharp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mono/dbus-sharp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-dotnet/flickrnet-bin-2.2-r1 b/dev-dotnet/flickrnet-bin-2.2-r1
deleted file mode 100644
index 2c6b51336709..000000000000
--- a/dev-dotnet/flickrnet-bin-2.2-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile install
-DEPEND=>=dev-lang/mono-2.4 app-arch/unzip
-DESCRIPTION=A .Net Library for accessing the Flickr API - Binary version
-EAPI=2
-HOMEPAGE=http://www.codeplex.com/FlickrNet
-KEYWORDS=amd64 ppc x86
-LICENSE=LGPL-2.1
-RDEPEND=>=dev-lang/mono-2.4
-SLOT=0
-SRC_URI=mirror://gentoo/FlickrNet2.2.zip
-_eclasses_=mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
-_md5_=eb380a8e7a5c4554e901818b0c3f7d1b
diff --git a/dev-dotnet/flickrnet-bin/Manifest b/dev-dotnet/flickrnet-bin/Manifest
new file mode 100644
index 000000000000..d5366f6751f9
--- /dev/null
+++ b/dev-dotnet/flickrnet-bin/Manifest
@@ -0,0 +1,4 @@
+AUX flickrnet.pc.in 212 BLAKE2B eac5c29407464aeaeb5c64d31c693441344340f7a83ab179f7d0acb0e1ffcf5691853dcb5ec31406a938c44a0db5767d69aa10f2986756d2edf639b17562fffa SHA512 29a16c626cbd06f4095e98c02683cdbd33a94bad17b16866765ba76748489ea8582bd9e3cd7d2e3ca14c8f8868831690b534a3c05762f583632283bf57d73ba3
+DIST FlickrNet2.2.zip 243208 BLAKE2B 5d81045615301718bccd446705dea8a9a402ee15ee1d9eef978554b70e01d92b3981e825902f19f2d48193875896bd733a4ee298e38253a5d3f4ef43cfc238ff SHA512 a591867e5a58ea22f4f8932dee11346aa6c2a5ef653ae34bab69c60cf3fb3a0d1108424439c2b8788a557f7fee35915ad4a54c0a57f29e653daef90ee80c4a0d
+EBUILD flickrnet-bin-2.2-r1.ebuild 952 BLAKE2B 0c766493063566006a4135f8fe31c594db5da6c886b9484962c6cac6bd6dbd1d1eb91131a603a4ae78a60ddffda57880bf62a3fae6e5970554e9825534876b3b SHA512 02a83b3446d90433ff96ed36b663bdc824397528ffd9c52258e9fb11fda9091ed876d806bb3b4a7a388b6912f96369ad190118f71cff604a809bf69f3f4b9e1e
+MISC metadata.xml 261 BLAKE2B 2457c1f2cb4750b2cb0cceec6b1412f68b55824aafbc12ceb696c78a35f12fac3d36534e4167435f882d827cb727e989e777723fa00a993f5a3c907e6efcdda8 SHA512 1f7fe2d4f175541870f2ec159972962bacf0174d46365e8e779c24383127c448c284e2e06ef8ff807f7d3d7dbaa6e80b6b0e9b9921212157e7c5780dfce14994
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..4633af543d12
--- /dev/null
+++ b/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..b0f3b749671a
--- /dev/null
+++ b/dev-dotnet/flickrnet-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-dotnet/gio-sharp-0.3-r1 b/dev-dotnet/gio-sharp-0.3-r1
deleted file mode 100644
index 0a95da5480e2..000000000000
--- a/dev-dotnet/gio-sharp-0.3-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile prepare setup unpack
-DEPEND=|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12 ) || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-2.12 ) >=dev-libs/glib-2.22:2 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=GIO API C# binding
-EAPI=4
-HOMEPAGE=https://github.com/mono/gio-sharp
-KEYWORDS=amd64 x86
-LICENSE=MIT
-RDEPEND=|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12 ) || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-2.12 ) >=dev-libs/glib-2.22:2
-SLOT=0
-SRC_URI=https://github.com/mono/gio-sharp/tarball/0.3 -> gio-sharp-0.3.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 libtool 0081a71a261724730ec4c248494f044d mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
-_md5_=f28bafbebb457edb356288be2b7a49b4
diff --git a/dev-dotnet/gio-sharp/Manifest b/dev-dotnet/gio-sharp/Manifest
new file mode 100644
index 000000000000..c6c2c11d3fa4
--- /dev/null
+++ b/dev-dotnet/gio-sharp/Manifest
@@ -0,0 +1,3 @@
+DIST gio-sharp-0.3.tar.gz 89752 BLAKE2B 8c2ff7ec2fa1491d3fa4a3b8c8abe39dffe18f7f59a8866575cab298e84a5f5404467d02480e617d22214eb48bca0f70b7fb60b1a87aa91c36f970444edbcd8a SHA512 69a3e5db422403fa756a25818a7db5adcf6c1bef81b1f10ce5dc4bdb63ea1462c3a9ea4a4f987b0e30dc444499258c1aac279005d045c8709187bae7f095a66a
+EBUILD gio-sharp-0.3-r1.ebuild 877 BLAKE2B c79bda205e1290d8cfdfe0359ceb2459b617d465854e9243f9c29667652a6bb5c13661d673e07bc52923bbfa9d9716fcec4c749c1343e164d2cc71ee3db4bb89 SHA512 c24dca9e3206b7d10e1fd62211ebfc24b06e9bfa78e4a2ed94724534cfc02d34e17ce83e388e08f1c5e9ca2327e193ed932801aecf5bd412e6144cc2652355c2
+MISC metadata.xml 344 BLAKE2B 0c5d1368fd021a6a3f2b17fb3ed74599f35ce3537b7a387152b6fc79a3eb41543c10f502e1fd6a827910936b5241b7cba90adb319c848956f018fba67c15cf21 SHA512 38974d7a9152adb04c894a127919113983804802bb7a24f53528f8b2a542d9e15630b16bb55d344f4522d03566a03ef29997b8939ea4dd6f79b77b176a0a7c49
diff --git a/dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild b/dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild
new file mode 100644
index 000000000000..85ddc3568b0d
--- /dev/null
+++ b/dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools mono-env
+
+DESCRIPTION="GIO API C# binding"
+HOMEPAGE="https://github.com/mono/gio-sharp"
+SRC_URI="https://github.com/mono/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12 )
+ || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-2.12 )
+ >=dev-libs/glib-2.22:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS="AUTHORS NEWS README"
+ mono-env_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_prepare() {
+ sed -i -e 's/gmcs/mcs/' configure.ac.in || die
+ sed -i -e '/autoreconf/d' autogen-generic.sh || die
+ NOCONFIGURE=1 ./autogen-2.22.sh || die
+
+ eautoreconf
+}
+
+src_compile() {
+ emake -j1
+}
diff --git a/dev-dotnet/gio-sharp/metadata.xml b/dev-dotnet/gio-sharp/metadata.xml
new file mode 100644
index 000000000000..89d6dbfb280e
--- /dev/null
+++ b/dev-dotnet/gio-sharp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mono/gio-sharp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-dotnet/gkeyfile-sharp-0.1-r1 b/dev-dotnet/gkeyfile-sharp-0.1-r1
deleted file mode 100644
index f41832d84788..000000000000
--- a/dev-dotnet/gkeyfile-sharp-0.1-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=install prepare setup unpack
-DEPEND=|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12.9 ) || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-1.9 ) virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=C# binding for gkeyfile
-EAPI=5
-HOMEPAGE=https://launchpad.net/gkeyfile-sharp https://github.com/mono/gkeyfile-sharp
-KEYWORDS=amd64 x86
-LICENSE=LGPL-2.1
-RDEPEND=|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12.9 ) || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-1.9 )
-SLOT=0
-SRC_URI=https://github.com/mono/gkeyfile-sharp/tarball/GKEYFILE_SHARP_0_1 -> gkeyfile-sharp-0.1.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 libtool 0081a71a261724730ec4c248494f044d mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
-_md5_=4f0165a21f40d8031dfea7c3f24bb00e
diff --git a/dev-dotnet/gkeyfile-sharp/Manifest b/dev-dotnet/gkeyfile-sharp/Manifest
new file mode 100644
index 000000000000..c447d9631ae0
--- /dev/null
+++ b/dev-dotnet/gkeyfile-sharp/Manifest
@@ -0,0 +1,3 @@
+DIST gkeyfile-sharp-0.1.tar.gz 19862 BLAKE2B 7251560e6127b9a604da01ac72e76e6c5c8bdd46e9a13dad399f3f5ead2ed7ddb548ca733f45a7deaa5515ebec51ba8c96f7cfd4fead4dbbbb648479dcc5eee5 SHA512 056bf88b8e1e4032be5d082f4f9fcb1eb00df0294cec6edea8117539b5f5c29fddf41b26a43ff7fadc370d10f0e53add968dfa4bd7763f130e140f45b7c21e9d
+EBUILD gkeyfile-sharp-0.1-r1.ebuild 836 BLAKE2B 3758b96100cbd6fa19ea9ce490e31267d85d4356c052a1a345d234e7e3ce741f67d1717a32db10bc7369ebd97380cb9c4f0b8ca29e2c8ceb620fa375c9dc7da7 SHA512 c06fd6b26c0d95ad052d46e26d1635e60ae97b59956566f673156eafa2daf07a5f4e19632d2facfaea1696fa449608b93dfe32839c2c1cacd4c588fe67ce5459
+MISC metadata.xml 396 BLAKE2B 373e45064e09824264bb9320b3edaddd68d66e9eae4d49be0b918a912dfce672245f0f96fa524162b53f6c3fddaaee8e4b5753643e1d7d6ed5077814b66657e2 SHA512 05548fb40ec9c6e7703bed78b4f6dd8d3abb8f54546e771e8f257ab4beb7d399de55886f1f231e9956aff2b2c4392480b319bc49b9c2cf0c80e7b40fc9f974dc
diff --git a/dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1-r1.ebuild b/dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1-r1.ebuild
new file mode 100644
index 000000000000..b717b33326c8
--- /dev/null
+++ b/dev-dotnet/gkeyfile-sharp/gkeyfile-sharp-0.1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools mono-env
+
+DESCRIPTION="C# binding for gkeyfile"
+HOMEPAGE="https://launchpad.net/gkeyfile-sharp https://github.com/mono/gkeyfile-sharp"
+SRC_URI="https://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/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12.9 )
+ || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-1.9 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_prepare() {
+ mv configure.in configure.ac
+ sed -i -e 's/gmcs/mcs/' configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ 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..d2a445d28ca6
--- /dev/null
+++ b/dev-dotnet/gkeyfile-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>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <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/gnome-keyring-sharp-1.0.2-r2 b/dev-dotnet/gnome-keyring-sharp-1.0.2-r2
deleted file mode 100644
index ea3f8b969dbd..000000000000
--- a/dev-dotnet/gnome-keyring-sharp-1.0.2-r2
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile install prepare setup
-DEPEND=>=dev-lang/mono-2.0 >=gnome-base/libgnome-keyring-2.30.0 || ( >=dev-dotnet/gtk-sharp-2.12.21 dev-dotnet/glib-sharp ) virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=C# implementation of gnome-keyring
-EAPI=5
-HOMEPAGE=http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp
-KEYWORDS=amd64 ppc x86
-LICENSE=MIT
-RDEPEND=>=dev-lang/mono-2.0 >=gnome-base/libgnome-keyring-2.30.0 || ( >=dev-dotnet/gtk-sharp-2.12.21 dev-dotnet/glib-sharp )
-SLOT=0
-SRC_URI=http://www.go-mono.com/archive/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=696d6d195b1367c2016a9daadf6a9c11
diff --git a/dev-dotnet/gnome-keyring-sharp/Manifest b/dev-dotnet/gnome-keyring-sharp/Manifest
new file mode 100644
index 000000000000..4708137d4568
--- /dev/null
+++ b/dev-dotnet/gnome-keyring-sharp/Manifest
@@ -0,0 +1,4 @@
+AUX gnome-keyring-sharp-1.0.2-monodoc-dir.patch 523 BLAKE2B 8626e9e335c0455231b5649a422f03e7a1473d6b955c022eeb69a13bb74ff781bc8d298af111b7189b75a75de20de71e9ee7981ed381a0f3c0f1ffdbae0d572b SHA512 b2da2dd6be235c766d9b99355cbc0ae778f58249ce2417f1b7ccd78e6e59d3c1d300ae199b6d3ea4333f996d7ede652eaccab6e59fbf3e30cac728e5a2c282ca
+DIST gnome-keyring-sharp-1.0.2.tar.gz 308244 BLAKE2B e21c5fe16b728d0239ea2f008b87068af5400b86e8276a13282a2606639f954e363d5e43871a11a41d852c04dec51de3fc9b6c7425b8775b06c2e434d9277849 SHA512 aad2fc1515a9d94971326a626d5957772927af5472afdbb517192e57c3928f32705c284b9599f350384a0c5d9cd7665b46677d550efe8506e27b485e2c40dcf0
+EBUILD gnome-keyring-sharp-1.0.2-r2.ebuild 1046 BLAKE2B 2c426362ebe2e6b6d9f09349249e54dc1874124cf33e85b67d3f74c266286dcbc2ae859e31cd200cbc059d5df92c7408095e686e3367745a481e416d4cf5509f SHA512 f3540a7a53bb829ad32b4a605e01dd84c5c6f346b67bc4aa94296c94de7d03e574c777a7ac26c3b183a411fb3076b3df34bec0b21ace9f72ab60a2171f404ab1
+MISC metadata.xml 354 BLAKE2B b5b550fdc8a6e58c232d67c1391e0399cb02a06f9821bad06861bb5d9217cb96a32606d96b26ce8e72203e47052fc3fb5f2f7fd1066e3cb95f0d151d1bbcfd0b SHA512 41e98fb855d1246a7cbf0b6f0c98a4415b6baa787e6981fbe7f579d970912b61492289764e52d1959d248b70ed8367ff3be8198e051ca4e5d72d729865b82ae4
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-r2.ebuild b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild
new file mode 100644
index 000000000000..8791bdb9d6af
--- /dev/null
+++ b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/gtk-sharp-2.12.21 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 https://bugs.gentoo.org/show_bug.cgi?id=250069
+ # Changed to CSC=mcs for mono-4 compatibility
+ emake -j1 CSC=mcs
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+}
diff --git a/dev-dotnet/gnome-keyring-sharp/metadata.xml b/dev-dotnet/gnome-keyring-sharp/metadata.xml
new file mode 100644
index 000000000000..0911b58ff2b2
--- /dev/null
+++ b/dev-dotnet/gnome-keyring-sharp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mono/gnome-keyring-sharp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-dotnet/gsf-sharp-0.8.1 b/dev-dotnet/gsf-sharp-0.8.1
deleted file mode 100644
index 13fc21111d7c..000000000000
--- a/dev-dotnet/gsf-sharp-0.8.1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=install
-DEPEND=dev-lang/mono >=gnome-extra/libgsf-1.14.1 >=dev-dotnet/gtk-sharp-2.4.0 virtual/pkgconfig
-DESCRIPTION=C# bindings for libgsf
-EAPI=0
-HOMEPAGE=http://www.mono-project.com/
-KEYWORDS=amd64 ppc x86
-LICENSE=LGPL-2
-RDEPEND=dev-lang/mono >=gnome-extra/libgsf-1.14.1 >=dev-dotnet/gtk-sharp-2.4.0
-SLOT=0
-SRC_URI=mirror://gentoo/gsf-sharp-0.8.1.tar.gz
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=24f44ac4153e789203b26fa4431cd9ff
diff --git a/dev-dotnet/gsf-sharp/Manifest b/dev-dotnet/gsf-sharp/Manifest
new file mode 100644
index 000000000000..11dc86918be1
--- /dev/null
+++ b/dev-dotnet/gsf-sharp/Manifest
@@ -0,0 +1,3 @@
+DIST gsf-sharp-0.8.1.tar.gz 323991 BLAKE2B 8e0c13d8a799934f370a9f8f42389c52c4e8732f497309c18b57565c8aceb5ccde122424435167092843228b4f08ae5898350d7f633ced6c9a241046ecb72f23 SHA512 f4d3ef638049414becb051d5e0115a9d09585ff89b733b11b5fe087d45c0e97479433c4047b39faea269fcc40373afed66f341e46da36ca20b2d3f9d45ebbc37
+EBUILD gsf-sharp-0.8.1.ebuild 519 BLAKE2B f7292cabc287ccba6449acdab149df4af7dc65eaf4bf79d35bbfb4177a27e92fd73fe21e6f628ace575d37a5ae37d97740c6deeafac3e013bb48a6cf2a7b43fc SHA512 ade802de6a6600344fc92e40b52cc17b1389571b4af60109129c6c2c8ee6a843fbd7b65ed8a558c9c8df71b0d96cf5d7e113942cf7f5ed2d63cd930698540871
+MISC metadata.xml 255 BLAKE2B 495c21dcece437a54ddf2ba6c003601ac84e8ff4f4dd814be0cdae9bb3b6d81ce49f3b00f47ad9ca73f1c9a8b11ed9addaa3c5b8352857813e76d994d020292f SHA512 2ad078558aba9045a782316fc558ea3c6edf579a77a87c0096e3a85ac78a73904a5ceb48cec15ed30fafacc79a66fcf6836acac43d311d1840ccdd62fc2a6896
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..8a103c012541
--- /dev/null
+++ b/dev-dotnet/gsf-sharp/gsf-sharp-0.8.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+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..1e9986c4a0cb
--- /dev/null
+++ b/dev-dotnet/gsf-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>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-dotnet/gtk-sharp-2.12.21 b/dev-dotnet/gtk-sharp-2.12.21
deleted file mode 100644
index d25f728bd473..000000000000
--- a/dev-dotnet/gtk-sharp-2.12.21
+++ /dev/null
@@ -1,14 +0,0 @@
-DEFINED_PHASES=compile configure install prepare setup unpack
-DEPEND=>=dev-lang/mono-3.0 x11-libs/pango >=dev-libs/glib-2.31 dev-libs/atk x11-libs/gtk+:2 gnome-base/libglade dev-perl/XML-LibXML !dev-dotnet/gtk-sharp-gapi !dev-dotnet/gtk-sharp-docs !dev-dotnet/gtk-dotnet-sharp !dev-dotnet/gdk-sharp !dev-dotnet/glib-sharp !dev-dotnet/glade-sharp !dev-dotnet/pango-sharp !dev-dotnet/atk-sharp virtual/pkgconfig sys-devel/automake:1.11 dev-lang/mono >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=gtk bindings for mono
-EAPI=5
-HOMEPAGE=http://www.mono-project.com/GtkSharp
-IUSE=debug
-KEYWORDS=amd64 ~arm64 ppc x86
-LICENSE=GPL-2
-RDEPEND=>=dev-lang/mono-3.0 x11-libs/pango >=dev-libs/glib-2.31 dev-libs/atk x11-libs/gtk+:2 gnome-base/libglade dev-perl/XML-LibXML !dev-dotnet/gtk-sharp-gapi !dev-dotnet/gtk-sharp-docs !dev-dotnet/gtk-dotnet-sharp !dev-dotnet/gdk-sharp !dev-dotnet/glib-sharp !dev-dotnet/glade-sharp !dev-dotnet/pango-sharp !dev-dotnet/atk-sharp
-RESTRICT=test
-SLOT=2
-SRC_URI=http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.21.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 dotnet 1305f3fcce9fb96d24ddc4898e144081 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
-_md5_=90ff091819d384a9618983b49f18de80
diff --git a/dev-dotnet/gtk-sharp/Manifest b/dev-dotnet/gtk-sharp/Manifest
new file mode 100644
index 000000000000..7e1eff7e5e9c
--- /dev/null
+++ b/dev-dotnet/gtk-sharp/Manifest
@@ -0,0 +1,3 @@
+DIST gtk-sharp-2.12.21.tar.gz 2498480 BLAKE2B b5471f18e0ed49e12d56d1ed8f086e68003cfd0cd2ee2b51b5c343ad94af69601daee8b357a661b1012c0c7449e5b401ef074526ad7c772a17d15305dbbe46aa SHA512 f7f575ec42e1a6d3bdbd9493b06d083d10687b6f5b41eebe1f1e03087c0e3cce79948aa19e9dd88972b023837d48bd02afee719a28b7015a78dccb96f2fee307
+EBUILD gtk-sharp-2.12.21.ebuild 1137 BLAKE2B 9283dcc9fd008893e9919de24ecfa3952439d0eba2cabf93e58fe078e418da85ef49f61a94bc7b1c08a502e0679d66bfca6eadd22be70fdab0e5830cc53ac18e SHA512 2f3569ba695c1daa3e467dbe505f45064dafb94d7dc428f50ab765ec65252c9a211698e523602db98d0e5c3554891ad4ef5c5f9f57269dd5e9e6be3f98fe0263
+MISC metadata.xml 255 BLAKE2B 495c21dcece437a54ddf2ba6c003601ac84e8ff4f4dd814be0cdae9bb3b6d81ce49f3b00f47ad9ca73f1c9a8b11ed9addaa3c5b8352857813e76d994d020292f SHA512 2ad078558aba9045a782316fc558ea3c6edf579a77a87c0096e3a85ac78a73904a5ceb48cec15ed30fafacc79a66fcf6836acac43d311d1840ccdd62fc2a6896
diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild
new file mode 100644
index 000000000000..ad58a1e100df
--- /dev/null
+++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit dotnet autotools base
+
+SLOT="2"
+DESCRIPTION="gtk bindings for mono"
+LICENSE="GPL-2"
+HOMEPAGE="http://www.mono-project.com/GtkSharp"
+KEYWORDS="amd64 ~arm64 ppc x86"
+SRC_URI="http://download.mono-project.com/sources/gtk-sharp212/${P}.tar.gz"
+IUSE="debug"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-lang/mono-3.0
+ x11-libs/pango
+ >=dev-libs/glib-2.31
+ dev-libs/atk
+ x11-libs/gtk+:2
+ gnome-base/libglade
+ dev-perl/XML-LibXML
+ !dev-dotnet/gtk-sharp-gapi
+ !dev-dotnet/gtk-sharp-docs
+ !dev-dotnet/gtk-dotnet-sharp
+ !dev-dotnet/gdk-sharp
+ !dev-dotnet/glib-sharp
+ !dev-dotnet/glade-sharp
+ !dev-dotnet/pango-sharp
+ !dev-dotnet/atk-sharp"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/automake:1.11"
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+ libtoolize
+}
+
+src_configure() {
+ econf --disable-static \
+ --disable-dependency-tracking \
+ --disable-maintainer-mode \
+ $(use_enable debug)
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ default
+ dotnet_multilib_comply
+ sed -i "s/\\r//g" "${D}"/usr/bin/* || die "sed failed"
+}
diff --git a/dev-dotnet/gtk-sharp/metadata.xml b/dev-dotnet/gtk-sharp/metadata.xml
new file mode 100644
index 000000000000..1e9986c4a0cb
--- /dev/null
+++ b/dev-dotnet/gtk-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>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-dotnet/ikvm-bin-7.1.4532.2 b/dev-dotnet/ikvm-bin-7.1.4532.2
deleted file mode 100644
index 0d427039d5ed..000000000000
--- a/dev-dotnet/ikvm-bin-7.1.4532.2
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=install
-DEPEND=>=dev-lang/mono-1.1 !dev-dotnet/ikvm app-arch/unzip
-DESCRIPTION=Java VM for .NET
-EAPI=4
-HOMEPAGE=http://www.ikvm.net/ http://weblog.ikvm.net/
-KEYWORDS=amd64 x86
-LICENSE=ZLIB GPL-2-with-linking-exception
-RDEPEND=>=dev-lang/mono-1.1 !dev-dotnet/ikvm app-arch/unzip
-SLOT=0
-SRC_URI=http://www.frijters.net/ikvmbin-7.1.4532.2.zip
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=f3045e990203a0aa654e670ba6e169fd
diff --git a/dev-dotnet/ikvm-bin/Manifest b/dev-dotnet/ikvm-bin/Manifest
new file mode 100644
index 000000000000..19848df79fce
--- /dev/null
+++ b/dev-dotnet/ikvm-bin/Manifest
@@ -0,0 +1,4 @@
+AUX ikvm-0.36.0.5.pc.in 307 BLAKE2B be67c00f2cef5484c2a1bc44b8519e4a59a3b70afd587973f3dee762242976b5305fb83e8e7f4152c106b3ec39ed9b5a515b83748be5d0f17b338c67de59f611 SHA512 c4fa63f254e15722af1ba31b7e819efc4b17dbd5e7e452184de70cb0471d16eb2ad99e8c633bccf38836d4e82ed2a30fb04bd88072269e8345cd3d8b911de2e8
+DIST ikvmbin-7.1.4532.2.zip 16391340 BLAKE2B c318f2e09d11efacb2e3591df998912a8ce1159ccadc22f1457bf13077367908fb7104b9d49cc0b42516e59e01a07e8ad033720034b2b5fac197d6e9c675f896 SHA512 a447473741541e13b6723feef7f474a01670d885ffbfd68269b121cfb39658ca0189f30e055b811f7c72e320b7a28e115b2b858679c43b55b86f00a1429ecdae
+EBUILD ikvm-bin-7.1.4532.2.ebuild 1189 BLAKE2B 5e78f9af0604340109bb992830a8735d7250f0c5280242d93c4c632a9722002b3a143db98e126157c2cfd5489fc1113bb41ac1d4faa531624fe5b99cd8b048b7 SHA512 16469a5b409589d71593efa5398ac1e34c4d235efe42dc9baafa5d38e46680794a486674e9e19e585e43396d3ef3f27008344a7558514ad987336c6d47ba5e6e
+MISC metadata.xml 255 BLAKE2B 495c21dcece437a54ddf2ba6c003601ac84e8ff4f4dd814be0cdae9bb3b6d81ce49f3b00f47ad9ca73f1c9a8b11ed9addaa3c5b8352857813e76d994d020292f SHA512 2ad078558aba9045a782316fc558ea3c6edf579a77a87c0096e3a85ac78a73904a5ceb48cec15ed30fafacc79a66fcf6836acac43d311d1840ccdd62fc2a6896
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-7.1.4532.2.ebuild b/dev-dotnet/ikvm-bin/ikvm-bin-7.1.4532.2.ebuild
new file mode 100644
index 000000000000..c902020f633c
--- /dev/null
+++ b/dev-dotnet/ikvm-bin/ikvm-bin-7.1.4532.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..1e9986c4a0cb
--- /dev/null
+++ b/dev-dotnet/ikvm-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-dotnet/libgdiplus-2.10.9-r1 b/dev-dotnet/libgdiplus-2.10.9-r1
deleted file mode 100644
index d0fad6ea8498..000000000000
--- a/dev-dotnet/libgdiplus-2.10.9-r1
+++ /dev/null
@@ -1,14 +0,0 @@
-DEFINED_PHASES=compile configure install prepare unpack
-DEPEND=>=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 )
-DESCRIPTION=Library for using System.Drawing with mono
-EAPI=5
-HOMEPAGE=http://www.mono-project.com
-IUSE=cairo
-KEYWORDS=amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris
-LICENSE=MIT
-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 )
-RESTRICT=test
-SLOT=0
-SRC_URI=http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2
-_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=d526e0d0f23916b1d376459cbac9d519
diff --git a/dev-dotnet/libgdiplus-2.10.9-r2 b/dev-dotnet/libgdiplus-2.10.9-r2
deleted file mode 100644
index 3bae7e913589..000000000000
--- a/dev-dotnet/libgdiplus-2.10.9-r2
+++ /dev/null
@@ -1,14 +0,0 @@
-DEFINED_PHASES=compile configure install prepare unpack
-DEPEND=>=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 )
-DESCRIPTION=Library for using System.Drawing with mono
-EAPI=5
-HOMEPAGE=http://www.mono-project.com
-IUSE=cairo
-KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris
-LICENSE=MIT
-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 )
-RESTRICT=test
-SLOT=0
-SRC_URI=http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2
-_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=8370b80a23de90bde8f73cdf3b9efb66
diff --git a/dev-dotnet/libgdiplus-2.10.9-r3 b/dev-dotnet/libgdiplus-2.10.9-r3
deleted file mode 100644
index f72c8ac04658..000000000000
--- a/dev-dotnet/libgdiplus-2.10.9-r3
+++ /dev/null
@@ -1,14 +0,0 @@
-DEFINED_PHASES=compile configure install prepare setup
-DEPEND=>=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 ) dev-lang/mono
-DESCRIPTION=Library for using System.Drawing with mono
-EAPI=6
-HOMEPAGE=http://www.mono-project.com
-IUSE=cairo
-KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris
-LICENSE=MIT
-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 )
-RESTRICT=test
-SLOT=0
-SRC_URI=http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 dotnet 1305f3fcce9fb96d24ddc4898e144081 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
-_md5_=92ecb5434d3d790f4085cd21d3c016fd
diff --git a/dev-dotnet/libgdiplus-4.2-r2 b/dev-dotnet/libgdiplus-4.2-r2
deleted file mode 100644
index 7b2b8396e696..000000000000
--- a/dev-dotnet/libgdiplus-4.2-r2
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=configure install setup
-DEPEND=>=dev-libs/glib-2.2.3:2 >=media-libs/freetype-2.3.7:2 >=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-5.1.2:= virtual/jpeg:0 media-libs/tiff:0 !cairo? ( >=x11-libs/pango-1.20 ) dev-lang/mono
-DESCRIPTION=Library for using System.Drawing with mono
-EAPI=6
-HOMEPAGE=http://www.mono-project.com
-IUSE=cairo
-KEYWORDS=amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris
-LICENSE=MIT
-RDEPEND=>=dev-libs/glib-2.2.3:2 >=media-libs/freetype-2.3.7:2 >=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-5.1.2:= virtual/jpeg:0 media-libs/tiff:0 !cairo? ( >=x11-libs/pango-1.20 )
-SLOT=0
-SRC_URI=http://download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 dotnet 1305f3fcce9fb96d24ddc4898e144081 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
-_md5_=1488276eccf83852b9e5f107dc58215a
diff --git a/dev-dotnet/libgdiplus-4.2-r3 b/dev-dotnet/libgdiplus-4.2-r3
deleted file mode 100644
index f15bf7aeedd9..000000000000
--- a/dev-dotnet/libgdiplus-4.2-r3
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=configure install
-DEPEND=>=dev-libs/glib-2.2.3: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-5.1.2 virtual/jpeg:0 media-libs/tiff:0 !cairo? ( >=x11-libs/pango-1.20 )
-DESCRIPTION=Library for using System.Drawing with mono
-EAPI=6
-HOMEPAGE=http://www.mono-project.com
-IUSE=cairo
-KEYWORDS=amd64 ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris
-LICENSE=MIT
-RDEPEND=>=dev-libs/glib-2.2.3: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-5.1.2 virtual/jpeg:0 media-libs/tiff:0 !cairo? ( >=x11-libs/pango-1.20 )
-SLOT=0
-SRC_URI=http://download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=84c1bf57c8a2a7b5d7a7cdb541c81353
diff --git a/dev-dotnet/libgdiplus/Manifest b/dev-dotnet/libgdiplus/Manifest
new file mode 100644
index 000000000000..279d415bc287
--- /dev/null
+++ b/dev-dotnet/libgdiplus/Manifest
@@ -0,0 +1,12 @@
+AUX libgdiplus-2.10.1-libpng15.patch 5491 BLAKE2B 3b0a6f05957dd01e6ebb86d782ec2fc85d5731d5d6f8a4e46403584551c9ae1e0684b1dcae845b0d1e5da50d27837f6fd2491e9928f7a9564a0c2be5737823c7 SHA512 292e8f83cd5a10c99a543a0fe85a9b2770e29627f60afd7e6ab7824b135870d9bfb20c8919ec9104110e645a039f69e7378d9295c330423a2725bb8840ceeffd
+AUX libgdiplus-2.10.9-freetype251.patch 295 BLAKE2B af03eb04b32f679913212c819f87c6e8e6a7227f751594d750ae18964db1285cc6edd303f281412800b73fd9de032c31236bf87aba4169a4397e47c57c07a212 SHA512 8b7dd826770f3ab0f6b58f8265f46b8d51c64abb2be7e10e105f3515283eedb3bc087ceb20f47c310f076bc1d81ce89c19d30e8a9daef8941a7d0333abd25f26
+AUX libgdiplus-2.10.9-giflib-quantizebuffer.patch 12869 BLAKE2B f0ffb4f31cc54cd9aad10a6923f7e57349955c991e838dd49f9a304dd7e04e85b2cbd6767aad8300206d751ff6911196cdbc4be6bccc75bf93a7067a76a18cbb SHA512 3ad5ebd2bf9ef980dd273df9b036284d2217cee9ba09dbb6fa9d5b54da132eab0460597a63c53947d7d3f16b1079284413139937cc58b4694b102d1061e776c9
+AUX libgdiplus-2.10.9-gold.patch 443 BLAKE2B 9d4cefaae631a2db9bde84d2ff7cc619ec5af97349afd5226abccb11bd6c1cb86b265670dc57b4029fde2d480236752c53f7021e505153f4551503d9fc8ff9e9 SHA512 93434d106d165cf167332ac6b0fe800eecd39f752ade2c38817ac13bfd69170d3df7e504f2dc0099ef62adc1c05790925fc99e0613bd519bee2df7dec8984912
+DIST libgdiplus-2.10.9.tar.bz2 2074317 BLAKE2B ddbdc22d61734e9141f7d05b45867b1c0ac89903a74d23a3b05d247913aaac5350a603a5d7acb85338b2e9877b077c3c4b43839b33b2f6507b76035124cb43b4 SHA512 7f1944795c7ede5fd92a6d7e8d7d6cf2ef3c154e656b83e769b417f8f7195dd975084afe3c3cd1dda1ecb2c1167f76c0b5714cd16d549ff056add09763c6b26c
+DIST libgdiplus-4.2.tar.gz 687398 BLAKE2B e9b5912cb63de9692861b09ceeb5ad55fa6999960fddbbe55382f957591e68bede91550c2d49ed4bc78d118288ca6b35a2b2ab69f87f9fcc289b7fe2b1853b7a SHA512 102d1e07a106fa32640a20c4843bf82b3f628c5b7a3813d39c7712f2cd09d80dc5adb337a8d5bdbae065f876a0c433a5d8fcb7d761dff5ee08c48cac2cd2344e
+EBUILD libgdiplus-2.10.9-r1.ebuild 1523 BLAKE2B 847c523bde5b3abd495e4c76082d280efa16f209a881f07d3fe7532878786a361ab5f2fc7be625f8727dcefd0ba77f3bf1a8854ea0b7a1a8e15e9737716369b9 SHA512 a9dbc3ef37a1afafeffd9c9d281b875cee2eee7fcf5c85d9fd10dff1c27f4f5e2d5057f9f38e39bd33291a1dd3dbfb1feb6563b4f67e17139773e57f8a94446e
+EBUILD libgdiplus-2.10.9-r2.ebuild 1583 BLAKE2B 32d47adb2856d6c7b8e753dbe4007b4d33603006ba82812c4d9e94cff330f26a90f553dfac494efdee917ae02d80d31219a349d9fc9b7c6adad5e3575d9dfc8a SHA512 5b25404630bfc2c784bec27774753fcfbc1929eca72cf18b6009a464bb869fd072f0cf1c97edafa7b121cff1e011276d9923d48ec594db49fce8ad6203c54166
+EBUILD libgdiplus-2.10.9-r3.ebuild 1528 BLAKE2B 27e5d30b24b4f95f7cabaf03e84cd4bae4bc36f94ef6f2adc70524cceac7010fa836fd637de9adf70b816ff39d3f12dfcb9fe692be99b743373f3b0b67e8d0b0 SHA512 0850083e0c58534b631ef1907d32bc6262e5d148382b05749dd0369d7e6b44353a1bdd3fb5ac16c5f7b03e5dbc4e26f6ff7868337da5e0305ba517e784a17ec1
+EBUILD libgdiplus-4.2-r2.ebuild 1132 BLAKE2B 4336653b18726b170b65ddef6d838379dd2295bbda68a37271a63a8ce4d9e0d67c46fd740822d7c923489e772d1393e44fe6eb87bdf36808c16c438397d0cc5f SHA512 ffc9919aae1e9147405efb36f7148e0d82b744dab6572d24d7de7c58047ce352751b35a79e23a6323e67e2a68b8647d33ff670f98f3d375822a363ee0c1657cc
+EBUILD libgdiplus-4.2-r3.ebuild 1125 BLAKE2B 4f70257e8ba0e5f344b1d08609e134b2bfa2d555b3e684eacde35d2a421168b34dd34b8422bda05ed7d44086a56d5a8e07c9f09cab532bd8d23329892c64cd8e SHA512 7ab12be48cd06814507ec263f9703b284b4a1bcb78b9751c941914310f23deefd639cd3f920de6a5c1a01808402b0fd235ac8ce3d8a1c5c2d5cee5ffa0bdffda
+MISC metadata.xml 255 BLAKE2B 495c21dcece437a54ddf2ba6c003601ac84e8ff4f4dd814be0cdae9bb3b6d81ce49f3b00f47ad9ca73f1c9a8b11ed9addaa3c5b8352857813e76d994d020292f SHA512 2ad078558aba9045a782316fc558ea3c6edf579a77a87c0096e3a85ac78a73904a5ceb48cec15ed30fafacc79a66fcf6836acac43d311d1840ccdd62fc2a6896
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..0855565ff626
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-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..795c7bdb517c
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-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-r3.ebuild b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r3.ebuild
new file mode 100644
index 000000000000..2e71897c3048
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils dotnet flag-o-matic
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~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")
+
+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
+ dotnet_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-4.2-r2.ebuild b/dev-dotnet/libgdiplus/libgdiplus-4.2-r2.ebuild
new file mode 100644
index 000000000000..61cc4064fe54
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-4.2-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils dotnet
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz"
+
+IUSE="cairo"
+
+RDEPEND=">=dev-libs/glib-2.2.3:2
+ >=media-libs/freetype-2.3.7:2
+ >=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-5.1.2:=
+ virtual/jpeg:0
+ media-libs/tiff:0
+ !cairo? ( >=x11-libs/pango-1.20 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-static \
+ $(usex cairo "" "--with-pango")
+}
+
+src_install () {
+ default
+
+ dotnet_multilib_comply
+ local commondoc=( AUTHORS ChangeLog README TODO )
+ for docfile in "${commondoc[@]}"; do
+ [[ -e "${docfile}" ]] && dodoc "${docfile}"
+ done
+ [[ "${DOCS[@]}" ]] && dodoc "${DOCS[@]}"
+ prune_libtool_files
+}
diff --git a/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild b/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild
new file mode 100644
index 000000000000..644527fcf0ed
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz"
+
+IUSE="cairo"
+
+RDEPEND=">=dev-libs/glib-2.2.3: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-5.1.2
+ virtual/jpeg:0
+ media-libs/tiff:0
+ !cairo? ( >=x11-libs/pango-1.20 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-static \
+ $(usex cairo "" "--with-pango")
+}
+
+src_install () {
+ default
+
+ dotnet_multilib_comply
+ local commondoc=( AUTHORS ChangeLog README TODO )
+ for docfile in "${commondoc[@]}"; do
+ [[ -e "${docfile}" ]] && dodoc "${docfile}"
+ done
+ [[ "${DOCS[@]}" ]] && dodoc "${DOCS[@]}"
+ prune_libtool_files
+}
diff --git a/dev-dotnet/libgdiplus/metadata.xml b/dev-dotnet/libgdiplus/metadata.xml
new file mode 100644
index 000000000000..1e9986c4a0cb
--- /dev/null
+++ b/dev-dotnet/libgdiplus/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-dotnet/log4net-1.2.11 b/dev-dotnet/log4net-1.2.11
deleted file mode 100644
index e525d3bcadf6..000000000000
--- a/dev-dotnet/log4net-1.2.11
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile install
-DEPEND=>=dev-lang/mono-2.0
-DESCRIPTION=tool to help the programmer output log statements to a variety of output targets
-EAPI=4
-HOMEPAGE=http://logging.apache.org/log4net/
-KEYWORDS=amd64 x86
-LICENSE=Apache-2.0
-RDEPEND=>=dev-lang/mono-2.0
-SLOT=0
-SRC_URI=mirror://apache/logging/log4net/source/log4net-1.2.11-src.zip https://dev.gentoo.org/~pacho/dotnet/log4net.snk
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
-_md5_=e736eb73f9a5b202d7bf4f7e1d0bf778
diff --git a/dev-dotnet/log4net/Manifest b/dev-dotnet/log4net/Manifest
new file mode 100644
index 000000000000..54ef1476a418
--- /dev/null
+++ b/dev-dotnet/log4net/Manifest
@@ -0,0 +1,5 @@
+AUX log4net.pc.in-r1 200 BLAKE2B 26178e22f3fd91bd380fc3daa795a056e09fa72575e8c2727910f50dfa864b661af7b20e4366b825604df988cb298aa9ba56b0301288a716e3bc3552b961fa39 SHA512 57b3d07219d8ba030108e73d2208b424caa3d7afb6004a04647771c2963fc4669ba3cf057cb30b93d6e04cf736127f96ebda8fbb05910eed9ea60ca0245bfb2f
+DIST log4net-1.2.11-src.zip 1208854 BLAKE2B 82906395d9ed5aedacc8e86ce862aef55a91e98aaedf9c4558f9a4aa749ff59b689a2e0658ddc8287b919b8e2d8a1a544f477b85016dab4e48da899fce143f24 SHA512 b6ad8c873de69a30c68c82265dd2a5de331ecb780896f750088fe1e91f17191c2b54850629ece26659ec4c72b695cccae48eae30dbdf4dd18d5545cc24a42865
+DIST log4net.snk 596 BLAKE2B d83b91d9601d89bd4120d9543b893701b62193e93c1947051f8283eae9b2d7759fa372d349a95de55255dcee83039c983124a90f77d1830ae82e31141f3dca74 SHA512 b0525adfe90b8d86c7e7ac8295097b60b03b427aa4e6ad36b32bb98c7bc9fc081158249285c42eeff7637bd66a742ca422906a85544ca6526fe5e785cead8ff7
+EBUILD log4net-1.2.11.ebuild 1170 BLAKE2B 240370e49d648e0c91ab7f2e8dec16e63ff6ca0dd47a5b0cab8fa0e3154656c6b156c6c92e1d11a15fe6e0f5687de6047a38f60da24238cc25a09fdae3df02c1 SHA512 f278d5937e6129732134f463919bee2a6f901e1211fc7d06b8a9ad6fbc533683cdd83b34263d10a823652a25a19b4777bcfa835ce8e8b94bb38bf828e328e861
+MISC metadata.xml 251 BLAKE2B 102da490c04b5ec767aebd0f076ea9aa083ec51416f584daad83e4202bd51e7182e95b7c1c98125c2a9da29eaa6b97dd4d9825c9d72e9c89d85d209e89031f48 SHA512 9b3d8ef0e933c58ceeae768b5e07fec1aba98d2f0add71719bcdec0e571b503b102610c0c4cbc322cc15638547e2f26f149d80c1498edb10b16a874014ae20d0
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..1f1d7f15db39
--- /dev/null
+++ b/dev-dotnet/log4net/log4net-1.2.11.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+ https://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/mcs \
+ -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..c99669dda129
--- /dev/null
+++ b/dev-dotnet/log4net/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+</maintainer>
+</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-0.6.2 b/dev-dotnet/mono-addins-0.6.2
deleted file mode 100644
index 9ba5761a8f20..000000000000
--- a/dev-dotnet/mono-addins-0.6.2
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=compile configure install
-DEPEND=>=dev-lang/mono-2 gtk? ( >=dev-dotnet/gtk-sharp-2.0 ) virtual/pkgconfig
-DESCRIPTION=A generic framework for creating extensible applications
-EAPI=4
-HOMEPAGE=http://www.mono-project.com/Mono.Addins
-IUSE=+gtk
-KEYWORDS=amd64 ppc x86
-LICENSE=GPL-2
-RDEPEND=>=dev-lang/mono-2 gtk? ( >=dev-dotnet/gtk-sharp-2.0 )
-SLOT=0
-SRC_URI=http://download.mono-project.com/sources/mono-addins/mono-addins-0.6.2.tar.bz2
-_eclasses_=mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
-_md5_=ec1aa7a9c8d77abbb1194db7b5a8ee8d
diff --git a/dev-dotnet/mono-addins-1.0-r1 b/dev-dotnet/mono-addins-1.0-r1
deleted file mode 100644
index d6f9eabd8368..000000000000
--- a/dev-dotnet/mono-addins-1.0-r1
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=compile configure install prepare setup test
-DEPEND=>=dev-lang/mono-3 gtk? ( >=dev-dotnet/gtk-sharp-2.12.21:2 ) virtual/pkgconfig dev-lang/mono >=app-portage/elt-patches-20170422
-DESCRIPTION=A generic framework for creating extensible applications
-EAPI=5
-HOMEPAGE=http://www.mono-project.com/Mono.Addins
-IUSE=+gtk
-KEYWORDS=amd64 ppc x86
-LICENSE=GPL-2
-RDEPEND=>=dev-lang/mono-3 gtk? ( >=dev-dotnet/gtk-sharp-2.12.21:2 )
-SLOT=0
-SRC_URI=https://github.com/mono/mono-addins/archive/mono-addins-1.0.tar.gz -> mono-addins-1.0.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 autotools-utils 5a4611dfba155b1659528663fad4cd5e desktop 1b286a7e7143d8c4ec89cd0d2743a097 dotnet 1305f3fcce9fb96d24ddc4898e144081 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
-_md5_=7f70b213193aee0565f0684e660ed40e
diff --git a/dev-dotnet/mono-addins/Manifest b/dev-dotnet/mono-addins/Manifest
new file mode 100644
index 000000000000..8012140f3311
--- /dev/null
+++ b/dev-dotnet/mono-addins/Manifest
@@ -0,0 +1,6 @@
+AUX gmcs.patch 363 BLAKE2B e3804fbd298d1d3b3f4c0d6ef8497961d8499b80778519c87ecaa4c5a2aa847dab29e372c3234aa6f9b406cefb6306816b191428f0d2b37f8882e170deefd057 SHA512 139f162b03b6a21b31e954e9a37189a96250dc2eca13b9c8201ff547a19a71344e0a89e93d9b4a127b69739c12de432ddd7b0f524e0f12616a2931d999077960
+DIST mono-addins-0.6.2.tar.bz2 337614 BLAKE2B beca5e728624fea9a0ada1b07e0a184509b6b3f42f772d62318e5cda188c5a21e70d32f2ab8b5a67e23c66f779ebfa3d45bb1486ba4d46d082695f328f63f354 SHA512 6556cf8c82c9f25eba5df88bbec8d9d3dd39ad5b3a904cdadc82d6eccc71b27e07ad2faa2b41eba5b3519fd6dbcc50a398104e396dcae09b152252adb8f3f0f5
+DIST mono-addins-1.0.tar.gz 548940 BLAKE2B 6cce06462398d3407655c0579fe3bf873487e22e189bc53bcc4061c0333dd6388d3d13688f79490b29cf34b1dda140531d4257e7f84b0261069a95673e431d18 SHA512 ba2f625b2f9c9f0c367c87670c930b4c8ee874b04721fd1ca636c8ef5c27702256057c9bcebc9a3d1edd7bedd21a700268cbeadeecc795d3004a7b7ada8f5c24
+EBUILD mono-addins-0.6.2.ebuild 657 BLAKE2B 9f828a8e9606b1f719b18b30ef46adf37872bd2dd23133f93252b5220cacbb278fd883a0232fa5fef85a63ed605ae25e54192e147319916e2aee5351cfd9478b SHA512 3ad0b445799f299b6389c0bc189daabf5ab0e76678c176c8c87256c517318e92a55fdd1dabaaec1fc19c10dc26f9fd605457667f5e951f7721222bf26abdea99
+EBUILD mono-addins-1.0-r1.ebuild 1185 BLAKE2B da03d475981e129a9bdeaeede0d083ce172fb1026e1451120b00c6cb2242fed60839ba0c957772f377c23b6b504e8a67ce8444cc9191677e5b4f7edd5f6bb249 SHA512 b5f17b70cf541f620aca5f94f770bfbb8f9711fc5881f48b890ef2eeeeb12c28e8b994f701da6ac0203ce098527fafbf0e3667fbca612af198be2177ba877a8a
+MISC metadata.xml 336 BLAKE2B 8a4a37d35a5037e117f4acd27f13e69310f306269c4e90f283a90ce5da6aad24343bb9a06a20d4038a7e92cedced80fcc4ccc168be34a67febcaed32305f2960 SHA512 33236f001eff9cfedded49537f1204a0f7697e23ff2325865edeed28b309a5eff777374b310f45268c57545ba442ec71e767a0d62a25b7cd7dd69e4e8fb12fef
diff --git a/dev-dotnet/mono-addins/files/gmcs.patch b/dev-dotnet/mono-addins/files/gmcs.patch
new file mode 100644
index 000000000000..a2426cf90945
--- /dev/null
+++ b/dev-dotnet/mono-addins/files/gmcs.patch
@@ -0,0 +1,15 @@
+diff -u origin/configure.ac mono-addins-mono-addins-1.0/configure.ac
+--- origin/configure.ac
++++ mono-addins-mono-addins-1.0/configure.ac
+@@ -18,7 +18,10 @@
+
+ AC_PROG_INSTALL
+
+-AC_PATH_PROG(MCS, gmcs, no)
++MCS=no
++AC_PATH_PROG(MCS, gmcs)
++AC_PATH_PROG(MCS, dmcs)
++AC_PATH_PROG(MCS, mcs)
+ if test "x$MCS" = "xno"; then
+ AC_MSG_ERROR([mcs Not found])
+ fi
diff --git a/dev-dotnet/mono-addins/metadata.xml b/dev-dotnet/mono-addins/metadata.xml
new file mode 100644
index 000000000000..6fd87fb6c017
--- /dev/null
+++ b/dev-dotnet/mono-addins/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mono/mono-addins</remote-id>
+ </upstream>
+</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..bea91874d538
--- /dev/null
+++ b/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-addins/mono-addins-1.0-r1.ebuild b/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
new file mode 100644
index 000000000000..67590ceb7001
--- /dev/null
+++ b/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils dotnet multilib autotools-utils
+
+DESCRIPTION="A generic framework for creating extensible applications"
+HOMEPAGE="http://www.mono-project.com/Mono.Addins"
+SRC_URI="https://github.com/mono/${PN}/archive/${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="+gtk"
+
+RDEPEND=">=dev-lang/mono-3
+ gtk? ( >=dev-dotnet/gtk-sharp-2.12.21:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+MAKEOPTS="${MAKEOPTS} -j1" #nowarn
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/gmcs.patch"
+
+ eautoreconf
+ autotools-utils_src_prepare
+ ## with dev-dotnet/gtk-sharp-2.99.1
+ ## it gives
+ ## checking for GTK_SHARP_20... no
+ ## configure: error: Package requirements (gtk-sharp-2.0) were not met:
+ ##
+ ## No package 'gtk-sharp-2.0' found
+
+ sed -i "s;Mono.Cairo;Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756;g" Mono.Addins.Gui/Mono.Addins.Gui.csproj || die "sed failed"
+}
+
+src_configure() {
+ econf $(use_enable gtk gui)
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+ dotnet_multilib_comply
+}
diff --git a/dev-dotnet/monocalendar-0.7.2 b/dev-dotnet/monocalendar-0.7.2
deleted file mode 100644
index 23b4fbdbe098..000000000000
--- a/dev-dotnet/monocalendar-0.7.2
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile install
-DEPEND=>=dev-lang/mono-1.2.1
-DESCRIPTION=iCal clone for .NET
-EAPI=0
-HOMEPAGE=http://www.monocalendar.com/
-KEYWORDS=~amd64 x86
-LICENSE=GPL-2
-RDEPEND=>=dev-lang/mono-1.2.1
-SLOT=0
-SRC_URI=mirror://sourceforge/monocalendar/monocalendar-source-0.7.2.tar.gz
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e mono a59df07822fcb0dec319e09526d84c1f multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=25d1e6d32f863da0674a988a71f60b32
diff --git a/dev-dotnet/monocalendar/Manifest b/dev-dotnet/monocalendar/Manifest
new file mode 100644
index 000000000000..f8972ad77794
--- /dev/null
+++ b/dev-dotnet/monocalendar/Manifest
@@ -0,0 +1,3 @@
+DIST monocalendar-source-0.7.2.tar.gz 178249 BLAKE2B ed1a38419b1c1528838800431d6935b152d8131fa6eea36c6344dcaa40e785e1d53170df96b8e2053497d4f8c45791e63c935fa0ff572678483415663bc95b98 SHA512 8793f4a56d5626485a2e8378121b8b2f2435a5c7f26be12fad1bf4647e464686f670becbf1b0a35add60080f1bdf06ba993f9ecbc4d30ca3fad5ecceebcd0c12
+EBUILD monocalendar-0.7.2.ebuild 705 BLAKE2B 221b142d87722bf7598d7544cd665fde21fe3ecaf68f36ad0ef7397addf04bfb5c983912a27fd2be0df3604032972581bb67c98e1952df03126cc4d697ff70c6 SHA512 5c7a50212d105b99b985acbc21e0d35f8c1a23653d68b082b45180df753d6553389d75bb89437bd28c70c09e47e39de51bd7cc0cf538fa3b5ce7d96627a6db0f
+MISC metadata.xml 337 BLAKE2B 09e6f061750009accdf54c43086e365df5726f2b6d8166f1e558315c7459d2c371f051e75e8fa2a94026c063a37b0191ca6366d8db5d99235fa711b3c88433a7 SHA512 41d0cf40ec994d68f82d74518da2d7cb68d1b399f1de56e785fc2df0155a414629df5782aff4ac0a7f365a4ed3a0e0622ed68ba01cb032db140e17f67163ea11
diff --git a/dev-dotnet/monocalendar/metadata.xml b/dev-dotnet/monocalendar/metadata.xml
new file mode 100644
index 000000000000..1b209872a2ed
--- /dev/null
+++ b/dev-dotnet/monocalendar/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <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..a14d50d57957
--- /dev/null
+++ b/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+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/ndesk-dbus-0.6.1a b/dev-dotnet/ndesk-dbus-0.6.1a
deleted file mode 100644
index 89bca0944502..000000000000
--- a/dev-dotnet/ndesk-dbus-0.6.1a
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=prepare setup
-DEPEND=>=dev-lang/mono-1.2.4 >=sys-apps/dbus-1 virtual/pkgconfig
-DESCRIPTION=Managed D-Bus Implementation for .NET
-EAPI=6
-HOMEPAGE=http://www.ndesk.org/DBusSharp
-KEYWORDS=amd64 ppc x86
-LICENSE=MIT
-RDEPEND=>=dev-lang/mono-1.2.4 >=sys-apps/dbus-1
-SLOT=0
-SRC_URI=http://www.ndesk.org/archive/ndesk-dbus/ndesk-dbus-0.6.1a.tar.gz
-_eclasses_=mono-env 1f24c032c78290b0d9a07d5b343051a7
-_md5_=0b9c76d80a99f718250e95d7a382de37
diff --git a/dev-dotnet/ndesk-dbus-glib-0.4.1 b/dev-dotnet/ndesk-dbus-glib-0.4.1
deleted file mode 100644
index 4ded1bd9a56e..000000000000
--- a/dev-dotnet/ndesk-dbus-glib-0.4.1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=prepare setup
-DEPEND=>=dev-lang/mono-1.2.4 >=dev-dotnet/ndesk-dbus-0.4 virtual/pkgconfig
-DESCRIPTION=glib integration for DBus-Sharp
-EAPI=6
-HOMEPAGE=http://www.ndesk.org/DBusSharp
-KEYWORDS=amd64 ppc x86
-LICENSE=MIT
-RDEPEND=>=dev-lang/mono-1.2.4 >=dev-dotnet/ndesk-dbus-0.4
-SLOT=0
-SRC_URI=http://www.ndesk.org/archive/dbus-sharp/ndesk-dbus-glib-0.4.1.tar.gz
-_eclasses_=mono-env 1f24c032c78290b0d9a07d5b343051a7
-_md5_=74494ae46297731ec5de46c9b2cb5c96
diff --git a/dev-dotnet/ndesk-dbus-glib/Manifest b/dev-dotnet/ndesk-dbus-glib/Manifest
new file mode 100644
index 000000000000..6371792891c8
--- /dev/null
+++ b/dev-dotnet/ndesk-dbus-glib/Manifest
@@ -0,0 +1,3 @@
+DIST ndesk-dbus-glib-0.4.1.tar.gz 85471 BLAKE2B 10c5bad068899f407d8336ad2b3295a3ad519616f6bac82d7f2ff78a8e666dcf00c74cdc436e9f2598bf25edd1527574c5f806c8b97e85321bc0fc802d8beb78 SHA512 334389a2c0dc43a94167adb3c7febebb578a79eae625ba451818734075746af44d6dec2fa0e450b30ef5d5306d826e573d25ca0571b80eaa652ebadb8d713d01
+EBUILD ndesk-dbus-glib-0.4.1.ebuild 530 BLAKE2B 54cf3760c31445d39345c7af8c989451a348d179f0935febf9ea5114af02ac4e9e1929d3575dcf848123b52f42569e2c9ef8cbc22337f1f96cc2f08810ceb7b7 SHA512 47803932271d7cc34cd319a2b1dc937a2b261b923a90954c010ff23d83184b90fab58255c991f59ede1e3c767ea134b39d85fa5f4c6bb2ae5c73b66ec0e38af5
+MISC metadata.xml 251 BLAKE2B 102da490c04b5ec767aebd0f076ea9aa083ec51416f584daad83e4202bd51e7182e95b7c1c98125c2a9da29eaa6b97dd4d9825c9d72e9c89d85d209e89031f48 SHA512 9b3d8ef0e933c58ceeae768b5e07fec1aba98d2f0add71719bcdec0e571b503b102610c0c4cbc322cc15638547e2f26f149d80c1498edb10b16a874014ae20d0
diff --git a/dev-dotnet/ndesk-dbus-glib/metadata.xml b/dev-dotnet/ndesk-dbus-glib/metadata.xml
new file mode 100644
index 000000000000..c99669dda129
--- /dev/null
+++ b/dev-dotnet/ndesk-dbus-glib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+</maintainer>
+</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..be55e2f65c9c
--- /dev/null
+++ b/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit mono-env
+
+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=""
+
+RDEPEND="
+ >=dev-lang/mono-1.2.4
+ >=dev-dotnet/ndesk-dbus-0.4
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ # mono-4 compat
+ sed -i "s#gmcs#mcs#g" configure || die
+}
diff --git a/dev-dotnet/ndesk-dbus/Manifest b/dev-dotnet/ndesk-dbus/Manifest
new file mode 100644
index 000000000000..541dfcf492cc
--- /dev/null
+++ b/dev-dotnet/ndesk-dbus/Manifest
@@ -0,0 +1,3 @@
+DIST ndesk-dbus-0.6.1a.tar.gz 121667 BLAKE2B 9252e9b61bf44b4fa44fa518a0a6471fcb100aa087a1351ff00e30c487a0e30ee5dc04827d2a0fe7d0ac1b2ceebb0fff1750e5000fcc357fe42270074e9db428 SHA512 67cf59e51a57c0f61a2470abb0af5cd362955ad0701a1eee6da4a0959a8f1bb1999ff9dc25dd10394ce806d44f6504238a2b50669de4abb89112d2957d96b334
+EBUILD ndesk-dbus-0.6.1a.ebuild 521 BLAKE2B d20daef15997f0c05349cc7acca67137811b79141b87c8dc11212c9e92986107461d197014f28d3d32a2b935423f83952ae3aa8bbc8ec4deea2c953a5e69e3be SHA512 5d6ef87dfa40654d6f192545015aac0f36b80a6488347c8fd5a962a7efb4a5621145d029e7fe56aa052c69001807d84852785a7850c37790c5061ed920ebb0ae
+MISC metadata.xml 251 BLAKE2B 102da490c04b5ec767aebd0f076ea9aa083ec51416f584daad83e4202bd51e7182e95b7c1c98125c2a9da29eaa6b97dd4d9825c9d72e9c89d85d209e89031f48 SHA512 9b3d8ef0e933c58ceeae768b5e07fec1aba98d2f0add71719bcdec0e571b503b102610c0c4cbc322cc15638547e2f26f149d80c1498edb10b16a874014ae20d0
diff --git a/dev-dotnet/ndesk-dbus/metadata.xml b/dev-dotnet/ndesk-dbus/metadata.xml
new file mode 100644
index 000000000000..c99669dda129
--- /dev/null
+++ b/dev-dotnet/ndesk-dbus/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+</maintainer>
+</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..d50bbc54ebbb
--- /dev/null
+++ b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit mono-env
+
+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_prepare() {
+ default
+ # mono-4 compat
+ sed -i "s#gmcs#mcs#g" configure || die
+}
diff --git a/dev-dotnet/notify-sharp-0.4.0_pre20090305-r1 b/dev-dotnet/notify-sharp-0.4.0_pre20090305-r1
deleted file mode 100644
index 4b9f404a9cb5..000000000000
--- a/dev-dotnet/notify-sharp-0.4.0_pre20090305-r1
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=configure prepare setup
-DEPEND=>=dev-lang/mono-1.1.13 >=dev-dotnet/gtk-sharp-2.10.1 >=dev-dotnet/dbus-sharp-0.6:1.0 >=dev-dotnet/dbus-sharp-glib-0.4:1.0 >=x11-libs/libnotify-0.4.5 >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=a C# client implementation for Desktop Notifications
-EAPI=5
-HOMEPAGE=http://www.ndesk.org/NotifySharp
-IUSE=doc
-KEYWORDS=amd64 ppc x86
-LICENSE=MIT
-RDEPEND=>=dev-lang/mono-1.1.13 >=dev-dotnet/gtk-sharp-2.10.1 >=dev-dotnet/dbus-sharp-0.6:1.0 >=dev-dotnet/dbus-sharp-glib-0.4:1.0 >=x11-libs/libnotify-0.4.5
-SLOT=0
-SRC_URI=mirror://gentoo/notify-sharp-20090305.tar.bz2
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mono-env 1f24c032c78290b0d9a07d5b343051a7 multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=8aa10a80f846738856e02c4532731e43
diff --git a/dev-dotnet/notify-sharp/Manifest b/dev-dotnet/notify-sharp/Manifest
new file mode 100644
index 000000000000..c378e3e1c6f9
--- /dev/null
+++ b/dev-dotnet/notify-sharp/Manifest
@@ -0,0 +1,5 @@
+AUX notify-sharp-0.4.0_pre20080912-control-docs.patch 1136 BLAKE2B 3cac54fbb5a601bedee595f7793c6e6d23cb27f32ca819172a96cda4396e200f552d9728e0b74717a35d070e2defef021ec778ca6ff8d2337b8e17ad05e3564a SHA512 7832cb88e99d4964d327509799f041f410fc78f5ec77cafa5cfe3f2a8d6948f28423e6f774be6511a0c04c7e96911ad48bb7c3b883c7e9abc580daa622706265
+AUX notify-sharp-0.4.0_pre20090305-dbus-sharp.patch 1648 BLAKE2B 4c796259c63b53f980f4d391081b9d1346a9b3d2b33bf6af7c4e378dadf56ad9358314e934c3b4ae49e710ad20b3a4751c9b99b4fc24f788f6ac8cfdccc9f0e7 SHA512 c7e51538c8973b9589a896e0d213a3c4f2643be5593d0a39f7c65dc5a7d54b2e108d5f2dd37419f781e9c65a4eca9750d01033150c7465f4e3739d73db815d36
+DIST notify-sharp-20090305.tar.bz2 79020 BLAKE2B e3ce9779211baba2ecd71e054d849031ea669ab97d4b40e8db5d597d9d4d28cf300fca23f843527b28615709eb33a202f45f4489fd171cdc9e89c734ff7a0eea SHA512 2daf6d33b3a4f53445193a654c3a92cd8e3766772472a914aa12a1c8619e5d48ed954987c44c3d856faec2e0a03e3348f6b4809a615ea3cfb4ef17ef5000c686
+EBUILD notify-sharp-0.4.0_pre20090305-r1.ebuild 826 BLAKE2B 864d49fb1278569a8d34157400cb0d89800844a49de1e4a06356ff43e2c4044fe3e06c911c59ca339a2bf3895c4671de4865a6d67e8976cf5ddfec0ad62dccfa SHA512 873397f5a42ec8613fc3ef380ff0f67557ba68c48e1ce92d05613409e2c969a4f0886b8a76c8c2742ec1c4b97bc20b905e06fe9fc6ded5c3468e84574f497ca9
+MISC metadata.xml 255 BLAKE2B 495c21dcece437a54ddf2ba6c003601ac84e8ff4f4dd814be0cdae9bb3b6d81ce49f3b00f47ad9ca73f1c9a8b11ed9addaa3c5b8352857813e76d994d020292f SHA512 2ad078558aba9045a782316fc558ea3c6edf579a77a87c0096e3a85ac78a73904a5ceb48cec15ed30fafacc79a66fcf6836acac43d311d1840ccdd62fc2a6896
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..1e9986c4a0cb
--- /dev/null
+++ b/dev-dotnet/notify-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>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305-r1.ebuild b/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305-r1.ebuild
new file mode 100644
index 000000000000..c151e500c029
--- /dev/null
+++ b/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils mono-env
+
+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:1.0
+ >=dev-dotnet/dbus-sharp-glib-0.4:1.0
+ >=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"
+ sed -i -e 's/gmcs/mcs/' configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable doc docs)
+}
diff --git a/dev-dotnet/pe-format-2.1.2-r1 b/dev-dotnet/pe-format-2.1.2-r1
deleted file mode 100644
index 637923d6d42b..000000000000
--- a/dev-dotnet/pe-format-2.1.2-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=configure install postinst
-DEPEND=dev-util/desktop-file-utils virtual/pkgconfig
-DESCRIPTION=Intelligent PE executable wrapper for binfmt_misc
-EAPI=6
-HOMEPAGE=https://bitbucket.org/mgorny/pe-format2/
-KEYWORDS=amd64 ppc x86
-LICENSE=GPL-2
-RDEPEND=!<sys-apps/openrc-0.9.4
-SLOT=0
-SRC_URI=https://www.bitbucket.org/mgorny/pe-format2/downloads/pe-format-2.1.2.tar.bz2
-_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e systemd 04e50685fbf3d89e5c67ac6a385dd595 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
-_md5_=5dfb65489415b2c03d68e5f56a2e4baa
diff --git a/dev-dotnet/pe-format-9999 b/dev-dotnet/pe-format-9999
deleted file mode 100644
index 75b032e1fa8c..000000000000
--- a/dev-dotnet/pe-format-9999
+++ /dev/null
@@ -1,10 +0,0 @@
-DEFINED_PHASES=configure install postinst prepare unpack
-DEPEND=dev-util/desktop-file-utils >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=dev-vcs/git-1.8.2.1[curl] virtual/pkgconfig
-DESCRIPTION=Intelligent PE executable wrapper for binfmt_misc
-EAPI=6
-HOMEPAGE=https://bitbucket.org/mgorny/pe-format2/
-LICENSE=GPL-2
-RDEPEND=!<sys-apps/openrc-0.9.4
-SLOT=0
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 git-r3 8f6de46b0aa318aea0e8cac62ece098b libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e systemd 04e50685fbf3d89e5c67ac6a385dd595 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
-_md5_=bc91679c184eef7972f9b29ca152de15
diff --git a/dev-dotnet/pe-format/Manifest b/dev-dotnet/pe-format/Manifest
new file mode 100644
index 000000000000..208eedb2a419
--- /dev/null
+++ b/dev-dotnet/pe-format/Manifest
@@ -0,0 +1,4 @@
+DIST pe-format-2.1.2.tar.bz2 79023 BLAKE2B 83877431f12ccf6e344f435a9a5ca993adca286558efd96734b0b5b5a29b160ccaa1d219d899d12e368db861ec04d4fa365e69f97f66c79deb161e57747395e4 SHA512 c946384fdb95593f8b9390f77c7ccc2fc5ae2588412e37e868785523ca91f0d9d98e41928ec61c4cd1f47ba7d1b167cd7b6671f6662ac247d1d83a37b1c32b0f
+EBUILD pe-format-2.1.2-r1.ebuild 770 BLAKE2B 45230d1123cec6430cc69181d27e5b756a801c4572772f9faee3d4a9904761756b225836a7b3db3b9c74978780f4b13bf8fb24438347fb687d0aa1c1236069ac SHA512 216320e5cd9e99c5ac69998cd6ff304a829995f2271fba653acd8b527f8022cfc785434751749ad785d92428b59899af05d029c6a159e5c6ba59e490287b118a
+EBUILD pe-format-9999.ebuild 949 BLAKE2B 1e19028f40c9ed682aa1978381ac6901b69cc65e77779344c3a907eb6d95f54f9584dae2a3c559bcd06c72723d14323ab65230aaf17ea9eb5474aae10b561f8b SHA512 13e44ad4df2b11edeffda77a772922a1111abbb8a3bb1f7f7a326018c61890c30725ab2ce237f44f2730851e703f20140f6011c5a8d3e8a851ceadbf74c48efb
+MISC metadata.xml 659 BLAKE2B a8a98f5b67ad105de4824cd384b26577006cefd176e02a2777f73de7c3a6aa88be6612b49233a554b6ddc673fb4049d207e3c5ceb25132ba336e80090923c9d7 SHA512 c13fe4fcb55825347d3d894af8f34f0978d3c6aa413f0d460c1f5d9b5321491d30537c1045ecb5a921419c5cb07a2a1d53e9f48d015b20a34f880a171926bb3d
diff --git a/dev-dotnet/pe-format/metadata.xml b/dev-dotnet/pe-format/metadata.xml
new file mode 100644
index 000000000000..2af76e28dbce
--- /dev/null
+++ b/dev-dotnet/pe-format/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</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-r1.ebuild b/dev-dotnet/pe-format/pe-format-2.1.2-r1.ebuild
new file mode 100644
index 000000000000..d75726d5aa38
--- /dev/null
+++ b/dev-dotnet/pe-format/pe-format-2.1.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd xdg-utils
+
+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=""
+
+DEPEND="dev-util/desktop-file-utils"
+RDEPEND="!<sys-apps/openrc-0.9.4"
+
+src_configure() {
+ local myconf=(
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ keepdir /var/lib
+}
+
+pkg_postinst() {
+ ebegin "Calling pe-format2-setup to update handler setup"
+ pe-format2-setup
+ eend ${?}
+
+ xdg_desktop_database_update
+}
diff --git a/dev-dotnet/pe-format/pe-format-9999.ebuild b/dev-dotnet/pe-format/pe-format-9999.ebuild
new file mode 100644
index 000000000000..e9f8305fd6ce
--- /dev/null
+++ b/dev-dotnet/pe-format/pe-format-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+#if LIVE
+EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}2.git"
+
+inherit autotools git-r3
+#endif
+
+inherit systemd xdg-utils
+
+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=""
+
+DEPEND="dev-util/desktop-file-utils"
+RDEPEND="!<sys-apps/openrc-0.9.4"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+
+src_prepare() {
+ default
+ eautoreconf
+}
+#endif
+
+src_configure() {
+ local myconf=(
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ keepdir /var/lib
+}
+
+pkg_postinst() {
+ ebegin "Calling pe-format2-setup to update handler setup"
+ pe-format2-setup
+ eend ${?}
+
+ xdg_desktop_database_update
+}