summaryrefslogtreecommitdiffstats
path: root/source/xap/network-manager-applet
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/network-manager-applet')
-rwxr-xr-xsource/xap/network-manager-applet/network-manager-applet.SlackBuild4
-rw-r--r--source/xap/network-manager-applet/network-manager-applet.ftbfs.diff18
2 files changed, 21 insertions, 1 deletions
diff --git a/source/xap/network-manager-applet/network-manager-applet.SlackBuild b/source/xap/network-manager-applet/network-manager-applet.SlackBuild
index f033b3e1d..fe4c197a9 100755
--- a/source/xap/network-manager-applet/network-manager-applet.SlackBuild
+++ b/source/xap/network-manager-applet/network-manager-applet.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=network-manager-applet
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -77,6 +77,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+zcat $CWD/network-manager-applet.ftbfs.diff.gz | patch -p1 --verbose || exit 1
+
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
diff --git a/source/xap/network-manager-applet/network-manager-applet.ftbfs.diff b/source/xap/network-manager-applet/network-manager-applet.ftbfs.diff
new file mode 100644
index 000000000..2f26b9307
--- /dev/null
+++ b/source/xap/network-manager-applet/network-manager-applet.ftbfs.diff
@@ -0,0 +1,18 @@
+--- ./meson.build.orig 2021-08-17 03:11:30.000000000 -0500
++++ ./meson.build 2022-02-16 14:18:28.805143006 -0600
+@@ -253,7 +253,6 @@
+
+ foreach desktop: desktop_files
+ i18n.merge_file(
+- desktop + '-desktop',
+ input: desktop + '.desktop.in',
+ output: desktop + '.desktop',
+ install: true,
+@@ -274,7 +273,6 @@
+ appdata = 'nm-connection-editor.appdata.xml'
+
+ i18n.merge_file(
+- 'desktop',
+ input: appdata + '.in',
+ output: appdata,
+ install: true,