[packages/dotnet-ipod-sharp] Rel 5

arekm arekm at pld-linux.org
Mon Aug 17 12:10:02 CEST 2026


commit ec6b02ea858bb87443f6dbd4f538a12e64012bde
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 17 12:09:32 2026 +0200

    Rel 5

 dotnet-ipod-sharp-mono45.patch | 26 ++++++++++++++++++++++++++
 dotnet-ipod-sharp.spec         |  8 +++++++-
 2 files changed, 33 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-ipod-sharp.spec b/dotnet-ipod-sharp.spec
index 99934c0..d92424b 100644
--- a/dotnet-ipod-sharp.spec
+++ b/dotnet-ipod-sharp.spec
@@ -1,8 +1,12 @@
+#
+# managed dotnet code, no native debug sources
+%undefine	_debugsource_packages
+#
 Summary:	.NET support for iPods
 Summary(pl.UTF-8):	Obsługa iPodów z poziomu .NET
 Name:		dotnet-ipod-sharp
 Version:	0.8.5
-Release:	4
+Release:	5
 # no real license information, just included COPYING
 License:	LGPL v2
 Group:		Libraries
@@ -10,6 +14,7 @@ Source0:	http://banshee-project.org/files/ipod-sharp/0.8.5/ipod-sharp-%{version}
 # Source0-md5:	fb7f53f64d825847d578a637cd48dd41
 Patch0:		%{name}-dep.patch
 Patch1:		%{name}-gac.patch
+Patch2:		%{name}-mono45.patch
 URL:		http://banshee-project.org/Subprojects/Ipod-sharp
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.9
@@ -55,6 +60,7 @@ Pliki programistyczne biblioteki ipod-sharp.
 %setup -q -n ipod-sharp-%{version}
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 %{__aclocal} -I .
diff --git a/dotnet-ipod-sharp-mono45.patch b/dotnet-ipod-sharp-mono45.patch
new file mode 100644
index 0000000..05c06e9
--- /dev/null
+++ b/dotnet-ipod-sharp-mono45.patch
@@ -0,0 +1,26 @@
+Target the 4.5 profile instead of the removed 2.0 one.
+
+mono 6.x ships neither gmcs nor a 2.0 GAC directory - only mcs and
+/usr/lib/mono/4.5 - so both the compiler probe and the assembly check fail.
+The macro names are kept as-is to avoid touching every caller.
+
+--- ipod-sharp-0.8.5/shamrock.m4.orig
++++ ipod-sharp-0.8.5/shamrock.m4
+@@ -35,7 +35,7 @@
+ 
+ AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER],
+ [
+-	SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs)
++	SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs)
+ ])
+ 
+ AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME],
+@@ -72,7 +72,7 @@
+ 
+ AC_DEFUN([SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES],
+ [
+-	_SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(2.0, $*)
++	_SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(4.5, $*)
+ ])
+ 
+ AC_DEFUN([SHAMROCK_CHECK_MONODOC],
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-ipod-sharp.git/commitdiff/ec6b02ea858bb87443f6dbd4f538a12e64012bde



More information about the pld-cvs-commit mailing list