diff options
Diffstat (limited to 'misc')
195 files changed, 2577 insertions, 874 deletions
diff --git a/misc/BISP/BISP.SlackBuild b/misc/BISP/BISP.SlackBuild index ebe7620708..4cd53b0b66 100644 --- a/misc/BISP/BISP.SlackBuild +++ b/misc/BISP/BISP.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Nexus Personal (BISP) # -# Copyright 2009 Niklas "Nille" Åkerström +# Copyright 2009 Niklas "Nille" Ã…kerström # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -32,10 +32,10 @@ # This was not a script to start with. # Just made a guide on wiki.slackware.se that "Damaged" # the Slackware install. -# 4.10.0.x 28/Mar/2009 by Niklas "Nille" Åkerström. +# 4.10.0.x 28/Mar/2009 by Niklas "Nille" Ã…kerström. # * First full working Slackware buildscript. # Buildscript needed "Compatlibs" from Ubuntu. -# 4.10.0.x 11/May/2009 by Niklas "Nille" Åkerström. +# 4.10.0.x 11/May/2009 by Niklas "Nille" Ã…kerström. # * Corrected some rights settings in the buildscript. # 4.10.2.16 01/Jan/2010 # * Removed the "Compatlibs" and made some minor changes to the diff --git a/misc/Colormake/Colormake.SlackBuild b/misc/Colormake/Colormake.SlackBuild index 2944f97a89..1e4bba3378 100644 --- a/misc/Colormake/Colormake.SlackBuild +++ b/misc/Colormake/Colormake.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for Colormake. # -# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/misc/Colormake/Colormake.info b/misc/Colormake/Colormake.info index b897d9c3fa..c682ef8f92 100644 --- a/misc/Colormake/Colormake.info +++ b/misc/Colormake/Colormake.info @@ -6,5 +6,5 @@ MD5SUM="28f4fc69afb99e54f8e988e16ed3d696" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere" diff --git a/misc/KeePass/KeePass.SlackBuild b/misc/KeePass/KeePass.SlackBuild index 34cd5bf8ef..f47c940d85 100644 --- a/misc/KeePass/KeePass.SlackBuild +++ b/misc/KeePass/KeePass.SlackBuild @@ -4,7 +4,7 @@ # Based on http://slackbuilds.org/templates/autotools-template.SlackBuild # Copyright (c) 2011, Eric B. Pratt <eric.b.pratt@gmail.com> -# 2015-18, Shrivatsan Sampathkumar <nastavs@gmail.com> +# 2015-20, Shrivatsan Sampathkumar <nastavs@gmail.com> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -19,7 +19,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=KeePass -VERSION=${VERSION:-2.42.1} +VERSION=${VERSION:-2.47} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/KeePass/KeePass.info b/misc/KeePass/KeePass.info index cc7d8ca75d..0ece240393 100644 --- a/misc/KeePass/KeePass.info +++ b/misc/KeePass/KeePass.info @@ -1,8 +1,8 @@ PRGNAM="KeePass" -VERSION="2.42.1" +VERSION="2.47" HOMEPAGE="https://keepass.info/" -DOWNLOAD="http://downloads.sourceforge.net/keepass/KeePass-2.42.1-Source.zip" -MD5SUM="09e3034224d7c82c1822ab3b015f1495" +DOWNLOAD="http://downloads.sourceforge.net/keepass/KeePass-2.47-Source.zip" +MD5SUM="7955b3b563317f69e5b014014b69020a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mono" diff --git a/misc/OSCAR/OSCAR.SlackBuild b/misc/OSCAR/OSCAR.SlackBuild new file mode 100644 index 0000000000..eb58726ca5 --- /dev/null +++ b/misc/OSCAR/OSCAR.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/sh + +# Slackware build script for OSCAR + +# Copyright 2019-2020 Zhu, Qun-Ying +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=OSCAR +VERSION=${VERSION:-1.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +PRGSRC_NAME=$PRGNAM-code-v$VERSION +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGSRC_NAME +tar xvf $CWD/$PRGSRC_NAME.tar.bz2 +cd $PRGSRC_NAME +chown -R root:root . +mkdir build +(cd build; CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \ + qmake-qt5 ../OSCAR_QT.pro; make $JOBS) + +mkdir -p $PKG/usr/bin +strip --strip-unneeded build/oscar/OSCAR +cp build/oscar/OSCAR $PKG/usr/bin + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp CONTRIBUTING.md README COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps +mkdir -p $PKG/usr/share/applications +mkdir -p $PKG/usr/share/$PRGNAM + +cp Building/Linux/OSCAR.png $PKG/usr/share/icons/hicolor/48x48/apps +cp Building/Linux/OSCAR.desktop $PKG/usr/share/applications +cp -a build/oscar/Translations $PKG/usr/share/$PRGNAM +cp -a build/oscar/Html $PKG/usr/share/$PRGNAM + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/OSCAR/OSCAR.info b/misc/OSCAR/OSCAR.info new file mode 100644 index 0000000000..756a9871bc --- /dev/null +++ b/misc/OSCAR/OSCAR.info @@ -0,0 +1,10 @@ +PRGNAM="OSCAR" +VERSION="1.1.1" +HOMEPAGE="https://www.sleepfiles.com/OSCAR/" +DOWNLOAD="https://gitlab.com/pholy/OSCAR-code/-/archive/v1.1.1/OSCAR-code-v1.1.1.tar.bz2" +MD5SUM="8d5d315f01fdf29cf0b2fc7fb24d0f13" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="qt5" +MAINTAINER="Zhu Qun-Ying" +EMAIL="zhu.qunying@gmail.com" diff --git a/misc/OSCAR/README b/misc/OSCAR/README new file mode 100644 index 0000000000..9461dd94f0 --- /dev/null +++ b/misc/OSCAR/README @@ -0,0 +1,7 @@ +OSCAR (Open Source CPAP Analysis Reporter) + +OSCAR is PC software developed for reviewing and exploring data +produced by CPAP and related machines used in the treatment of sleep +apnea. + +It is a fork of the now-closed SleepyHead by Mark Watkins. diff --git a/misc/OSCAR/slack-desc b/misc/OSCAR/slack-desc new file mode 100644 index 0000000000..4403f262ca --- /dev/null +++ b/misc/OSCAR/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +OSCAR: OSCAR (Open Source CPAP Analysis Reporter) +OSCAR: +OSCAR: OSCAR is PC software developed for reviewing and exploring data +OSCAR: produced by CPAP and related machines used in the treatment of sleep +OSCAR: apnea. +OSCAR: +OSCAR: It is a fork of the now-closed SleepyHead by Mark Watkins. +OSCAR: +OSCAR: Homepage: https://www.sleepfiles.com/OSCAR/ +OSCAR: +OSCAR: diff --git a/misc/asterixInspector/README b/misc/asterixInspector/README index 5aa08bea2f..95b2738c33 100644 --- a/misc/asterixInspector/README +++ b/misc/asterixInspector/README @@ -1,4 +1,5 @@ -AsterixInspector is a tool to display contents of Asterix data files. Asterix -is a binary format for information exchange in aviation. The Asterix standard -specification is being developed and endorsed by Eurocontrol, specification -documents are available at http://www.eurocontrol.int/asterix. +AsterixInspector is a tool to display contents of Asterix data files. +Asterix is a binary format for information exchange in aviation. The +Asterix standard specification is being developed and endorsed by +Eurocontrol, specification documents are available at +http://www.eurocontrol.int/asterix. diff --git a/misc/asterixInspector/asterixInspector.SlackBuild b/misc/asterixInspector/asterixInspector.SlackBuild index fcb5c7ae56..c5926b2199 100644 --- a/misc/asterixInspector/asterixInspector.SlackBuild +++ b/misc/asterixInspector/asterixInspector.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for asterixInspector -# Copyright 2012, 2013, 2018, 2019 Chris Abela, Malta +# Copyright 2012, 2013, 2018, 2019, 2020, 2021 Chris Abela, Malta # Copyright 2014 Ryan P.C. McQuen, ryanpcmcquen@member.fsf.org, WA # All rights reserved. # @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=asterixInspector -VERSION=${VERSION:-0.12.3} +VERSION=${VERSION:-0.13.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/asterixInspector/asterixInspector.desktop b/misc/asterixInspector/asterixInspector.desktop index 50e1634eba..c48d3b0911 100644 --- a/misc/asterixInspector/asterixInspector.desktop +++ b/misc/asterixInspector/asterixInspector.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=asterixInspector -GenericName=A viever for EUROCONTROL ASTERIX files +GenericName=A viewer for EUROCONTROL ASTERIX files Categories=Utility;Education; Exec=asterixInspector Icon=asterixInspector diff --git a/misc/asterixInspector/asterixInspector.info b/misc/asterixInspector/asterixInspector.info index 6ffc3a5d33..e328f6759c 100644 --- a/misc/asterixInspector/asterixInspector.info +++ b/misc/asterixInspector/asterixInspector.info @@ -1,8 +1,8 @@ PRGNAM="asterixInspector" -VERSION="0.12.3" +VERSION="0.13.1" HOMEPAGE="http://asterix.sourceforge.net" -DOWNLOAD="http://sourceforge.net/projects/asterix/files/asterixInspector-0.12.3.tar.bz2" -MD5SUM="58f8a8c0839ed7df4943128a45d572f9" +DOWNLOAD="http://sourceforge.net/projects/asterix/files/asterixInspector-0.13.1.tar.bz2" +MD5SUM="50977af54b1ebb51c540f31df67becdf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="qt5-webkit qt5" diff --git a/misc/bchunk/bchunk.SlackBuild b/misc/bchunk/bchunk.SlackBuild index 4c0d92e133..d11133160e 100644 --- a/misc/bchunk/bchunk.SlackBuild +++ b/misc/bchunk/bchunk.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bchunk -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/bchunk/bchunk.info b/misc/bchunk/bchunk.info index 88bd123740..ab23e86df5 100644 --- a/misc/bchunk/bchunk.info +++ b/misc/bchunk/bchunk.info @@ -1,8 +1,8 @@ PRGNAM="bchunk" -VERSION="1.2.0" +VERSION="1.2.2" HOMEPAGE="http://he.fi/bchunk/" -DOWNLOAD="http://he.fi/bchunk/bchunk-1.2.0.tar.gz" -MD5SUM="6a613da3f34f9a303f202d2e9731d231" +DOWNLOAD="http://he.fi/bchunk/bchunk-1.2.2.tar.gz" +MD5SUM="0eeb764647824062085872ddb0b28c5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/bdf2psf/bdf2psf.info b/misc/bdf2psf/bdf2psf.info index 20451a52d4..f2b452bc8a 100644 --- a/misc/bdf2psf/bdf2psf.info +++ b/misc/bdf2psf/bdf2psf.info @@ -1,6 +1,6 @@ PRGNAM="bdf2psf" VERSION="1.131" -HOMEPAGE="none" +HOMEPAGE="https://packages.qa.debian.org/c/console-setup.html" DOWNLOAD="http://ponce.cc/slackware/sources/repo/bdf2psf_1.131_all.deb" MD5SUM="b2a8b8de9a3ff82cc2504e4568895fae" DOWNLOAD_x86_64="" diff --git a/misc/bdfresize/bdfresize.info b/misc/bdfresize/bdfresize.info index 629634772b..725f577dc1 100644 --- a/misc/bdfresize/bdfresize.info +++ b/misc/bdfresize/bdfresize.info @@ -1,7 +1,7 @@ PRGNAM="bdfresize" VERSION="1.5" HOMEPAGE="https://directory.fsf.org/wiki/Bdfresize" -DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/bdfresize-1.5.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/bdfresize-1.5.tar.gz" MD5SUM="8169ac564fe676d53a9b4d7aad163005" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/misc/cksfv/cksfv.info b/misc/cksfv/cksfv.info index 00da82b0f7..228b5c66ac 100644 --- a/misc/cksfv/cksfv.info +++ b/misc/cksfv/cksfv.info @@ -6,5 +6,5 @@ MD5SUM="138bff42ab23fbba8cca0ae14b2d9e52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Niklas 'Nille' Ã…kerström" -EMAIL="nille.kungen[AT]gmail.com" +MAINTAINER="Mario Preksavec" +EMAIL="mario at slackware dot hr" diff --git a/misc/conkyforecast/README b/misc/conkyforecast/README deleted file mode 100644 index 67c906bfe1..0000000000 --- a/misc/conkyforecast/README +++ /dev/null @@ -1,3 +0,0 @@ -conkyForecast is a python script created to provide weather forecast -information to be displayed in Conky. It uses the Weather.com XOAP -service to retrieve data for all over the world. diff --git a/misc/conkyforecast/conkyforecast.SlackBuild b/misc/conkyforecast/conkyforecast.SlackBuild deleted file mode 100644 index 2345848919..0000000000 --- a/misc/conkyforecast/conkyforecast.SlackBuild +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -# Slackware build script for conkyforecast - -# Written by M.Dinslage (daedra1980@gmail.com) - -PRGNAM=conkyforecast -VERSION=${VERSION:-2.24} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -ARCH=noarch - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir -p $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz -C $PRGNAM-$VERSION -cd $PRGNAM-$VERSION/src -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 {} \; - -# Fix font path for slackware -sed -i 's,/usr/share/fonts/truetype/conkyforecast,/usr/share/fonts/TTF,g' setup.py - -python setup.py install --root=$PKG - -# remove font .sfd files, they shouldn't be needed -rm -r $PKG/usr/share/fonts/TTF/*.tar.gz - -# Put the .otf fonts in the right place -mkdir -p $PKG/usr/share/fonts/OTF -mv $PKG/usr/share/fonts/TTF/*.otf $PKG/usr/share/fonts/OTF - -# No need to put an arch-specific dir in here; the egg info file is useless -rm -rf $PKG/usr/lib{,64} - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS CHANGELOG COPYING README \ - $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 -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/conkyforecast/conkyforecast.info b/misc/conkyforecast/conkyforecast.info deleted file mode 100644 index f5fa39c8be..0000000000 --- a/misc/conkyforecast/conkyforecast.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="conkyforecast" -VERSION="2.24" -HOMEPAGE="https://launchpad.net/~conky-companions" -DOWNLOAD="https://launchpad.net/~conky-companions/+archive/ppa/+files/conkyforecast_2.24.tar.gz" -MD5SUM="7661233474cd6b27ea3a921a16a88a55" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="conky" -MAINTAINER="M.Dinslage" -EMAIL="daedra1980@gmail.com" diff --git a/misc/conkyforecast/doinst.sh b/misc/conkyforecast/doinst.sh deleted file mode 100644 index 8b79d8c94e..0000000000 --- a/misc/conkyforecast/doinst.sh +++ /dev/null @@ -1,14 +0,0 @@ -# Update the X font indexes: -if [ -x /usr/bin/mkfontdir ]; then - ( cd /usr/share/fonts/TTF - mkfontscale . - mkfontdir . - cd /usr/share/fonts/OTF - mkfontscale . - mkfontdir . - ) -fi -if [ -x /usr/bin/fc-cache ]; then - /usr/bin/fc-cache -f -fi - diff --git a/misc/conkyforecast/slack-desc b/misc/conkyforecast/slack-desc deleted file mode 100644 index dd57dced9f..0000000000 --- a/misc/conkyforecast/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -conkyforecast: conkyforecast (weather information display for conky) -conkyforecast: -conkyforecast: conkyForecast is a python script created to provide weather forecast -conkyforecast: information to be displayed in Conky. It uses the Weather.com XOAP -conkyforecast: service to retrieve data for all over the world. -conkyforecast: -conkyforecast: -conkyforecast: -conkyforecast: -conkyforecast: -conkyforecast: diff --git a/misc/cp437/README b/misc/cp437/README new file mode 100644 index 0000000000..1411d39e7b --- /dev/null +++ b/misc/cp437/README @@ -0,0 +1,13 @@ +cp437 (emulate code page 437 on a UTF-8 terminal) + +cp437 is a program to emulate an old-style "code page 437" / "IBM-PC" +character set terminal on a modern terminal emulator that uses UTF-8 +or similar. + +It was written for the purpose of running the BitchX IRC client, +which utilises CP437 line-drawing characters in its default theme and +artwork. It should also be broadly useful for things like viewing +CP437 "ANSI art", running nethack with the IBMgraphics option or +running EPIC with scripts that use CP437 artwork. + +It's also useful for converting old CP437-encoded text files to UTF-8. diff --git a/misc/cp437/cp437.1 b/misc/cp437/cp437.1 new file mode 100644 index 0000000000..688d6d3f64 --- /dev/null +++ b/misc/cp437/cp437.1 @@ -0,0 +1,90 @@ +.\" Man page generated from reStructuredText. +. +.TH CP437 1 "2020-11-25" "0.6" "SlackBuilds.org" +.SH NAME +cp437 \- emulate code page 437 on a UTF-8 terminal +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.\" RST source for cp437(1) man page. Convert with: +. +.\" rst2man.py cp437.rst > cp437.1 +. +.\" rst2man.py comes from the SBo development/docutils package. +. +.SH SYNOPSIS +.sp +cp437 \fBcommand\fP [\fIarg\fP [\fIarg\fP ...]] +.SH DESCRIPTION +.sp +cp437 is a program to emulate an old\-style "code page 437" / "IBM\-PC" +character set terminal on a modern terminal emulator that uses UTF\-8 +or similar. +.sp +It was written for the purpose of running the BitchX IRC client, which utilises +CP437 line\-drawing characters in its default theme and artwork. It should +also be broadly useful for things like viewing CP437 "ANSI art", running +nethack with the IBMgraphics option or running EPIC with scripts that use CP437 +artwork. +.sp +It takes no command line options. The only arguments are the command to run +and its arguments (if any). +.sp +You\(aqll need to have your LANG or LC_CTYPE environment variable +set up to match the character set used by your terminal +emulator. On Slackware, this can be done system\-wide by editing +\fB/etc/profile.d/lang.sh\fP, or by editing your shell\(aqs startup scripts +(e.g. \fB~/.bash_profile\fP). +.SH EXAMPLES +.sp +Just run cp437 followed by the command and argument you want to run: +.INDENT 0.0 +.INDENT 3.5 +cp437 BitchX irc.efnet.org +.UNINDENT +.UNINDENT +.sp +To convert a text file from codepage 437, you might try: +.INDENT 0.0 +.INDENT 3.5 +cp437 cat orig.txt > converted.txt +.UNINDENT +.UNINDENT +.SH COPYRIGHT +.sp +See the file /usr/doc/cp437\-0.6/COPYRIGHT for license information. +.SH AUTHORS +.sp +cp437 was written by Kevin Easton. +.sp +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. +.SH SEE ALSO +.sp +The cp437 homepage: \fI\%https://github.com/keaston/cp437\fP +.\" Generated by docutils manpage writer. +. diff --git a/misc/cp437/cp437.SlackBuild b/misc/cp437/cp437.SlackBuild new file mode 100644 index 0000000000..64e137a319 --- /dev/null +++ b/misc/cp437/cp437.SlackBuild @@ -0,0 +1,69 @@ +#!/bin/sh + +# Slackware build script for cp437 + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=cp437 +VERSION=${VERSION:-0.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +make CFLAGS="$SLKCFLAGS" +mkdir -p $PKG/usr/bin +install -s -m0755 $PRGNAM $PKG/usr/bin + +# man page by SlackBuild author, made mostly from README +mkdir -p $PKG/usr/man/man1 +gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README COPYRIGHT $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/cp437/cp437.info b/misc/cp437/cp437.info new file mode 100644 index 0000000000..91933a7636 --- /dev/null +++ b/misc/cp437/cp437.info @@ -0,0 +1,10 @@ +PRGNAM="cp437" +VERSION="0.6" +HOMEPAGE="https://github.com/keaston/cp437" +DOWNLOAD="https://github.com/keaston/cp437/archive/v0.6/cp437-0.6.tar.gz" +MD5SUM="c2817f18160ed1580f2e393ae656a690" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/cp437/cp437.rst b/misc/cp437/cp437.rst new file mode 100644 index 0000000000..88ebaa921c --- /dev/null +++ b/misc/cp437/cp437.rst @@ -0,0 +1,75 @@ +.. RST source for cp437(1) man page. Convert with: +.. rst2man.py cp437.rst > cp437.1 +.. rst2man.py comes from the SBo development/docutils package. + +.. |version| replace:: 0.6 +.. |date| date:: + +===== +cp437 +===== + +----------------------------------------- +emulate code page 437 on a UTF-8 terminal +----------------------------------------- + +:Manual section: 1 +:Manual group: SlackBuilds.org +:Date: |date| +:Version: |version| + +SYNOPSIS +======== + +cp437 **command** [*arg* [*arg* ...]] + +DESCRIPTION +=========== + +cp437 is a program to emulate an old-style "code page 437" / "IBM-PC" +character set terminal on a modern terminal emulator that uses UTF-8 +or similar. + +It was written for the purpose of running the BitchX IRC client, which utilises +CP437 line-drawing characters in its default theme and artwork. It should +also be broadly useful for things like viewing CP437 "ANSI art", running +nethack with the IBMgraphics option or running EPIC with scripts that use CP437 +artwork. + +It takes no command line options. The only arguments are the command to run +and its arguments (if any). + +You'll need to have your LANG or LC_CTYPE environment variable +set up to match the character set used by your terminal +emulator. On Slackware, this can be done system-wide by editing +**/etc/profile.d/lang.sh**, or by editing your shell's startup scripts +(e.g. **~/.bash_profile**). + +EXAMPLES +======== + +Just run cp437 followed by the command and argument you want to run: + + cp437 BitchX irc.efnet.org + +To convert a text file from codepage 437, you might try: + + cp437 cat orig.txt > converted.txt + +COPYRIGHT +========= + +See the file /usr/doc/cp437-|version|/COPYRIGHT for license information. + +AUTHORS +======= + +cp437 was written by Kevin Easton. + +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. + +SEE ALSO +======== + +The cp437 homepage: https://github.com/keaston/cp437 diff --git a/misc/cp437/slack-desc b/misc/cp437/slack-desc new file mode 100644 index 0000000000..92074cd73a --- /dev/null +++ b/misc/cp437/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +cp437: cp437 (emulate code page 437 on a UTF-8 terminal) +cp437: +cp437: cp437 is a program to emulate an old-style "code page 437" / "IBM-PC" +cp437: character set terminal on a modern terminal emulator that uses UTF-8 +cp437: or similar. +cp437: +cp437: It's also useful for converting old CP437-encoded text files to UTF-8. +cp437: +cp437: +cp437: +cp437: diff --git a/misc/deroff/README b/misc/deroff/README new file mode 100644 index 0000000000..21c6e8425d --- /dev/null +++ b/misc/deroff/README @@ -0,0 +1,5 @@ +deroff (remove *roff markup from text files) + +This is a free implementation of the standard UNIX command deroff, +which removes roff constructs from documents for the purpose of +indexing, spell checking etc. diff --git a/misc/deroff/deroff.SlackBuild b/misc/deroff/deroff.SlackBuild new file mode 100644 index 0000000000..40916b1754 --- /dev/null +++ b/misc/deroff/deroff.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for deroff + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=deroff +VERSION=${VERSION:-2.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# old configure script, doesn't support --docdir, --prefix is broken, ugh. +# it's too old for autoreconf to generate a new one, even +CFLAGS="$SLKCFLAGS -Wl,-s" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir='${prefix}'/man \ + --build=$ARCH-slackware-linux + +make + +# convert german man page to utf-8 before installing +iconv -f iso-8859-1 -t utf-8 < $PRGNAM.1.de > $PRGNAM.1.de.new +mv $PRGNAM.1.de.new $PRGNAM.1.de + +make install prefix=$PKG/usr +gzip -9 $PKG/usr/man/man?/*.? $PKG/usr/man/*/man?/*.? + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NEWS README $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/deroff/deroff.info b/misc/deroff/deroff.info new file mode 100644 index 0000000000..150b3d2123 --- /dev/null +++ b/misc/deroff/deroff.info @@ -0,0 +1,10 @@ +PRGNAM="deroff" +VERSION="2.0" +HOMEPAGE="http://www.moria.de/~michael/deroff/" +DOWNLOAD="http://www.moria.de/~michael/deroff/deroff-2.0.tar.gz" +MD5SUM="dcc4ce030ca719a36f34b01c8afebfda" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/zyGrib/slack-desc b/misc/deroff/slack-desc index 4f50acc43b..3e83bf8580 100644 --- a/misc/zyGrib/slack-desc +++ b/misc/deroff/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -zyGrib: zyGrib (visualize meteo data from files in GRIB format 1 and 2) -zyGrib: -zyGrib: zyGrib is a program to download and visualize meteorological forecast -zyGrib: data in the standard formats GRIB 1 and 2. The available datasets -zyGrib: include NOAA-GFS (weather and wind conditions above ground and at -zyGrib: altitude) and FNMOC-WW3 (wave conditions). -zyGrib: -zyGrib: Homepage: http://www.zygrib.org/ -zyGrib: -zyGrib: -zyGrib: +deroff: deroff (remove *roff markup from text files) +deroff: +deroff: This is a free implementation of the standard UNIX command deroff, +deroff: which removes roff constructs from documents for the purpose of +deroff: indexing, spell checking etc. +deroff: +deroff: +deroff: +deroff: +deroff: +deroff: diff --git a/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild index 862e816568..ccc7aa80b3 100644 --- a/misc/discount/discount.SlackBuild +++ b/misc/discount/discount.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for discount -# Copyright 2018 Donald Cooley, South Haven, Indiana USA +# Copyright 2018-2020 Donald Cooley, South Haven, Indiana USA # Copyright (c) 2011-2015, Antonio Hernández Blas <hba.nihilismus@gmail.com> # All rights reserved. # @@ -23,7 +23,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=discount -VERSION=${VERSION:-2.2.6} +VERSION=${VERSION:-2.2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -91,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-all-features \ --shared -make +make -j1 mkdir -p $PKG/usr/{bin,lib${LIBDIRSUFFIX},include} make install.everything DESTDIR=$PKG diff --git a/misc/discount/discount.info b/misc/discount/discount.info index f3f8fa2fb2..f0cf9121cc 100644 --- a/misc/discount/discount.info +++ b/misc/discount/discount.info @@ -1,8 +1,8 @@ PRGNAM="discount" -VERSION="2.2.6" -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/" -DOWNLOAD="https://github.com/Orc/discount/archive/v2.2.6/discount-2.2.6.tar.gz" -MD5SUM="65606357127d8081a39d641fd4e87a3a" +VERSION="2.2.7" +HOMEPAGE="https://www.pell.portland.or.us/~orc/Code/discount/" +DOWNLOAD="https://github.com/Orc/discount/archive/v2.2.7/discount-2.2.7.tar.gz" +MD5SUM="c02c81bea757667fbaf0fefdf9b3749c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/discount/slack-desc b/misc/discount/slack-desc index e2ce055ce4..6a9151d848 100644 --- a/misc/discount/slack-desc +++ b/misc/discount/slack-desc @@ -14,6 +14,6 @@ discount: differentiates it from any of the existing Markdown implementations discount: except that it's written in C instead of one of the vast flock of discount: scripting languages that are fighting it out for the Perl crown. discount: -discount: Homepage: http://www.pell.portland.or.us/~orc/Code/discount/ +discount: Homepage: https://www.pell.portland.or.us/~orc/Code/discount/ discount: discount: diff --git a/misc/dmg2img/dmg2img.1 b/misc/dmg2img/dmg2img.1 new file mode 100644 index 0000000000..5f3ac1b777 --- /dev/null +++ b/misc/dmg2img/dmg2img.1 @@ -0,0 +1,42 @@ +.TH "dmg2img" 1 +.SH NAME +dmg2img \- convert compressed dmg to standard (hfsplus) image disk files +.SH SYNOPSIS +.B dmg2img +[-s] [-v] [-V] [-d] <input.dmg> [<output.img>] +.PP +.B dmg2img +[-s] [-v] [-V] [-d] -i <input.dmg> -o <output.img> +.SH DESCRIPTION +.B dmg2img +is an Apple's compressed dmg to standard (hfsplus) image disk file conversion tool. +.SH OPTIONS +.TP +.B \-i +Path to the input .dmg file. +.TP +.B \-s +Silent operation +.TP +.B \-v +Verbose operation +Try to extract key from input file. +.TP +.B \-V +Extremely verbose operation +.TP +.B \-d +Enable debugging. +.TP +.B \-o +The output file (if left out it will be named <input_file>.img). +.SH "SEE ALSO" +vfdecrypt(1) +.SH AUTHORS +.TP +vu1tur <to@vu1tur.eu.org> +.TP +Jean-Pierre Demailly <demailly@fourier.ujf-grenoble.fr>. +.PP +This manual page was written by Soeren Sonnenburg <sonne@debian.org>, +for the Debian project (but may be used by others). diff --git a/misc/dmg2img/dmg2img.SlackBuild b/misc/dmg2img/dmg2img.SlackBuild index abc1872933..941b7bae53 100644 --- a/misc/dmg2img/dmg2img.SlackBuild +++ b/misc/dmg2img/dmg2img.SlackBuild @@ -77,10 +77,16 @@ make install DESTDIR=$PKG 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 +mkdir -p $PKG/usr/man/man1 +install -m 755 $CWD/dmg2img.1 $PKG/usr/man/man1/dmg2img.1 +install -m 755 vfdecrypt.1 $PKG/usr/man/man1/vfdecrypt.1 + +find $PKG/usr/man/man1 -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/dos2unix/README b/misc/dos2unix/README index d0b302a6fa..150030612c 100644 --- a/misc/dos2unix/README +++ b/misc/dos2unix/README @@ -1,25 +1,25 @@ -This is an update of Benjamin Lin's implementations of dos2unix -and unix2dos. Benjamin Lin's implementations of dos2unix and -unix2dos are part of several Linux distributions such as RedHat, -Fedora, Suse, Gentoo and some others. On Slackware one finds fromdos -and todos but these implementations are not included. This update -includes all RedHat patches and fixes several other problems. +This is an update of Benjamin Lin's implementations of dos2unix and +unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos are +part of several Linux distributions such as RedHat, Fedora, Suse, Gentoo +and some others. On Slackware one finds fromdos and todos but these +implementations are not included. This update includes all RedHat +patches and fixes several other problems. -These implementations of dos2unix and unix2dos have been modeled -after dos2unix/unix2dos under SunOS/Solaris. They have similar -conversion modes, namely ascii, 7bit and iso. The first versions -were made by John Birchfield in 1989, and in 1995 rewritten from -scratch by Benjamin Lin. Mac to Unix conversion was added by Bernd -Johannes Wuebben in 1998, Unix to Mac by Erwin in 2010. +These implementations of dos2unix and unix2dos have been modeled after +dos2unix/unix2dos under SunOS/Solaris. They have similar conversion +modes, namely ASCII, 7bit and ISO. The first versions were made by John +Birchfield in 1989, and in 1995 rewritten from scratch by Benjamin Lin. +Mac to Unix conversion was added by Bernd Johannes Wuebben in 1998, Unix +to Mac by Erwin in 2010. Features: - Native language support: Dutch, English, Esperanto, - German, and Spanish. - Automatically skips binary and non-regular files in-place, - paired, or stdio mode conversion. - Keep original file dates option. - 7-bit and iso conversion modes like SunOS dos2unix. + Native language support: + Dutch, English, Esperanto, German, and Spanish. + Automatically skips binary and non-regular files in-place, paired, + or stdio mode conversion. + Keep original file dates option. + 7-bit and ISO conversion modes like SunOS dos2unix. Dos2Unix includes: - dos2unix - DOS/MAC to UNIX text file format converter. - unix2dos - UNIX to DOS/MAC text file format converter. + dos2unix - DOS/MAC to UNIX text file format converter. + unix2dos - UNIX to DOS/MAC text file format converter. diff --git a/misc/dos2unix/dos2unix.SlackBuild b/misc/dos2unix/dos2unix.SlackBuild index 3fdede8733..f114cd4841 100644 --- a/misc/dos2unix/dos2unix.SlackBuild +++ b/misc/dos2unix/dos2unix.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh # Slackware build script for dos2unix -# copyright 2017-2018 Donald Cooley, South Haven, IN, USA +# copyright 2017-2020 Donald Cooley, South Haven, IN, USA -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Ryan P.C. McQuen | Everett, WA # Copyright 2011, 2012, 2013 Chris Abela, Malta # All rights reserved. @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dos2unix -VERSION=${VERSION:-7.4.0} +VERSION=${VERSION:-7.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -90,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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 -cp -a INSTALL.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/dos2unix/dos2unix.info b/misc/dos2unix/dos2unix.info index 1f9463e02d..9ca31f2a25 100644 --- a/misc/dos2unix/dos2unix.info +++ b/misc/dos2unix/dos2unix.info @@ -1,8 +1,8 @@ PRGNAM="dos2unix" -VERSION="7.4.0" +VERSION="7.4.1" HOMEPAGE="https://waterlan.home.xs4all.nl/dos2unix.html" -DOWNLOAD="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.0.tar.gz" -MD5SUM="a615de542899e53d6f9575ad3cb32b19" +DOWNLOAD="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.1.tar.gz" +MD5SUM="6b402c10899416707da60188cd6bb0f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/dvtm/doinst.sh b/misc/dvtm/doinst.sh new file mode 100644 index 0000000000..870a890ca1 --- /dev/null +++ b/misc/dvtm/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/tic ]; then + /usr/bin/tic -s usr/share/dvtm/dvtm.info >/dev/null 2>&1 +fi diff --git a/misc/dvtm/dvtm.SlackBuild b/misc/dvtm/dvtm.SlackBuild index 5a37858326..2d9f870684 100644 --- a/misc/dvtm/dvtm.SlackBuild +++ b/misc/dvtm/dvtm.SlackBuild @@ -24,9 +24,11 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by slackbuilds.org + PRGNAM=dvtm VERSION=${VERSION:-0.15} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,11 +73,25 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Strip the slackware way +sed "/@${STRIP} dvtm/d" Makefile + +# Fix terminfo +sed -i "s|f22.*$|&,|" dvtm.info + CFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ make -make install DESTDIR=$PKG PREFIX=/usr MANPREFIX=/usr/man -# binaries are already stripped +make install \ + PREFIX=/usr \ + MANPREFIX=/usr/man \ + DESTDIR=$PKG + +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 + +# install terminfo +install -D -m 0644 dvtm.info $PKG/usr/share/dvtm/dvtm.info mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ @@ -88,6 +104,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/figlet/figlet.SlackBuild b/misc/figlet/figlet.SlackBuild index d712d1d4ea..3764a9a467 100644 --- a/misc/figlet/figlet.SlackBuild +++ b/misc/figlet/figlet.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for figlet -# Copyright 2009 David Woodfall <dave@unrealize.co.uk> +# Copyright 2009 David Woodfall <dave@slackbuilds.org> # All rights reserved. # # aka dive in #slackware on freenode.net diff --git a/misc/figlet/figlet.info b/misc/figlet/figlet.info index d03cd6ec7a..2e21943a84 100644 --- a/misc/figlet/figlet.info +++ b/misc/figlet/figlet.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="David Woodfall" -EMAIL="dave@dawoodfall.net" +EMAIL="dave@slackbuilds.org" diff --git a/misc/font-unscii/README b/misc/font-unscii/README new file mode 100644 index 0000000000..35665dd930 --- /dev/null +++ b/misc/font-unscii/README @@ -0,0 +1,11 @@ +font-unscii (bitmapped Unicode font for blocky graphics) + +Unscii is a set of bitmapped Unicode fonts based on classic system +fonts. Unscii attempts to support character cell art well while also +being suitable for terminal and programming use. + +The package include PCF, TTF, and OTF fonts for use with X. No +console (PSF) fonts are included: These fonts have over 2500 glyphs +each, but the console only supports 512 glyphs per font. Most of the +special character art glyphs would have to be omitted from a console +conversion. diff --git a/misc/font-unscii/doinst.sh b/misc/font-unscii/doinst.sh new file mode 100644 index 0000000000..15acd6001a --- /dev/null +++ b/misc/font-unscii/doinst.sh @@ -0,0 +1,31 @@ +# Update fonts.{dir,scale,alias} +if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then + for i in misc TTF OTF; do + ( cd usr/share/fonts/misc + if ! grep -q ^unscii- fonts.alias; then + cat <<EOF >> fonts.alias +unscii-16-full -unscii-unscii-medium-r-normal-full-16-160-75-75-c-80-iso10646-1 +unscii-16 -unscii-unscii-medium-r-normal-16-16-160-75-75-c-80-iso10646-1 +unscii-8-alt -unscii-unscii-medium-r-normal-alt-8-80-75-75-c-80-iso10646-1 +unscii-8-fantasy -unscii-unscii-medium-r-normal-fantasy-8-80-75-75-c-80-iso10646-1 +unscii-8-mcr -unscii-unscii-medium-r-normal-mcr-8-80-75-75-c-80-iso10646-1 +unscii-8-tall -unscii-unscii-medium-r-normal-tall-16-160-75-75-c-80-iso10646-1 +unscii-8-thin -unscii-unscii-medium-r-normal-thin-8-80-75-75-c-80-iso10646-1 +unscii-8 -unscii-unscii-medium-r-normal-8-8-80-75-75-c-80-iso10646-1 +EOF + fi + /usr/bin/mkfontscale . + /usr/bin/mkfontdir . + ) + done +fi + +# If X is running... +if [ "$DISPLAY" != "" ] && [ -x /usr/bin/xset ]; then + /usr/bin/xset fp rehash >/dev/null 2>&1 +fi + +# Update the X font indexes: +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi diff --git a/misc/font-unscii/font-unscii.SlackBuild b/misc/font-unscii/font-unscii.SlackBuild new file mode 100644 index 0000000000..806f0bc9bd --- /dev/null +++ b/misc/font-unscii/font-unscii.SlackBuild @@ -0,0 +1,56 @@ +#!/bin/sh + +# Slackware build script for font-unscii + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20210326 bkw: updated for v2.1, reflow README, new homepage/download + +PRGNAM=font-unscii +VERSION=${VERSION:-2.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRCNAM=unscii +SRCDIR=$SRCNAM-$VERSION-src + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCDIR +tar xvf $CWD/$SRCDIR.tar.gz +cd $SRCDIR +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +make +mkdir -p $PKG/usr/share/fonts/misc \ + $PKG/usr/share/fonts/OTF \ + $PKG/usr/share/fonts/TTF + +cp *.otf $PKG/usr/share/fonts/OTF +cp *.ttf $PKG/usr/share/fonts/TTF +cp *.pcf $PKG/usr/share/fonts/misc +gzip -9 $PKG/usr/share/fonts/misc/* + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $SRCNAM.txt $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/font-unscii/font-unscii.info b/misc/font-unscii/font-unscii.info new file mode 100644 index 0000000000..97ce21f477 --- /dev/null +++ b/misc/font-unscii/font-unscii.info @@ -0,0 +1,10 @@ +PRGNAM="font-unscii" +VERSION="2.1" +HOMEPAGE="http://viznut.fi/unscii/" +DOWNLOAD="http://viznut.fi/unscii/unscii-2.1-src.tar.gz" +MD5SUM="b171f5552b7503588d985edbba27a1b2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="fontforge perl-Text-CharWidth" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/font-unscii/slack-desc b/misc/font-unscii/slack-desc new file mode 100644 index 0000000000..1611b0565d --- /dev/null +++ b/misc/font-unscii/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +font-unscii: font-unscii (bitmapped Unicode font for blocky graphics) +font-unscii: +font-unscii: Unscii is a set of bitmapped Unicode fonts based on classic system +font-unscii: fonts. Unscii attempts to support character cell art well while also +font-unscii: being suitable for terminal and programming use. +font-unscii: +font-unscii: +font-unscii: +font-unscii: +font-unscii: +font-unscii: diff --git a/misc/g810-led/README b/misc/g810-led/README new file mode 100644 index 0000000000..451a0859e6 --- /dev/null +++ b/misc/g810-led/README @@ -0,0 +1,7 @@ +g810-led (LED controller for Logitech Gx10 keyboards) + +This is a configuration tool for the LEDs on Logitech Gx10 gaming +keyboards. The LEDs can be configured in a variety of ways depending +on the capabilities of the keyboard, including effects such as +breathing, color-cycling, waves, individual key colors and +intensities, and key group colors and intensities. diff --git a/misc/g810-led/doinst.sh b/misc/g810-led/doinst.sh new file mode 100644 index 0000000000..46961bfb1d --- /dev/null +++ b/misc/g810-led/doinst.sh @@ -0,0 +1,15 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/g810-led/profile.new +config etc/g810-led/reboot.new diff --git a/misc/g810-led/g810-led.SlackBuild b/misc/g810-led/g810-led.SlackBuild new file mode 100644 index 0000000000..621fbaaf3c --- /dev/null +++ b/misc/g810-led/g810-led.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/sh + +# Copyright 2020 Patrick Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=g810-led +VERSION=${VERSION:-0.4.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Set this to anything other than "NO" to install the shared library and +# development files. I'm not aware of anything that can make use of these +# at this time. Also, the library will not compile on Slackware 14.2, though +# it does compile on -current. +DEVEL=${DEVEL:-NO} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +# Patch the following issues with the makefile: +# - errors when systemd is not present +# - $(DESTDIR) missing in a few places +# - create relative, not absolute symlinks +# - create and install the shared library with a proper soname +# - don't install the udev rules +patch -p1 < $CWD/g810-led.makefile.patch + +# Fix libdir: +sed -i "s|libdir?=\$(PREFIX)/lib|libdir?=\$(PREFIX)/lib${LIBDIRSUFFIX}|g" makefile + +make bin LIB=libusb +make install DESTDIR=$PKG +if [ ! "$DEVEL" = "NO" ]; then + make lib LIB=libusb + make install-lib DESTDIR=$PKG + make install-dev DESTDIR=$PKG + # Fix permissions on shared library: + chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/libg810-led.so.* +fi + +# Strip binaries: +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 + +# Don't clobber an existing configuration: +mv $PKG/etc/g810-led/profile $PKG/etc/g810-led/profile.new +mv $PKG/etc/g810-led/reboot $PKG/etc/g810-led/reboot.new + +# Install the udev rules manually, filtering out the part that seems broken: +mkdir -p $PKG/lib/udev/rules.d +cat udev/g810-led.rules | grep -v SUBSYSTEMS > $PKG/lib/udev/rules.d/g810-led.rules + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CONTRIBUTING* CONTRIBUTORS* INSTALL* LICENSE* PROFILES* README* \ + $PKG/usr/doc/$PRGNAM-$VERSION/ +cat $CWD/g810-led.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/g810-led.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/g810-led/g810-led.info b/misc/g810-led/g810-led.info new file mode 100644 index 0000000000..ede2cb45db --- /dev/null +++ b/misc/g810-led/g810-led.info @@ -0,0 +1,10 @@ +PRGNAM="g810-led" +VERSION="0.4.2" +HOMEPAGE="https://github.com/MatMoul/g810-led/" +DOWNLOAD="https://github.com/MatMoul/g810-led/archive/v0.4.2/g810-led-0.4.2.tar.gz" +MD5SUM="6f4180a75469cd763b65fec7f1325c5f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Patrick Volkerding" +EMAIL="volkerdi@slackware.com" diff --git a/misc/g810-led/g810-led.makefile.patch b/misc/g810-led/g810-led.makefile.patch new file mode 100644 index 0000000000..e973edb080 --- /dev/null +++ b/misc/g810-led/g810-led.makefile.patch @@ -0,0 +1,82 @@ +--- ./makefile.orig 2020-05-19 16:44:50.000000000 -0500 ++++ ./makefile 2020-10-23 15:49:08.155992793 -0500 +@@ -39,8 +39,9 @@ + + lib/lib$(PROGN).so: $(LIBSRCS) + @mkdir -p lib +- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,lib$(PROGN).so -o lib/lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $^ $(LIBS) +- @ln -sf lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) lib/lib$(PROGN).so ++ @$(CXX) $(LDFLAGS) -fPIC -shared -Wl,-soname,lib$(PROGN).so.$(MAJOR) -o lib/lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $^ $(LIBS) ++ @ln -sf lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) lib/lib$(PROGN).so.$(MAJOR) ++ @ln -sf lib$(PROGN).so.$(MAJOR) lib/lib$(PROGN).so + + bin-linked: lib/lib$(PROGN).so + @mkdir -p bin +@@ -56,42 +57,43 @@ + @install -m 755 -d \ + $(DESTDIR)/usr/bin \ + $(DESTDIR)/etc/$(PROGN)/samples \ +- $(DESTDIR)/etc/udev/rules.d ++# $(DESTDIR)/etc/udev/rules.d + @cp bin/$(PROGN) $(DESTDIR)/usr/bin +- @test -s $(DESTDIR)/usr/bin/g213-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g213-led +- @test -s $(DESTDIR)/usr/bin/g410-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g410-led +- @test -s $(DESTDIR)/usr/bin/g413-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g413-led +- @test -s $(DESTDIR)/usr/bin/g512-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g512-led +- @test -s $(DESTDIR)/usr/bin/g513-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g513-led +- @test -s $(DESTDIR)/usr/bin/g610-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g610-led +- @test -s $(DESTDIR)/usr/bin/g815-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g815-led +- @test -s $(DESTDIR)/usr/bin/g910-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g910-led +- @test -s $(DESTDIR)/usr/bin/gpro-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/gpro-led ++ @test -s $(DESTDIR)/usr/bin/g213-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g213-led ++ @test -s $(DESTDIR)/usr/bin/g410-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g410-led ++ @test -s $(DESTDIR)/usr/bin/g413-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g413-led ++ @test -s $(DESTDIR)/usr/bin/g512-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g512-led ++ @test -s $(DESTDIR)/usr/bin/g513-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g513-led ++ @test -s $(DESTDIR)/usr/bin/g610-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g610-led ++ @test -s $(DESTDIR)/usr/bin/g815-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g815-led ++ @test -s $(DESTDIR)/usr/bin/g910-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/g910-led ++ @test -s $(DESTDIR)/usr/bin/gpro-led || ln -s $(PROGN) $(DESTDIR)/usr/bin/gpro-led + @cp sample_profiles/* $(DESTDIR)/etc/$(PROGN)/samples +- @cp udev/$(PROGN).rules $(DESTDIR)/etc/udev/rules.d +- @test -s /usr/bin/systemd-run && \ +- install -m 755 -d $(DESTDIR)$(SYSTEMDDIR)/system && \ +- cp systemd/$(PROGN)-reboot.service $(DESTDIR)$(SYSTEMDDIR)/system ++# @cp udev/$(PROGN).rules $(DESTDIR)/etc/udev/rules.d ++# @test -s /usr/bin/systemd-run && \ ++# install -m 755 -d $(DESTDIR)$(SYSTEMDDIR)/system && \ ++# cp systemd/$(PROGN)-reboot.service $(DESTDIR)$(SYSTEMDDIR)/system + + install-lib: lib + @install -m 755 -d $(libdir) + @install -m 644 lib/lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $(libdir)/ +- @ln -sf lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $(libdir)/lib$(PROGN).so ++ @ln -sf lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $(libdir)/lib$(PROGN).so.$(MAJOR) ++ @ln -sf lib$(PROGN).so.$(MAJOR) $(libdir)/lib$(PROGN).so + + install-dev: install-lib + @mkdir -p $(includedir)/$(PROGN)/ + @install -m 644 src/classes/*.h $(includedir)/$(PROGN) + + install: setup +- @test -s /etc/$(PROGN)/profile || \ +- cp /etc/$(PROGN)/samples/group_keys /etc/$(PROGN)/profile +- @test -s /etc/$(PROGN)/reboot || \ +- cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot +- @udevadm control --reload-rules +- @$(PROGN) -p /etc/$(PROGN)/profile +- @test -s /usr/bin/systemd-run && \ +- systemctl daemon-reload && \ +- systemctl enable $(PROGN)-reboot ++ @test -s $(DESTDIR)/etc/$(PROGN)/profile || \ ++ cp $(DESTDIR)/etc/$(PROGN)/samples/group_keys $(DESTDIR)/etc/$(PROGN)/profile ++ @test -s $(DESTDIR)/etc/$(PROGN)/reboot || \ ++ cp $(DESTDIR)/etc/$(PROGN)/samples/all_off $(DESTDIR)/etc/$(PROGN)/reboot ++# @udevadm control --reload-rules ++# @$(PROGN) -p /etc/$(PROGN)/profile ++# @test -s /usr/bin/systemd-run && \ ++# systemctl daemon-reload && \ ++# systemctl enable $(PROGN)-reboot + + uninstall-lib: + @rm -f $(libdir)/lib$(PROGN).so* diff --git a/misc/g810-led/slack-desc b/misc/g810-led/slack-desc new file mode 100644 index 0000000000..7616e91553 --- /dev/null +++ b/misc/g810-led/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +g810-led: g810-led (LED controller for Logitech Gx10 keyboards) +g810-led: +g810-led: This is a configuration tool for the LEDs on Logitech Gx10 gaming +g810-led: keyboards. The LEDs can be configured in a variety of ways depending +g810-led: on the capabilities of the keyboard, including effects such as +g810-led: breathing, color-cycling, waves, individual key colors and +g810-led: intensities, and key group colors and intensities. +g810-led: +g810-led: Homepage: https://github.com/MatMoul/g810-led/ +g810-led: +g810-led: diff --git a/misc/gcolor2/README b/misc/gcolor2/README deleted file mode 100644 index f1fc679b1a..0000000000 --- a/misc/gcolor2/README +++ /dev/null @@ -1,8 +0,0 @@ -gcolor2 is a simple color selector that was originally based on gcolor, -ported to use GTK+2, and now has a completely new UI. - -It is also completely desktop-independent, requiring only GTK2. - -It includes the usual color wheel method, input box method, color-picker -method, and can store colors, coming with the contents of rgb.txt -already stored. diff --git a/misc/gcolor2/callbacks.c.patch b/misc/gcolor2/callbacks.c.patch deleted file mode 100644 index 9364c4c354..0000000000 --- a/misc/gcolor2/callbacks.c.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- gcolor2-0.4.orig/src/callbacks.c -+++ gcolor2-0.4/src/callbacks.c -@@ -9,6 +9,9 @@ - #include "interface.h" - #include "support.h" - -+/* missing headers on original file */ -+#include <string.h> -+#include <glib/gprintf.h> - - GtkWidget *savedialog; - gchar *colorname; diff --git a/misc/gcolor2/doinst.sh b/misc/gcolor2/doinst.sh deleted file mode 100644 index 5fb28930db..0000000000 --- a/misc/gcolor2/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi diff --git a/misc/gcolor2/gcolor2.SlackBuild b/misc/gcolor2/gcolor2.SlackBuild deleted file mode 100644 index 36aac41017..0000000000 --- a/misc/gcolor2/gcolor2.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for gcolor2 -# Written by slakmagik <slakmagik@gmail.com> -# Released under the WTFPL - -PRGNAM=gcolor2 -VERSION=${VERSION:-0.4} -BUILD=${BUILD:-3} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -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 {} \; - -# gcolor2 prefills the saved colors with the contents of rgb.txt - which it -# can't find without this patch -patch -p1 < $CWD/rgb.patch -# Add a couple of Debian patches for x86_64 segfaults -# http://patch-tracker.debian.org/package/gcolor2 -patch -p1 < $CWD/callbacks.c.patch -patch -p1 < $CWD/main.c.patch -# now fix configure -sed -i~ '/gentoo_ltmain_version/s/\[:space:\]/[&]/g' configure - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --build=$ARCH-slackware-linux - -make -make DESTDIR=$PKG install-strip - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -# the NEWS and README files are empty, so this doesn't include them -cp -a [ACI]* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/usr/share/applications -cat $CWD/gcolor2.desktop > $PKG/usr/share/applications/gcolor2.desktop - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/gcolor2/gcolor2.desktop b/misc/gcolor2/gcolor2.desktop deleted file mode 100644 index 20f47311aa..0000000000 --- a/misc/gcolor2/gcolor2.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=gcolor2 -GenericName=Color Chooser -Comment=Pick colors via numeric input, color wheel, or named colors -Icon=/usr/share/pixmaps/gcolor2/icon.png -Exec=gcolor2 -Terminal=false -Categories=Utility;GTK; diff --git a/misc/gcolor2/gcolor2.info b/misc/gcolor2/gcolor2.info deleted file mode 100644 index 0c3558c9db..0000000000 --- a/misc/gcolor2/gcolor2.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gcolor2" -VERSION="0.4" -HOMEPAGE="http://gcolor2.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/gcolor2/gcolor2-0.4.tar.bz2" -MD5SUM="223a126b8a87234d1552be4be4140789" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="slakmagik" -EMAIL="slakmagik@gmail.com" diff --git a/misc/gcolor2/main.c.patch b/misc/gcolor2/main.c.patch deleted file mode 100644 index 958e394cdb..0000000000 --- a/misc/gcolor2/main.c.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- gcolor2-0.4.orig/src/main.c -+++ gcolor2-0.4/src/main.c -@@ -4,11 +4,15 @@ - - #include <gtk/gtk.h> - #include <stdio.h> -- - #include "interface.h" - #include "support.h" - #include "callbacks.h" - -+/* missing headers on original file */ -+#include <stdlib.h> -+#include <string.h> -+#include <glib/gprintf.h> -+ - GtkListStore *liststore; - GdkWindow *gdkwin; - gchar *user_filename; -@@ -48,8 +52,9 @@ - - void add_list_color (gchar *spec, gchar *name, gchar *type, gboolean is_new_color) - { -+/* pixmap and mask don't used - GdkPixmap *pixmap; -- GdkBitmap *mask; -+ GdkBitmap *mask; */ - GdkPixbuf *buf; - GtkTreeIter iter; - -@@ -103,7 +108,7 @@ - gchar *name; - gchar buffer[512]; - gchar spec[8]; -- gint r, g, b, lr, lg, lb; -+ gint r, g, b, lr=0, lg=0, lb=0; - - fp = fopen (filename, "r"); - if (!fp) -@@ -140,7 +145,8 @@ - GtkTreeViewColumn *column; - GtkWidget *treeview; - GtkTreeSelection *select; -- gchar *buf; -+/* dont used -+ gchar *buf; */ - - #ifdef ENABLE_NLS - bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); diff --git a/misc/gcolor2/rgb.patch b/misc/gcolor2/rgb.patch deleted file mode 100644 index 60c2830515..0000000000 --- a/misc/gcolor2/rgb.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Naur gcolor2-0.4.orig/src/callbacks.h gcolor2-0.4/src/callbacks.h ---- gcolor2-0.4.orig/src/callbacks.h 2005-07-11 19:18:59.000000000 -0400 -+++ gcolor2-0.4/src/callbacks.h 2008-03-11 03:59:49.000000000 -0400 -@@ -12,6 +12,7 @@ - #define SYSTEM_FILE_2 "/usr/lib/X11/rgb.txt" - #define SYSTEM_FILE_3 "/etc/X11/rgb.txt" - #define SYSTEM_FILE_4 "/usr/openwin/lib/X11/rgb.txt" -+#define SYSTEM_FILE_5 "/usr/share/X11/rgb.txt" - - /* about dialog text */ - #define ABOUT_CREDITS_TEXT "Developer:\n" \ -diff -Naur gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c ---- gcolor2-0.4.orig/src/main.c 2005-07-11 10:55:49.000000000 -0400 -+++ gcolor2-0.4/src/main.c 2008-03-11 04:00:12.000000000 -0400 -@@ -36,6 +36,8 @@ - sys_filename = SYSTEM_FILE_3; - else if (g_file_test (SYSTEM_FILE_4, G_FILE_TEST_EXISTS)) - sys_filename = SYSTEM_FILE_4; -+ else if (g_file_test (SYSTEM_FILE_5, G_FILE_TEST_EXISTS)) -+ sys_filename = SYSTEM_FILE_5; - else - return FALSE; - return TRUE; diff --git a/misc/ghostpcl/compile_fix.patch b/misc/ghostpcl/compile_fix.patch new file mode 100644 index 0000000000..8e1172408d --- /dev/null +++ b/misc/ghostpcl/compile_fix.patch @@ -0,0 +1,11 @@ +diff -urN ghostpdl-9.54.0/tesseract/src/ccutil/strngs.h ghostpdl/tesseract/src/ccutil/strngs.h +--- ghostpdl-9.54.0/tesseract/src/ccutil/strngs.h 2021-03-22 13:05:59.000000000 +0200 ++++ ghostpdl/tesseract/src/ccutil/strngs.h 2021-04-01 17:22:19.653876318 +0300 +@@ -35,6 +35,7 @@ + class STRING : public std::string { + public: + using std::string::string; ++ STRING() : std::string() {} + STRING(const std::string &s) : std::string(s) {} + STRING(const char *s) : std::string(s ? s : "") {} + diff --git a/misc/ghostpcl/ghostpcl.SlackBuild b/misc/ghostpcl/ghostpcl.SlackBuild index f779cb8058..26cf227cd7 100644 --- a/misc/ghostpcl/ghostpcl.SlackBuild +++ b/misc/ghostpcl/ghostpcl.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=ghostpcl SRCNAM=ghostpdl -VERSION=${VERSION:-9.26} +VERSION=${VERSION:-9.54.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,6 +70,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/compile_fix.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/misc/ghostpcl/ghostpcl.info b/misc/ghostpcl/ghostpcl.info index 29d2fa380a..d4d566c5b8 100644 --- a/misc/ghostpcl/ghostpcl.info +++ b/misc/ghostpcl/ghostpcl.info @@ -1,8 +1,8 @@ PRGNAM="ghostpcl" -VERSION="9.26" +VERSION="9.54.0" HOMEPAGE="https://www.ghostscript.com" -DOWNLOAD="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/ghostpdl-9.26.tar.gz" -MD5SUM="8692a3e2cd76b993a68c767162e8a622" +DOWNLOAD="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/ghostpdl-9.54.0.tar.gz" +MD5SUM="25de435bce3ddb370a86ddf9b7f090da" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/git-store-meta/README b/misc/git-store-meta/README new file mode 100644 index 0000000000..93b5e48700 --- /dev/null +++ b/misc/git-store-meta/README @@ -0,0 +1,22 @@ +git-store-meta is a light-weight tool for file metadata storing and +applying for Git. + +Features: + +- Light dependency, cross-platform consistent behavior, + desirable performance. +- Data files are in plain text format and can be easily revisioned, + diffed, or manually modified as needed. +- Supported metadata: mtime, atime, mode, user, uid, group, gid, acl. +- Can store the metadata of git-revisioned files into a data file. +- Can apply the metadata stored in the data file to the working copy. +- Can update the metadata for changed files quickly. +- Can easily pick which metadata fields to store, update, or apply. +- Can determine whether to store, update, or apply directory metadata. + +Note: + + The binary is installed under the name "git-store-meta". Use it + instead of "git-store-meta.pl" when reading online docs or in Git + hooks. The `--install` switch already knows to use "git-store-meta" + and will create correct hooks without any further action required. diff --git a/misc/git-store-meta/change-name-in-git-hooks.patch b/misc/git-store-meta/change-name-in-git-hooks.patch new file mode 100644 index 0000000000..429d36c877 --- /dev/null +++ b/misc/git-store-meta/change-name-in-git-hooks.patch @@ -0,0 +1,21 @@ +commit 95bce8afd6973b00232f3cb7cc286d3994a07a13 +Author: Andrzej Telszewski <atelszewski@gmail.com> +Date: Sat Oct 24 12:51:20 2020 +0200 + + Change how git-store-meta is called from Git hooks + + Call `git-store-meta` instead of `git-store-meta.pl`. + +diff --git a/git-store-meta.pl b/git-store-meta.pl +index ddc0024..b0d0d37 100755 +--- a/git-store-meta.pl ++++ b/git-store-meta.pl +@@ -600,7 +600,7 @@ sub install_hooks { + my $mask = umask; if (!defined($mask)) { $mask = 0022; } + my $mode = 0777 & ~$mask; + my $t; +- my $s = escapeshellarg($GIT_STORE_META_APP . ".pl"); ++ my $s = escapeshellarg($GIT_STORE_META_APP); + my $f = defined($argv{'target'}) ? " -t " . escapeshellarg($argv{'target'}) : ""; + my $f2 = escapeshellarg(defined($argv{'target'}) ? $argv{'target'} : $GIT_STORE_META_FILENAME); + diff --git a/misc/git-store-meta/fix-storing-group-name.patch b/misc/git-store-meta/fix-storing-group-name.patch new file mode 100644 index 0000000000..13bb8718c1 --- /dev/null +++ b/misc/git-store-meta/fix-storing-group-name.patch @@ -0,0 +1,33 @@ +commit e9a545ae7f45ea2b8b031457ffeeb7ec69cac41d +Author: Andrzej Telszewski <atelszewski@gmail.com> +Date: Sat Oct 24 12:27:13 2020 +0200 + + Fix that the 'group' name is not correctly stored + + Fix that the 'group' name is not correctly stored in '.git_store_meta'. + + The reason for the error is that `getpwuid()` is used instead of + `getgrgid()` when retreiving group information. + +diff --git a/git-store-meta.pl b/git-store-meta.pl +index ddc0024..c7ef50a 100755 +--- a/git-store-meta.pl ++++ b/git-store-meta.pl +@@ -473,7 +473,7 @@ sub getfacl_internal { + } + if (defined $acl{'group'}) { + foreach my $gid (keys %{$acl{'group'}}) { +- my $group = getpwuid($gid); ++ my $group = getgrgid($gid); + $group = defined($group) ? $group : $gid; + push(@results, "group:$group:" . getfacl_internal_getperms(\%{$acl{'group'}{$gid}})); + } +@@ -758,7 +758,7 @@ sub get_file_metadata { + my $user = getpwuid($uid); + push(@rec, $user || ""); + } elsif ($_ eq "group") { +- my $group = getpwuid($gid); ++ my $group = getgrgid($gid); + push(@rec, $group || ""); + } elsif ($_ eq "acl") { + push(@rec, &$getfacl($file)); diff --git a/misc/git-store-meta/git-store-meta.SlackBuild b/misc/git-store-meta/git-store-meta.SlackBuild new file mode 100644 index 0000000000..7df1e09f11 --- /dev/null +++ b/misc/git-store-meta/git-store-meta.SlackBuild @@ -0,0 +1,72 @@ +#!/bin/sh + +# Slackware build script for git-store-meta + +# Copyright 2020 Andrzej Telszewski, Szczecin +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=git-store-meta +VERSION=${VERSION:-2.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + +chown -R root:root . +chmod -R a-st,u+rwX,go-w+rX . + +patch -p1 -i $CWD/fix-storing-group-name.patch +patch -p1 -i $CWD/change-name-in-git-hooks.patch + +mv $PRGNAM.pl ${PRGNAM} + +# Based on https://aur.archlinux.org/packages/git-store-meta/ + +sed -i $PRGNAM -e "s|$PRGNAM\.pl|$PRGNAM|g" +sed -i README.md -e "s|$PRGNAM\.pl|$PRGNAM|g" + +chmod 0755 $PRGNAM + +mkdir -p $PKG/usr/bin +cp $PRGNAM $PKG/usr/bin + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/git-store-meta/git-store-meta.info b/misc/git-store-meta/git-store-meta.info new file mode 100644 index 0000000000..3ed5a7c000 --- /dev/null +++ b/misc/git-store-meta/git-store-meta.info @@ -0,0 +1,10 @@ +PRGNAM="git-store-meta" +VERSION="2.1.2" +HOMEPAGE="https://github.com/danny0838/git-store-meta" +DOWNLOAD="https://github.com/danny0838/git-store-meta/archive/2.1.2/git-store-meta-2.1.2.tar.gz" +MD5SUM="1c7c55c15c19ca1b74a55a813a7a07a2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrzej Telszewski" +EMAIL="atelszewski@gmail.com" diff --git a/misc/git-store-meta/slack-desc b/misc/git-store-meta/slack-desc new file mode 100644 index 0000000000..c1f02f6507 --- /dev/null +++ b/misc/git-store-meta/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +git-store-meta: git-store-meta (file metadata storing and applying for Git) +git-store-meta: +git-store-meta: git-store-meta is a light-weight tool for file metadata storing and +git-store-meta: applying for Git. +git-store-meta: +git-store-meta: Homepage: https://github.com/danny0838/git-store-meta +git-store-meta: +git-store-meta: +git-store-meta: +git-store-meta: +git-store-meta: diff --git a/misc/goldencheetah/GoldenCheetah.desktop b/misc/goldencheetah/GoldenCheetah.desktop new file mode 100644 index 0000000000..7217806afe --- /dev/null +++ b/misc/goldencheetah/GoldenCheetah.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=GoldenCheetah +Icon=GoldenCheetah +Exec=GoldenCheetah +Terminal=false +Comment=Cycling power analysis software +Keywords=Cycling;Training;Bike;Ride;Power; +Categories=Qt;Education;Sports;DataVisualization;Maps; diff --git a/misc/goldencheetah/doinst.sh b/misc/goldencheetah/doinst.sh new file mode 100644 index 0000000000..4a25de5e6f --- /dev/null +++ b/misc/goldencheetah/doinst.sh @@ -0,0 +1,10 @@ +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/misc/goldencheetah/goldencheetah.SlackBuild b/misc/goldencheetah/goldencheetah.SlackBuild index f2bbd60578..a3dec7778e 100644 --- a/misc/goldencheetah/goldencheetah.SlackBuild +++ b/misc/goldencheetah/goldencheetah.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for GoldenCheetah -# Copyright 2018 Kyle Guinn <elyk03@gmail.com>, USA +# Copyright 2018-2020 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ PRGNAM=goldencheetah SRCNAM=GoldenCheetah -VERSION=${VERSION:-3.4} -BUILD=${BUILD:-1} +VERSION=${VERSION:-3.5} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -82,18 +82,24 @@ cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri cp src/gcconfig.pri.in src/gcconfig.pri # Set up the build configuration. -sed -i 's|^#\(CONFIG += release\)|\1|' src/gcconfig.pri -sed -i 's|^#\(QMAKE_LEX = flex\)|\1|' src/gcconfig.pri -sed -i 's|^#\(QMAKE_YACC = bison\)|\1|' src/gcconfig.pri -sed -i 's|^#\(LIBZ_INCLUDE =\)|\1|' src/gcconfig.pri -sed -i 's|^#\(LIBZ_LIBS = -lz\).*|\1|' src/gcconfig.pri +sed -i 's|^#\(CONFIG += release\)|\1|' src/gcconfig.pri +sed -i 's|^#\(QMAKE_LEX = flex\)|\1|' src/gcconfig.pri +sed -i 's|^#\(QMAKE_YACC = bison\)|\1|' src/gcconfig.pri +sed -i 's|^#\(LIBZ_INCLUDE =\)|\1|' src/gcconfig.pri +sed -i 's|^#\(LIBZ_LIBS = -lz\)|\1|' src/gcconfig.pri # Enable optional dependencies found in stock Slackware. -# TODO: Enable other optional dependencies (VLC, qwtplot3d, others?) -sed -i 's|^#\(ICAL_INSTALL =\).*|\1 /usr|' src/gcconfig.pri -sed -i 's|^#\(LIBUSB_INSTALL =\).*|\1 /usr|' src/gcconfig.pri - -qmake \ +# Also enable optional video and webengine from QT5 since QT5 is required. +# TODO: Enable other optional dependencies (python3, R, libsamplerate, ...) +sed -i 's|^#\(ICAL_INSTALL =\).*|\1 /usr|' src/gcconfig.pri +sed -i 's|^#\(LIBUSB_INSTALL =\).*|\1 /usr|' src/gcconfig.pri +sed -i 's|^#\(CONFIG += link_pkgconfig\)|\1|' src/gcconfig.pri +sed -i 's|^#\(PKGCONFIG =\)|\1|' src/gcconfig.pri +sed -i 's|^\(DEFINES += GC_VIDEO_NONE\)|#\1|' src/gcconfig.pri +sed -i 's|^#\(DEFINES += GC_VIDEO_QT5\)|\1|' src/gcconfig.pri +sed -i 's|^#\(DEFINES += NOWEBKIT\)|\1|' src/gcconfig.pri + +qmake-qt5 \ -recursive \ QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \ QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \ @@ -102,12 +108,24 @@ make install -D -m0755 -s src/GoldenCheetah $PKG/usr/bin/GoldenCheetah install -D -m0644 src/Resources/linux/51-garmin-usb.rules $PKG/lib/udev/rules.d/51-garmin-usb.rules +# Generate desktop icon set +convert -size 512x512 xc:none -fill white -draw "roundrectangle 15,16 487,486 52,52" \ + src/Resources/images/gc.png -compose Over -composite -crop 475x473+14+15\! logo.png +for RES in 16 22 24 32 48 64 128 256 512; do + mkdir -p $PKG/usr/share/icons/hicolor/${RES}x${RES}/apps + convert logo.png -resize ${RES}x${RES}\! $PKG/usr/share/icons/hicolor/${RES}x${RES}/apps/GoldenCheetah.png +done + +mkdir -p $PKG/usr/share/applications +cp $CWD/GoldenCheetah.desktop $PKG/usr/share/applications/ + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/goldencheetah/goldencheetah.info b/misc/goldencheetah/goldencheetah.info index e1aa0f2271..324df46ea8 100644 --- a/misc/goldencheetah/goldencheetah.info +++ b/misc/goldencheetah/goldencheetah.info @@ -1,10 +1,10 @@ PRGNAM="goldencheetah" -VERSION="3.4" -HOMEPAGE="http://www.goldencheetah.org/" -DOWNLOAD="https://github.com/GoldenCheetah/GoldenCheetah/archive/V3.4/GoldenCheetah-3.4.tar.gz" -MD5SUM="41da7559e546b5fdedfbee962356c072" +VERSION="3.5" +HOMEPAGE="https://www.goldencheetah.org/" +DOWNLOAD="https://github.com/GoldenCheetah/GoldenCheetah/archive/V3.5/GoldenCheetah-3.5.tar.gz" +MD5SUM="ed25ef3dfb447b1c4d9cc7387da5d7e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt5" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" diff --git a/misc/gramps/README b/misc/gramps/README index 57b02affe2..d960666c8f 100644 --- a/misc/gramps/README +++ b/misc/gramps/README @@ -1,6 +1,6 @@ -GRAMPS is a genealogy program for Linux and other UNIX-like systems. GRAMPS +Gramps is a genealogy program for Linux and other UNIX-like systems. Gramps stands for Genealogical Research and Analysis Management Programming System. -GRAMPS helps you track your family tree. It allows you to store, edit, and +Gramps helps you track your family tree. It allows you to store, edit, and research genealogical data. @@ -13,8 +13,8 @@ for example PYTHON3=yes ./pyicu.SlackBuild -Optional Dependencies: osm-gps-map +Optional Dependencies: osm-gps-map and libgexiv2 -For a list of programs GRAMPS can use if they are installed, see +For a list of programs Gramps can use if they are installed, see - https://www.gramps-project.org/wiki/index.php?title=Installation + https://github.com/gramps-project/gramps#requirements diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild index 0c2120a836..cbd80f53d7 100644 --- a/misc/gramps/gramps.SlackBuild +++ b/misc/gramps/gramps.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gramps -VERSION=${VERSION:-5.0.0} +VERSION=${VERSION:-5.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/gramps/gramps.info b/misc/gramps/gramps.info index d326742902..228f7487b0 100644 --- a/misc/gramps/gramps.info +++ b/misc/gramps/gramps.info @@ -1,8 +1,8 @@ PRGNAM="gramps" -VERSION="5.0.0" +VERSION="5.1.2" HOMEPAGE="https://www.gramps-project.org/" -DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.0.0/gramps-5.0.0.zip" -MD5SUM="84a0a3aa0bb45b00689475507e9d6524" +DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.1.2/gramps-5.1.2.zip" +MD5SUM="92693297f581187fad31a3473149e690" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pygobject3-python3 pyicu bsddb3" diff --git a/misc/gramps/slack-desc b/misc/gramps/slack-desc index d99659f820..f79f5836ef 100644 --- a/misc/gramps/slack-desc +++ b/misc/gramps/slack-desc @@ -9,11 +9,11 @@ gramps: gramps (genealogy program) gramps: gramps: Genealogical Research and Analysis Management Programming System -gramps: GRAMPS is a genealogy program for Linux and other UNIX-like systems. -gramps: GRAMPS stands for Genealogical Research and Analysis Management -gramps: Programming System. GRAMPS helps you track your family tree. It +gramps: Gramps is a genealogy program for Linux and other UNIX-like systems. +gramps: Gramps stands for Genealogical Research and Analysis Management +gramps: Programming System. Gramps helps you track your family tree. It gramps: allows you to store, edit, and research genealogical data. gramps: gramps: Homepage: http://www.gramps-project.org/ gramps: -gramps: +gramps: Requirements: https://github.com/gramps-project/gramps#requirements diff --git a/misc/grc/grc.SlackBuild b/misc/grc/grc.SlackBuild index cc9147fdc0..13ba2526d8 100644 --- a/misc/grc/grc.SlackBuild +++ b/misc/grc/grc.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for grc. # # Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2020 Ricardo J. Barberis <ricardo.barberis@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/misc/grc/grc.info b/misc/grc/grc.info index 4d47eaa2b0..9c3b9c962f 100644 --- a/misc/grc/grc.info +++ b/misc/grc/grc.info @@ -6,5 +6,5 @@ MD5SUM="17f9a0b014c771b9e4cd060113309073" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="Ricardo J. Barberis" +EMAIL="ricardo.barberis@gmail.com" diff --git a/misc/heyu/README b/misc/heyu/README index db119f7b36..013a5e0800 100644 --- a/misc/heyu/README +++ b/misc/heyu/README @@ -1,15 +1,17 @@ -This program operates an X10 module via a CM11A computer interface. It is -based on the program X10 by Larry Cambell as modified by Paul Fox. All but a -few functions have been changed enough that they no longer interwork with -the original. I think this justifies issuing the program as 'heyu' instead -of 'x10'. +heyu (X10 module controller software) -The program is strictly command line driven, and works well with crontab. -Crontab can be used to schedule events. You can also upload timers and -macros to the CM11's memory. +This program operates an X10 module via a CM11A computer interface. +It's based on the program X10 by Larry Cambell as modified by Paul +Fox. All but a few functions have been changed enough that they no +longer interwork with the original. I think this justifies issuing the +program as 'heyu' instead of 'x10'. -The program comes complete with source code, sample config files, man pages, -and executable binary. The program has options to allow you to: +The program is strictly command line driven, and works well with +crontab. Crontab can be used to schedule events. You can also upload +timers and macros to the CM11's memory. + +The program comes complete with source code, sample config files, man +pages, and executable binary. The program has options to allow you to: * Get the date and time from the interface * Get information about current settings and module states diff --git a/misc/heyu/heyu.SlackBuild b/misc/heyu/heyu.SlackBuild index 9bccc81843..10dd36f24e 100644 --- a/misc/heyu/heyu.SlackBuild +++ b/misc/heyu/heyu.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=heyu -VERSION=${VERSION:-2.10.1} +VERSION=${VERSION:-2.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/heyu/heyu.info b/misc/heyu/heyu.info index 38f7cff1aa..51b02e3d0e 100644 --- a/misc/heyu/heyu.info +++ b/misc/heyu/heyu.info @@ -1,8 +1,8 @@ PRGNAM="heyu" -VERSION="2.10.1" +VERSION="2.10.2" HOMEPAGE="http://www.heyu.org/" -DOWNLOAD="https://github.com/HeyuX10Automation/heyu/archive/v2.10.1/heyu-2.10.1.tar.gz" -MD5SUM="f4a34bb07f53fe7343b9d4f1724e3f01" +DOWNLOAD="https://github.com/HeyuX10Automation/heyu/archive/v2.10.2/heyu-2.10.2.tar.gz" +MD5SUM="9351e92c0d7fa1a0354825f99eb51c2d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/hoorex/hoorex.SlackBuild b/misc/hoorex/hoorex.SlackBuild index 6a08ca930a..1594c597bc 100644 --- a/misc/hoorex/hoorex.SlackBuild +++ b/misc/hoorex/hoorex.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hoorex -VERSION=${VERSION:-0.6.5} +VERSION=${VERSION:-0.7.0} ARCH=${ARCH:-noarch} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,7 +68,7 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a BUGS INSTALL.txt LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a BUGS INSTALL.txt LICENSE.md README.md quirks.example $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/hoorex/hoorex.info b/misc/hoorex/hoorex.info index ec7a40fb62..0adb2a4433 100644 --- a/misc/hoorex/hoorex.info +++ b/misc/hoorex/hoorex.info @@ -1,8 +1,8 @@ PRGNAM="hoorex" -VERSION="0.6.5" +VERSION="0.7.0" HOMEPAGE="https://gitlab.com/chris.willing/hoorex" -DOWNLOAD="https://gitlab.com/chris.willing/hoorex/-/archive/0.6.5/hoorex-0.6.5.tar.gz" -MD5SUM="85470d620dfe27232bfe47a0798eaf88" +DOWNLOAD="https://gitlab.com/chris.willing/hoorex/-/archive/0.7.0/hoorex-0.7.0.tar.gz" +MD5SUM="9d9d15b4bca87f9de07c230e9e96658c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/html-xml-utils/README b/misc/html-xml-utils/README index e5d8b61b92..65a1ea27cd 100644 --- a/misc/html-xml-utils/README +++ b/misc/html-xml-utils/README @@ -1,3 +1,3 @@ html-xml-utils provides command-line tools for manipulating, examining, and parsing HTML and XML documents. It is produced by the World Wide -Web COnsortium (W3C).
\ No newline at end of file +Web Consortium (W3C). diff --git a/misc/html-xml-utils/html-xml-utils.SlackBuild b/misc/html-xml-utils/html-xml-utils.SlackBuild index 141e29b729..8e983df7d2 100644 --- a/misc/html-xml-utils/html-xml-utils.SlackBuild +++ b/misc/html-xml-utils/html-xml-utils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for html-xml-utils -# Copyright 2019 Kurt Weber Riverside, CA +# Copyright 2020 Kurt Weber Riverside, CA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=html-xml-utils -VERSION=${VERSION:-7.7} +VERSION=${VERSION:-7.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/html-xml-utils/html-xml-utils.info b/misc/html-xml-utils/html-xml-utils.info index 29dd09513c..48b19c0fbc 100644 --- a/misc/html-xml-utils/html-xml-utils.info +++ b/misc/html-xml-utils/html-xml-utils.info @@ -1,8 +1,8 @@ PRGNAM="html-xml-utils" -VERSION="7.7" +VERSION="7.8" HOMEPAGE="https://www.w3.org/Tools/HTML-XML-utils/" -DOWNLOAD="https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-7.7.tar.gz" -MD5SUM="8938567808754d188bf61800e569468f" +DOWNLOAD="https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-7.8.tar.gz" +MD5SUM="1e122cd0af5940a209045a76efaa81b8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/igal2/igal2.SlackBuild b/misc/igal2/igal2.SlackBuild index 2bf21519b0..64ff34ba7f 100644 --- a/misc/igal2/igal2.SlackBuild +++ b/misc/igal2/igal2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for igal2 -# Copyright 2012-2016 Petar Petrov slackalaxy@gmail.com +# Copyright 2012-2020 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=igal2 -VERSION=${VERSION:-2.2} +VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCNAM=igal + ARCH=noarch CWD=$(pwd) @@ -39,8 +41,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -50,20 +52,23 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # We'll put these in the doc directory later +sed -i "s:/usr/local:/usr:g" Makefile +sed -i "s:(DATADIR)/man/man1:(PREFIX)/man/man1:g" Makefile +sed -i "s:(PREFIX)/lib/igal:(PREFIX)/share/$PRGNAM:" Makefile sed -i "s:README::" Makefile sed -i "s:ChangeLog::" Makefile sed -i "s:COPYING::" Makefile -# Arch-independent files should go in /usr/share -sed -i "s:/usr/local/lib:/usr/share:g" igal2 - # Path fix +sed -i "s:/usr/local:/usr:g" igal2 sed -i "s:/usr/local:/usr:g" utilities/* -make install DESTDIR=$PKG \ - BINDIR=$PKG/usr/bin \ - MANDIR=$PKG/usr/man/man1 \ - LIBDIR=$PKG/usr/share/$PRGNAM +make install DESTDIR=$PKG + +cp -a utilities $PKG/usr/share/$PRGNAM + +# This is in /usr/share/igal2/utilities +rm $PKG/usr/bin/$PRGNAM.sh 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 diff --git a/misc/igal2/igal2.info b/misc/igal2/igal2.info index bcc8832ecb..a786183096 100644 --- a/misc/igal2/igal2.info +++ b/misc/igal2/igal2.info @@ -1,8 +1,8 @@ PRGNAM="igal2" -VERSION="2.2" +VERSION="2.3" HOMEPAGE="http://igal.trexler.at/" -DOWNLOAD="http://igal.trexler.at/igal2-2.2.tar.gz" -MD5SUM="257058ffa3d8ac5ef71232743f91c4b5" +DOWNLOAD="https://github.com/solbu/igal2/archive/v2.3/igal-2.3.tar.gz" +MD5SUM="f6aa6d329288f70419fe27d9c5bf91e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/jmri/README b/misc/jmri/README index 8cb37c965c..aef62d8ee7 100644 --- a/misc/jmri/README +++ b/misc/jmri/README @@ -1,5 +1,5 @@ JMRI is the Java Model Railroad Interface, a set of tools for model railroad computer control. -Please note, to access your controller hardware you will probably need to -add your username to the 'dialout' group. +Please note, to access your controller hardware you will probably need +to add your username to the 'dialout' group. diff --git a/misc/jmri/jmri.SlackBuild b/misc/jmri/jmri.SlackBuild index 16c663fe8b..ec0b29cd92 100644 --- a/misc/jmri/jmri.SlackBuild +++ b/misc/jmri/jmri.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for JMRI # Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. -# Copyright 2016-2018 Heiko Rosemann, Germany +# Copyright 2016-2020 Heiko Rosemann, Germany # All rights reserved. # @@ -25,8 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=jmri -VERSION=${VERSION:-4.14} -REVISION=${REVISION:-Rd060e0b} +VERSION=${VERSION:-4.22} +REVISION=${REVISION:-R4c4384d74} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/misc/jmri/jmri.info b/misc/jmri/jmri.info index 86c1b91ced..e2fb872b9b 100644 --- a/misc/jmri/jmri.info +++ b/misc/jmri/jmri.info @@ -1,8 +1,8 @@ PRGNAM="jmri" -VERSION="4.14" +VERSION="4.22" HOMEPAGE="http://jmri.org/" -DOWNLOAD="https://github.com/JMRI/JMRI/releases/download/v4.14/JMRI.4.14+Rd060e0b.tgz" -MD5SUM="9e8138d809927bd197cf0f23bb357cbf" +DOWNLOAD="https://github.com/JMRI/JMRI/releases/download/v4.22/JMRI.4.22+R4c4384d74.tgz" +MD5SUM="63294509ca6a360b1fa6c2e602713d43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" diff --git a/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild index b5152a3319..e0bcf158c0 100644 --- a/misc/keychain/keychain.SlackBuild +++ b/misc/keychain/keychain.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for keychain # Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com> -# Copyright 2014-2016 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -21,13 +21,13 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=keychain -VERSION=${VERSION:-2.8.3} +VERSION=${VERSION:-2.8.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,7 +44,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -58,7 +58,7 @@ sed -i 's|:/usr/ucb||' $PRGNAM mkdir -p $PKG/usr/bin $PKG/usr/man/man1 install -m 755 $PRGNAM $PKG/usr/bin -cat keychain.1 > $PKG/usr/man/man1/keychain.1 +install -m 644 keychain.1 $PKG/usr/man/man1/keychain.1 find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/misc/keychain/keychain.info b/misc/keychain/keychain.info index 5713764d6d..2cf6186e11 100644 --- a/misc/keychain/keychain.info +++ b/misc/keychain/keychain.info @@ -1,8 +1,8 @@ PRGNAM="keychain" -VERSION="2.8.3" -HOMEPAGE="https://www.funtoo.org/index.php?title=Keychain" -DOWNLOAD="https://www.funtoo.org/archive/keychain/keychain-2.8.3.tar.bz2" -MD5SUM="bdf70a69b8b2208664cfcd4a8e42523b" +VERSION="2.8.5" +HOMEPAGE="https://www.funtoo.org/Keychain" +DOWNLOAD="https://github.com/funtoo/keychain/archive/2.8.5/keychain-2.8.5.tar.gz" +MD5SUM="b08ead19dc71c91e0ded2976e707b340" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/lastpass-cli/slack-desc b/misc/lastpass-cli/slack-desc index 0415e45c5a..cf0d726e83 100644 --- a/misc/lastpass-cli/slack-desc +++ b/misc/lastpass-cli/slack-desc @@ -5,7 +5,7 @@ # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. - |-----handy-ruler------------------------------------------------------|) + |-----handy-ruler------------------------------------------------------| lastpass-cli: lastpass-cli (Password Manager) lastpass-cli: lastpass-cli: LastPass is a password manager and password generator that diff --git a/misc/linux_logo/linux_logo.SlackBuild b/misc/linux_logo/linux_logo.SlackBuild index bbcc37aa6b..48e6e9434b 100644 --- a/misc/linux_logo/linux_logo.SlackBuild +++ b/misc/linux_logo/linux_logo.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for linux_logo # Copyright 2007, 2008 Steve Kennedy <steve@gnomeslackbuild.org> +# Copyright 2019-2020 Gregory J. L. Tourte <artourter@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=linux_logo -VERSION=${VERSION:-5.11} +VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,10 +65,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 {} \; + \( -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 {} \; #force to accept our CFLAGS sed -i "s|CFLAGS=\"|CFLAGS+=\" |" configure @@ -77,7 +78,7 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr -make +make logos-all make install PREFIX=$PKG/usr ( cd $PKG/usr ; mv share/man . ) @@ -86,9 +87,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ANNOUNCE.logo README.CUSTOM_LOGOS BUGS README.SECURITY \ - CHANGES README.history CHANGES_IN_5.0 TODO COPYING USAGE \ - LINUX_LOGO.FAQ README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a BUGS CHANGES CHANGES_IN_6.0 COPYING LINUX_LOGO.FAQ README \ + README.CUSTOM_LOGOS README.SECURITY README.history RELEASE_PROCEDURE \ + TODO USAGE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/linux_logo/linux_logo.info b/misc/linux_logo/linux_logo.info index ea1e7802e6..4bc174c8e8 100644 --- a/misc/linux_logo/linux_logo.info +++ b/misc/linux_logo/linux_logo.info @@ -1,10 +1,10 @@ PRGNAM="linux_logo" -VERSION="5.11" +VERSION="6.0" HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" -DOWNLOAD="http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-5.11.tar.gz" -MD5SUM="8e52af520368980ceba978330881e36e" +DOWNLOAD="http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-6.0.tar.gz" +MD5SUM="9992285b9b8483c65350f338340ea3d4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Steve Kennedy" -EMAIL="steve@gnomeslackbuild.org" +MAINTAINER="ArTourter" +EMAIL="artourter@gmail.com" diff --git a/misc/moreutils/README b/misc/moreutils/README index 793048affb..3a234765a3 100644 --- a/misc/moreutils/README +++ b/misc/moreutils/README @@ -1,4 +1,10 @@ moreutils is a growing collection of the unix tools that nobody thought to write long ago when unix was young. -This package conflicts with system/parallel. +perl-IPC-Run is an optional dependency, if it's missing chronic will +not be installed. + +This package conflicts with system/parallel so moreutils version of +parallel is not installed by default. To install it: + + PARALLEL=yes ./moreutils.SlackBuild diff --git a/misc/moreutils/moreutils.SlackBuild b/misc/moreutils/moreutils.SlackBuild index 077644d309..6fd209996c 100644 --- a/misc/moreutils/moreutils.SlackBuild +++ b/misc/moreutils/moreutils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for moreutils -# Copyright 2015-2016 Arkadiusz Drabczyk <arkadiusz@drabczyk.org> +# Copyright 2015-2020 Arkadiusz Drabczyk <arkadiusz@drabczyk.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=moreutils -VERSION=${VERSION:-0.63} +VERSION=${VERSION:-0.64} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,6 +77,14 @@ mkdir $PKG/usr/man mv $PKG/usr/share/man/* $PKG/usr/man rm -rf $PKG/usr/share/ $PKG/usr/man/man1/ts.1 +if [ "${PARALLEL:-yes}" = "no" ]; then + rm -f $PKG/usr/bin/parallel $PKG/usr/man/man1/parallel.1 +fi + +if ! perl -MIPC::Run -e 1 2>/dev/null; then + rm -f $PKG/usr/bin/chronic $PKG/usr/man/man1/chronic.1 +fi + 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 diff --git a/misc/moreutils/moreutils.info b/misc/moreutils/moreutils.info index aee85fab27..8d31108f60 100644 --- a/misc/moreutils/moreutils.info +++ b/misc/moreutils/moreutils.info @@ -1,10 +1,10 @@ PRGNAM="moreutils" -VERSION="0.63" +VERSION="0.64" HOMEPAGE="https://joeyh.name/code/moreutils" -DOWNLOAD="http://drabczyk.org/moreutils-0.63.tar.gz" -MD5SUM="0af12becbed31dc5d57c4a880ef398fc" +DOWNLOAD="http://distfiles.gentoo.org/distfiles/moreutils-0.64.tar.gz" +MD5SUM="a02be0dd938c3fefbb2aa2761e59e7d4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-IPC-Run" +REQUIRES="" MAINTAINER="Arkadiusz Drabczyk" EMAIL="arkadiusz@drabczyk.org" diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild index e175a2870f..504bcf05d3 100644 --- a/misc/mosquitto/mosquitto.SlackBuild +++ b/misc/mosquitto/mosquitto.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mosquitto -# Copyright 2011-2019 Christoph Willing, Brisbane Australia +# Copyright 2011-2021 Christoph Willing, Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mosquitto -VERSION=${VERSION:-1.6.5} +VERSION=${VERSION:-2.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,9 +78,11 @@ find -L . \ mkdir build cd build cmake ../ \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DWITH_BUNDLED_DEPS=ON make make install DESTDIR=$PKG cd .. @@ -97,7 +99,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE.txt CONTRIBUTING.md compiling.txt mosquitto.conf *.example examples readme.* \ + LICENSE.txt README-compiling.md README-letsencrypt.md README.md \ + CONTRIBUTING.md mosquitto.conf *.example examples *.html \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/mosquitto/mosquitto.info b/misc/mosquitto/mosquitto.info index 8ab8b5208c..b4ea0ace2a 100644 --- a/misc/mosquitto/mosquitto.info +++ b/misc/mosquitto/mosquitto.info @@ -1,8 +1,8 @@ PRGNAM="mosquitto" -VERSION="1.6.5" +VERSION="2.0.10" HOMEPAGE="https://mosquitto.org/" -DOWNLOAD="https://mosquitto.org/files/source/mosquitto-1.6.5.tar.gz" -MD5SUM="12a1bd274d5ec454649a06c1bf65d802" +DOWNLOAD="https://mosquitto.org/files/source/mosquitto-2.0.10.tar.gz" +MD5SUM="3d1c327d8c5881f56983bee1e3c8f068" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="c-ares" diff --git a/misc/par/default_env.diff b/misc/par/default_env.diff new file mode 100644 index 0000000000..c34ab4d95c --- /dev/null +++ b/misc/par/default_env.diff @@ -0,0 +1,11 @@ +diff -Naur Par-1.53.0/par.c Par-1.53.0.patched/par.c +--- Par-1.53.0/par.c 2020-03-14 21:01:03.000000000 -0400 ++++ Par-1.53.0.patched/par.c 2020-06-22 19:46:25.353559989 -0400 +@@ -762,6 +762,7 @@ + if (*errmsg) goto parcleanup; + + env = getenv("PARINIT"); ++ if (!env) env = "rTbgqR B=.,?'_A_a_@ Q=_s>|"; + if (env) { + parinit = malloc((strlen(env) + 1) * sizeof (char)); + if (!parinit) { diff --git a/misc/par/par.SlackBuild b/misc/par/par.SlackBuild index 334254bb06..f7b1c7f736 100644 --- a/misc/par/par.SlackBuild +++ b/misc/par/par.SlackBuild @@ -3,16 +3,25 @@ # Slackware build script for par # Written by slakmagik <slakmagik@gmail.com> # Released under the WTFPL +# Now maintained by B. Watson <yalhcru@gmail.com> + +# 20200622 bkw: +# - Update for v1.53 (after *19 years*) +# - Correctly rm the source dir from previous runs +# - Fix mode 0700 top-level source dir (it's annoying) +# - i486 => i586 +# - various tweaks +# - add default_env patch (see below) PRGNAM=par -VERSION=${VERSION:-1.52} -SRCNAM=Par152 +SRCNAM=Par +VERSION=${VERSION:-1.53.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -23,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -42,33 +51,36 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCNAM.tar.gz -cd $SRCNAM +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 {} \; +# please don't revert this to template: +chmod 755 . +chmod 644 * + +# 20200622 bkw: the man page says to: +# $ export PARINIT="rTbgqR B=.,?'_A_a_@ Q=_s>|" +# before running. This one-line patch just makes that the default, if +# the PARINIT variable isn't set. This sets a reasonable default so +# users don't have to diddle their startup files. +[ "${PRISTINE:-no}" = "no" ] && patch -p1 < $CWD/default_env.diff -make -f protoMakefile CC="cc -c" LINK1="cc" LINK2="-o" RM="rm" JUNK="" +make -f protoMakefile CFLAGS="$SLKCFLAGS" mkdir -p $PKG/usr/bin -install par $PKG/usr/bin +install -m0755 -s $PRGNAM $PKG/usr/bin -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# rename ".doc" so nothing thinks it's a word document. +mv $PRGNAM.doc $PRGNAM.txt +sed -i "s/$PRGNAM\.doc/$PRGNAM.txt/g" $PRGNAM.txt $PRGNAM.1 mkdir -p $PKG/usr/man/man1 -# make the manual reflect a filename change which will be made below -sed 's/par\.doc/par.txt/g' par.1 | gzip -c > $PKG/usr/man/man1/par.1.gz +gzip -9c $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -# change the filename (and its references to itself) to avoid tripping up -# extension sniffers -sed 's/par\.doc/par.txt/g' par.doc > $PKG/usr/doc/$PRGNAM-$VERSION/par.txt -cat releasenotes > $PKG/usr/doc/$PRGNAM-$VERSION/releasenotes -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a $PRGNAM.txt releasenotes $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/misc/par/par.info b/misc/par/par.info index 254334f841..575b3ed9bb 100644 --- a/misc/par/par.info +++ b/misc/par/par.info @@ -1,10 +1,10 @@ PRGNAM="par" -VERSION="1.52" +VERSION="1.53.0" HOMEPAGE="http://www.nicemice.net/par/" -DOWNLOAD="http://ftp.netbsd.org/pub/pkgsrc/distfiles/Par152.tar.gz" -MD5SUM="4ccacd824171ba2c2f14fb8aba78b9bf" +DOWNLOAD="http://www.nicemice.net/par/Par-1.53.0.tar.gz" +MD5SUM="5e0f8beb45fbd967df538125fb760ad0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="slakmagik" -EMAIL="slakmagik@gmail.com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild index 60218e29b7..45585e3045 100644 --- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild +++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild @@ -4,7 +4,7 @@ # Written by powtrix (@gmail.com) PRGNAM=par2cmdline-tbb -VERSION=${VERSION:-0.4_20141125} +VERSION=${VERSION:-0.4_20150503} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.info b/misc/par2cmdline-tbb/par2cmdline-tbb.info index 8072927a55..abf6afd8b3 100644 --- a/misc/par2cmdline-tbb/par2cmdline-tbb.info +++ b/misc/par2cmdline-tbb/par2cmdline-tbb.info @@ -1,8 +1,8 @@ PRGNAM="par2cmdline-tbb" -VERSION="0.4_20141125" +VERSION="0.4_20150503" HOMEPAGE="https://github.com/jcfp/par2tbb-chuchusoft-sources/releases" -DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/par2cmdline-0.4-tbb-20141125.tar.gz" -MD5SUM="18fb0f866e4105bdf98883bd068529fe" +DOWNLOAD="https://github.com/jcfp/par2tbb-chuchusoft-sources/releases/download/0.4-tbb-20150503/par2cmdline-0.4-tbb-20150503.tar.gz" +MD5SUM="8159d5747647d9790ae39e3aedbd2f3c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="tbb" diff --git a/misc/par2cmdline/par2cmdline.SlackBuild b/misc/par2cmdline/par2cmdline.SlackBuild index 008ddd6db2..7cdf5a4c5e 100644 --- a/misc/par2cmdline/par2cmdline.SlackBuild +++ b/misc/par2cmdline/par2cmdline.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for par2cmdline -# Copyright 2014-2018, Thomas Morper <thomas@beingboiled.info>, Augsburg, Germany +# Copyright 2014-2021, Thomas Morper <thomas@beingboiled.info>, Nürnberg, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=par2cmdline -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/par2cmdline/par2cmdline.info b/misc/par2cmdline/par2cmdline.info index 857dd0f38e..50901f639e 100644 --- a/misc/par2cmdline/par2cmdline.info +++ b/misc/par2cmdline/par2cmdline.info @@ -1,8 +1,8 @@ PRGNAM="par2cmdline" -VERSION="0.8.0" +VERSION="0.8.1" HOMEPAGE="https://github.com/Parchive/par2cmdline" -DOWNLOAD="https://github.com/Parchive/par2cmdline/archive/v0.8.0/par2cmdline-0.8.0.tar.gz" -MD5SUM="b8f05ee52e27ff8cff82fc98f0f79ea2" +DOWNLOAD="https://github.com/Parchive/par2cmdline/archive/v0.8.1/par2cmdline-0.8.1.tar.gz" +MD5SUM="8c0088c445412223529bd0876df6e2f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/pinfo/README b/misc/pinfo/README index 552a60b072..ad750c3d7d 100644 --- a/misc/pinfo/README +++ b/misc/pinfo/README @@ -1,3 +1,5 @@ +pinfo (info file viewer) + Pinfo is an info file viewer. It was created when the author, Przemek Borys, was very depressed trying to read gtk info entries using the standard tools. diff --git a/misc/pinfo/doinst.sh b/misc/pinfo/doinst.sh index 4fce284ce9..3354151c29 100644 --- a/misc/pinfo/doinst.sh +++ b/misc/pinfo/doinst.sh @@ -13,3 +13,6 @@ config() { config etc/pinforc.new +if [ -x /usr/bin/install-info ]; then + chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/pinfo.info.gz 2> /dev/null +fi diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild index 45e102f2d0..5b318d1b5a 100644 --- a/misc/pinfo/pinfo.SlackBuild +++ b/misc/pinfo/pinfo.SlackBuild @@ -2,9 +2,11 @@ # Slackware build script for pinfo -# Copyright 2009 Arun Prasannan - http://arunprasannan.com +# Copyright 2009 Arun Prasannan - <URL removed> # All rights reserved. # +# Now maintained by B. Watson <yalhcru@gmail.com>. +# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -22,9 +24,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20200708 bkw: BUILD=2 +# - restore old 'pman' link (nothing conflicts) +# - fix homepage in slack-desc + +# 20191221 bkw: +# - take over maintenance. +# - upgrade for v0.6.13... though if you really need to, you can still +# build 0.6.9 or 0.6.10 by setting VERSION in the environment. +# - pinfo development moved to github, change homepage. +# - add info dir entry in doinst.sh. + PRGNAM=pinfo -VERSION=${VERSION:-0.6.9} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.6.13} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,14 +73,13 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.[bg]z* # allow old .bz2 and new .gz 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 {} \+ + +[ -e configure ] || sh autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -77,22 +89,25 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ + --mandir=/usr/man \ + --infodir=/usr/info \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG +gzip -9 $PKG/usr/info/$PRGNAM.info $PKG/usr/man/man1/$PRGNAM.1 +rm -f $PKG/usr/info/dir # Let's not clobber the config file mv $PKG/etc/pinforc $PKG/etc/pinforc.new -find $PKG/usr/man -type f | xargs gzip -9 - -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/* +# Upstream removed this as it conflicted with something on his system. +# It doesn't conflict with ours. +ln -s $PRGNAM $PKG/usr/bin/pman +ln -s $PRGNAM.1.gz $PKG/usr/man/man1/pman.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog COPYING INSTALL NEWS README TECHSTUFF \ +cp -a AUTHORS Change[lL]og* COPYING NEWS README* TECHSTUFF \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/pinfo/pinfo.info b/misc/pinfo/pinfo.info index 234f173e8f..8e6cedf1fb 100644 --- a/misc/pinfo/pinfo.info +++ b/misc/pinfo/pinfo.info @@ -1,10 +1,10 @@ PRGNAM="pinfo" -VERSION="0.6.9" -HOMEPAGE="https://alioth-archive.debian.org/releases/pinfo/pinfo/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/pinfo-0.6.9.tar.bz2" -MD5SUM="e0c788467945f5f97fbacad55863e5b8" +VERSION="0.6.13" +HOMEPAGE="https://github.com/baszoetekouw/pinfo" +DOWNLOAD="https://github.com/baszoetekouw/pinfo/archive/v0.6.13/pinfo-0.6.13.tar.gz" +MD5SUM="b2671c8f6ef0aa5d7c6460c3111e2f50" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Arun Prasannan" -EMAIL="polar@arunprasannan.com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/pinfo/slack-desc b/misc/pinfo/slack-desc index 989606848e..be3e7b2498 100644 --- a/misc/pinfo/slack-desc +++ b/misc/pinfo/slack-desc @@ -15,5 +15,5 @@ pinfo: pinfo: Pinfo is similar in use to lynx. It has similar key movements, and pinfo: gives similar intuition. pinfo: -pinfo: Homepage: https://alioth-archive.debian.org/releases/pinfo/pinfo/ +pinfo: Homepage: https://github.com/baszoetekouw/pinfo pinfo: diff --git a/misc/pmw/README b/misc/pmw/README new file mode 100644 index 0000000000..873324eb1a --- /dev/null +++ b/misc/pmw/README @@ -0,0 +1,12 @@ +Philip's Music Writer, previously called Philip's Music Scribe, was +written by Philip Hazel as a simple way for people to create sheet +music on a computer running the Linux operating system. + +pmw uses a special internal language to encode musical notation. Files +can be created and modified in any text editor. The pmw command-line +program translates the input text file into an output postscript file +of music manuscript, using a special "alphabet" of symbols. A user +manual in PDF format is provided as part of the package. + +An archived homepage can be viewed here: +https://web.archive.org/web/20190331211148/http://people.ds.cam.ac.uk/ph10/pmw.html diff --git a/misc/pmw/doinst.sh b/misc/pmw/doinst.sh new file mode 100644 index 0000000000..355d92cf12 --- /dev/null +++ b/misc/pmw/doinst.sh @@ -0,0 +1,5 @@ +fontdir=`gs -h|grep -A5 Search|grep fonts|cut -d : -f1` + +ln -s /usr/share/pmw/psfonts/PMW-Alpha $fontdir +ln -s /usr/share/pmw/psfonts/PMW-Music.pfa $fontdir + diff --git a/misc/pmw/pmw.SlackBuild b/misc/pmw/pmw.SlackBuild new file mode 100644 index 0000000000..755e91a6ed --- /dev/null +++ b/misc/pmw/pmw.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +# Slackware build script for pmw + +# Copyright 2019 Hazel Russman <hazeldebian@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=pmw +VERSION=${VERSION:-4.31} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/share/$PRGNAM/contrib +cp -a contrib/* $PKG/usr/share/$PRGNAM/contrib + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENCE NOTICE README doc/{examples,figures,spec.pdf} \ + $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/pmw/pmw.info b/misc/pmw/pmw.info new file mode 100644 index 0000000000..8ee83c8ca1 --- /dev/null +++ b/misc/pmw/pmw.info @@ -0,0 +1,10 @@ +PRGNAM="pmw" +VERSION="4.31" +HOMEPAGE="http://sourceforge.net/projects/philip-s-music-writer" +DOWNLOAD="https://sourceforge.net/projects/philip-s-music-writer/files/pmw-4.31.tar.gz" +MD5SUM="6957affd878ea963c84454173e5731ce" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Hazel Russman" +EMAIL="hazeldebian@gmail.com" diff --git a/misc/gcolor2/slack-desc b/misc/pmw/slack-desc index 29a8085f01..20992b1d32 100644 --- a/misc/gcolor2/slack-desc +++ b/misc/pmw/slack-desc @@ -5,15 +5,15 @@ # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. - |-----handy-ruler------------------------------------------------------| -gcolor2: gcolor2 (GTK2 color selector) -gcolor2: -gcolor2: gcolor2 is a simple color selector that was originally based on -gcolor2: gcolor, ported to use GTK+2, and now has a completely new UI. -gcolor2: -gcolor2: Homepage: http://gcolor2.sourceforge.net/ -gcolor2: -gcolor2: -gcolor2: -gcolor2: -gcolor2: + |-----handy-ruler------------------------------------------------------| +pmw: pmw (Philip's Music Writer) +pmw: +pmw: pmw is a program that turns a text file (written in the special pmw +pmw: internal language) into sheet music in postscript format. +pmw: +pmw: If the special pmw postscript font is incorporated, the file can +pmw: be printed on any printer. +pmw: +pmw: +pmw: +pmw: diff --git a/misc/po4a/README b/misc/po4a/README index 2c45c97a50..460ea0c578 100644 --- a/misc/po4a/README +++ b/misc/po4a/README @@ -4,25 +4,39 @@ po4a (PO for anything) eases translations and their maintenance, allowing gettext's usage on unexpected areas like documentation. In po4a each documentation format is handled by a module, that -converts this format to/from PO. Formats included in po4a-0.47 are: -AsciiDoc, BibTex, Dia, Halibut, KernelHelp, LaTeX, Man, POD, SGML, TeX, -Texinfo, Text, WML, XHTML, XML, Yaml +converts this format to/from PO. Formats handled by po4a-0.63 -man pages are encoded in UTF-8. To read them in other languages than English, -do this for instance: -LANG=ru_RU.utf8 GROFF_ENCODING=utf8 man <man page> +. asciidoc: AsciiDoc format. +. dia: uncompressed Dia diagrams. +. docbook: DocBook XML. +. guide: Gentoo Linux's XML documentation format. +. ini: INI format. +. kernelhelp: Help messages of each kernel compilation option. +. latex: LaTeX format. +. man: Good old manual page format. +. pod: Perl Online Documentation format. +. sgml: either DebianDoc or DocBook DTD. +. texinfo: The info page format. +. tex: generic TeX documents (see also latex). +. text: simple text document. +. wml: WML documents. +. xhtml: XHTML documents. +. xml: generic XML documents (see also docbook). +. yaml: YAML documents. -WARNING: run po4a.SlackBuild as root (su -) not with only root privileges -(su), otherwise test #24 will fail. +man pages are encoded in UTF-8. To read them in other languages than +English, do this for instance: +LANG=ru_RU.utf8 GROFF_ENCODING=utf8 man <man page> -Dependencies tree is as follows (all dependencies listed are available at -http://slackbuilds.org). +Dependencies tree is as follows (all dependencies listed are available +at http://slackbuilds.org). -Po4a-0.47 +Po4a-0.63 | |-- perl-Module-Build |-- perl-YAML-Tiny. mandatory for the YAML module. -|-- perl-text-WrapI18N to format po4a's warnings and error messages. Optional. +|-- perl-text-WrapI18N to format po4a's warnings and error messages. +| | Optional. | |-- Text::CharWidth. Mandatory |-- perl-Unicode-LineBreak, includes module Unicode::GCString to compute text width, neeeded by AsciiDoc to determine two line titles in @@ -32,3 +46,20 @@ Po4a-0.47 |-- perl-Encode-HanExtra. Optional. |-- perl-Encode-JISX0213. Optional |-- perl-Encode-ISO2022. Mandatory + +In addition, perl-Test-Pod allows to run the test for the POFD format + +Note: by default the SlackBuild does not run ./Build test, because these +tests: +t/cfg-multi.t +t/cfg-single.t +t/cfg-split.t +fail if the script is run by root or even using fakeroot, which has been +acknowledged upstream. + +All tests have been successfully passed running '/Build test' by the +maintainer as regular user. If you want to check by yourself, un-comment +the lines 85 and 86 in the SlackBuild. You will then need to comment +them out to run the script again as root to actually build the package. + +WARNING: run this script with LANG set to an UTF-8 locale. diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild index 4baaff9478..9e3a00e70f 100644 --- a/misc/po4a/po4a.SlackBuild +++ b/misc/po4a/po4a.SlackBuild @@ -22,13 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.ritten by Didier Spaier <didier dot spaier at epsm dot fr> -# WARNING: run this script as real root (su -) else some tests will fail -# WARNING: run this script using an UTF-8 locale. If you don't use one +# WARNING: run this script using an UTF-8 locale. If you don't use one # usually, run it like this e.g. # LC_ALL=en_US.utf8 ./po4a.SlackBuild PRGNAM=po4a -VERSION=${VERSION:-0.55} +VERSION=${VERSION:-0.63} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,7 +80,8 @@ perl Build.PL \ installdirs=vendor \ destdir=$PKG ./Build -./Build test +# ./Build test +# exit ./Build install \ --install_path bindoc=/usr/man/man1 \ --install_path libdoc=/usr/man/man3 diff --git a/misc/po4a/po4a.info b/misc/po4a/po4a.info index be015694f7..f699d19960 100644 --- a/misc/po4a/po4a.info +++ b/misc/po4a/po4a.info @@ -1,8 +1,8 @@ PRGNAM="po4a" -VERSION="0.55" +VERSION="0.63" HOMEPAGE="https://po4a.org/" -DOWNLOAD="https://github.com/mquinson/po4a/releases/download/v0.55/po4a-0.55.tar.gz" -MD5SUM="cecc2a4190f97bf0430d78a5cb07071b" +DOWNLOAD="https://github.com/mquinson/po4a/releases/download/v0.63/po4a-0.63.tar.gz" +MD5SUM="25881c0a02c1180ffdec4bf452b4ff0f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Unicode-LineBreak perl-Module-Build perl-YAML-Tiny" diff --git a/misc/po4a/slack-desc b/misc/po4a/slack-desc index 72d0020d1e..d81b32f609 100644 --- a/misc/po4a/slack-desc +++ b/misc/po4a/slack-desc @@ -12,8 +12,8 @@ po4a: po4a (PO for anything) eases translations and their maintenance, po4a: allowing gettext's usage on unexpected areas like documentation. po4a: po4a: In po4a each documentation format is handled by a module, that -po4a: converts this format to/from PO. Formats included in po4a-0.45 are: -po4a: BibTex, Dia, Halibut, Kernelhelp, LaTeX, Man, POD, SGML, TeX, -po4a: Texinfo, Text, WML, XHTML, XML. -po4a: +po4a: converts this format to/from PO. Formats included in po4a-0.63 are: +po4a: man pages, POD, XML (generic, DocBook, XHTML, Dia, Guide, WML), SGML +po4a: Tex (generic, LaTeX, Texinfo), text (simple with few formatting, +po4a: markdown, Asciidoc), INI, KernelHelp po4a: diff --git a/misc/projectM/projectM.SlackBuild b/misc/projectM/projectM.SlackBuild index 994a7cbd7d..9d968995a7 100644 --- a/misc/projectM/projectM.SlackBuild +++ b/misc/projectM/projectM.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=projectM VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -78,7 +78,7 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lglut -lGL" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lglut -lGL -std=c++11" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ diff --git a/misc/protobuf3/protobuf3.SlackBuild b/misc/protobuf3/protobuf3.SlackBuild index 82dc64d3b3..40c0c6270d 100644 --- a/misc/protobuf3/protobuf3.SlackBuild +++ b/misc/protobuf3/protobuf3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for protobuf3 -# Copyright 2017-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=protobuf3 -VERSION=${VERSION:-3.9.1} +VERSION=${VERSION:-3.14.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,7 +66,6 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -tar xvf $CWD/$GTEST-$GTESTVERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -75,12 +74,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Avoid downloading gtest automatically -# It doesn't detect system-wide gtest installation -rm -rf gmock googletest -cp -rf ../$GTEST-$GTESTVERSION/googlemock gmock -cp -rf ../$GTEST-$GTESTVERSION/googletest googletest -ln -sf ../googletest gmock/gtest +patch -p1 < $CWD/protobuf3.patch ./autogen.sh CFLAGS="$SLKCFLAGS" \ diff --git a/misc/protobuf3/protobuf3.info b/misc/protobuf3/protobuf3.info index 7bcfebc707..f6b32b675c 100644 --- a/misc/protobuf3/protobuf3.info +++ b/misc/protobuf3/protobuf3.info @@ -1,10 +1,8 @@ PRGNAM="protobuf3" -VERSION="3.9.1" +VERSION="3.14.0" HOMEPAGE="https://github.com/google/protobuf" -DOWNLOAD="https://github.com/google/protobuf/archive/v3.9.1/protobuf-3.9.1.tar.gz \ - https://github.com/google/googletest/archive/release-1.8.1/googletest-release-1.8.1.tar.gz" -MD5SUM="ea53e87a5ece35f77aa006b91aceee56 \ - 2e6fbeb6a91310a16efe181886c59596" +DOWNLOAD="https://github.com/google/protobuf/archive/v3.14.0/protobuf-3.14.0.tar.gz" +MD5SUM="0c9d2a96f3656ba7ef3b23b533fb6170" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/protobuf3/protobuf3.patch b/misc/protobuf3/protobuf3.patch new file mode 100644 index 0000000000..a69862dd63 --- /dev/null +++ b/misc/protobuf3/protobuf3.patch @@ -0,0 +1,10 @@ +--- protobuf-3.10.1/src/google/protobuf/text_format.h.orig 2019-10-13 10:42:21.345593616 +0700 ++++ protobuf-3.10.1/src/google/protobuf/text_format.h 2019-10-13 10:42:34.151188015 +0700 +@@ -42,6 +42,7 @@ + #include <memory> + #include <string> + #include <vector> ++#include <cmath> + + #include <google/protobuf/stubs/common.h> + #include <google/protobuf/descriptor.h> diff --git a/misc/qtkeychain/qtkeychain.SlackBuild b/misc/qtkeychain/qtkeychain.SlackBuild index f44a2d9be0..a56078d4bc 100644 --- a/misc/qtkeychain/qtkeychain.SlackBuild +++ b/misc/qtkeychain/qtkeychain.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for qtkeychain # Copyright 2014 Donald Cooley La Porte, IN USA -# Copyright 2016-2018 Donald Cooley South Haven, IN USA +# Copyright 2016-2020 Donald Cooley South Haven, IN USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qtkeychain -VERSION=${VERSION:-0.9.1} +VERSION=${VERSION:-0.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/qtkeychain/qtkeychain.info b/misc/qtkeychain/qtkeychain.info index dce0b15151..122ee046de 100644 --- a/misc/qtkeychain/qtkeychain.info +++ b/misc/qtkeychain/qtkeychain.info @@ -1,8 +1,8 @@ PRGNAM="qtkeychain" -VERSION="0.9.1" +VERSION="0.10.0" HOMEPAGE="https://github.com/frankosterfeld/qtkeychain" -DOWNLOAD="https://github.com/frankosterfeld/qtkeychain/archive/v0.9.1/qtkeychain-0.9.1.tar.gz" -MD5SUM="e6921de6f256259784f2a9edd1eeb8f5" +DOWNLOAD="https://github.com/frankosterfeld/qtkeychain/archive/v0.10.0/qtkeychain-0.10.0.tar.gz" +MD5SUM="00856441d995146b11fb8cfab87b8bc6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/rarcrack/README b/misc/rarcrack/README index bb0ac4149c..356fbbf6c5 100644 --- a/misc/rarcrack/README +++ b/misc/rarcrack/README @@ -1,6 +1,9 @@ -rarcrack (Password cracker for rar archives) +rarcrack (password cracker for rar/7z/zip archives) -rarcrack uses a brute force algorithm to guess your encrypted +rarcrack uses a brute force algorithm to guess your encrypted compressed file's password. This program can crack zip, 7z and rar file passwords. + +Optional (recommended) dependencies: At runtime, you'll need unrar to +crack rar files, and/or p7zip to crack 7z files. diff --git a/misc/rarcrack/rarcrack.SlackBuild b/misc/rarcrack/rarcrack.SlackBuild index 478bc75f7e..3ad78cc17e 100644 --- a/misc/rarcrack/rarcrack.SlackBuild +++ b/misc/rarcrack/rarcrack.SlackBuild @@ -2,7 +2,8 @@ # # Slackware build script for rarcrack. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2020 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +23,23 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20200304 bkw: +# - take over maintenance +# - i486 => i586 +# - strip binary, BUILD=3 +# - install test archives in doc dir +# - patch to fix file type autodetection +# - actually use SLKCFLAGS +# - use 'make install' + PRGNAM=rarcrack VERSION=${VERSION:-0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,28 +70,31 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 640 -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 {} \+ -make prefix=/usr DESTDIR=$PKG +# autodetection relies on file(1), but on the author's system it must +# be an old version, or a non-gnu one. +sed -i -e '/CMD_DETECT/s|"file[^"]*"|"file -b --mime-type %s"|' \ + -e 's|"application/octet-stream"|"application/x-7z-compressed"|' \ + -e 's|"application/x-zip"|"application/zip"|' \ + $PRGNAM.h -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 +sed -i "s|-O2|$SLKCFLAGS|" Makefile -install -d $PKG/usr/bin -install -D -m755 rarcrack $PKG/usr/bin/rarcrack +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC $PKG/usr/bin -DOCS="CHANGELOG LICENSE README README.html RELEASE_NOTES" +make +make install PREFIX=$PKG/usr DOCDIR=$PKGDOC -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# 20200305 bkw: the test archives are small and may be useful (if nothing +# else, useful to me for testing). +cp -a test.* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/misc/rarcrack/rarcrack.info b/misc/rarcrack/rarcrack.info index 80de5cceac..6a7fc5fd79 100644 --- a/misc/rarcrack/rarcrack.info +++ b/misc/rarcrack/rarcrack.info @@ -1,10 +1,10 @@ PRGNAM="rarcrack" VERSION="0.2" -HOMEPAGE="http://rarcrack.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/rarcrack/files/rarcrack-0.2/%5BUnnamed%20release%5D/rarcrack-0.2.tar.bz2" -MD5SUM="62d0cf77c6c4edc7204305649f8b7362" +HOMEPAGE="https://github.com/ziman/rarcrack" +DOWNLOAD="https://github.com/ziman/rarcrack/archive/0.2/rarcrack-0.2.tar.gz" +MD5SUM="e3838aaa384aaa0834d73914e182a628" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/rarcrack/slack-desc b/misc/rarcrack/slack-desc index 16fd849893..1160d624a9 100644 --- a/misc/rarcrack/slack-desc +++ b/misc/rarcrack/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -rarcrack: rarcrack (Password cracker for rar archives) +rarcrack: rarcrack (password cracker for rar/7z/zip archives) rarcrack: rarcrack: rarcrack uses a brute force algorithm to guess your encrypted rarcrack: compressed file's password. rarcrack: rarcrack: This program can crack zip, 7z and rar file passwords. rarcrack: -rarcrack: Home page: http://rarcrack.sourceforge.net/ +rarcrack: Home page: https://github.com/ziman/rarcrack rarcrack: rarcrack: rarcrack: diff --git a/misc/rbutil/README b/misc/rbutil/README new file mode 100644 index 0000000000..6659264264 --- /dev/null +++ b/misc/rbutil/README @@ -0,0 +1,3 @@ +This is the automated installer tool for Rockbox. + +Rockbox is a free replacement firmware for digital music players. diff --git a/misc/rbutil/doinst.sh b/misc/rbutil/doinst.sh new file mode 100644 index 0000000000..19400050fd --- /dev/null +++ b/misc/rbutil/doinst.sh @@ -0,0 +1,6 @@ +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/misc/rbutil/patches/rbutil-1.4.1-quazip.patch b/misc/rbutil/patches/rbutil-1.4.1-quazip.patch new file mode 100644 index 0000000000..596127c340 --- /dev/null +++ b/misc/rbutil/patches/rbutil-1.4.1-quazip.patch @@ -0,0 +1,63 @@ +This patch is a simplified version of a patch I have sent upstream. +http://gerrit.rockbox.org/1825 + +-- Chewi + +diff -Naur a/base/ziputil.cpp b/base/ziputil.cpp +--- a/base/ziputil.cpp 2019-11-10 06:45:49.000000000 +0000 ++++ b/base/ziputil.cpp 2019-12-04 22:38:34.443112450 +0000 +@@ -22,9 +22,9 @@ + #include "progressloggerinterface.h" + #include "Logger.h" + +-#include "quazip/quazip.h" +-#include "quazip/quazipfile.h" +-#include "quazip/quazipfileinfo.h" ++#include <quazip5/quazip.h> ++#include <quazip5/quazipfile.h> ++#include <quazip5/quazipfileinfo.h> + + + ZipUtil::ZipUtil(QObject* parent) : ArchiveUtil(parent) +diff -Naur a/base/ziputil.h b/base/ziputil.h +--- a/base/ziputil.h 2019-11-10 06:45:49.000000000 +0000 ++++ b/base/ziputil.h 2019-12-04 22:38:34.443112450 +0000 +@@ -21,9 +21,9 @@ + + #include <QtCore> + #include "archiveutil.h" +-#include "quazip/quazip.h" +-#include "quazip/quazipfile.h" +-#include "quazip/quazipfileinfo.h" ++#include <quazip5/quazip.h> ++#include <quazip5/quazipfile.h> ++#include <quazip5/quazipfileinfo.h> + + class ZipUtil : public ArchiveUtil + { +diff -Naur a/rbutilqt.pro b/rbutilqt.pro +--- a/rbutilqt.pro 2019-11-10 06:45:50.000000000 +0000 ++++ b/rbutilqt.pro 2019-12-04 22:43:30.144259710 +0000 +@@ -131,7 +131,7 @@ + + DEPENDPATH = $$INCLUDEPATH + +-LIBS += -L$$OUT_PWD -L$$MYLIBBUILDDIR ++LIBS += -L$$OUT_PWD -L$$MYLIBBUILDDIR -lquazip5 + # append all RBLIBS to LIBS + for(rblib, RBLIBS) { + LIBS += -l$$rblib +@@ -142,7 +142,6 @@ + + # on win32 libz is linked implicitly. + !win32 { +- LIBS += -lz + } + + # Add a (possibly found) libspeex now, don't do this before -lrbspeex! +@@ -271,5 +270,4 @@ + + # source files are separate. + include(rbutilqt.pri) +-include(quazip/quazip.pri) + include(logger/logger.pri) diff --git a/misc/rbutil/rbutil.SlackBuild b/misc/rbutil/rbutil.SlackBuild new file mode 100644 index 0000000000..276898c55c --- /dev/null +++ b/misc/rbutil/rbutil.SlackBuild @@ -0,0 +1,117 @@ +#!/bin/sh + +# Slackware build script for RockboxUtility + +# Copyright 2020 Kyle Guinn <elyk03@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=rbutil +SRCNAM=RockboxUtility +VERSION=${VERSION:-1.4.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$(uname -m) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM-$VERSION +OUTPUT=${OUTPUT:-/tmp} + +DOCS="docs/COPYING" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-v$VERSION +tar xvf $CWD/$SRCNAM-v$VERSION-src.tar.bz2 +cd $SRCNAM-v$VERSION +chown -R root:root . +chmod -R u+w,go-w,a+rX-st . + +cd rbutil/rbutilqt + +# Use the system quazip. Thanks to gentoo. +# Remove the quazip5 -> quazip renaming if using qt5. +patch -p1 < $CWD/patches/rbutil-1.4.1-quazip.patch +sed -i 's/quazip5/quazip/' base/ziputil.cpp +sed -i 's/quazip5/quazip/' base/ziputil.h +sed -i 's/quazip5/quazip/' rbutilqt.pro +sed -i 's/\$\$_PRO_FILE_PWD_\/zlib//' rbutilqt.pro +rm -rf quazip zlib + +# Decrease the amount of log spam. +sed -i 's/Logger::Debug/Logger::Warning/' logger/AbstractAppender.cpp + +# Build the translations first to avoid warnings. +lrelease rbutilqt.pro + +# SLKCFLAGS aren't always respected. +# $CC is not quoted properly. "ccache gcc" (the default) will fail. +qmake \ + QMAKE_CFLAGS="$SLKCFLAGS" \ + QMAKE_CXXFLAGS="$SLKCFLAGS" \ + -config noccache \ + rbutilqt.pro +make + +install -D -m 0755 -s RockboxUtility $PKG/usr/bin/RockboxUtility +# Some of these icons aren't exactly square. +for i in 16 32 48 64 128 256; do + install -D -m 0644 icons/rockbox-$i.png $PKG/usr/share/icons/hicolor/$i\x$i/apps/rockbox.png +done + +cd ../.. + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/rbutil/rbutil.info b/misc/rbutil/rbutil.info new file mode 100644 index 0000000000..e2253b978a --- /dev/null +++ b/misc/rbutil/rbutil.info @@ -0,0 +1,10 @@ +PRGNAM="rbutil" +VERSION="1.4.1" +HOMEPAGE="https://www.rockbox.org/wiki/RockboxUtility" +DOWNLOAD="https://download.rockbox.org/rbutil/source/RockboxUtility-v1.4.1-src.tar.bz2" +MD5SUM="0e29f60ee87f433087c6ead09dde81f3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="speex cryptopp quazip-qt4" +MAINTAINER="Kyle Guinn" +EMAIL="elyk03@gmail.com" diff --git a/misc/rbutil/slack-desc b/misc/rbutil/slack-desc new file mode 100644 index 0000000000..15093b73b1 --- /dev/null +++ b/misc/rbutil/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rbutil: rbutil (Rockbox Utility) +rbutil: +rbutil: This is the automated installer tool for Rockbox. +rbutil: +rbutil: Rockbox is a free replacement firmware for digital music players. +rbutil: +rbutil: +rbutil: +rbutil: +rbutil: +rbutil: diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild index bac71af78b..e3cc30e56b 100644 --- a/misc/rlwrap/rlwrap.SlackBuild +++ b/misc/rlwrap/rlwrap.SlackBuild @@ -3,11 +3,11 @@ # Slackware build script for rlwrap # Written by slakmagik <slakmagik@gmail.com> -# Updated 2017 by Andrew Clemons, Wellington New Zealand +# Updated 2017,2021 by Andrew Clemons, Wellington New Zealand # Released under the WTFPL PRGNAM=rlwrap -VERSION=${VERSION:-0.43} +VERSION=${VERSION:-0.45} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,7 +69,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PLEA README TODO \ + AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/rlwrap/rlwrap.info b/misc/rlwrap/rlwrap.info index 3d7bd39da1..5191b39608 100644 --- a/misc/rlwrap/rlwrap.info +++ b/misc/rlwrap/rlwrap.info @@ -1,8 +1,8 @@ PRGNAM="rlwrap" -VERSION="0.43" +VERSION="0.45" HOMEPAGE="https://github.com/hanslub42/rlwrap" -DOWNLOAD="https://github.com/hanslub42/rlwrap/archive/v0.43/rlwrap-0.43.tar.gz" -MD5SUM="361d54b7127374e5761e0738eb7b88fb" +DOWNLOAD="https://github.com/hanslub42/rlwrap/archive/v0.45/rlwrap-0.45.tar.gz" +MD5SUM="0697c15d368602ed3467ac40f43f3e1c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/sbo-templates/README b/misc/sbo-templates/README index 61c49f4600..5ba9671c22 100644 --- a/misc/sbo-templates/README +++ b/misc/sbo-templates/README @@ -1,2 +1,2 @@ -sbo-templates create easy, fast and safe templates files where can -use with SlackBuilds scripts. +sbo-templates it's a tool that creates easy, fast and safe templates +SlackBuilds files scripts. diff --git a/misc/sbo-templates/sbo-templates.SlackBuild b/misc/sbo-templates/sbo-templates.SlackBuild index 9572e1c5e1..cef4c550c8 100644 --- a/misc/sbo-templates/sbo-templates.SlackBuild +++ b/misc/sbo-templates/sbo-templates.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sbo-templates -# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2020 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sbo-templates -VERSION=${VERSION:-1.0.9} +VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG 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 diff --git a/misc/sbo-templates/sbo-templates.info b/misc/sbo-templates/sbo-templates.info index 7417511c59..05b870c3b1 100644 --- a/misc/sbo-templates/sbo-templates.info +++ b/misc/sbo-templates/sbo-templates.info @@ -1,10 +1,10 @@ PRGNAM="sbo-templates" -VERSION="1.0.9" +VERSION="1.3.2" HOMEPAGE="https://gitlab.com/dslackw/sbo-templates" -DOWNLOAD="https://gitlab.com/dslackw/sbo-templates/-/archive/1.0.9/sbo-templates-1.0.9.tar.gz" -MD5SUM="8304825c0a819a57be3bb02131906c09" +DOWNLOAD="https://gitlab.com/dslackw/sbo-templates/-/archive/1.3.2/sbo-templates-1.3.2.tar.gz" +MD5SUM="bd0ed994ad6e73b8c698777fa12a6104" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-pythondialog" +REQUIRES="python3-pythondialog" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" diff --git a/misc/sbo-templates/slack-desc b/misc/sbo-templates/slack-desc index 0f0ffb6e83..c9b914e301 100644 --- a/misc/sbo-templates/slack-desc +++ b/misc/sbo-templates/slack-desc @@ -8,8 +8,8 @@ |-----handy-ruler------------------------------------------------------| sbo-templates: sbo-templates (SBo templates managing) sbo-templates: -sbo-templates: sbo-templates create easy, fast and safe templates files where can -sbo-templates: use with SlackBuilds scripts. +sbo-templates: sbo-templates it's a tool that creates easy, fast and safe templates +sbo-templates: SlackBuild files scripts. sbo-templates: sbo-templates: Homepage: https://gitlab.com/dslackw/sbo-templates sbo-templates: diff --git a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild index bf5ac161ae..d270bd0014 100644 --- a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild +++ b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sigrok fx2lafw firmware -# Copyright 2018 Andrzej Telszewski, Banie +# Copyright 2019 Andrzej Telszewski, Szczecin # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sigrok-firmware-fx2lafw -VERSION=${VERSION:-0.1.6} +VERSION=${VERSION:-0.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.info b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.info index a4a555c3a7..45cf878407 100644 --- a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.info +++ b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.info @@ -1,8 +1,8 @@ PRGNAM="sigrok-firmware-fx2lafw" -VERSION="0.1.6" +VERSION="0.1.7" HOMEPAGE="https://sigrok.org/wiki/Fx2lafw" -DOWNLOAD="https://sigrok.org/download/source/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.6.tar.gz" -MD5SUM="7d3fac0d22a5618e95a3f3c257f1aa33" +DOWNLOAD="https://sigrok.org/download/source/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7.tar.gz" +MD5SUM="344c0548a1738b22a4617802d3a14370" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="sdcc" diff --git a/misc/slop/slack-desc b/misc/slop/slack-desc index fa52a345e4..1daa3f13f9 100644 --- a/misc/slop/slack-desc +++ b/misc/slop/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| slop: slop (selection query) slop: -slop: slop: slop (Select Operation) is an application that slop: queries for a selection from the user slop: and prints the region to stdout. slop: -slop: slop: https://github.com/naelstrof/slop slop: slop: +slop: +slop: diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild index 43bbfdfff2..693962d3c0 100644 --- a/misc/slop/slop.SlackBuild +++ b/misc/slop/slop.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slop -VERSION=${VERSION:-7.4} +VERSION=${VERSION:-7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ 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.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -71,16 +71,15 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cmake ./ - make - make install DESTDIR=$PKG +make +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr +rm -rf $PKG/usr/share 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 -mv $PKG/usr/share/man $PKG/usr/ -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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/slop/slop.info b/misc/slop/slop.info index 570065b473..ea090f1564 100644 --- a/misc/slop/slop.info +++ b/misc/slop/slop.info @@ -1,8 +1,8 @@ PRGNAM="slop" -VERSION="7.4" +VERSION="7.5" HOMEPAGE="https://github.com/naelstrof/slop" -DOWNLOAD="https://github.com/naelstrof/slop/archive/v7.4/slop-7.4.tar.gz" -MD5SUM="cdf2369c033778a90c7518e357b5a92a" +DOWNLOAD="https://github.com/naelstrof/slop/archive/v7.5/slop-7.5.tar.gz" +MD5SUM="d8ba3c332f801f19c2bd66014d79e988" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="glm" diff --git a/misc/subsurface/libgit2-version.patch b/misc/subsurface/libgit2-version.patch new file mode 100644 index 0000000000..76878e4a86 --- /dev/null +++ b/misc/subsurface/libgit2-version.patch @@ -0,0 +1,54 @@ +commit 67a717dc057a5936ae1f5820fc6c470524213b97 +Author: Dirk Hohndel <dirk@hohndel.org> +Date: Thu Apr 9 16:59:12 2020 -0700 + + cleanup: remove support for ancient versions of libgit2 + + We require a minimum of libgit2 0.26. + + Signed-off-by: Dirk Hohndel <dirk@hohndel.org> + +diff --git a/INSTALL b/INSTALL +index 52b05cf2b..321c6cef0 100644 +--- a/INSTALL ++++ b/INSTALL +@@ -97,7 +97,7 @@ Other third party library dependencies + -------------------------------------- + + In order for our cloud storage to be fully functional you need +-libgit2 0.23 or newer. ++libgit2 0.26 or newer. + + + cmake build system +diff --git a/core/git-access.c b/core/git-access.c +index 3688cb90c..982a51cfd 100644 +--- a/core/git-access.c ++++ b/core/git-access.c +@@ -359,11 +359,7 @@ static int try_to_git_merge(git_repository *repo, git_reference **local_p, git_r + } + + git_merge_init_options(&merge_options, GIT_MERGE_OPTIONS_VERSION); +-#if !LIBGIT2_VER_MAJOR && LIBGIT2_VER_MINOR > 23 + merge_options.flags = GIT_MERGE_FIND_RENAMES; +-#else +- merge_options.tree_flags = GIT_MERGE_TREE_FIND_RENAMES; +-#endif + merge_options.file_favor = GIT_MERGE_FILE_FAVOR_UNION; + merge_options.rename_threshold = 100; + if (git_commit_lookup(&local_commit, repo, local_id)) { +diff --git a/core/save-git.c b/core/save-git.c +index a304e0d94..7bf7b2e1d 100644 +--- a/core/save-git.c ++++ b/core/save-git.c +@@ -1022,10 +1022,8 @@ int update_git_checkout(git_repository *repo, git_object *parent, git_tree *tree + + static int get_authorship(git_repository *repo, git_signature **authorp) + { +-#if LIBGIT2_VER_MAJOR || LIBGIT2_VER_MINOR >= 20 + if (git_signature_default(authorp, repo) == 0) + return 0; +-#endif + /* try to fetch the user info from the OS, otherwise use default values. */ + struct user_info user = { .name = NULL, .email = NULL }; + subsurface_user_info(&user); diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild index 6943bcdf23..8242455158 100644 --- a/misc/subsurface/subsurface.SlackBuild +++ b/misc/subsurface/subsurface.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=subsurface SRCNAM=Subsurface -VERSION=${VERSION:-4.9.2} +VERSION=${VERSION:-4.9.3} GOOGLEMAPSVER=${MD5LONG:-0.0.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix building against newer versions of libgit2 +patch -p1 < $CWD/libgit2-version.patch + # Ugly hack to avoid header collision between grantlee and grantlee-qt5. # https://mail.kde.org/pipermail/release-team/2015-August/008911.html sed -i 's|#include <grantlee_templates.h>|#include "grantlee_templates_local.h"|' \ diff --git a/misc/subsurface/subsurface.info b/misc/subsurface/subsurface.info index fc973a7451..6b88b4b47d 100644 --- a/misc/subsurface/subsurface.info +++ b/misc/subsurface/subsurface.info @@ -1,11 +1,11 @@ PRGNAM="subsurface" -VERSION="4.9.2" +VERSION="4.9.3" HOMEPAGE="https://subsurface-divelog.org" -DOWNLOAD="https://subsurface-divelog.org/downloads/Subsurface-4.9.2.tgz \ - https://subsurface-divelog.org/downloads/libdivecomputer-subsurface-branch-4.9.2.tgz \ +DOWNLOAD="https://subsurface-divelog.org/downloads/Subsurface-4.9.3.tgz \ + https://subsurface-divelog.org/downloads/libdivecomputer-subsurface-branch-4.9.3.tgz \ https://github.com/vladest/googlemaps/archive/v.0.0.0.1/googlemaps-v.0.0.0.1.tar.gz" -MD5SUM="0328d48ccc79fc0094fe00d6df2aef27 \ - 30648a40910085c299da5bf309d39541 \ +MD5SUM="758131ff304aa8c1e08cf8a4ba345bad \ + 46c0adcd7de0613be4174ffae97218bf \ da31bed9b00f168688987b338fa8cda3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/misc/tidyp/README b/misc/tidyp/README new file mode 100644 index 0000000000..c68cb19527 --- /dev/null +++ b/misc/tidyp/README @@ -0,0 +1,4 @@ +This module provides HTML and XHTML validations a fork of tidy on +SourceForge at http://tidy.sf.net. The library name is "tidyp", and +the command-line tool is also "tidyp", but all internal APIs stay the +same. diff --git a/misc/tidyp/slack-desc b/misc/tidyp/slack-desc new file mode 100644 index 0000000000..29599cd912 --- /dev/null +++ b/misc/tidyp/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +tidyp: tidyp (HTML validation library) +tidyp: +tidyp: tidyp is a fork of tidy on SourceForge at http://tidy.sf.net. +tidyp: The library name is "tidyp", and the command-line tool is also +tidyp: "tidyp" but all internal API stays the same. +tidyp: +tidyp: Homepage: https://metacpan.org/pod/HTML-Tidy +tidyp: +tidyp: +tidyp: +tidyp: diff --git a/misc/zyGrib/zyGrib.SlackBuild b/misc/tidyp/tidyp.SlackBuild index 3b28c2671b..38635041db 100644 --- a/misc/zyGrib/zyGrib.SlackBuild +++ b/misc/tidyp/tidyp.SlackBuild @@ -1,11 +1,8 @@ #!/bin/sh -# Slackware build script for zyGrib +# Slackware build script for tidyp -# Copyright 2011, 2012, 2013 Chris Abela, Malta -# Copyright 2014 Ryan P.C. McQuen, WA -# Copyright 2017 Philip Lacroix <slackph at posteo dot de> -# +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=zyGrib -VERSION=${VERSION:-8.0.1} +PRGNAM=tidyp +VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,14 +40,27 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + set -e rm -rf $PKG -mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz - +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -59,40 +69,34 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ "$ARCH" != x86_64 ]; then - # fixup for i586/i686 from Arch - sed -i -E 's:(^CFLAGS.*)-m64(.*)-D.*$:\1\2:' src/g2clib/makefile -fi - -make QMAKE=/usr/bin/qmake-qt5 -make install INSTALLDIR=$PKG/opt/$PRGNAM - -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 +./acgo -PRGBIN=$PKG/usr/bin -PRGSHR=$PKG/usr/share -PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux -# Move startup script, set path. -mkdir -p $PRGBIN -mv $PKG/opt/$PRGNAM/$PRGNAM $PRGBIN/ -sed -i "s~^cd .*~cd /opt/$PRGNAM~" $PRGBIN/$PRGNAM +make +make install DESTDIR=$PKG -mkdir -p $PRGSHR/{applications,pixmaps} -cp $CWD/$PRGNAM.desktop $PRGSHR/applications/ -cp $CWD/$PRGNAM.png $PRGSHR/pixmaps/ +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 -# Install documentation (not available for zyGrib itself, hence the README). -mkdir -p $PRGDOC/{qwt,g2clib} -cp $CWD/README $PRGDOC/ -cp -a src/g2clib/README $PRGDOC/g2clib/ -cp -a src/qwt*/{README,COPYING} $PRGDOC/qwt/ -cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog INSTALL README* \ + $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 -cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/tidyp/tidyp.info b/misc/tidyp/tidyp.info new file mode 100644 index 0000000000..62cab0df77 --- /dev/null +++ b/misc/tidyp/tidyp.info @@ -0,0 +1,10 @@ +PRGNAM="tidyp" +VERSION="1.04" +HOMEPAGE="https://github.com/petdance/tidyp" +DOWNLOAD="https://github.com/petdance/tidyp/archive/1.04/tidyp-1.04.tar.gz" +MD5SUM="ad4e95b941ff482f5745b503fb5e20df" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/misc/twa/README b/misc/twa/README new file mode 100644 index 0000000000..f155a10fcd --- /dev/null +++ b/misc/twa/README @@ -0,0 +1 @@ +A tiny web auditor with strong opinions. diff --git a/misc/twa/slack-desc b/misc/twa/slack-desc new file mode 100644 index 0000000000..0fb8ff0e34 --- /dev/null +++ b/misc/twa/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +twa: twa (A tiny web auditor with strong opinions) +twa: +twa: A tiny web auditor with strong opinions. +twa: +twa: +twa: +twa: +twa: website: https://github.com/trailofbits/twa +twa: +twa: +twa: diff --git a/misc/twa/twa.SlackBuild b/misc/twa/twa.SlackBuild new file mode 100644 index 0000000000..9591252bce --- /dev/null +++ b/misc/twa/twa.SlackBuild @@ -0,0 +1,73 @@ +#!/bin/sh + +# Slackware build script for twa + +# Copyright 2019 Petr Kletecka petr@kle.cz +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=twa +VERSION=${VERSION:-1.8.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -p $PKG/usr/bin +cat twa > $PKG/usr/bin/twa +chmod oug+x $PKG/usr/bin/twa + +cat tscore > $PKG/usr/bin/tscore +chmod oug+x $PKG/usr/bin/tscore + +mkdir -p $PKG/usr/man/man1 +cat twa.1 | gzip > $PKG/usr/man/man1/twa.1.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README.md LICENSE CONTRIBUTING.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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/twa/twa.info b/misc/twa/twa.info new file mode 100644 index 0000000000..7e305da6bc --- /dev/null +++ b/misc/twa/twa.info @@ -0,0 +1,10 @@ +PRGNAM="twa" +VERSION="1.8.0" +HOMEPAGE="https://github.com/trailofbits/twa" +DOWNLOAD="https://github.com/trailofbits/twa/archive/1.8.0/twa-1.8.0.tar.gz" +MD5SUM="8b89bb01cb5e9e17a54ce62878526248" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Petr Kletecka" +EMAIL="petr@kle.cz" diff --git a/misc/txt2regex/README b/misc/txt2regex/README new file mode 100644 index 0000000000..5b3de4d342 --- /dev/null +++ b/misc/txt2regex/README @@ -0,0 +1,12 @@ +txt2regex (interactive regular expression trainer) + +Txt2regex is a regular expression wizard for the command line. + +Users with little or no knowledge of regular expressions can quickly +create hairy regexes by answering questions in a simple text-based +interactive interface. + +Txt2regex is aware of the particular notation and caveats of many +different regular expression flavors, generating valid regexes for +more than 20 targets, including grep, sed, Vim, Emacs, JavaScript, +Python, PHP, PostgreSQL. diff --git a/misc/txt2regex/slack-desc b/misc/txt2regex/slack-desc new file mode 100644 index 0000000000..0bef91698c --- /dev/null +++ b/misc/txt2regex/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +txt2regex: txt2regex (interactive regular expression trainer) +txt2regex: +txt2regex: Txt2regex is a regular expression wizard for the command line. +txt2regex: +txt2regex: Users with little or no knowledge of regular expressions can quickly +txt2regex: create hairy regexes by answering questions in a simple text-based +txt2regex: interactive interface. +txt2regex: +txt2regex: +txt2regex: +txt2regex: diff --git a/misc/txt2regex/txt2regex.SlackBuild b/misc/txt2regex/txt2regex.SlackBuild new file mode 100644 index 0000000000..4592cda5b4 --- /dev/null +++ b/misc/txt2regex/txt2regex.SlackBuild @@ -0,0 +1,49 @@ +#!/bin/sh + +# Slackware build script for txt2regex + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=txt2regex +VERSION=${VERSION:-0.9} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# There's a MANDIR in the Makefile, but nothing uses it. Have to +# install the man page, er, manually. + +make install DESTDIR=$PKG +mkdir -p $PKG/usr/man/man1 +gzip -9c < man/$PRGNAM.man > $PKG/usr/man/man1/$PRGNAM.1.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +chmod -x tests/regex-tester.sh # no +x files in the doc dir! +gzip -9 tests/regex-tester.txt # 116KB => 10KB +cp -a *.md COPYRIGHT TODO tests man/*.html $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/txt2regex/txt2regex.info b/misc/txt2regex/txt2regex.info new file mode 100644 index 0000000000..ff487ac5a3 --- /dev/null +++ b/misc/txt2regex/txt2regex.info @@ -0,0 +1,10 @@ +PRGNAM="txt2regex" +VERSION="0.9" +HOMEPAGE="http://aurelio.net/projects/txt2regex/" +DOWNLOAD="https://github.com/aureliojargas/txt2regex/archive/v0.9/txt2regex-0.9.tar.gz" +MD5SUM="7066adc50e55300f5bcad276cf65b852" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/txt2tags/txt2tags.info b/misc/txt2tags/txt2tags.info index 9967916d83..afbd3baa7a 100644 --- a/misc/txt2tags/txt2tags.info +++ b/misc/txt2tags/txt2tags.info @@ -6,5 +6,5 @@ MD5SUM="13dc51b155824cdd9ae2ada885a503fd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="eviljames" -EMAIL="storgeek [AT] gmail [dot] com" +MAINTAINER="Didier Spaier" +EMAIL="didier at slint dot fr" diff --git a/misc/vttest/README b/misc/vttest/README index 72e74ec08c..9008e02c80 100644 --- a/misc/vttest/README +++ b/misc/vttest/README @@ -1,10 +1,11 @@ vttest (terminal test program) -Vttest is a program designed to test the functionality of a VT100 terminal -(or emulator thereof). It tests both display (escape sequence handling) -and keyboard. +Vttest is a program designed to test the functionality of a VT100 +terminal (or emulator thereof). It tests both display (escape sequence +handling) and keyboard. -Additional tests (past version 1.7) are provided for analysis of vt220, -vt420 terminals, as well as variants of xterm. +Additional tests (past version 1.7) are provided for analysis of +vt220, vt420 terminals, as well as variants of xterm. -The program is menu-driven and contains full on-line operating instructions. +The program is menu-driven and contains full on-line operating +instructions. diff --git a/misc/vttest/vttest.SlackBuild b/misc/vttest/vttest.SlackBuild index 84620c4e6c..133da8eadc 100644 --- a/misc/vttest/vttest.SlackBuild +++ b/misc/vttest/vttest.SlackBuild @@ -6,11 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210220 bkw: update for 2.7.20210210. +# 20201025 bkw: update for 2.7.20200920. +# 20200316 bkw: update for 2.7.20200303. +# 20191130 bkw: update for 2.7.20190710. # 20180920 bkw: update for 2.7.20180911 (whoops!). # 20180915 bkw: update for 2.7.20180811. PRGNAM=vttest -VERSION=${VERSION:-2.7.20180911} +VERSION=${VERSION:-2.7.20210210} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/misc/vttest/vttest.info b/misc/vttest/vttest.info index f76686f2cd..9f00527391 100644 --- a/misc/vttest/vttest.info +++ b/misc/vttest/vttest.info @@ -1,8 +1,8 @@ PRGNAM="vttest" -VERSION="2.7.20180911" +VERSION="2.7.20210210" HOMEPAGE="http://invisible-island.net/vttest/" -DOWNLOAD="ftp://ftp.invisible-island.net/vttest/vttest-20180911.tgz" -MD5SUM="da1cb3a5b2645de46d2191396fec1f33" +DOWNLOAD="ftp://ftp.invisible-island.net/vttest/vttest-20210210.tgz" +MD5SUM="21c7493640a7912ea746b3eb0689f2a7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild index e5bc31880b..5ca81eed94 100644 --- a/misc/wcd/wcd.SlackBuild +++ b/misc/wcd/wcd.SlackBuild @@ -25,13 +25,13 @@ # with this program (most likely, a file named COPYING). If not, see # <https://www.gnu.org/licenses/>. +# 20191201 bkw: updated for v6.0.3. # 20180612 bkw: updated for v6.0.2. - # 20171219 bkw: updated for v6.0.1. also, add /etc/profile.d scripts # so wcd actually *works*. PRGNAM=wcd -VERSION=${VERSION:-6.0.2} +VERSION=${VERSION:-6.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,11 +57,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 640 -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 {} \+ if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" diff --git a/misc/wcd/wcd.info b/misc/wcd/wcd.info index cfda7ced71..e69dd930eb 100644 --- a/misc/wcd/wcd.info +++ b/misc/wcd/wcd.info @@ -1,8 +1,8 @@ PRGNAM="wcd" -VERSION="6.0.2" +VERSION="6.0.3" HOMEPAGE="http://waterlan.home.xs4all.nl/" -DOWNLOAD="http://waterlan.home.xs4all.nl/wcd/wcd-6.0.2.tar.gz" -MD5SUM="b3b51b398fb808afdd4cf25fab5f215a" +DOWNLOAD="http://waterlan.home.xs4all.nl/wcd/wcd-6.0.3.tar.gz" +MD5SUM="833dec747e810aacc060f7ef50fade85" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/weather/weather.SlackBuild b/misc/weather/weather.SlackBuild index f3e200fe3c..787be3f7b0 100644 --- a/misc/weather/weather.SlackBuild +++ b/misc/weather/weather.SlackBuild @@ -1,14 +1,17 @@ #!/bin/sh - +# # Slackware build script for weather - +# # Written by stormtracknole - stormtracknole@gmail.com - +# # * Updated to version 2.0 12/30/13 +# +# * Updated to version 2.3 20200319 +# PRGNAM=weather -VERSION=${VERSION:-2.0} +VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,7 +70,7 @@ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages cp -a weather.py $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog FAQ INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a FAQ INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/weather/weather.info b/misc/weather/weather.info index 92de04658b..dc05100576 100644 --- a/misc/weather/weather.info +++ b/misc/weather/weather.info @@ -1,8 +1,8 @@ PRGNAM="weather" -VERSION="2.0" +VERSION="2.3" HOMEPAGE="http://fungi.yuggoth.org/weather/" -DOWNLOAD="http://fungi.yuggoth.org/weather/src/weather-2.0.tar.xz" -MD5SUM="7994bb65d914b3b3659086978f939d0c" +DOWNLOAD="http://fungi.yuggoth.org/weather/src/weather-2.3.tar.xz" +MD5SUM="0f9f0f27de37581bd5de5fb7cd478513" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/xbanish/README b/misc/xbanish/README index 69541eac2f..bb5e957055 100644 --- a/misc/xbanish/README +++ b/misc/xbanish/README @@ -1,6 +1,9 @@ -xbanish hides the mouse cursor when you start typing, and shows it again when -the mouse cursor moves or a mouse button is pressed. This is similar to -xterm's pointerMode setting, but xbanish works globally in the X11 session. +xbanish (banish the mouse cursor when typing) -One can easily start this automatically by putting `/usr/bin/xbanish &' to eg. -~/.xinitrc or some other DM specific startup file. +xbanish hides the mouse cursor when you start typing, and shows it +again when the mouse cursor moves or a mouse button is pressed. This is +similar to xterm's pointerMode setting, but xbanish works globally in +the X11 session. + +One can easily start this automatically by putting "/usr/bin/xbanish &" +in ~/.xinitrc or some other WM/DE-specific startup file. diff --git a/misc/xbanish/slack-desc b/misc/xbanish/slack-desc index a9adb786c3..4ef0b3de77 100644 --- a/misc/xbanish/slack-desc +++ b/misc/xbanish/slack-desc @@ -11,9 +11,9 @@ xbanish: xbanish: xbanish hides the mouse cursor when you start typing, and shows it xbanish: again when the mouse cursor moves or a mouse button is pressed. xbanish: This is similar to xterm's pointerMode setting, but xbanish works -xbanish: globally in the X11 session -xbanish: +xbanish: globally in the X11 session. xbanish: xbanish: Homepage: https://github.com/jcs/xbanish xbanish: xbanish: +xbanish: diff --git a/misc/xbanish/xbanish.SlackBuild b/misc/xbanish/xbanish.SlackBuild index 2f4ba15d9c..d0a11d5ca4 100644 --- a/misc/xbanish/xbanish.SlackBuild +++ b/misc/xbanish/xbanish.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (c) 2013-2018 LEVAI Daniel +# Copyright (c) 2020 B. Watson # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,14 +28,21 @@ # Build script for xbanish +# 20200720 bkw: update for v1.7 +# 20200129 bkw: +# - take over maintenance +# - update for v1.6 +# - i486 => i586 +# - use proper github download URL + PRGNAM=xbanish -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +53,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ];then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ];then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -65,31 +73,19 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 640 -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 {} \+ CFLAGS="$SLKCFLAGS" make -mkdir -p $PKG/usr/bin -mkdir -p $PKG/usr/man/man1 -make install PREFIX=/usr DESTDIR=$PKG +make install PREFIX=/usr DESTDIR=$PKG # already stripped +gzip -9 $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -cp -a README $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a README* $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -type f -exec chmod 0644 {} \; - -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 mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/misc/xbanish/xbanish.info b/misc/xbanish/xbanish.info index a381b52c77..2a4b8bdfdd 100644 --- a/misc/xbanish/xbanish.info +++ b/misc/xbanish/xbanish.info @@ -1,10 +1,10 @@ PRGNAM="xbanish" -VERSION="1.5" +VERSION="1.7" HOMEPAGE="https://github.com/jcs/xbanish" -DOWNLOAD="https://github.com/jcs/xbanish/archive/v1.5.tar.gz" -MD5SUM="23e3846827ec6eb20e954f3b3141c2af" +DOWNLOAD="https://github.com/jcs/xbanish/archive/v1.7/xbanish-1.7.tar.gz" +MD5SUM="08c0702576d6b2434f62ba06e1a3a32d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="LEVAI Daniel" -EMAIL="leva@ecentrum.hu" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/misc/xca/doinst.sh b/misc/xca/doinst.sh new file mode 100644 index 0000000000..39ec34e32e --- /dev/null +++ b/misc/xca/doinst.sh @@ -0,0 +1,15 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/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/misc/xca/xca.SlackBuild b/misc/xca/xca.SlackBuild index 15387ae802..88e104b191 100644 --- a/misc/xca/xca.SlackBuild +++ b/misc/xca/xca.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xca -# Copyright 2014-2019 Kent Fritz, Mountain View, CA +# Copyright 2014-2020 Kent Fritz, Mountain View, CA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xca -VERSION=${VERSION:-2.1.2} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,26 +69,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i \ - -e 's/LIBS="\${LIBS} \${OPENSSL_LIBS}\${QT_LIBS}"/LIBS="\${LIBS} \${OPENSSL_LIBS} \${QT_LIBS}"/' \ - configure - CXXFLAGS="$SLKCFLAGS" \ -./configure --prefix=/usr +./configure --prefix=/usr --mandir=/usr/man --docdir=/usr/doc/$PRGNAM-$VERSION make -make install destdir=$PKG - -mv $PKG/usr/share/man $PKG/usr +make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/xca/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc cp -a AUTHORS COPYRIGHT INSTALL README.md VERSION changelog \ $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/xca/xca.info b/misc/xca/xca.info index e80565c323..f72a4d1e53 100644 --- a/misc/xca/xca.info +++ b/misc/xca/xca.info @@ -1,8 +1,8 @@ PRGNAM="xca" -VERSION="2.1.2" +VERSION="2.3.0" HOMEPAGE="https://hohnstaedt.de/xca" -DOWNLOAD="https://github.com/chris2511/xca/releases/download/RELEASE.2.1.2/xca-2.1.2.tar.gz" -MD5SUM="1d48bd19b0bc6caf1b4431cb2c73cc67" +DOWNLOAD="https://github.com/chris2511/xca/releases/download/RELEASE.2.3.0/xca-2.3.0.tar.gz" +MD5SUM="9c57ca1f231c0623e81e20c6f7b5f348" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/ykpers/ykpers.info b/misc/ykpers/ykpers.info index 6667c26b02..077916cd82 100644 --- a/misc/ykpers/ykpers.info +++ b/misc/ykpers/ykpers.info @@ -1,7 +1,7 @@ PRGNAM="ykpers" VERSION="1.20.0" HOMEPAGE="https://developers.yubico.com/yubikey-personalization/" -DOWNLOAD="https://developers.yubico.com/yubikey-personalization/releases/ykpers-1.20.0.tar.gz" +DOWNLOAD="https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0.tar.gz" MD5SUM="8749113ce5a0164fe2b429b61242ba0f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/misc/yubikey-personalization-gui/yubikey-personalization-gui.info b/misc/yubikey-personalization-gui/yubikey-personalization-gui.info index d945792105..99a3473b27 100644 --- a/misc/yubikey-personalization-gui/yubikey-personalization-gui.info +++ b/misc/yubikey-personalization-gui/yubikey-personalization-gui.info @@ -1,7 +1,7 @@ PRGNAM="yubikey-personalization-gui" VERSION="3.1.25" HOMEPAGE="https://developers.yubico.com/yubikey-personalization-gui/" -DOWNLOAD="https://developers.yubico.com/yubikey-personalization-gui/releases/yubikey-personalization-gui-3.1.25.tar.gz" +DOWNLOAD="https://developers.yubico.com/yubikey-personalization-gui/Releases/yubikey-personalization-gui-3.1.25.tar.gz" MD5SUM="33f4312281ada355c62f7232b57ad0b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/misc/yubioath-desktop/README b/misc/yubioath-desktop/README new file mode 100644 index 0000000000..015a3db1eb --- /dev/null +++ b/misc/yubioath-desktop/README @@ -0,0 +1,4 @@ +Yubico Authenticator adds a layer of security for online accounts + +It allows you to generate rfc6238 compatible 2-factor one-time +passwords for which the secrets can be stored on a yubikey. diff --git a/misc/yubioath-desktop/slack-desc b/misc/yubioath-desktop/slack-desc new file mode 100644 index 0000000000..97e8f821cd --- /dev/null +++ b/misc/yubioath-desktop/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +yubioath-desktop: yubioath-desktop (Yubico Authenticator) +yubioath-desktop: +yubioath-desktop: Yubico Authenticator adds a layer of security for online accounts. +yubioath-desktop: +yubioath-desktop: It allows you to generate rfc6238 compatible 2-factor one-time +yubioath-desktop: passwords for which the secrets can be stored on a yubikey. +yubioath-desktop: +yubioath-desktop: +yubioath-desktop: +yubioath-desktop: +yubioath-desktop: diff --git a/misc/yubioath-desktop/yubioath-desktop.SlackBuild b/misc/yubioath-desktop/yubioath-desktop.SlackBuild new file mode 100644 index 0000000000..5357a8a87a --- /dev/null +++ b/misc/yubioath-desktop/yubioath-desktop.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/sh + +# Slackware build script for yubioath-desktop + +# Copyright 2020 Spycrowsoft The Netherlands +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=yubioath-desktop +VERSION=${VERSION:-5.0.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION + +# Make the Appimage executable +chmod 755 $CWD/$PRGNAM-$VERSION-linux.AppImage + +# Get appimage mount offset +MOUNT_OFFSET=`$CWD/$PRGNAM-$VERSION-linux.AppImage --appimage-offset` + +# Mount the appimage so we can extract the .desktop and icon files. +mkdir $PRGNAM-$VERSION +mount -o loop -o offset=$MOUNT_OFFSET $CWD/$PRGNAM-$VERSION-linux.AppImage $TMP/$PRGNAM-$VERSION + +# Add .desktop and icon to KDE/XFCE-menus +mkdir -p $PKG/usr/share/applications/ $PKG/usr/share/pixmaps/ +cp $PRGNAM-$VERSION/com.yubico.yubioath.desktop ${PKG}/usr/share/applications/${PRGNAM}.desktop +cp $PRGNAM-$VERSION/com.yubico.yubioath.svg ${PKG}/usr/share/pixmaps/com.yubico.yubioath.svg + +# Unmount appimage +umount $TMP/$PRGNAM-$VERSION +rmdir $TMP/$PRGNAM-$VERSION + +# Copy appimage to package-location +mkdir -p $PKG/usr/bin/ +cp $CWD/$PRGNAM-$VERSION-linux.AppImage $PKG/usr/bin/$PRGNAM + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/yubioath-desktop/yubioath-desktop.info b/misc/yubioath-desktop/yubioath-desktop.info new file mode 100644 index 0000000000..6426460d0d --- /dev/null +++ b/misc/yubioath-desktop/yubioath-desktop.info @@ -0,0 +1,10 @@ +PRGNAM="yubioath-desktop" +VERSION="5.0.4" +HOMEPAGE="https://www.yubico.com/products/services-software/download/yubico-authenticator/" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://developers.yubico.com/yubioath-desktop/Releases/yubioath-desktop-5.0.4-linux.AppImage" +MD5SUM_x86_64="4490045c8910b8f34678a1a3b4541eaa" +REQUIRES="" +MAINTAINER="Spycrowsoft" +EMAIL="spycrowsoft [ at ] gmail [ dot ] com" diff --git a/misc/zyGrib/README b/misc/zyGrib/README deleted file mode 100644 index 9e27493cb1..0000000000 --- a/misc/zyGrib/README +++ /dev/null @@ -1,33 +0,0 @@ -zyGrib is a program to download and visualize meteorological forecast data in -the standard formats GRIB 1 and 2. The available datasets include NOAA-GFS -(weather and wind conditions, above ground and at altitude) and FNMOC-WW3 (wave -conditions). It is possible to create animations from the forecast data of the -selected region and to export them as a set of images. - -The available data include: - -- Mean sea level pressure -- Wind 10m above surface -- Wind gusts -- Temperature 2m above surface -- Minimum and maximum temperature 2m above surface -- Relative humidity 2m above surface -- Total precipitation (mm/h) -- Cloud cover (%) -- Dew point 2m above surface -- 0 deg C isotherm -- Snow (rain-snow line and snowfall risk) -- CAPE (convective available potential energy) and CIN (convective inhibition) -- Data at altitude (wind, temperature, theta-e, geopotential altitude, relative - humidity) at 925, 850, 700, 600, 500, 400, 300 and 200 hPa levels -- Atmospheric sounding forecast displayed on SkewT-LogP thermodynamic diagrams -- Waves (height, direction, period, whitecap probability for wind waves, swell, - and for significant, maximum, primary and secondary waves) -- Sea currents (not provided by zyGrib's data server) - -The zyGrib source package ships with the code for Qwt (an extension library for -QT) and NOAA's g2clib (decoder/encoder routines for GRIB 2): both are built -automatically and linked statically: this will not affect already installed -libraries. - -zyGrib is distributed under the GNU GPL, version 3. diff --git a/misc/zyGrib/doinst.sh b/misc/zyGrib/doinst.sh deleted file mode 100644 index 5fb28930db..0000000000 --- a/misc/zyGrib/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi diff --git a/misc/zyGrib/zyGrib.desktop b/misc/zyGrib/zyGrib.desktop deleted file mode 100644 index c1e4e81a01..0000000000 --- a/misc/zyGrib/zyGrib.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=zyGrib -GenericName=GRIB Meteo Data Viewer -Type=Application -Terminal=false -StartupNotify=true -Categories=Utility;Education; -Icon=zyGrib -Exec=zyGrib diff --git a/misc/zyGrib/zyGrib.info b/misc/zyGrib/zyGrib.info deleted file mode 100644 index 5da0727eba..0000000000 --- a/misc/zyGrib/zyGrib.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="zyGrib" -VERSION="8.0.1" -HOMEPAGE="http://www.zygrib.org/" -DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/zyGrib/zyGrib-8.0.1.tgz" -MD5SUM="6a6acc0490f0927b3cecd4b79bd770fd" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="libnova proj qt5" -MAINTAINER="Philip Lacroix" -EMAIL="slackph at posteo dot de" diff --git a/misc/zyGrib/zyGrib.png b/misc/zyGrib/zyGrib.png Binary files differdeleted file mode 100644 index 6ada16e728..0000000000 --- a/misc/zyGrib/zyGrib.png +++ /dev/null |