diff options
-rw-r--r-- | system/openstego/doinst.sh | 6 | ||||
-rw-r--r-- | system/openstego/icons/128.png | bin | 0 -> 4158 bytes | |||
-rw-r--r-- | system/openstego/icons/16.png | bin | 0 -> 668 bytes | |||
-rw-r--r-- | system/openstego/icons/22.png | bin | 0 -> 917 bytes | |||
-rw-r--r-- | system/openstego/icons/32.png | bin | 0 -> 1219 bytes | |||
-rw-r--r-- | system/openstego/icons/48.png | bin | 0 -> 1855 bytes | |||
-rw-r--r-- | system/openstego/icons/64.png | bin | 0 -> 2210 bytes | |||
-rw-r--r-- | system/openstego/icons/96.png | bin | 0 -> 3249 bytes | |||
-rw-r--r-- | system/openstego/icons/openstego.svg | 35 | ||||
-rw-r--r-- | system/openstego/openstego.SlackBuild | 26 | ||||
-rw-r--r-- | system/openstego/openstego.info | 6 | ||||
-rw-r--r-- | system/openstego/openstego.png | bin | 1747 -> 0 bytes | |||
-rw-r--r-- | system/openstego/openstego.sh | 2 |
13 files changed, 68 insertions, 7 deletions
diff --git a/system/openstego/doinst.sh b/system/openstego/doinst.sh index 5fb28930db0b..65c7e2eeb9aa 100644 --- a/system/openstego/doinst.sh +++ b/system/openstego/doinst.sh @@ -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 diff --git a/system/openstego/icons/128.png b/system/openstego/icons/128.png Binary files differnew file mode 100644 index 000000000000..9a3a97d79f64 --- /dev/null +++ b/system/openstego/icons/128.png diff --git a/system/openstego/icons/16.png b/system/openstego/icons/16.png Binary files differnew file mode 100644 index 000000000000..c3485254b0ff --- /dev/null +++ b/system/openstego/icons/16.png diff --git a/system/openstego/icons/22.png b/system/openstego/icons/22.png Binary files differnew file mode 100644 index 000000000000..392cdc676220 --- /dev/null +++ b/system/openstego/icons/22.png diff --git a/system/openstego/icons/32.png b/system/openstego/icons/32.png Binary files differnew file mode 100644 index 000000000000..198144fe7b38 --- /dev/null +++ b/system/openstego/icons/32.png diff --git a/system/openstego/icons/48.png b/system/openstego/icons/48.png Binary files differnew file mode 100644 index 000000000000..7efacec9d6a9 --- /dev/null +++ b/system/openstego/icons/48.png diff --git a/system/openstego/icons/64.png b/system/openstego/icons/64.png Binary files differnew file mode 100644 index 000000000000..08201538be97 --- /dev/null +++ b/system/openstego/icons/64.png diff --git a/system/openstego/icons/96.png b/system/openstego/icons/96.png Binary files differnew file mode 100644 index 000000000000..886df705d5ec --- /dev/null +++ b/system/openstego/icons/96.png diff --git a/system/openstego/icons/openstego.svg b/system/openstego/icons/openstego.svg new file mode 100644 index 000000000000..c0646c438391 --- /dev/null +++ b/system/openstego/icons/openstego.svg @@ -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> diff --git a/system/openstego/openstego.SlackBuild b/system/openstego/openstego.SlackBuild index a42772b3d0f1..f3438c197a27 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,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 diff --git a/system/openstego/openstego.info b/system/openstego/openstego.info index e24883cc858e..67659b206740 100644 --- a/system/openstego/openstego.info +++ b/system/openstego/openstego.info @@ -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" diff --git a/system/openstego/openstego.png b/system/openstego/openstego.png Binary files differdeleted file mode 100644 index 8f64ff961dbf..000000000000 --- a/system/openstego/openstego.png +++ /dev/null diff --git a/system/openstego/openstego.sh b/system/openstego/openstego.sh index 77134c081fbc..b7006e93f361 100644 --- a/system/openstego/openstego.sh +++ b/system/openstego/openstego.sh @@ -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 "$@" |