summaryrefslogtreecommitdiffstats
path: root/desktop/mate-terminal
diff options
context:
space:
mode:
author Johannes Schoepfer2023-06-10 02:26:29 +0200
committer Willy Sudiarto Raharjo2023-06-10 02:26:29 +0200
commitd0aba97d2b1d96786e91f82a8c1215b693e9249a (patch)
tree10fd730e08150429e69e4292b382686030fd502f /desktop/mate-terminal
parent3fcdcb9fd3927f15a6e53d2d6708e84cc161c8c7 (diff)
downloadslackbuilds-d0aba97d2b1d96786e91f82a8c1215b693e9249a.tar.gz
desktop/mate-terminal: Fix schema.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/mate-terminal')
-rw-r--r--desktop/mate-terminal/mate-terminal.SlackBuild16
-rw-r--r--desktop/mate-terminal/mate-terminal.info6
2 files changed, 16 insertions, 6 deletions
diff --git a/desktop/mate-terminal/mate-terminal.SlackBuild b/desktop/mate-terminal/mate-terminal.SlackBuild
index d4a9eea98a..08412ae145 100644
--- a/desktop/mate-terminal/mate-terminal.SlackBuild
+++ b/desktop/mate-terminal/mate-terminal.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2013 Chess Griffin Raleigh, NC
# Copyright 2013-2021 Willy Sudiarto Raharjo
-# Copyright 2022-2023 Johannes Schoepfer, Germany
+# Copyright 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -80,9 +80,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,17 +91,25 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --enable-shared \
+ --disable-static \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-schemas-compile \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+# Don't make mate-desktop a hard dependency
+[ ! -s /usr/share/glib-2.0/schemas/org.mate.interface.gschema.xml ] && \
+ cp $CWD/org.mate.interface.gschema.xml \
+ $PKG/usr/share/glib-2.0/schemas/org.mate.interface.gschema.xml
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \+
+find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/desktop/mate-terminal/mate-terminal.info b/desktop/mate-terminal/mate-terminal.info
index 26f35a30e1..45da9d8dd5 100644
--- a/desktop/mate-terminal/mate-terminal.info
+++ b/desktop/mate-terminal/mate-terminal.info
@@ -1,8 +1,10 @@
PRGNAM="mate-terminal"
VERSION="1.26.1"
HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/applications/mate-terminal/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/mate-terminal-1.26.1.tar.xz"
-MD5SUM="7c06c4404c5b46f7e1ad2ef0c56865cc"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/mate-terminal-1.26.1.tar.xz\
+ https://raw.githubusercontent.com/mate-desktop/mate-desktop/1.26/schemas/org.mate.interface.gschema.xml"
+MD5SUM="7c06c4404c5b46f7e1ad2ef0c56865cc \
+ 5a3d0fd68b8d79f8d740bbfd8a344776"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""