summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/gtk+3/gtk+3.SlackBuild8
-rw-r--r--source/l/gtk+3/gtk.fix.missing.version-check.py.diff39
-rw-r--r--source/l/gtk+3/gtk.meson.build.version.diff9
3 files changed, 44 insertions, 12 deletions
diff --git a/source/l/gtk+3/gtk+3.SlackBuild b/source/l/gtk+3/gtk+3.SlackBuild
index cd05ae4ce..377b619a9 100755
--- a/source/l/gtk+3/gtk+3.SlackBuild
+++ b/source/l/gtk+3/gtk+3.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gtk+3
VERSION=${VERSION:-$(echo gtk+-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -77,8 +77,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Fix embedded version number:
-zcat $CWD/gtk.meson.build.version.diff.gz | patch -p1 --verbose || exit 1
+# The version-check.py seems to be missing from the top-level directory, but
+# since we've checked the version numbers manually we'll just fix things so
+# the configure process doesn't try to call it:
+zcat $CWD/gtk.fix.missing.version-check.py.diff.gz | patch -p1 --verbose || exit 1
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
diff --git a/source/l/gtk+3/gtk.fix.missing.version-check.py.diff b/source/l/gtk+3/gtk.fix.missing.version-check.py.diff
new file mode 100644
index 000000000..296932324
--- /dev/null
+++ b/source/l/gtk+3/gtk.fix.missing.version-check.py.diff
@@ -0,0 +1,39 @@
+--- ./Makefile.in.orig 2020-04-27 09:37:05.000000000 -0500
++++ ./Makefile.in 2020-04-27 13:08:49.593281753 -0500
+@@ -1241,7 +1241,6 @@
+ dist-hook:
+ mkdir $(distdir)/subprojects
+ cp -p $(srcdir)/subprojects/*.wrap $(distdir)/subprojects
+- $(top_srcdir)/check-version.py $(top_srcdir)/configure.ac $(top_srcdir)/meson.build
+
+ distclean-local:
+ if test "$(srcdir)" = "."; then :; else \
+--- ./meson.build.orig 2020-04-27 09:35:59.000000000 -0500
++++ ./meson.build 2020-04-27 13:09:29.805285185 -0500
+@@ -987,16 +987,6 @@
+ install_dir : join_paths(gtk_datadir, 'gtk-3.0', 'valgrind'))
+ endif
+
+-test(
+- 'version-check',
+- find_program('check-version.py'),
+- args: [
+- join_paths(meson.current_source_dir(), 'configure.ac'),
+- join_paths(meson.current_source_dir(), 'meson.build'),
+- ],
+- suite: 'gtk',
+-)
+-
+ summary = [
+ '',
+ '------',
+--- ./Makefile.am.orig 2020-04-23 12:14:53.000000000 -0500
++++ ./Makefile.am 2020-04-27 13:08:28.015279911 -0500
+@@ -84,7 +84,6 @@
+ dist-hook:
+ mkdir $(distdir)/subprojects
+ cp -p $(srcdir)/subprojects/*.wrap $(distdir)/subprojects
+- $(top_srcdir)/check-version.py $(top_srcdir)/configure.ac $(top_srcdir)/meson.build
+
+ distclean-local:
+ if test "$(srcdir)" = "."; then :; else \
diff --git a/source/l/gtk+3/gtk.meson.build.version.diff b/source/l/gtk+3/gtk.meson.build.version.diff
deleted file mode 100644
index 4588ea6c9..000000000
--- a/source/l/gtk+3/gtk.meson.build.version.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- ./meson.build.orig 2020-04-03 12:07:47.000000000 -0500
-+++ ./meson.build 2020-04-15 14:18:42.838219120 -0500
-@@ -1,5 +1,5 @@
- project('gtk+-3.0', 'c',
-- version: '3.24.17',
-+ version: '3.24.18',
- default_options: [
- 'buildtype=debugoptimized',
- 'warning_level=1'