From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-dotnet/notify-sharp/Manifest | 5 ++ ...tify-sharp-0.4.0_pre20080912-control-docs.patch | 28 ++++++++++ ...notify-sharp-0.4.0_pre20090305-dbus-sharp.patch | 60 ++++++++++++++++++++++ dev-dotnet/notify-sharp/metadata.xml | 8 +++ .../notify-sharp-0.4.0_pre20090305-r1.ebuild | 36 +++++++++++++ 5 files changed, 137 insertions(+) create mode 100644 dev-dotnet/notify-sharp/Manifest create mode 100644 dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch create mode 100644 dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20090305-dbus-sharp.patch create mode 100644 dev-dotnet/notify-sharp/metadata.xml create mode 100644 dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20090305-r1.ebuild (limited to 'dev-dotnet/notify-sharp') 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 @@ + + + + + dotnet@gentoo.org + Gentoo Dotnet Project + + 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) +} -- cgit v1.2.3