diff options
author | Bob Funk <bobfunk11@gmail.com> | 2023-02-09 22:30:00 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-11 09:30:35 +0700 |
commit | 2c2ebd359754c45325ad629f89065c1f1021b90a (patch) | |
tree | ae79e93faa97d255bf94321b6287d16d470eaf09 /desktop/gnome-shell-extensions | |
parent | 5953e6209ccfa697f25272e8f51452fb8257ff97 (diff) |
desktop/gnome-shell-extensions: Meson patch.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gnome-shell-extensions')
-rw-r--r-- | desktop/gnome-shell-extensions/gnome-shell-extensions.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/gnome-shell-extensions/meson-build_remove-unused-argument.patch | 10 |
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', |