From c866feef2288a8695f9f5bd2127c02e678970986 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 24 Feb 2024 22:57:41 +0700 Subject: [PATCH] mate-control-center: Fix build without systemd. Signed-off-by: Willy Sudiarto Raharjo --- base/mate-control-center/mate-control-center.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/base/mate-control-center/mate-control-center.SlackBuild b/base/mate-control-center/mate-control-center.SlackBuild index ce2055c..2a0c866 100644 --- a/base/mate-control-center/mate-control-center.SlackBuild +++ b/base/mate-control-center/mate-control-center.SlackBuild @@ -78,6 +78,11 @@ 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 {} \; +# The system-info capplet partially depends on systemd, remove the systemd check +# to make this build. system-info will output some (null)-fields. +# More info here https://github.com/mate-desktop/mate-control-center/issues/738 +sed -i '19302,19392d' configure + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -88,7 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ - --enable-appindicator=auto \ + --disable-schemas-compile \ --build=$ARCH-slackware-linux make