[packages/dotnet-webkitgtk-sharp] Rel 4

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


commit f9fde870aafed5e7c744e5abe8443829eefd4110
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 17 12:10:15 2026 +0200

    Rel 4

 dotnet-webkitgtk-sharp-configure-typo.patch | 16 ++++++++++++++++
 dotnet-webkitgtk-sharp-mcs.patch            | 16 ++++++++++++++++
 dotnet-webkitgtk-sharp.spec                 |  6 +++++-
 3 files changed, 37 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-webkitgtk-sharp.spec b/dotnet-webkitgtk-sharp.spec
index 1d418f2..45e6708 100644
--- a/dotnet-webkitgtk-sharp.spec
+++ b/dotnet-webkitgtk-sharp.spec
@@ -2,12 +2,14 @@ Summary:	C# bindings for WebKitGTK+ 3.0 using GObject Introspection
 Summary(pl.UTF-8):	Wiązania C# do biblioteki WebKitGTK+ 3.0 wykorzystujące GObject Introspection
 Name:		dotnet-webkitgtk-sharp
 Version:	2.0.0
-Release:	3
+Release:	4
 License:	LGPL v3
 Group:		Libraries
 Source0:	https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz
 # Source0-md5:	259d1b85975a93b878fa1bdc4254e83f
 Patch0:		pkgconfig.patch
+Patch1:		%{name}-configure-typo.patch
+Patch2:		%{name}-mcs.patch
 URL:		https://github.com/xDarkice/webkitgtk-sharp/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -54,6 +56,8 @@ Pliki programistyczne WebKitGTK# 3.
 %prep
 %setup -q -n webkitgtk-sharp-%{version}
 %patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
 
 install -d doc/en
 
diff --git a/dotnet-webkitgtk-sharp-configure-typo.patch b/dotnet-webkitgtk-sharp-configure-typo.patch
new file mode 100644
index 0000000..ca9f393
--- /dev/null
+++ b/dotnet-webkitgtk-sharp-configure-typo.patch
@@ -0,0 +1,16 @@
+Drop a stray "1" in front of an AC_PATH_PROG call.
+
+It makes the generated configure try to run a command called "1"
+("./configure: 1: inaccessible or not found").
+
+--- webkitgtk-sharp-2.0.0/configure.ac.orig
++++ webkitgtk-sharp-2.0.0/configure.ac
+@@ -38,7 +38,7 @@
+ PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= 1.0, has_mono=true, has_mono=false)
+ 
+ if test "x$has_mono" = "xtrue"; then
+-1	AC_PATH_PROG(RUNTIME, mono, no)
++	AC_PATH_PROG(RUNTIME, mono, no)
+ 	AC_PATH_PROG(CSC, gmcs, no)
+ 	LIB_PREFIX=.so
+ 	LIB_SUFFIX=
diff --git a/dotnet-webkitgtk-sharp-mcs.patch b/dotnet-webkitgtk-sharp-mcs.patch
new file mode 100644
index 0000000..c3cd431
--- /dev/null
+++ b/dotnet-webkitgtk-sharp-mcs.patch
@@ -0,0 +1,16 @@
+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.
+
+--- webkitgtk-sharp-2.0.0/configure.ac.orig
++++ webkitgtk-sharp-2.0.0/configure.ac
+@@ -39,7 +39,7 @@
+ 
+ if test "x$has_mono" = "xtrue"; then
+ 	AC_PATH_PROG(RUNTIME, mono, no)
+-	AC_PATH_PROG(CSC, gmcs, no)
++	AC_PATH_PROG(CSC, mcs, no)
+ 	LIB_PREFIX=.so
+ 	LIB_SUFFIX=
+ else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-webkitgtk-sharp.git/commitdiff/f9fde870aafed5e7c744e5abe8443829eefd4110



More information about the pld-cvs-commit mailing list