|
|
@ -2,9 +2,9 @@ |
|
|
|
|
|
|
|
# Slackware build script for mate-control-center |
|
|
|
|
|
|
|
# Copyright 2013 Chess Griffin Raleigh, NC |
|
|
|
# Copyright 2013-2021 Willy Sudiarto Raharjo |
|
|
|
# Copyright 2023 Johannes Schoepfer, Germany |
|
|
|
# Copyright 2013 Chess Griffin Raleigh, NC |
|
|
|
# Copyright 2013-2021 Willy Sudiarto Raharjo |
|
|
|
# Copyright 2023-2024 Johannes Schoepfer, Germany |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
@ -27,7 +27,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=mate-control-center |
|
|
|
VERSION=${VERSION:-1.26.1} |
|
|
|
VERSION=${VERSION:-1.28.0} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -80,9 +80,14 @@ 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 {} + |
|
|
|
|
|
|
|
# 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" \ |
|
|
@ -95,8 +100,8 @@ CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
--docdir=/usr/doc/$PRGNAM-$VERSION \ |
|
|
|
--enable-shared \ |
|
|
|
--disable-static \ |
|
|
|
--disable-schemas-compile \ |
|
|
|
--disable-update-mimedb \ |
|
|
|
--enable-appindicator=auto \ |
|
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
|
|
|
make |
|
|
@ -109,7 +114,7 @@ rm $PKG/usr/share/applications/mimeinfo.cache |
|
|
|
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 |
|
|
|