system/openstego: Updated for version 0.8.6.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-07-13 03:23:46 -04:00 committed by Willy Sudiarto Raharjo
parent b6241c626e
commit 3e5e72a6fc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
13 changed files with 68 additions and 7 deletions

View file

@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" id="openstego" version="1.0">
<g transform="matrix(1.453999,0,0,1.453999,-259.6164,-661.5958)">
<path id="docBorder"
style="fill:#eae6ff;fill-opacity:1;fill-rule:nonzero;stroke:#000881;stroke-width:2.44472575;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="M 218.31065,456.27113 L 251.25118,456.27113 L 265.8171,472.94306 L 265.8171,513.67131 L 218.31065,513.67131 L 218.31065,456.27113 z M 251.23967,456.22792 L 251.23967,472.93014 C 251.23967,472.93014 261.97902,472.93014 265.81902,472.93014"/>
<path id="docLine1"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000881;stroke-width:4.13519478;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 224.33584,466.70479 L 245.45975,466.70479"/>
<path id="docLine2"
d="M 224.64714,479.06041 L 258.33499,479.06041"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000881;stroke-width:4.13519478;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"/>
<path id="docLine3"
d="M 224.64714,491.41611 L 258.33499,491.41611"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000881;stroke-width:4.13519478;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"/>
<path id="docLine4"
d="M 224.64714,503.77176 L 258.33498,503.77176"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000881;stroke-width:4.13519478;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"/>
</g>
<g transform="matrix(1.593152,0,0,1.593152,-79.50907,-657.5661)">
<rect id="imgBorder"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#700000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
width="49.716938"
height="49.716938"
x="51.657085"
y="441.83261"
ry="0"/>
<path id="imgContent"
style="fill:#0b760f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 52.337777,478.61802 L 64.760647,459.03654 L 71.782271,470.40643 L 86.365642,450.1933 L 100.40889,467.24813 L 100.40889,490.61957 L 52.337777,490.61957 L 52.337777,478.61802 z "/>
</g>
<path id="arrow"
d="M 49.444682,53.153416 C 42.843541,36.957241 62.167937,29.269184 78.155317,31.304658 L 78.155317,9.4558852 C 33.516292,9.6389542 21.476651,39.195285 22.784779,53.153416 L 22.784779,53.153416 L 8.4294322,53.153416 L 36.11473,74.192915 L 63.800029,53.153416 L 49.444682,53.153416 L 49.444682,53.153416"
style="fill:#dd3c00;fill-opacity:1;stroke:none;stroke-width:1.80180204"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -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,12 @@
# 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:
@ -44,7 +50,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openstego
VERSION=${VERSION:-0.8.5}
VERSION=${VERSION:-0.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -77,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

View file

@ -1,8 +1,8 @@
PRGNAM="openstego"
VERSION="0.8.5"
VERSION="0.8.6"
HOMEPAGE="https://www.openstego.com/"
DOWNLOAD="https://github.com/syvaidya/openstego/releases/download/openstego-0.8.5/openstego-0.8.5.zip"
MD5SUM="89792b42656fbbda65e128469d5f9597"
DOWNLOAD="https://github.com/syvaidya/openstego/releases/download/openstego-0.8.6/openstego-0.8.6.zip"
MD5SUM="2e16eca78a907c4385418b5fa3c3e655"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk11"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -1,2 +1,2 @@
#!/bin/sh
exec java -Xmx1024m -jar /usr/share/openstego/openstego.jar "$@"
exec java -Dawt.useSystemAAFontSettings=on -Xmx1024m -jar /usr/share/openstego/openstego.jar "$@"