diff options
Diffstat (limited to 'system/openstego/openstego.SlackBuild')
-rw-r--r-- | system/openstego/openstego.SlackBuild | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/system/openstego/openstego.SlackBuild b/system/openstego/openstego.SlackBuild index 181ff1d177..f3438c197a 100644 --- a/system/openstego/openstego.SlackBuild +++ b/system/openstego/openstego.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for openstego # Copyright 2012-2014 Fridrich von Stauffenberg <email removed> -# Copyright 2018 B. Watson <urchlay@slackware.uk> +# Copyright 2018-2023 B. Watson <urchlay@slackware.uk> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,6 +23,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230713 bkw: +# - update for v0.8.6. +# - new-style icons. +# - enable antialiased fonts in wrapper script. +# - update doinst.sh. + +# 20221228 bkw: update for v0.8.5. + # 20220610 bkw: # - update for v0.8.4. # - requires v11 JDK now, update README note. @@ -42,7 +50,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=openstego -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.8.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,9 +83,23 @@ mkdir -p $PKG/usr/bin cat $CWD/$PRGNAM.sh > $PKG/usr/bin/$PRGNAM chmod 755 $PKG/usr/bin/$PRGNAM +# 20230713 bkw: new-style prescaled and scalable icons. openstego.svg +# comes from upstream's official .deb package, on the github releases page, +# and the rest of the icons were made by rendering it with rsvg-convert. +hicolor=$PKG/usr/share/icons/hicolor +for i in $CWD/icons/*.png; do + px="$( basename $i | cut -d. -f1 )" + sz=${px}x${px} + mkdir -p $hicolor/$sz/apps + cat $i > $hicolor/$sz/apps/$PRGNAM.png +done + +mkdir -p $hicolor/scalable/apps +cat $CWD/icons/$PRGNAM.svg > $hicolor/scalable/apps/$PRGNAM.svg + mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION |