aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-03 21:55:03 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:45 +0700
commit8ccc8b8b248d61cbcdf02b3ea162163630bd8f4f (patch)
tree04a37f70ba7a8cca2822db7152377d59f27c5c33 /network
parentbdfe83733b923932874d4001fcf2acc5d0019496 (diff)
network/qtmib: Fix icon and slack-desc.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/qtmib/qtmib.SlackBuild10
-rw-r--r--network/qtmib/slack-desc2
2 files changed, 10 insertions, 2 deletions
diff --git a/network/qtmib/qtmib.SlackBuild b/network/qtmib/qtmib.SlackBuild
index 3691475893a3..5fe40fe72bd0 100644
--- a/network/qtmib/qtmib.SlackBuild
+++ b/network/qtmib/qtmib.SlackBuild
@@ -26,6 +26,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230103 bkw: BUILD=2
+# - one of upstream's icons is the wrong size...
+# - slack-desc, s/Qt4/Qt/ to match the README.
+
# 20211210 bkw:
# - update for 1.1.1+20190827_e62ab95 (latest git, supports qt5).
# - new-style icons.
@@ -39,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qtmib
VERSION=${VERSION:-1.1.1+20190827_e62ab95}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -101,6 +105,10 @@ make
make install DESTDIR=$PKG
strip $PKG/usr/bin/*
+# 20230103 bkw: this icon is 256x257 (huh?)
+convert -resize 256x256! src/art/$PRGNAM-256.png x.png
+mv x.png src/art/$PRGNAM-256.png
+
HICOLOR=$PKG/usr/share/icons/hicolor/
PIXMAPS=$PKG/usr/share/pixmaps
for png in src/art/$PRGNAM-*.png; do
diff --git a/network/qtmib/slack-desc b/network/qtmib/slack-desc
index b38ac5aeef06..bc4720a14a42 100644
--- a/network/qtmib/slack-desc
+++ b/network/qtmib/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
qtmib: qtmib (graphical SNMP MIB Browser)
qtmib:
-qtmib: qtmib is an easy-to-use SNMP MIB Browser based on the Qt4 library. It
+qtmib: qtmib is an easy-to-use SNMP MIB Browser based on the Qt library. It
qtmib: is a front-end for net-snmp, and it allows the user to query any
qtmib: SNMP-enabled device. It implements SNMPv1 and SNMPv2c, and it is
qtmib: released under the GPLv2 license.