[packages/dotnet-ndesk-dbus-glib-sharp] Rel 5

arekm arekm at pld-linux.org
Mon Aug 17 00:29:20 CEST 2026


commit 14196b0aaf176618a670dfbe8d77e4bc4a2513cb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 17 00:29:00 2026 +0200

    Rel 5

 dotnet-ndesk-dbus-glib-sharp-mcs.patch | 19 +++++++++++++++++++
 dotnet-ndesk-dbus-glib-sharp.spec      |  8 +++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-ndesk-dbus-glib-sharp.spec b/dotnet-ndesk-dbus-glib-sharp.spec
index 31a4816..33cc61d 100644
--- a/dotnet-ndesk-dbus-glib-sharp.spec
+++ b/dotnet-ndesk-dbus-glib-sharp.spec
@@ -1,15 +1,20 @@
+#
+# managed dotnet code, no native debug sources
+%undefine	_debugsource_packages
+#
 %define	module	ndesk-dbus-glib
 
 Summary:	.NET library for using D-Bus message bus (GLib integration)
 Summary(pl.UTF-8):	Biblioteka .NET do używania magistrali przesyłania komunikatów D-Bus z GLib
 Name:		dotnet-ndesk-dbus-glib-sharp
 Version:	0.4.1
-Release:	4
+Release:	5
 License:	MIT
 Group:		Libraries
 Source0:	http://www.ndesk.org/archive/ndesk-dbus/%{module}-%{version}.tar.gz
 # Source0-md5:	7faf8770b214956fa9de009def550826
 Patch0:		%{name}-monodir.patch
+Patch1:		%{name}-mcs.patch
 URL:		http://www.ndesk.org/DBusSharp
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -58,6 +63,7 @@ Pliki programistyczne biblioteki .NET ndesk D-Bus GLib.
 %prep
 %setup -q -n %{module}-%{version}
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %{__aclocal}
diff --git a/dotnet-ndesk-dbus-glib-sharp-mcs.patch b/dotnet-ndesk-dbus-glib-sharp-mcs.patch
new file mode 100644
index 0000000..14c1cce
--- /dev/null
+++ b/dotnet-ndesk-dbus-glib-sharp-mcs.patch
@@ -0,0 +1,19 @@
+Look for mcs instead of gmcs.
+
+mono 6.x dropped gmcs together with the 2.0 profile; mcs is the only C#
+compiler it ships.
+
+--- ndesk-dbus-glib-0.4.1/configure.ac.orig
++++ ndesk-dbus-glib-0.4.1/configure.ac
+@@ -25,9 +25,9 @@
+ MONO_REQ_VERSION=1.1.13
+ PKG_CHECK_MODULES(MONO, mono >= $MONO_REQ_VERSION)
+ 
+-AC_PATH_PROG(GMCS, gmcs, no)
++AC_PATH_PROG(GMCS, mcs, no)
+ if test "x$GMCS" = "xno"; then
+-	AC_MSG_ERROR([You need to install gmcs])
++	AC_MSG_ERROR([You need to install mcs])
+ fi
+ AC_SUBST(GMCS)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-ndesk-dbus-glib-sharp.git/commitdiff/14196b0aaf176618a670dfbe8d77e4bc4a2513cb



More information about the pld-cvs-commit mailing list