aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorGiancarlo Dessi <slack@giand.it>2024-06-21 07:16:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-21 21:41:14 +0700
commitfa9baff660f558a49c9ec2b62155276e7fa67eb3 (patch)
treef36e0b1d0f8ae402749c2f1a39c6c67583ca31c1 /graphics
parent8853b3db31ca03c55cd0b5e95eaaf5368d5b2824 (diff)
graphics/birdfont: Updated for version 2.33.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/birdfont/README6
-rw-r--r--graphics/birdfont/birdfont.SlackBuild17
-rw-r--r--graphics/birdfont/birdfont.info8
3 files changed, 12 insertions, 19 deletions
diff --git a/graphics/birdfont/README b/graphics/birdfont/README
index cc8b8f6a0ba6..54074a257d8d 100644
--- a/graphics/birdfont/README
+++ b/graphics/birdfont/README
@@ -2,9 +2,3 @@ Birdfont is a free font editor which lets you create vector graphics
and export TTF, OTF and SVG fonts.
The editor has good support for both monochrome and color font
formats.
-
-Version 2.33.3 is the latest can be installed in Slackware 15.0 because
-earlier versions require webkit2gtk4.1. Since the build of Birdfont is
-based on vala and the version 0.54 available in Slackware 15.0 does not
-create the APIs for webkit2gtk 4.1, the build of version earlier than
-2.33.3 will fail.
diff --git a/graphics/birdfont/birdfont.SlackBuild b/graphics/birdfont/birdfont.SlackBuild
index 5346149641e1..d6b3b1c5ccc6 100644
--- a/graphics/birdfont/birdfont.SlackBuild
+++ b/graphics/birdfont/birdfont.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for birdfont
-# Copyright 2020-2023 Giancarlo Dessi, Cagliari, IT
+# Copyright 2020-2024 Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=birdfont
-VERSION=${VERSION:-2.33.3}
+VERSION=${VERSION:-2.33.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,6 +70,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+patch -p1 < $CWD/install-path.patch
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,19 +79,16 @@ 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 {} \;
-./configure --prefix=/usr --cflags="$SLKCFLAGS"
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure --prefix=/usr --dest=/
./build.py
-./install.py --dest "$PKG" --libdir /lib$LIBDIRSUFFIX --manpages-directory /man/man1
+./install.py
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*
-
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 {} \;
-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
cp -a AUTHORS NEWS README.md GPLv3.txt LGPLv3.txt TRANSLATORS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/birdfont/birdfont.info b/graphics/birdfont/birdfont.info
index e2e4a9edc0b7..95bfb1e58b92 100644
--- a/graphics/birdfont/birdfont.info
+++ b/graphics/birdfont/birdfont.info
@@ -1,10 +1,10 @@
PRGNAM="birdfont"
-VERSION="2.33.3"
+VERSION="2.33.4"
HOMEPAGE="https://birdfont.org"
-DOWNLOAD="https://birdfont.org/releases/birdfont-2.33.3.tar.xz"
-MD5SUM="b78ca7c27d623bc941cb7986d84f206b"
+DOWNLOAD="https://birdfont.org/releases/birdfont-2.33.4.tar.xz"
+MD5SUM="00b902dd8f9c9701dc7f48f05c2c3b51"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="webkit2gtk libxmlbird"
+REQUIRES="webkit2gtk4.1 libxmlbird"
MAINTAINER="Giancarlo Dessi"
EMAIL="slack@giand.it"