From 8ccc8b8b248d61cbcdf02b3ea162163630bd8f4f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 3 Jan 2023 21:55:03 -0500 Subject: network/qtmib: Fix icon and slack-desc. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/qtmib/qtmib.SlackBuild | 10 +++++++++- network/qtmib/slack-desc | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'network/qtmib') 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. -- cgit v1.2.3