diff options
author | B. Watson <yalhcru@gmail.com> | 2020-05-26 03:04:01 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-01 08:46:39 +0700 |
commit | 94114024def9efc171f67e8793f39aea856ecba0 (patch) | |
tree | eb8d4353ca2469595aff078f378087f76de101cb /network/transmission-remote-gtk | |
parent | 16027fe8c543f337c2482b7dc71d5a5ae9a0e53a (diff) | |
download | slackbuilds-94114024def9efc171f67e8793f39aea856ecba0.tar.gz |
network/transmission-remote-gtk: Updated for v1.4.1, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/transmission-remote-gtk')
4 files changed, 54 insertions, 28 deletions
diff --git a/network/transmission-remote-gtk/README b/network/transmission-remote-gtk/README index 41c17ca20c..c47f4be41c 100644 --- a/network/transmission-remote-gtk/README +++ b/network/transmission-remote-gtk/README @@ -1,3 +1,5 @@ +transmission-remote-gtk (transmission remote control GUI) + transmission-remote-gtk is a cross-platform application for remote management of the Transmission BitTorrent client using its RPC interface. @@ -8,4 +10,13 @@ management of the Transmission BitTorrent client using its RPC interface. priorities, add/edit/remove trackers. * Change remote settings like global limits, download directory, and connectivity preferences. - * Russian, Polish, Korean, and German, Spanish, Ukranian translations. + * UI translations for many languages. + +Optional dependencies, detected at compile time: + +GeoIP - used to display country flags next to IP addresses. +libappindicator3 - used for integration with KDE's taskbar. +libmrss - used for built-in RSS reader. + +If you want to build without libnotify (desktop notifications) support, +set NOTIFY=no in the script's environment. diff --git a/network/transmission-remote-gtk/slack-desc b/network/transmission-remote-gtk/slack-desc index 78af7c256a..5c44ee8e02 100644 --- a/network/transmission-remote-gtk/slack-desc +++ b/network/transmission-remote-gtk/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -transmission-remote-gtk: transmission-remote-gtk (Transmission Bittorrent remote GUI) +transmission-remote-gtk: transmission-remote-gtk (transmission remote control GUI) transmission-remote-gtk: -transmission-remote-gtk: transmission-remote-gtk is a GTK applicatoin for remote management of +transmission-remote-gtk: transmission-remote-gtk is a GTK application for remote management of transmission-remote-gtk: the Transmission BitTorrent client via its RPC interface. transmission-remote-gtk: -transmission-remote-gtk: Homepage: http://code.google.com/p/transmission-remote-gtk/ -transmission-remote-gtk: -transmission-remote-gtk: -transmission-remote-gtk: +transmission-remote-gtk: Build options: +transmission-remote-gtk: @opts@ transmission-remote-gtk: +transmission-remote-gtk: Homepage: +transmission-remote-gtk: https://github.com/transmission-remote-gtk/transmission-remote-gtk/ transmission-remote-gtk: diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild index 677e991256..4daa00e722 100644 --- a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild +++ b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for transmission-remote-gtk # Copyright 2012-2016 Chris Walker Copperas Cove, TX +# Copyright 2020 B. Watson <yalhcru@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -31,8 +32,19 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20200526 bkw: +# - take over maintenance +# - update for v1.4.1 +# - add NOTIFY=no to build --without-libnotify +# - add README note and slack-desc support for optional deps +# - fix homepage and typo in slack-desc +# - build tweaks +# - get rid of the list of translation languages in README, it's +# no longer accurate (several more added) and I can't be bothered +# to keep it up-to-date. + PRGNAM=transmission-remote-gtk -VERSION=${VERSION:-1.2} +VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,40 +81,43 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +[ "${NOTIFY:-yes}" = "no" ] && NOTIFYOPT="--without-libnotify" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ + $NOTIFYOPT \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --build=$ARCH-slackware-linux make V=1 -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG +gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# 20200526 bkw: lots of optional deps, let the slack-desc keep track of them +ldd $PKG/usr/bin/$PRGNAM > ldd.tmp +for i in libnotify libappindicator3 libmrss GeoIP; do + opts+="$i:" + grep -q $i ldd.tmp && opts+="yes " || opts+="no " +done -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# 20200526 bkw: this doesn't belong in a package +rm -f $PKG/usr/share/applications/mimeinfo.cache mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc +sed "s,@opts@,$opts," $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.info b/network/transmission-remote-gtk/transmission-remote-gtk.info index 80f1eaffc3..0a7fb4be88 100644 --- a/network/transmission-remote-gtk/transmission-remote-gtk.info +++ b/network/transmission-remote-gtk/transmission-remote-gtk.info @@ -1,10 +1,10 @@ PRGNAM="transmission-remote-gtk" -VERSION="1.2" +VERSION="1.4.1" HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk/" -DOWNLOAD="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/1.2/transmission-remote-gtk-1.2.tar.gz" -MD5SUM="dfb485390b49c1f0af5063b44a4fef03" +DOWNLOAD="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/1.4.1/transmission-remote-gtk-1.4.1.tar.xz" +MD5SUM="5955f2d80e51c14fa6bf137c9c2bac74" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="transmission json-glib" -MAINTAINER="Christopher Walker" -EMAIL="kris240376@gmail.com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |