aboutsummaryrefslogtreecommitdiff
path: root/desktop/gnome-shell-extensions
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gnome-shell-extensions')
-rw-r--r--desktop/gnome-shell-extensions/gnome-shell-extensions.SlackBuild4
-rw-r--r--desktop/gnome-shell-extensions/meson-build_remove-unused-argument.patch10
2 files changed, 14 insertions, 0 deletions
diff --git a/desktop/gnome-shell-extensions/gnome-shell-extensions.SlackBuild b/desktop/gnome-shell-extensions/gnome-shell-extensions.SlackBuild
index ab185f9c1e2d..c99bad230e67 100644
--- a/desktop/gnome-shell-extensions/gnome-shell-extensions.SlackBuild
+++ b/desktop/gnome-shell-extensions/gnome-shell-extensions.SlackBuild
@@ -76,6 +76,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch data/meson.build to remove unused arguments, which cause FTB in meson
+# versions 0.60.0 and later (i.e. gets this build working in -current).
+patch -Np1 -i $CWD/meson-build_remove-unused-argument.patch
+
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
diff --git a/desktop/gnome-shell-extensions/meson-build_remove-unused-argument.patch b/desktop/gnome-shell-extensions/meson-build_remove-unused-argument.patch
new file mode 100644
index 000000000000..61fcf9c049ba
--- /dev/null
+++ b/desktop/gnome-shell-extensions/meson-build_remove-unused-argument.patch
@@ -0,0 +1,10 @@
+diff -Naur gnome-shell-extensions-41.2/data/meson.build gnome-shell-extensions-41.2-patched/data/meson.build
+--- gnome-shell-extensions-41.2/data/meson.build 2022-02-15 19:54:18.000000000 +0000
++++ gnome-shell-extensions-41.2-patched/data/meson.build 2023-02-05 16:42:11.238927940 +0000
+@@ -1,5 +1,5 @@
+ session_desktop = 'gnome-classic.desktop'
+-i18n.merge_file('',
++i18n.merge_file(
+ input: session_desktop + '.in',
+ output: session_desktop,
+ po_dir: '../po',