aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-23 15:59:56 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-25 22:58:02 +0700
commitb65d4ceaa532337617c46776d576fa15b0f1ddf0 (patch)
tree74df25fa710a6b14266a8366343f0f03b3be161a /system
parent1580aba61a5c1818ff9563021e3e1181eb016ce5 (diff)
system/font-manager: Updated for version 0.8.8.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/font-manager/README6
-rw-r--r--system/font-manager/font-manager.SlackBuild61
-rw-r--r--system/font-manager/font-manager.info6
3 files changed, 33 insertions, 40 deletions
diff --git a/system/font-manager/README b/system/font-manager/README
index 58757263785ab..ae03670104bdf 100644
--- a/system/font-manager/README
+++ b/system/font-manager/README
@@ -1,6 +1,4 @@
A simple font management application for GTK+ Desktop Environments.
-For file-roller support, install file-roller and call the SlackBuild
-with FILE_ROLLER=yes, for example
-
- FILE_ROLLER=yes ./font-manager.SlackBuild
+Optional dependency: file-roller. This is a runtime dependency, not
+required at build time.
diff --git a/system/font-manager/font-manager.SlackBuild b/system/font-manager/font-manager.SlackBuild
index 8c055c857160a..ca3a2932fafb9 100644
--- a/system/font-manager/font-manager.SlackBuild
+++ b/system/font-manager/font-manager.SlackBuild
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by updating to v0.8.8.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=font-manager
-VERSION=${VERSION:-0.7.3}
+VERSION=${VERSION:-0.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -70,41 +70,36 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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 {} \;
-
-FILE_ROLLER=${FILE_ROLLER:-no}
-if [ "$FILE_ROLLER" = "yes" ]; then
- FILE_ROLLER_FLAG="--with-file-roller"
-fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- $FILE_ROLLER_FLAG \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-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
-
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dthunar=true \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/font-manager/font-manager.info b/system/font-manager/font-manager.info
index a88ce6fe658a7..65904076ba0a1 100644
--- a/system/font-manager/font-manager.info
+++ b/system/font-manager/font-manager.info
@@ -1,8 +1,8 @@
PRGNAM="font-manager"
-VERSION="0.7.3"
+VERSION="0.8.8"
HOMEPAGE="http://fontmanager.github.io/"
-DOWNLOAD="https://github.com/FontManager/master/releases/download/0.7.3/font-manager-0.7.3.tar.bz2"
-MD5SUM="3623327f516100f65a84a04ba1be39c9"
+DOWNLOAD="https://github.com/FontManager/font-manager/releases/download/0.8.8/font-manager-0.8.8.tar.xz"
+MD5SUM="1a898600f7153aa685694bd90c847c9c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yelp-tools"