Skip to content

Commit

Permalink
graphics/birdfont: Updated for version 2.33.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Giancarlo Dessi authored and sbo-bot[bot] committed Jun 21, 2024
1 parent ee8422d commit e52a8b5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
6 changes: 0 additions & 6 deletions graphics/birdfont/README
Original file line number Diff line number Diff line change
Expand Up @@ -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.
14 changes: 9 additions & 5 deletions graphics/birdfont/birdfont.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -70,20 +70,24 @@ 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 \
-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 {} \;

./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.*.*
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la

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
Expand Down
8 changes: 4 additions & 4 deletions graphics/birdfont/birdfont.info
Original file line number Diff line number Diff line change
@@ -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="[email protected]"

0 comments on commit e52a8b5

Please sign in to comment.