diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2022-08-16 01:26:11 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 09:14:21 +0700 |
commit | 779553b3494d98941e34cef430cdcb9c8cb848f5 (patch) | |
tree | 622ffb567307f7e20d436698fd2e285ddeea435f /desktop/gtkhash | |
parent | 1153fb25e3b697c0f148e1cf1bcc2b0dd9b6a8d9 (diff) |
desktop/gtkhash: Updated for version 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gtkhash')
-rw-r--r-- | desktop/gtkhash/README.Slackware | 22 | ||||
-rw-r--r-- | desktop/gtkhash/gtkhash.SlackBuild | 16 | ||||
-rw-r--r-- | desktop/gtkhash/gtkhash.info | 6 | ||||
-rw-r--r-- | desktop/gtkhash/slack-desc | 2 |
4 files changed, 15 insertions, 31 deletions
diff --git a/desktop/gtkhash/README.Slackware b/desktop/gtkhash/README.Slackware index 384ab77c0603a..aed8a92fc9bcc 100644 --- a/desktop/gtkhash/README.Slackware +++ b/desktop/gtkhash/README.Slackware @@ -3,38 +3,26 @@ Many configure options are given in the configure.ac file in the source, some of which are: +--enable-libcrypto --enable-mbedtls ---enable-mhash --enable-nettle --enable-caja --enable-nautilus --enable-nemo ---enable-thunar The above configuration options are present in the SlackBuild and commented out; users can enable them according to their needs. ### Command line switches -* To enable the GtkHash Thunar extension, can run the script like: - -./THUNAR=yes gtkhash.SlackBuild - * To enable BLAKE2 support (needs libb2): ./BLAKE2=yes gtkhash.SlackBuild -### Using with Thunar +* To disable the GtkHash Thunar extension, one can run the script like: -Thunar's Custom Action feature can be used (Thunar -> Edit -> Configure - Custom Action) to create a custom action in the menu for checking the md5sum. +./THUNAR=no gtkhash.SlackBuild -Sample values: - -(Basic Tab) -Name: Check md5sum -Command: gtkhash %f +### Using with Thunar -(Appearence Tab) -File Pattern: *.*z* -Appears if: Other Files +GtkHash adds a Checksums tab in Properties option for files. diff --git a/desktop/gtkhash/gtkhash.SlackBuild b/desktop/gtkhash/gtkhash.SlackBuild index f05642b2d6c62..441e692bf13e2 100644 --- a/desktop/gtkhash/gtkhash.SlackBuild +++ b/desktop/gtkhash/gtkhash.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for GtkHash -# Copyright 2014-2019 Aaditya Bagga <aaditya_gnulinux@zoho.com> +# Copyright 2014-2022 Aaditya Bagga <aaditya_gnulinux@zoho.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gtkhash -VERSION=${VERSION:-1.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -81,8 +78,9 @@ find -L . \ # cmd line args libb2_params="--disable-blake2" ; [ "${BLAKE2:-no}" != "no" ] && libb2_params="" -thunar_params="" ; [ "${THUNAR:-no}" != "no" ] && thunar_params="--enable-thunar --with-thunarx=2" +thunar_params="--enable-thunar" ; [ "${THUNAR:-yes}" != "yes" ] && thunar_params="" +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -97,12 +95,10 @@ CXXFLAGS="$SLKCFLAGS" \ $thunar_params # --enable-libcrypto \ # --enable-mbedtls \ -# --enable-mhash \ # --enable-nettle \ # --enable-caja # --enable-nautilus \ # --enable-nemo \ -# --enable-debug \ make make install DESTDIR=$PKG @@ -112,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog NEWS README.md TODO \ + AUTHORS COPYING ChangeLog NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/desktop/gtkhash/gtkhash.info b/desktop/gtkhash/gtkhash.info index c6b584cc12d00..aac813f7e8ddf 100644 --- a/desktop/gtkhash/gtkhash.info +++ b/desktop/gtkhash/gtkhash.info @@ -1,8 +1,8 @@ PRGNAM="gtkhash" -VERSION="1.2" +VERSION="1.4" HOMEPAGE="https://github.com/tristanheaven/gtkhash" -DOWNLOAD="https://github.com/tristanheaven/gtkhash/releases/download/v1.2/gtkhash-1.2.tar.gz" -MD5SUM="6f3253944f8751279180de94870a5f13" +DOWNLOAD="https://github.com/tristanheaven/gtkhash/releases/download/v1.4/gtkhash-1.4.tar.gz" +MD5SUM="3f3146acd3b8f6e36fe6556716f360a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/desktop/gtkhash/slack-desc b/desktop/gtkhash/slack-desc index 1e2137b56d0dc..23c485578c2f8 100644 --- a/desktop/gtkhash/slack-desc +++ b/desktop/gtkhash/slack-desc @@ -14,6 +14,6 @@ gtkhash: gtkhash: Most well-known hash functions are supported, gtkhash: including MD5, SHA1, SHA2 and SHA3. gtkhash: -gtkhash: Homepage: http://gtkhash.sourceforge.net/ +gtkhash: Homepage: https://gtkhash.org/ gtkhash: gtkhash: |