[packages/dotnet-gtk-sharp] - for not installed sample, don't try to install gconf schema either
qboosh
qboosh at pld-linux.org
Sat Aug 30 09:36:09 CEST 2025
commit 3c52ecfd1c41be055d3b2ea1e6b5ceca59e10c40
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Aug 30 09:38:48 2025 +0200
- for not installed sample, don't try to install gconf schema either
dotnet-gtk-sharp-sample.patch | 12 ++++++++++++
dotnet-gtk-sharp.spec | 6 ++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/dotnet-gtk-sharp.spec b/dotnet-gtk-sharp.spec
index 9a54a50..e685bfa 100644
--- a/dotnet-gtk-sharp.spec
+++ b/dotnet-gtk-sharp.spec
@@ -24,13 +24,14 @@ Version: 1.0.10
Release: 12
License: LGPL v2
Group: Libraries
-Source0: http://download.mono-project.com/sources/gtk-sharp/gtk-sharp-%{version}.tar.gz
+Source0: https://download.mono-project.com/sources/gtk-sharp/gtk-sharp-%{version}.tar.gz
# Source0-md5: e21fb3c5a39374f86ba70b926311a6d0
Patch0: %{name}-gtkhtml.patch
Patch1: %{name}-mint.patch
Patch2: %{name}-am.patch
Patch3: %{name}-glib.patch
-URL: http://gtk-sharp.sourceforge.net/
+Patch4: %{name}-sample.patch
+URL: https://gtk-sharp.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gawk
@@ -307,6 +308,7 @@ Przykłady do bibliotek Gtk# 1.x.
%patch -P1 -p1
%patch -P2 -p1
%patch -P3 -p1
+%patch -P4 -p1
# workaround for variable name
echo 'm4_pattern_allow(PKG_PATH)' > acinclude.m4
diff --git a/dotnet-gtk-sharp-sample.patch b/dotnet-gtk-sharp-sample.patch
new file mode 100644
index 0000000..aeb0d3d
--- /dev/null
+++ b/dotnet-gtk-sharp-sample.patch
@@ -0,0 +1,12 @@
+--- gtk-sharp-1.0.10/sample/gconf/Makefile.am.orig 2025-08-30 09:24:10.719395073 +0200
++++ gtk-sharp-1.0.10/sample/gconf/Makefile.am 2025-08-30 09:31:05.881956868 +0200
+@@ -24,9 +24,6 @@ sample.exe: $(SCHEMA) $(srcdir)/sample.g
+ Settings.cs: $(SCHEMA)
+ MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll:${MONO_PATH} $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > Settings.cs
+
+-install-data-hook:
+- GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule $(SCHEMA)
+-
+ CLEANFILES = sample.exe Settings.cs
+
+ EXTRA_DIST = main.cs sample.schema sample.glade sample.gladep
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dotnet-gtk-sharp.git/commitdiff/3c52ecfd1c41be055d3b2ea1e6b5ceca59e10c40
More information about the pld-cvs-commit
mailing list