diff options
Diffstat (limited to 'dev-dotnet/notify-sharp')
5 files changed, 139 insertions, 0 deletions
diff --git a/dev-dotnet/notify-sharp/Manifest b/dev-dotnet/notify-sharp/Manifest new file mode 100644 index 000000000000..30c4eec1f5bd --- /dev/null +++ b/dev-dotnet/notify-sharp/Manifest @@ -0,0 +1,7 @@ +AUX notify-sharp-0.4.0_pre20080912-control-docs.patch 1136 SHA256 1457ee8101cfd47f44c11a96f82b62d8ffa51cc1e8b0c2086d2be4dcae306807 SHA512 7832cb88e99d4964d327509799f041f410fc78f5ec77cafa5cfe3f2a8d6948f28423e6f774be6511a0c04c7e96911ad48bb7c3b883c7e9abc580daa622706265 WHIRLPOOL c7a1d307c05c81ca5dcea3ed52f9d45ea1d6f15d7b2c3a437ea3faa00cb7a7897572d022a4768659a84ec62ffc0aa785ac80c0664e0a326c016e1248783c0cc6 +AUX notify-sharp-0.4.0_pre20090305-dbus-sharp.patch 1648 SHA256 2a2659e4fe3403ea497604ddd0f9e2861c2635d008a39d8d402a45599de483d0 SHA512 c7e51538c8973b9589a896e0d213a3c4f2643be5593d0a39f7c65dc5a7d54b2e108d5f2dd37419f781e9c65a4eca9750d01033150c7465f4e3739d73db815d36 WHIRLPOOL d7a3c68e76ccd3455df9b84c63c11b29faa820601cd03874365c8664786d5ce74b12cffbe2f6165b707f9bf8d9658a63795ec31aa1449f033feefdbea88c776f +DIST notify-sharp-20090305.tar.bz2 79020 SHA256 67101c024f28209181ad5b62e4f4cfa038e362f808c1511d95b21a1a698731f2 SHA512 2daf6d33b3a4f53445193a654c3a92cd8e3766772472a914aa12a1c8619e5d48ed954987c44c3d856faec2e0a03e3348f6b4809a615ea3cfb4ef17ef5000c686 WHIRLPOOL a59b21e987613644a3eec4a04848f7219a318f7ef1a66e9d34b67b3621835d382b7874d13e0134658f0e4092c4651198475c55ba2231264053ebefbadd9c36c2 +EBUILD notify-sharp-0.4.0_pre20090305-r1.ebuild 826 SHA256 f43982dda3c4ff9cb314741332e27f65c3cd6b3f82a8e2c627949a4115fdc3c1 SHA512 873397f5a42ec8613fc3ef380ff0f67557ba68c48e1ce92d05613409e2c969a4f0886b8a76c8c2742ec1c4b97bc20b905e06fe9fc6ded5c3468e84574f497ca9 WHIRLPOOL 6203a5f3ecef88efee5497df0e13db71d98f2038b8dc6fd96254313d28fa79cb7931ab1ca9cda6733b6af370cbe5cf28b7523714f4657ed41ec0a4085c17f574 +MISC ChangeLog 3547 SHA256 d140b88cbec32a51c88c57a2add7c90d9f68c790c94b97bc8177b8f9fd4d4759 SHA512 1cefcca57a11f0303451c2f9f63d7f34d1a8a6307357574bf477f714ef531c35b9fea8cff95c51ced875ad7ed5fa0fce382da7290a963ba4d25db3cb00c1dc16 WHIRLPOOL 6e2b70035cc3c1b4b673a7304b70e89562b0fd1121e44da114108cb0642c25f5eccd15c57f6ddcc436734e9ca78e1caab0a37c73b9961cc7abdf4ac7607818ad +MISC ChangeLog-2015 3467 SHA256 13946afec637814cfd65f46fc9fea7518641a9c85cb3cd205d73b3c27cb94466 SHA512 d5b23a98eadecb045729c9726cad6f4cc8279d9019bd5b0d4754c34a0cc130129ee680f10a71da0f22b1ed300c15108ba5b0ea33b47a5790bd036abcd530c2fc WHIRLPOOL 85cd107df5dc10fe7d22385f6f02d727c49b294947ad4957564f6599116958f8598efd106da86cc9e7688f12fe0f25beaf6a679932f4e9259ce006059dd3d541 +MISC metadata.xml 255 SHA256 7f1e451043d1d56ac50c106fdb27071300520d7d130981594a8d577a0bdc4e69 SHA512 2ad078558aba9045a782316fc558ea3c6edf579a77a87c0096e3a85ac78a73904a5ceb48cec15ed30fafacc79a66fcf6836acac43d311d1840ccdd62fc2a6896 WHIRLPOOL 333b255650545a11bc1894d31a9090e6ebea76d186bf33bcdc0717f0a9f7add1696440283577ad7c499a28e6dfcba06e20eedb41ae3857f1f744ce08fe36a854 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) +} |