diff options
Diffstat (limited to 'ham')
251 files changed, 5454 insertions, 1081 deletions
diff --git a/ham/7plus/7plus.SlackBuild b/ham/7plus/7plus.SlackBuild index dc3b188955..7157cb7a47 100644 --- a/ham/7plus/7plus.SlackBuild +++ b/ham/7plus/7plus.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for 7plus @@ -28,10 +28,13 @@ # All rights reserved. # +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=7plus VERSION=${VERSION:-2.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -41,23 +44,26 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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 @@ -66,8 +72,9 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/7pl225sr.zip -mv 7plsrc.225 $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +# the readme suggests forcing plain text for correct newlines (-aa) +unzip -j -aa $CWD/7pl225sr.zip "7plsrc.225/*" -d $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -76,6 +83,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# some extra includes +patch -p1 --verbose <$CWD/C-includes.patch + +# fixes to get x86_64 to compile +sed -i "s,^CFLAGS = -O2,& $SLKCFLAGS -fcommon," linux.mak +sed -i "s,^LDFLAGS = -s,& -fcommon," linux.mak +sed -i "s,^DEFINES =,& -D__i386__," linux.mak + make -f linux.mak install -D -g root -o root -m 0755 7plus $PKG/usr/bin/7plus @@ -89,4 +104,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/7plus/7plus.info b/ham/7plus/7plus.info index 2063ac0f2f..af3623c5cb 100644 --- a/ham/7plus/7plus.info +++ b/ham/7plus/7plus.info @@ -3,7 +3,7 @@ VERSION="2.25" HOMEPAGE="https://web.archive.org/web/20120117043523/http://www.linux-ax25.org/wiki/7Plus" DOWNLOAD="http://ponce.cc/slackware/sources/repo/7pl225sr.zip" MD5SUM="74e89f8fa00b7d02ef45386dc9f7352f" -DOWNLOAD_x86_64="UNSUPPORTED" +DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="JK Wood" diff --git a/ham/7plus/C-includes.patch b/ham/7plus/C-includes.patch new file mode 100644 index 0000000000..41a0ee65ba --- /dev/null +++ b/ham/7plus/C-includes.patch @@ -0,0 +1,12 @@ +diff -Naur a/7plus.h b/7plus.h +--- a/7plus.h 2000-01-10 10:03:02.000000000 +0000 ++++ b/7plus.h 2022-02-13 21:16:05.186445213 +0000 +@@ -24,6 +24,8 @@ + /* #define setvbuf(a,b,c,d) */ + + /** these includes should work anywhere **/ ++#include <unistd.h> ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> + #include <time.h> diff --git a/ham/7plus/README b/ham/7plus/README index dd18c8ddaa..5e8420805e 100644 --- a/ham/7plus/README +++ b/ham/7plus/README @@ -1,13 +1,12 @@ 7PLUS is an encoder vaguely similar to Unix's UUENCODE. -It uses a very effective radix216 encoding and incorporates -diverse mechanisms to ensure decoded data is not corrupted. -It also includes an interactive repair mechanism which allows -the repair of damaged files using correction files, thus -eliminating the need to retransmit entire files. In case of -a corruption, only the faulty sections are resent. 7PLUS -is only meant to be used within the Packet Radio network -for the tranport of binary data through Packet Radio mail. -It cannot be used for Internet eMail since it needs a -(almost) transparent path from end to end. -This will not build on x86_84, patches welcome. +It uses a very effective radix216 encoding and incorporates diverse +mechanisms to ensure decoded data is not corrupted. It also includes an +interactive repair mechanism which allows the repair of damaged files +using correction files, thus eliminating the need to retransmit entire +files. In case of a corruption, only the faulty sections are resent. + +7PLUS is only meant to be used within the Packet Radio network for the +tranport of binary data through Packet Radio mail. It cannot be used +for Internet eMail since it needs a (almost) transparent path from end +to end. diff --git a/ham/CubicSDR/CubicSDR.SlackBuild b/ham/CubicSDR/CubicSDR.SlackBuild index fac6a9ad18..9370235c5c 100644 --- a/ham/CubicSDR/CubicSDR.SlackBuild +++ b/ham/CubicSDR/CubicSDR.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for CubicSDR -# Copyright 2017 Alan Aversa USA +# Copyright 2022 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=CubicSDR -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -68,7 +78,7 @@ cd $PRGNAM-$VERSION STATICWXWIDGETS_DESTDIR=$TMP/$PRGNAM-$VERSION/wxWidgets-staticlib mkdir -p $STATICWXWIDGETS_DESTDIR -VERWXWIDGETS=${VERWXWIDGETS:-3.1.0} +VERWXWIDGETS=${VERWXWIDGETS:-3.1.5} tar xvf $CWD/wxWidgets-$VERWXWIDGETS.tar.bz2 cd wxWidgets-$VERWXWIDGETS @@ -95,7 +105,6 @@ cd wxWidgets-$VERWXWIDGETS --enable-unicode \ --enable-display \ --enable-propgrid \ - --disable-webkit \ --disable-webview \ --disable-webviewwebkit \ --prefix="$STATICWXWIDGETS_DESTDIR" @@ -143,4 +152,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/CubicSDR/CubicSDR.info b/ham/CubicSDR/CubicSDR.info index 3b04c54a9d..df7d9a9b34 100644 --- a/ham/CubicSDR/CubicSDR.info +++ b/ham/CubicSDR/CubicSDR.info @@ -1,10 +1,10 @@ PRGNAM="CubicSDR" -VERSION="0.2.2" +VERSION="0.2.7" HOMEPAGE="https://github.com/cjcliffe/CubicSDR/" -DOWNLOAD="https://github.com/cjcliffe/CubicSDR/archive/0.2.2/CubicSDR-0.2.2.tar.gz \ - https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2" -MD5SUM="79672b71187837aa5fc9c8adca39705a \ - e20c14bb9bf5d4ec0979a3cd7510dece" +DOWNLOAD="https://github.com/cjcliffe/CubicSDR/archive/0.2.7/CubicSDR-0.2.7.tar.gz \ + https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.5/wxWidgets-3.1.5.tar.bz2" +MD5SUM="6e4cfeab14d9ec54daaed6079a5312ae \ + 8b2ac42364a02bb5f3df22e1b1a517e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SoapySDR liquid-dsp" diff --git a/ham/SDRPlay/SDRPlay.SlackBuild b/ham/SDRPlay/SDRPlay.SlackBuild index e6fe2e9437..b35668b45a 100644 --- a/ham/SDRPlay/SDRPlay.SlackBuild +++ b/ham/SDRPlay/SDRPlay.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for SDRPlay -# Copyright 2017 Alan Aversa USA +# Copyright 2020 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=SDRPlay -VERSION=${VERSION:-2.10.2} +VERSION=${VERSION:-3.07.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} case "${ARCH:-$( uname -m )}" in i?86) ARCH=i686 @@ -39,7 +42,14 @@ case "${ARCH:-$( uname -m )}" in ;; esac -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -52,6 +62,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION +sh $CWD/SDRplay_RSP_API-Linux-2.13.1.run --tar xvf sh $CWD/SDRplay_RSP_API-Linux-$VERSION.run --tar xvf chown -R root:root . find -L . \ @@ -60,16 +71,26 @@ 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 {} \; -VERS="2.10" +VERS="2.13" mkdir -p $PKG/usr/lib$LIBDIRSUFFIX -install -m644 ${ARCH}/libmirsdrapi-rsp.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX +install -m755 ${ARCH}/libmirsdrapi-rsp.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX ln -s libmirsdrapi-rsp.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX/libmirsdrapi-rsp.so.2 ln -s libmirsdrapi-rsp.so.2 $PKG/usr/lib$LIBDIRSUFFIX/libmirsdrapi-rsp.so mkdir -p $PKG/usr/include install -m644 mirsdrapi-rsp.h $PKG/usr/include +VERS="3.07" + +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX +install -m755 ${ARCH}/libsdrplay_api.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX +ln -s libsdrplay_api.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX/libsdrplay_api.so.2 +ln -s libsdrplay_api.so.2 $PKG/usr/lib$LIBDIRSUFFIX/libsdrplay_api.so + +mkdir -p $PKG/usr/include +install -m644 inc/*.h $PKG/usr/include + mkdir -p $PKG/etc/udev/rules.d/ install -m644 66-mirics.rules $PKG/etc/udev/rules.d/66-mirics.rules @@ -78,10 +99,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a sdrplay_license.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/SDRPlay/SDRPlay.info b/ham/SDRPlay/SDRPlay.info index eb2a100bc4..37067add23 100644 --- a/ham/SDRPlay/SDRPlay.info +++ b/ham/SDRPlay/SDRPlay.info @@ -1,8 +1,8 @@ PRGNAM="SDRPlay" -VERSION="2.10.2" +VERSION="3.07.1" HOMEPAGE="http://www.sdrplay.com/software/" -DOWNLOAD="http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.10.2.run" -MD5SUM="2b77d0ce2fbb770e9526b6f17656a716" +DOWNLOAD="http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.13.1.run http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run" +MD5SUM="6a394db7d5770f11442023ce3ab0ba66 41fea62ae45d76aaafd6437483386d7f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/ham/SoapyRTLSDR/README b/ham/SoapyRTLSDR/README new file mode 100644 index 0000000000..8e815718b7 --- /dev/null +++ b/ham/SoapyRTLSDR/README @@ -0,0 +1 @@ +Plugin module to use the RTL-SDR dongle within the SoapySDR API. diff --git a/ham/SoapyRTLSDR/SoapyRTLSDR.SlackBuild b/ham/SoapyRTLSDR/SoapyRTLSDR.SlackBuild new file mode 100644 index 0000000000..4cc81e5e1f --- /dev/null +++ b/ham/SoapyRTLSDR/SoapyRTLSDR.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# Slackware build script for SoapyRTLSDR + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=SoapyRTLSDR +VERSION=${VERSION:-0.3.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=SoapyRTLSDR-soapy-rtl-sdr + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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-$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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.txt Changelog.txt README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/SoapyRTLSDR/SoapyRTLSDR.info b/ham/SoapyRTLSDR/SoapyRTLSDR.info new file mode 100644 index 0000000000..e55a39ff3a --- /dev/null +++ b/ham/SoapyRTLSDR/SoapyRTLSDR.info @@ -0,0 +1,10 @@ +PRGNAM="SoapyRTLSDR" +VERSION="0.3.3" +HOMEPAGE="https://github.com/pothosware/SoapyRTLSDR/" +DOWNLOAD="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtl-sdr-0.3.3/SoapyRTLSDR-soapy-rtl-sdr-0.3.3.tar.gz" +MD5SUM="8b5885e71ab0280dae25c452ad865d55" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="SoapySDR rtl-sdr" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/SoapyRTLSDR/slack-desc b/ham/SoapyRTLSDR/slack-desc new file mode 100644 index 0000000000..da362001e1 --- /dev/null +++ b/ham/SoapyRTLSDR/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------------------------------------------------------| +SoapyRTLSDR: SoapyRTLSDR (Soapy SDR module for RTL-SDR) +SoapyRTLSDR: +SoapyRTLSDR: Plugin module to use the RTL-SDR dongle within the SoapySDR API. +SoapyRTLSDR: +SoapyRTLSDR: +SoapyRTLSDR: +SoapyRTLSDR: +SoapyRTLSDR: +SoapyRTLSDR: +SoapyRTLSDR: Homepage: https://github.com/pothosware/SoapyRTLSDR/ +SoapyRTLSDR: diff --git a/ham/SoapyRemote/SoapyRemote.SlackBuild b/ham/SoapyRemote/SoapyRemote.SlackBuild index d3a8cf23d1..c8aca4ff7e 100644 --- a/ham/SoapyRemote/SoapyRemote.SlackBuild +++ b/ham/SoapyRemote/SoapyRemote.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for SoapyRemote -# Copyright 2017 Alan Aversa USA +# Copyright 2020 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=SoapyRemote -VERSION=${VERSION:-0.4.2} +VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=SoapyRemote-soapy-remote @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -102,4 +112,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/SoapyRemote/SoapyRemote.info b/ham/SoapyRemote/SoapyRemote.info index 2718c84ed4..d2459f192c 100644 --- a/ham/SoapyRemote/SoapyRemote.info +++ b/ham/SoapyRemote/SoapyRemote.info @@ -1,8 +1,8 @@ PRGNAM="SoapyRemote" -VERSION="0.4.2" +VERSION="0.5.1" HOMEPAGE="https://github.com/pothosware/SoapyRemote" -DOWNLOAD="https://github.com/pothosware/SoapyRemote/archive/soapy-remote-0.4.2/SoapyRemote-soapy-remote-0.4.2.tar.gz" -MD5SUM="8068692459939f1e9ed0e833535468ce" +DOWNLOAD="https://github.com/pothosware/SoapyRemote/archive/soapy-remote-0.5.1/SoapyRemote-soapy-remote-0.5.1.tar.gz" +MD5SUM="ce017cf0bb53568e0684ee023366a95f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SoapySDR" diff --git a/ham/SoapySDR/SoapySDR.SlackBuild b/ham/SoapySDR/SoapySDR.SlackBuild index 113c2294a5..b0c8e26b68 100644 --- a/ham/SoapySDR/SoapySDR.SlackBuild +++ b/ham/SoapySDR/SoapySDR.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for SoapySDR -# Copyright 2017 Alan Aversa USA +# Copyright 2020 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=SoapySDR -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=SoapySDR-soapy-sdr @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -71,8 +81,6 @@ 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#share/man#man#' apps/CMakeLists.txt - mkdir -p build cd build cmake \ @@ -80,7 +88,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DENABLE_PYTHON3:BOOL=OFF \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -89,8 +97,7 @@ cd .. 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 -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 +gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md LICENSE_1_0.txt Changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION @@ -100,4 +107,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/SoapySDR/SoapySDR.info b/ham/SoapySDR/SoapySDR.info index eafd41bb12..28e0ba84ad 100644 --- a/ham/SoapySDR/SoapySDR.info +++ b/ham/SoapySDR/SoapySDR.info @@ -1,8 +1,8 @@ PRGNAM="SoapySDR" -VERSION="0.6.0" +VERSION="0.8.1" HOMEPAGE="https://github.com/pothosware/SoapySDR" -DOWNLOAD="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-0.6.0/SoapySDR-soapy-sdr-0.6.0.tar.gz" -MD5SUM="f662b12c8a5ac7770c35a6a597ef31fc" +DOWNLOAD="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-0.8.1/SoapySDR-soapy-sdr-0.8.1.tar.gz" +MD5SUM="64fbfc0ed4c4fa4dd3c4fe91ebb8c1c3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/ham/SoapySDRPlay/SoapySDRPlay.SlackBuild b/ham/SoapySDRPlay/SoapySDRPlay.SlackBuild index 584691ef83..819843f645 100644 --- a/ham/SoapySDRPlay/SoapySDRPlay.SlackBuild +++ b/ham/SoapySDRPlay/SoapySDRPlay.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for SoapySDRPlay -# Copyright 2017 Alan Aversa USA +# Copyright 2020 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=SoapySDRPlay -VERSION=${VERSION:-0.1.0} +VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=SoapySDRPlay-soapy-sdrplay @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -94,4 +104,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/SoapySDRPlay/SoapySDRPlay.info b/ham/SoapySDRPlay/SoapySDRPlay.info index b0cb33dd5f..5f2170a8dc 100644 --- a/ham/SoapySDRPlay/SoapySDRPlay.info +++ b/ham/SoapySDRPlay/SoapySDRPlay.info @@ -1,8 +1,8 @@ PRGNAM="SoapySDRPlay" -VERSION="0.1.0" +VERSION="0.2.0" HOMEPAGE="https://github.com/pothosware/SoapySDRPlay" -DOWNLOAD="https://github.com/pothosware/SoapySDRPlay/archive/soapy-sdrplay-0.1.0/SoapySDRPlay-soapy-sdrplay-0.1.0.tar.gz" -MD5SUM="e488245671b9b2af603aa30c2007675f" +DOWNLOAD="https://slackware.uk/sbosrcarch/by-name/ham/SoapySDRPlay/SoapySDRPlay-soapy-sdrplay-0.2.0.tar.gz" +MD5SUM="92499f2c4777255d78794cf9eafee282" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SoapySDR SDRPlay" diff --git a/ham/aldo/aldo.SlackBuild b/ham/aldo/aldo.SlackBuild index e75f3a69bf..1fcdfa3862 100644 --- a/ham/aldo/aldo.SlackBuild +++ b/ham/aldo/aldo.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for aldo # Written by JK Wood joshuakwood@gmail.com @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=aldo VERSION=${VERSION:-0.7.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -97,4 +107,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/aprx/README b/ham/aprx/README index ed741bf033..109fe84cdf 100644 --- a/ham/aprx/README +++ b/ham/aprx/README @@ -1,28 +1,31 @@ -aprx was originally a receive-only APRS iGate software, now extended to do -digipeating, and Tx-iGate. It works on any UNIX-like systems with minimal -requirements of system services, or system libraries beyond basic POSIX libc. +aprx was originally a receive-only APRS iGate software, now extended to +do digipeating, and Tx-iGate. It works on any UNIX-like systems with +minimal requirements of system services, or system libraries beyond +basic POSIX libc. -The software is to be installed on a suitable UNIX-like system, and its +The software is to be installed on a suitable UNIX-like system, and its configuration file is then to be adjusted. Then it can: * Handle arbitrary number of radio modems connected to itself -* Optionally relay APRS packets from radio receivers to APRS-IS +* Optionally relay APRS packets from radio receivers to APRS-IS (http://www.aprs-is.net) network -* Optionally digipeat AX.25 packets with and without APRS NEWn-N +* Optionally digipeat AX.25 packets with and without APRS NEWn-N paradigm rules -* Optionally relay APRS packets from APRS-IS network to radio channel +* Optionally relay APRS packets from APRS-IS network to radio channel (Tx-iGate) -This software is intended for very limited resources environment, like small -embedded-like machines barely able to run the operating system with TCP/IP -networking. -A receive-only Rx-iGate does not need any sort of licenses in most parts of -the world where radio amateur hobby is permitted to begin with. +This software is intended for very limited resources environment, like +small embedded-like machines barely able to run the operating system +with TCP/IP networking. -On version 2, aprx has gotten the ability to do APRS Digipeater function, -Aprx Tx-iGate, as well as a variation of that called Viscous APRS Digipeater, -which is an excellent choice for a Fill-In digipeater like on a mobile -station. Viscousness means that it will listen for other copies of same -packet for a small configurable number of seconds, and if it hears same -packet only once, it will do normal digipeating for it. +A receive-only Rx-iGate does not need any sort of licenses in most parts +of the world where radio amateur hobby is permitted to begin with. -aprx can optionall be used with soundmodem in place of a hardware TNC. +On version 2, aprx has gotten the ability to do APRS Digipeater +function, Aprx Tx-iGate, as well as a variation of that called Viscous +APRS Digipeater, which is an excellent choice for a Fill-In digipeater +like on a mobile station. Viscousness means that it will listen for +other copies of same packet for a small configurable number of seconds, +and if it hears same packet only once, it will do normal digipeating for +it. + +aprx can optionally be used with soundmodem in place of a hardware TNC. diff --git a/ham/aprx/aprx.SlackBuild b/ham/aprx/aprx.SlackBuild index 07b66f79c6..37de8827a3 100644 --- a/ham/aprx/aprx.SlackBuild +++ b/ham/aprx/aprx.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for aprx # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=aprx VERSION=${VERSION:-2.9.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -67,8 +77,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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -106,4 +115,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/aptdec/README b/ham/aptdec/README new file mode 100644 index 0000000000..5c705b0147 --- /dev/null +++ b/ham/aptdec/README @@ -0,0 +1,8 @@ +Aptdec is a FOSS program that decodes images transmitted by NOAA +weather satellites. These satellites transmit constantly medium +resolution (4km/px) images of the earth over a analog mode called APT. +These transmissions can easily be received with a cheap SDR and +simple antenna. Then the transmission can be decoded in narrow FM mode. +The input audio format can be anything supported by libsndfile +(although only tested with WAV and FLAC). Sample rate doesn't matter, +although lower samples rates will process faster. diff --git a/ham/aptdec/aptdec.SlackBuild b/ham/aptdec/aptdec.SlackBuild new file mode 100644 index 0000000000..bcbecc8841 --- /dev/null +++ b/ham/aptdec/aptdec.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/bash + +# Slackware build script for aptdec + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=aptdec +VERSION=${VERSION:-1.8.0} +VERSION_argparse=${VERSION_argparse:-c612dc03958cdbd538ca306d61853b643a435933} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 +unzip $CWD/$PRGNAM-$VERSION.zip +cd $PRGNAM-$VERSION/src +rm -rf argparse +unzip $CWD/argparse-$VERSION_argparse.zip +mv argparse-${VERSION_argparse} argparse +cd .. + +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md 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 diff --git a/ham/aptdec/aptdec.info b/ham/aptdec/aptdec.info new file mode 100644 index 0000000000..4033d453f1 --- /dev/null +++ b/ham/aptdec/aptdec.info @@ -0,0 +1,12 @@ +PRGNAM="aptdec" +VERSION="1.8.0" +HOMEPAGE="https://github.com/Xerbo/aptdec/" +DOWNLOAD="https://github.com/Xerbo/aptdec/archive/v1.8.0/aptdec-1.8.0.zip \ + https://github.com/cofyc/argparse/archive/c612dc03/argparse-c612dc03958cdbd538ca306d61853b643a435933.zip" +MD5SUM="9fe7078bc1d8be379be8641296bc14e1 \ + 5e8bdf58b31cee4cf34305cad9f6a288" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/aptdec/slack-desc b/ham/aptdec/slack-desc new file mode 100644 index 0000000000..1d3e8d8f95 --- /dev/null +++ b/ham/aptdec/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------------------------------------------------------| +aptdec: aptdec (NOAA APT satellite imagery decoder) +aptdec: +aptdec: Aptdec can turn the audio recordings into PNG images +aptdec: and generate images such as: +aptdec: - Raw image: both channels with full telemetry included +aptdec: - Individual channel: one of the channels form the image +aptdec: - Temperature image: a temperature compensated derived IR channel +aptdec: - Palleted image: a image where the color is derived from a palette +aptdec: +aptdec: Homepage: https://github.com/Xerbo/aptdec/ +aptdec: diff --git a/ham/ax25-apps/README b/ham/ax25-apps/README new file mode 100644 index 0000000000..1c051b112e --- /dev/null +++ b/ham/ax25-apps/README @@ -0,0 +1,20 @@ +ax25-apps: AX.25 Packet radio support for linux (user applications) + +The AX.25 protocol offers both connected and connectionless modes of +operation, and is used either by itself for point-point links, or to +carry other protocols such as TCP/IP and NET/ROM. + +It is similar to X.25 level 2 in structure, with some extensions to +make it more useful in the amateur radio environment. + +This package provides specific user applications for hamradio that use +AX.25 Net/ROM or ROSE network protocols: + + * axcall: a general purpose AX.25, NET/ROM and ROSE connection + program. + * axlisten: a network monitor of all AX.25 traffic heard by the + system. + * ax25ipd: an RFC1226 compliant daemon which provides + encapsulation of AX.25 traffic over IP. + * ax25mond: retransmits data received from sockets into an AX.25 + monitor socket. diff --git a/ham/ax25-apps/ax25-apps.SlackBuild b/ham/ax25-apps/ax25-apps.SlackBuild new file mode 100644 index 0000000000..6f7ea4f678 --- /dev/null +++ b/ham/ax25-apps/ax25-apps.SlackBuild @@ -0,0 +1,116 @@ +#!/bin/bash + +# Slackware build script for ax25-apps + +# Copyright 2019,2020 Gustavo Conrad, Argentina. +# 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. + +# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2: strip binaries. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=ax25-apps +VERSION=${VERSION:-0.0.8_rc5} +SRCVER=$(echo $VERSION | tr _ -) +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER +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} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +make +make install-strip DESTDIR=$PKG +make installconf DESTDIR=$PKG +gzip $PKG/usr/man/man*/* + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README \ + AUTHORS \ + COPYING \ + ChangeLog \ + NEWS \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mv $PKG/etc/ax25/ax25ipd.conf $PKG/etc/ax25/ax25ipd.conf.new +mv $PKG/etc/ax25/ax25mond.conf $PKG/etc/ax25/ax25mond.conf.new +mv $PKG/etc/ax25/ax25rtd.conf $PKG/etc/ax25/ax25rtd.conf.new + +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 diff --git a/ham/ax25-apps/ax25-apps.info b/ham/ax25-apps/ax25-apps.info new file mode 100644 index 0000000000..12e104dbc3 --- /dev/null +++ b/ham/ax25-apps/ax25-apps.info @@ -0,0 +1,10 @@ +PRGNAM="ax25-apps" +VERSION="0.0.8_rc5" +HOMEPAGE="http://www.linux-ax25.org/wiki/Main_Page" +DOWNLOAD="http://www.linux-ax25.org/pub/ax25-apps/ax25-apps-0.0.8-rc5.tar.gz" +MD5SUM="e9562dceecae1b47f17088746b2a15da" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libax25" +MAINTAINER="Gustavo Conrad" +EMAIL="gus3963@gmail.com" diff --git a/ham/qradiopredict/doinst.sh b/ham/ax25-apps/doinst.sh index de61f92da5..9517f47edd 100644 --- a/ham/qradiopredict/doinst.sh +++ b/ham/ax25-apps/doinst.sh @@ -8,7 +8,9 @@ config() { # toss the redundant copy rm $NEW fi -# Otherwise, we leave the .new copy for the admin to consider... + # Otherwise, we leave the .new copy for the admin to consider... } -config usr/share/qradiopredict/propagation.sqlite.new +config etc/ax25/ax25ipd.conf.new +config etc/ax25/ax25mond.conf.new +config etc/ax25/ax25rtd.conf.new diff --git a/ham/ax25-apps/slack-desc b/ham/ax25-apps/slack-desc new file mode 100644 index 0000000000..f96e865773 --- /dev/null +++ b/ham/ax25-apps/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------------------------------------------------------| +ax25-apps: ax25-apps (AX.25 Packet radio support software) +ax25-apps: +ax25-apps: Layer 2/3 networking implementation for the linux kernel. +ax25-apps: See the AX25 Linux HOWTO for details. +ax25-apps: This package provides specific user applications for hamradio that +ax25-apps: use AX.25 Net/ROM or ROSE network protocols +ax25-apps: +ax25-apps: Homepage: http://www.linux-ax25.org/wiki/Main_Page +ax25-apps: +ax25-apps: +ax25-apps: diff --git a/ham/ax25-tools/README b/ham/ax25-tools/README new file mode 100644 index 0000000000..767ed7063c --- /dev/null +++ b/ham/ax25-tools/README @@ -0,0 +1,11 @@ +ax25-tools AX.25 Packet radio support for linux (additional tools) + +The AX.25 protocol offers both connected and connectionless modes of +operation, and is used either by itself for point-point links, or to +carry other protocols such as TCP/IP and NET/ROM. + +It is similar to X.25 level 2 in structure, with some extensions to +make it more useful in the amateur radio environment. + +These are hamradio specific tools for setting up and configuring +hamradio ports that use AX.25 Net/ROM or ROSE network protocols. diff --git a/ham/ax25-tools/ax25-tools.SlackBuild b/ham/ax25-tools/ax25-tools.SlackBuild new file mode 100644 index 0000000000..0784eea609 --- /dev/null +++ b/ham/ax25-tools/ax25-tools.SlackBuild @@ -0,0 +1,122 @@ +#!/bin/bash + +# Slackware build script for ax25-tools + +# Copyright 2019,2020 Gustavo Conrad, Argentina. +# 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. + +# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2: strip binaries. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=ax25-tools +VERSION=${VERSION:-0.0.10_rc5} +SRCVER=$(echo $VERSION | tr _ -) +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER +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} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +make +make install-strip DESTDIR=$PKG +make installconf DESTDIR=$PKG + +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 \ + README \ + AUTHORS \ + COPYING \ + ChangeLog \ + NEWS \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mv $PKG/etc/ax25/ax25.profile $PKG/etc/ax25/ax25.profile.new +mv $PKG/etc/ax25/rxecho.conf $PKG/etc/ax25/rxecho.conf.new +mv $PKG/etc/ax25/nrbroadcast $PKG/etc/ax25/nrbroadcast.new +mv $PKG/etc/ax25/ttylinkd.conf $PKG/etc/ax25/ttylinkd.conf.new +mv $PKG/etc/ax25/ax25d.conf $PKG/etc/ax25/ax25d.conf.new +mv $PKG/etc/ax25/rip98d.conf $PKG/etc/ax25/rip98d.conf.new +mv $PKG/etc/ax25/axspawn.conf $PKG/etc/ax25/axspawn.conf.new + +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 diff --git a/ham/ax25-tools/ax25-tools.info b/ham/ax25-tools/ax25-tools.info new file mode 100644 index 0000000000..8e7c6ff61f --- /dev/null +++ b/ham/ax25-tools/ax25-tools.info @@ -0,0 +1,10 @@ +PRGNAM="ax25-tools" +VERSION="0.0.10_rc5" +HOMEPAGE="http://www.linux-ax25.org/wiki/Main_Page" +DOWNLOAD="http://www.linux-ax25.org/pub/ax25-tools/ax25-tools-0.0.10-rc5.tar.gz" +MD5SUM="b8cf1495820c445013c3776babcd057d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libax25" +MAINTAINER="Gustavo Conrad" +EMAIL="gus3963@gmail.com" diff --git a/ham/ax25-tools/doinst.sh b/ham/ax25-tools/doinst.sh new file mode 100644 index 0000000000..1d4adb7a35 --- /dev/null +++ b/ham/ax25-tools/doinst.sh @@ -0,0 +1,20 @@ +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/ax25/ax25.profile.new +config etc/ax25/rxecho.conf.new +config etc/ax25/nrbroadcast.new +config etc/ax25/ttylinkd.conf.new +config etc/ax25/ax25d.conf.new +config etc/ax25/rip98d.conf.new +config etc/ax25/axspawn.conf.new diff --git a/ham/ax25-tools/slack-desc b/ham/ax25-tools/slack-desc new file mode 100644 index 0000000000..bc8b6f4842 --- /dev/null +++ b/ham/ax25-tools/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------------------------------------------------------| +ax25-tools: ax25-tools (AX.25 Packet radio supporting tools) +ax25-tools: +ax25-tools: Layer 2/3 networking implementation for the linux kernel. +ax25-tools: See the AX25 Linux HOWTO for details. +ax25-tools: These are hamradio specific tools for setting up and configuring +ax25-tools: hamradio ports that use AX.25 Net/ROM or ROSE network protocols. +ax25-tools: +ax25-tools: +ax25-tools: Homepage: http://www.linux-ax25.org/wiki/Main_Page +ax25-tools: +ax25-tools: diff --git a/ham/baudline/README b/ham/baudline/README index 212092aaea..445165b5bb 100644 --- a/ham/baudline/README +++ b/ham/baudline/README @@ -1,11 +1,12 @@ -Baudline is a time-frequency browser designed for scientific visualization -of the spectral domain. Signal analysis is performed by Fourier, -correlation, and raster transforms that create colorful spectrograms with -vibrant detail. Conduct test and measurement experiments with the built in -function generator, or play back audio files with a multitude of effects and -filters. The baudline signal analyzer combines fast digital signal -processing, versatile high speed displays, and continuous capture tools -for hunting down and studying elusive signal characteristics. +Baudline is a time-frequency browser designed for scientific +visualization of the spectral domain. Signal analysis is performed +by Fourier, correlation, and raster transforms that create colorful +spectrograms with vibrant detail. Conduct test and measurement +experiments with the built in function generator, or play back audio +files with a multitude of effects and filters. The baudline signal +analyzer combines fast digital signal processing, versatile high speed +displays, and continuous capture tools for hunting down and studying +elusive signal characteristics. Baudline is only available in binary format. There is an included baudline_jack client which can make use of the jack audio connection diff --git a/ham/baudline/baudline.SlackBuild b/ham/baudline/baudline.SlackBuild index de6e581cca..d715a5dd2d 100644 --- a/ham/baudline/baudline.SlackBuild +++ b/ham/baudline/baudline.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for baudline # Written by JK Wood <joshuakwood@gmail.com> @@ -20,18 +20,39 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +# 20220301 bkw: Modified by SlackBuilds.org, BUILD=3: +# - actually set ARCH. makepkg was creating a package called +# baudline-1.08--2_SBo.tgz, which is bad, mmm'kay? +# note: .desktop file validates, but with a hint (basically a minor +# warning). not going to mess with it for now. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=baudline VERSION=${VERSION:-1.08} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -case "${ARCH:-$(uname -m)}" in +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +case "$ARCH" in i?86) SRCARCH=i686; ARCHDIR=x86 ;; x86_64) SRCARCH=x86_64; ARCHDIR=x86_64 ;; *) echo "$ARCH is not supported"; exit 1 ;; esac -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -47,9 +68,9 @@ cd ${PRGNAM}_${VERSION}_linux_${ARCHDIR} 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ mkdir -p $PKG/usr/bin install -m 755 baudline $PKG/usr/bin @@ -74,11 +95,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README_unix.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -type f -exec chmod 644 {} \; +find $PKG/usr/doc -type f -exec chmod 644 {} \+ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/chirp/chirp.SlackBuild b/ham/chirp/chirp.SlackBuild index 94aa62435d..d8ee756994 100644 --- a/ham/chirp/chirp.SlackBuild +++ b/ham/chirp/chirp.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for chirp -# Copyright 2014-2020 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2014-2023 Robby Workman, Tuscaloosa, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chirp -VERSION=${VERSION:-20200227} +VERSION=${VERSION:-20221217} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=$PRGNAM-daily +SRCNAM=$PRGNAM-legacy if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -89,4 +99,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/chirp/chirp.info b/ham/chirp/chirp.info index 65b666787e..f8f2ecd570 100644 --- a/ham/chirp/chirp.info +++ b/ham/chirp/chirp.info @@ -1,8 +1,8 @@ PRGNAM="chirp" -VERSION="20200227" +VERSION="20221217" HOMEPAGE="https://chirp.danplanet.com/projects/chirp/wiki/Home" -DOWNLOAD="https://trac.chirp.danplanet.com/chirp_daily/daily-20200227/chirp-daily-20200227.tar.gz" -MD5SUM="9aae573f0d5eee4c26ce928c18570536" +DOWNLOAD="https://trac.chirp.danplanet.com/chirp_daily/LATEST/chirp-legacy-20221217.tar.gz" +MD5SUM="6b0eb0e7094c7ad07c9831cb4d696557" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pyserial" diff --git a/ham/cm256cc/README b/ham/cm256cc/README new file mode 100644 index 0000000000..878b2bb21e --- /dev/null +++ b/ham/cm256cc/README @@ -0,0 +1,10 @@ +Fast GF(256) Cauchy MDS Block Erasure Codec in C++. + +This is the rewrite in (as much as possible) clean C++ of cm256. + +cm256cc is a simple library for erasure codes. From given data it +generates redundant data that can be used to recover the originals. + +Currently only g++ is supported, other versions of MSVC than Visual +Studio 2013 may work. Optimizations for both SSE3 (x86_64) and Neon +(armv7) are available. diff --git a/ham/cm256cc/cm256cc.SlackBuild b/ham/cm256cc/cm256cc.SlackBuild new file mode 100644 index 0000000000..c20e2a7004 --- /dev/null +++ b/ham/cm256cc/cm256cc.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/bash + +# Slackware build script for cm256cc + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=cm256cc +VERSION=${VERSION:-1.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="J" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="J" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="J" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf $PRGNAM-$VERSION +unzip $CWD/$PRGNAM-$VERSION.zip +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DBUILD_TOOLS=OFF \ + -DENABLE_DISTRIBUTION=1 \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/cm256cc/cm256cc.info b/ham/cm256cc/cm256cc.info new file mode 100644 index 0000000000..2ff6b319ad --- /dev/null +++ b/ham/cm256cc/cm256cc.info @@ -0,0 +1,10 @@ +PRGNAM="cm256cc" +VERSION="1.1.0" +HOMEPAGE="https://github.com/f4exb/cm256cc/" +DOWNLOAD="https://github.com/f4exb/cm256cc/archive/v1.1.0/cm256cc-1.1.0.zip" +MD5SUM="0b9b0a5b8eebbee6eb90a31fe96957df" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/cm256cc/slack-desc b/ham/cm256cc/slack-desc new file mode 100644 index 0000000000..26f9469803 --- /dev/null +++ b/ham/cm256cc/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------------------------------------------------------| +cm256cc: cm256cc (Fast GF(256) Cauchy MDS Block Erasure Codec in C++) +cm256cc: +cm256cc: This is the rewrite in clean C++ of cm256. +cm256cc: +cm256cc: +cm256cc: +cm256cc: +cm256cc: +cm256cc: +cm256cc: Homepage: https://github.com/f4exb/cm256cc/ +cm256cc: diff --git a/ham/codec2/codec2.SlackBuild b/ham/codec2/codec2.SlackBuild index 5b8e5ed3d9..5df9d083d1 100644 --- a/ham/codec2/codec2.SlackBuild +++ b/ham/codec2/codec2.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for codec2 -# Copyright 2018, Gustavo Conrad, gus3963 gmail com +# Copyright 2018, 2022, Gustavo Conrad, gus3963 gmail com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=codec2 -VERSION=${VERSION:-0.7} +VERSION=${VERSION:-1.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -60,7 +70,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -88,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING INSTALL README README_fdmdv.txt README_fsk.txt \ + COPYING README*.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -96,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/codec2/codec2.info b/ham/codec2/codec2.info index f33f974482..4dc652738d 100644 --- a/ham/codec2/codec2.info +++ b/ham/codec2/codec2.info @@ -1,8 +1,8 @@ PRGNAM="codec2" -VERSION="0.7" +VERSION="1.0.3" HOMEPAGE="http://rowetel.com/codec2.html" -DOWNLOAD="https://freedv.com/wp-content/uploads/sites/8/2017/10/codec2-0.7.tar.xz" -MD5SUM="b06cfa17bd41a946ea9ff5f180e0feae" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/codec2-1.0.3.tar.gz" +MD5SUM="a20cb37573eb98f8c956212698a49a81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/ham/cqrlog/cqrlog.SlackBuild b/ham/cqrlog/cqrlog.SlackBuild index c0081e6cd8..49e1750dde 100644 --- a/ham/cqrlog/cqrlog.SlackBuild +++ b/ham/cqrlog/cqrlog.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for cqrlog @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cqrlog -VERSION=${VERSION:-2.4.0} +VERSION=${VERSION:-2.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -98,4 +108,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/cqrlog/cqrlog.info b/ham/cqrlog/cqrlog.info index ad84a667fb..379cf9c6e5 100644 --- a/ham/cqrlog/cqrlog.info +++ b/ham/cqrlog/cqrlog.info @@ -1,8 +1,8 @@ PRGNAM="cqrlog" -VERSION="2.4.0" +VERSION="2.5.2" HOMEPAGE="https://www.cqrlog.com" -DOWNLOAD="https://github.com/ok2cqr/cqrlog/archive/v2.4.0/cqrlog-2.4.0.tar.gz" -MD5SUM="3be6e7c0dfc2595e33680f68627449fe" +DOWNLOAD="https://github.com/ok2cqr/cqrlog/archive/v2.5.2/cqrlog-2.5.2.tar.gz" +MD5SUM="69741e8d691c622e1be281db1c9d2bba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lazarus tqsl xplanet hamlib" diff --git a/ham/csdr/README b/ham/csdr/README index 1849e4b3b7..2eee461faa 100644 --- a/ham/csdr/README +++ b/ham/csdr/README @@ -1,3 +1,5 @@ -csdr is a command line tool to carry out DSP tasks for Software Defined Radio. +csdr is a command line tool to carry out DSP tasks for Software +Defined Radio. -It can be used to build simple signal processing flow graphs, right from the command line. +It can be used to build simple signal processing flow graphs, right +from the command line. diff --git a/ham/csdr/csdr.SlackBuild b/ham/csdr/csdr.SlackBuild index 176592ca78..4b029f27cc 100644 --- a/ham/csdr/csdr.SlackBuild +++ b/ham/csdr/csdr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for csdr @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=csdr VERSION=${VERSION:-0.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -80,4 +90,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/cwdaemon/README b/ham/cwdaemon/README index 87bae615fa..97a332d2d4 100644 --- a/ham/cwdaemon/README +++ b/ham/cwdaemon/README @@ -1,4 +1,5 @@ -cwdaemon is a small daemon which uses the pc parallel or serial port -and a simple transistor switch to output morse code to a transmitter -from a text message sent to it via udp port 6789. The program also -uses the soundcard or PC speaker (console buzzer) to generate a sidetone. +cwdaemon is a small daemon which uses the pc parallel or serial port +and a simple transistor switch to output morse code to a transmitter +from a text message sent to it via udp port 6789. The program also +uses the soundcard or PC speaker (console buzzer) to generate a +sidetone. diff --git a/ham/cwdaemon/cwdaemon.SlackBuild b/ham/cwdaemon/cwdaemon.SlackBuild index 2e6a1066d5..2049c42ccf 100644 --- a/ham/cwdaemon/cwdaemon.SlackBuild +++ b/ham/cwdaemon/cwdaemon.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for cwdaemon # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cwdaemon VERSION=${VERSION:-0.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -96,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/cwstation/cwstation.SlackBuild b/ham/cwstation/cwstation.SlackBuild index 4cac1b33af..7bf14995d7 100644 --- a/ham/cwstation/cwstation.SlackBuild +++ b/ham/cwstation/cwstation.SlackBuild @@ -1,29 +1,39 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for cwstation # Written by G. Schoenmakers <gschoen@iinet.net.au> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cwstation VERSION=${VERSION:-0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -36,7 +46,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -52,25 +62,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Replace links to /usr/share/automake-1.8 -rm COPYING -rm INSTALL -rm depcomp -rm install-sh -rm missing -AUTOMAKE=/usr/share/automake-1.15 -ln -s $AUTOMAKE/COPYING COPYING -ln -s $AUTOMAKE/INSTALL INSTALL -ln -s $AUTOMAKE/depcomp depcomp -ln -s $AUTOMAKE/install-sh install-sh -ln -s $AUTOMAKE/missing missing - -# The Makefile expects "mkinstalldirs" to be in the application source directory -# A simple link to /bin/mkdir suffices. -ln -s /bin/mkdir mkinstalldirs - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# shorter autogen +NOCONFIGURE=1 \ +./autogen.sh + +CFLAGS="$SLKCFLAGS -lm" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -78,9 +74,12 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --build=$ARCH-slackware-linux -make LDFLAGS="-lm" +make make install DESTDIR=$PKG +# cleanup empty directory +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 @@ -92,4 +91,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/dab_lib/README b/ham/dab_lib/README new file mode 100644 index 0000000000..7df466b775 --- /dev/null +++ b/ham/dab_lib/README @@ -0,0 +1,4 @@ +The DAB library provides entries for the functionality to handle +DAB/DAB+ through some simple calls. A few callback functions provide +the communication back from the library to the caller. The library +interface is given in dab-api.h diff --git a/ham/dab_lib/dab_lib.SlackBuild b/ham/dab_lib/dab_lib.SlackBuild new file mode 100644 index 0000000000..3d5fc871b4 --- /dev/null +++ b/ham/dab_lib/dab_lib.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for aptdec + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=dab_lib +VERSION=${VERSION:-20231211.815d83fc} +SRCVERSION=${SRCVERSION:-815d83fcd1b2ffa1289501943c913cc86d6b567b} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 dab-cmdline-$SRCVERSION# +unzip $CWD/dab-cmdline-$SRCVERSION.zip +cd dab-cmdline-$SRCVERSION/library + +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make install/strip DESTDIR=$PKG +cd ../.. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md AUTHORS \ + $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/README.md +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 diff --git a/ham/dab_lib/dab_lib.info b/ham/dab_lib/dab_lib.info new file mode 100644 index 0000000000..5b501d25d7 --- /dev/null +++ b/ham/dab_lib/dab_lib.info @@ -0,0 +1,10 @@ +PRGNAM="dab_lib" +VERSION="20231211.815d83fc" +HOMEPAGE="https://github.com/JvanKatwijk/dab-cmdline/" +DOWNLOAD="https://github.com/JvanKatwijk/dab-cmdline/archive/815d83fc/dab-cmdline-815d83fcd1b2ffa1289501943c913cc86d6b567b.zip" +MD5SUM="15457cfebfeda63a0619bf6ea170eb8f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="faad2" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/dab_lib/slack-desc b/ham/dab_lib/slack-desc new file mode 100644 index 0000000000..64791df1db --- /dev/null +++ b/ham/dab_lib/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------------------------------------------------------| +dab_lib: dab_lib (DAB decoding library) +dab_lib: +dab_lib: The DAB library provides entries for the functionality to handle +dab_lib: DAB/DAB+ +dab_lib: +dab_lib: +dab_lib: +dab_lib: +dab_lib: +dab_lib: Homepage: https://github.com/JvanKatwijk/dab-cmdline/ +dab_lib: diff --git a/ham/demorse/demorse.SlackBuild b/ham/demorse/demorse.SlackBuild index 82b6c12e49..73ff1605e9 100644 --- a/ham/demorse/demorse.SlackBuild +++ b/ham/demorse/demorse.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for demorse # Written by JK Wood joshuakwood@gmail.com @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=demorse VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -93,4 +103,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/direwolf/direwolf.SlackBuild b/ham/direwolf/direwolf.SlackBuild index e9f0bbe1ae..883b735fb0 100644 --- a/ham/direwolf/direwolf.SlackBuild +++ b/ham/direwolf/direwolf.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for direwolf # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=direwolf VERSION=${VERSION:-1.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -58,7 +68,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION-src.zip -d $TMP +unzip $CWD/$PRGNAM-$VERSION.zip -d $TMP cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -86,6 +96,9 @@ cp -a $PKG/usr/share/direwolf/pixmaps/dw-icon.png $PKG/usr/share/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 +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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -name "Makefile" -exec rm {} \; @@ -96,4 +109,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/direwolf/direwolf.info b/ham/direwolf/direwolf.info index 532b543811..8f14ff6a16 100644 --- a/ham/direwolf/direwolf.info +++ b/ham/direwolf/direwolf.info @@ -1,7 +1,7 @@ PRGNAM="direwolf" VERSION="1.5" HOMEPAGE="https://github.com/wb2osz/direwolf" -DOWNLOAD="https://github.com/wb2osz/direwolf/archive/1.5/direwolf-1.5-src.zip" +DOWNLOAD="https://github.com/wb2osz/direwolf/archive/1.5/direwolf-1.5.zip" MD5SUM="14572b9179a171e33c1e6f28ef5e8333" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/ham/dsdcc/README b/ham/dsdcc/README new file mode 100644 index 0000000000..3b0218b31f --- /dev/null +++ b/ham/dsdcc/README @@ -0,0 +1,26 @@ +Digital Speech Decoder (DSD) rewritten as a C++ library: + +- A purely C++ library with a single decoder object at its central + point +- Works by pushing new samples to the decoder at the upper level rather + than pulling it from the underlying filesystem at the lowest level. + This facilitates integration with software using it as a true library. + This comes especially handy for projects in Qt that cannot afford + using pthreads on their own like gr-dsd does. In fact the main drive + for this is to integrate it in a plugin of SDRangel. +- Works by polling to get possible new MBE or audio samples after new + samples have been pushed to the decoder +- Option to output audio samples as L+R (stereo) samples with L=R as + this may facilitate integration +- A binary that uses this library is provided for integration with + other commands that run in a shell. So basically it works only with + input / output files possibly being stdin / stdout to be integrated + in a pipe command. There is no direct usage of audio devices nor + fancy side reading from or writing to .wav or .mbe files. +- mbelib usage is optional at compile time. Without mbelib only the raw + MBE samples can be extracted to be processed outside of DSDcc with + the help of a hardware dongle for example thus lifting the POSSIBLE + COPYRIGHT VIOLATIONS + +For enabling MBE set the environment variable MBE=yes, this require +mbelib installed in your system. diff --git a/ham/dsdcc/dsdcc.SlackBuild b/ham/dsdcc/dsdcc.SlackBuild new file mode 100644 index 0000000000..157384df4d --- /dev/null +++ b/ham/dsdcc/dsdcc.SlackBuild @@ -0,0 +1,116 @@ +#!/bin/bash + +# Slackware build script for dsdcc + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=dsdcc +VERSION=${VERSION:-1.9.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 +unzip $CWD/$PRGNAM-$VERSION.zip +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 {} \; + +[ "${MBE:-no}" == "yes" ] && OPT_BUILD="-DUSE_MBELIB=ON" + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lserialdv" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lserialdv" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DLIBSERIALDV_INCLUDE_DIR=/usr/include/serialdv \ + -DLIBSERIALDV_LIBRARY=/usr/lib$LIBDIRSUFFIX \ + $OPT_BUILD \ + -DCMAKE_BUILD_TYPE=Release .. + make $NUMJOBS + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Readme.md messagefile.md 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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/dsdcc/dsdcc.info b/ham/dsdcc/dsdcc.info new file mode 100644 index 0000000000..2e491540ad --- /dev/null +++ b/ham/dsdcc/dsdcc.info @@ -0,0 +1,10 @@ +PRGNAM="dsdcc" +VERSION="1.9.5" +HOMEPAGE="https://github.com/f4exb/dsdcc/" +DOWNLOAD="https://github.com/f4exb/dsdcc/archive/v1.9.5/dsdcc-1.9.5.zip" +MD5SUM="eda48bb29bddffec3338300159952f68" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="mbelib serialDV" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/dsdcc/slack-desc b/ham/dsdcc/slack-desc new file mode 100644 index 0000000000..555b0b1152 --- /dev/null +++ b/ham/dsdcc/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------------------------------------------------------| +dsdcc: dsdcc (Digital Speech Decoder (DSD) C++ library ) +dsdcc: +dsdcc: For now we have: +dsdcc: - DMR/MOTOTRBO: ETSI two slot TDMA standard. +dsdcc: - D-Star: by Icom for Amateur Radio customers. +dsdcc: - dPMR: ETSI narrowband FDMA standard (similar to NXDN 2400). +dsdcc: - Yaesu System Fusion (YSF): by Yaesu for Amateur Radio customers. +dsdcc: +dsdcc: +dsdcc: Homepage: https://github.com/f4exb/dsdcc/ +dsdcc: diff --git a/ham/dxcc/dxcc.SlackBuild b/ham/dxcc/dxcc.SlackBuild index e5e76a8e2b..40876f37c9 100644 --- a/ham/dxcc/dxcc.SlackBuild +++ b/ham/dxcc/dxcc.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for dxcc # Written by JK Wood <joshuakwood@gmail.com> @@ -20,14 +20,24 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dxcc VERSION=${VERSION:-20191204} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} # This is a Perl script, architecture agnostic ARCH=noarch -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -68,4 +78,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/ebook2cw/README b/ham/ebook2cw/README index 8b890d288c..c80fe7ba22 100644 --- a/ham/ebook2cw/README +++ b/ham/ebook2cw/README @@ -5,5 +5,5 @@ on several platforms, including Windows, Linux, FreeBSD and Mac OS X. It allows heavy configuration of the output files, including CW speed, Farnsworth spacing, tone frequency, signal-to-noise ratio, waveform, -length of file before splitting, and other parameters. It currently backs -LCWO.net and can be compiled to use as a CGI. +length of file before splitting, and other parameters. It currently +backs LCWO.net and can be compiled to use as a CGI. diff --git a/ham/ebook2cw/ebook2cw.SlackBuild b/ham/ebook2cw/ebook2cw.SlackBuild index ec8d66fcf4..b3fea0984d 100644 --- a/ham/ebook2cw/ebook2cw.SlackBuild +++ b/ham/ebook2cw/ebook2cw.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for ebook2cw # Written by JK Wood joshuakwood@gmail.com @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ebook2cw VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -92,4 +102,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/ebook2cw/ebook2cw.info b/ham/ebook2cw/ebook2cw.info index fd4728c5dc..ae2b844240 100644 --- a/ham/ebook2cw/ebook2cw.info +++ b/ham/ebook2cw/ebook2cw.info @@ -5,6 +5,6 @@ DOWNLOAD="http://fkurz.net/ham/ebook2cw/ebook2cw-0.8.2.tar.gz" MD5SUM="2069b3a4a2b21810bbf32532e2287f7d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="lame" +REQUIRES="" MAINTAINER="JK Wood" EMAIL="joshuakwood@gmail.com" diff --git a/ham/ebook2cwgui/ebook2cwgui.SlackBuild b/ham/ebook2cwgui/ebook2cwgui.SlackBuild index c697333ffe..116aec6698 100644 --- a/ham/ebook2cwgui/ebook2cwgui.SlackBuild +++ b/ham/ebook2cwgui/ebook2cwgui.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for ebook2cwgui # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ebook2cwgui VERSION=${VERSION:-0.1.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -98,4 +108,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/fldigi/fldigi.SlackBuild b/ham/fldigi/fldigi.SlackBuild index b45d7c3250..7159e78f03 100644 --- a/ham/fldigi/fldigi.SlackBuild +++ b/ham/fldigi/fldigi.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for fldigi # Written by JK Wood joshuakwood@gmail.com @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fldigi -VERSION=${VERSION:-4.0.12} +VERSION=${VERSION:-4.1.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -68,7 +78,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++14 -fpermissive" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -98,4 +108,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/fldigi/fldigi.info b/ham/fldigi/fldigi.info index 59e1239710..93be764d6b 100644 --- a/ham/fldigi/fldigi.info +++ b/ham/fldigi/fldigi.info @@ -1,10 +1,10 @@ PRGNAM="fldigi" -VERSION="4.0.12" +VERSION="4.1.20" HOMEPAGE="http://www.w1hkj.com/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/fldigi-4.0.12.tar.gz" -MD5SUM="c343b7f87315dd08ee4cdcd5e9c6938c" +DOWNLOAD="http://www.w1hkj.com/files/fldigi/fldigi-4.1.20.tar.gz" +MD5SUM="b7c93a9477dbd35526506bd2541578fe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="portaudio fltk" +REQUIRES="fltk portaudio" MAINTAINER="JK Wood" EMAIL="joshuakwood@gmail.com" diff --git a/ham/flmsg/README b/ham/flmsg/README new file mode 100644 index 0000000000..8a02bb54bd --- /dev/null +++ b/ham/flmsg/README @@ -0,0 +1,10 @@ +FLMSG - Amateur radio messaging tool + +FLMSG is a simple forms management editor for the amateur radio +supported standard message formats. Form data can be transferred between +computers either using standard internet email or via radio frequency +broadcasts typically made by an amateur radio operator on your behalf. +flmsg forms can be very complex and include embedded images and other +controls that make data entry less prone to error. + +FLMSG sits on top of FLDIGI, which does the real signal processing. diff --git a/ham/linlogbook/doinst.sh b/ham/flmsg/doinst.sh index 5fb28930db..5fb28930db 100644 --- a/ham/linlogbook/doinst.sh +++ b/ham/flmsg/doinst.sh diff --git a/ham/flmsg/flmsg.SlackBuild b/ham/flmsg/flmsg.SlackBuild new file mode 100644 index 0000000000..c120a9e3ac --- /dev/null +++ b/ham/flmsg/flmsg.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/bash +# Slackbuild for flmsg +# +# Based on work done by JK Wood joshuakwood@gmail.com +# on fldigi slackbuild +# +# Copyright Gustavo Conrad - LU7WA (gus3963 gmail) +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=flmsg +VERSION=${VERSION:-4.0.19} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 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 \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux \ + --without-asciidoc + +make +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 + +#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 AUTHORS COPYING ChangeLog INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -name "Makefile" -exec rm {} \; +find $PKG/usr/doc -type f -exec chmod 644 {} \; + +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 diff --git a/ham/flmsg/flmsg.info b/ham/flmsg/flmsg.info new file mode 100644 index 0000000000..782b690a43 --- /dev/null +++ b/ham/flmsg/flmsg.info @@ -0,0 +1,10 @@ +PRGNAM="flmsg" +VERSION="4.0.19" +HOMEPAGE="http://www.w1hkj.com/" +DOWNLOAD="http://www.w1hkj.com/files/flmsg/flmsg-4.0.19.tar.gz" +MD5SUM="4f2c10ea1f4d69ee09c1667cd015ad59" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="fldigi" +MAINTAINER="Gustavo Conrad" +EMAIL="gus3963@gmail.com" diff --git a/ham/flmsg/slack-desc b/ham/flmsg/slack-desc new file mode 100644 index 0000000000..dc10dbc90c --- /dev/null +++ b/ham/flmsg/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------------------------------------------------------| +flmsg: flmsg (Amateur radio messaging tool) +flmsg: +flmsg: flmsg FLMSG is a simple forms management editor for the amateur radio +flmsg: supported standard message formats. +flmsg: Form data can be transferred between computers either using standard +flmsg: internet email or via radio frequency broadcasts typically made by an +flmsg: amateur radio operaton on your behalf. +flmsg: flmsg forms can be very complex and include embedded images and other +flmsg: controls. that make data entry less prone to error. +flmsg: FLMSG sits on top of FLDIGI which does the real signal processing. +flmsg: Webpage http://w1hkj.com diff --git a/ham/flrig/README b/ham/flrig/README index 2d1e5d3f4e..71494d54cb 100644 --- a/ham/flrig/README +++ b/ham/flrig/README @@ -1,5 +1,6 @@ -Flrig is a transceiver control program for Amateur Radio use. It does -not use any 3rd party transceiver control libraries. It is a c++ pro- -gram that encapsulates each transceiver in it's own class. Where ever -possible the transceiver class(s) use polymorphism to reuse code that -is portable across a series of transceivers. +FLRIG is a transceiver control program for Amateur Radio use. +It is designed to be used either stand alone or as an adjunct to FLDIGI. +It does not use any 3rd party transceiver control libraries. +The supported transceivers all have some degree of CAT. The FLRIG user +nterface changes to accommodate the degree of CAT support available for +the transceiver in use. diff --git a/ham/flrig/flrig.SlackBuild b/ham/flrig/flrig.SlackBuild index 6dfb2a1d8c..53e838bbdf 100644 --- a/ham/flrig/flrig.SlackBuild +++ b/ham/flrig/flrig.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for flrig # From slackbuild for fldigi Written by JK Wood joshuakwood@gmail.com # Modified for flrig by Gustavo Conrad gus3963@gmail.com -# Copyright 2017, Gustavo Conrad. +# Copyright 2017, 2020 Gustavo Conrad. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -42,10 +42,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=flrig -VERSION=${VERSION:-1.3.36} +VERSION=${VERSION:-1.4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -55,7 +58,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -107,7 +117,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -name "Makefile" -exec rm {} \; find $PKG/usr/doc -type f -exec chmod 644 {} \; @@ -117,4 +127,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/flrig/flrig.info b/ham/flrig/flrig.info index 230c07c984..323b77a34f 100644 --- a/ham/flrig/flrig.info +++ b/ham/flrig/flrig.info @@ -1,8 +1,8 @@ PRGNAM="flrig" -VERSION="1.3.36" +VERSION="1.4.5" HOMEPAGE="http://www.w1hkj.com/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/flrig-1.3.36.tar.gz" -MD5SUM="a80358fe9ccf00de612fe82c965db0aa" +DOWNLOAD="http://www.w1hkj.com/files/flrig/flrig-1.4.5.tar.gz" +MD5SUM="598f41990457ba390e998b188e570388" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="fltk" diff --git a/ham/flrig/slack-desc b/ham/flrig/slack-desc index 3b62f7891f..dc4b2ac71c 100644 --- a/ham/flrig/slack-desc +++ b/ham/flrig/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| flrig: flrig (Amateur Radio transceiver control program) flrig: -flrig: Flrig is a transceiver control program for Amateur Radio use. -flrig: It does not use any 3rd party transceiver control libraries. It is a -flrig: c++ program that encapsulates each transceiver in it's own class. -flrig: Where ever possible the transceiver class(s) use polymorphism to -flrig: reuse code that is portable across a series of transceivers. -flrig: This program can cooperate with fldigi. +flrig: FLRIG is a transceiver control program for Amateur Radio use. +flrig: It is designed to be used either stand alone or as an adjunct +flrig: to FLDIGI. +flrig: It does not use any 3rd party transceiver control libraries. +flrig: The supported transceivers all have some degree of CAT. The +flrig: FLRIG user interface changes to accommodate the degree of CAT +flrig: support available for the transceiver in use. flrig: flrig: Homepage: http://www.w1hkj.com/ -flrig: diff --git a/ham/freedv/freedv.SlackBuild b/ham/freedv/freedv.SlackBuild index 74fd22d757..fa9c6afa94 100644 --- a/ham/freedv/freedv.SlackBuild +++ b/ham/freedv/freedv.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for freedv @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freedv VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -96,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/freedv/freedv.info b/ham/freedv/freedv.info index 9944cca959..73dc5c8ab6 100644 --- a/ham/freedv/freedv.info +++ b/ham/freedv/freedv.info @@ -5,6 +5,6 @@ DOWNLOAD="https://freedv.com/wp-content/uploads/sites/8/2017/10/freedv-1.2.2.tar MD5SUM="b4c6f57ee65dcc6b94e48f9b1105fa5e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="portaudio wxGTK3 codec2 hamlib speex" +REQUIRES="portaudio wxGTK3 codec2 hamlib" MAINTAINER="Gustavo Conrad" EMAIL="gus3963@gmail.com" diff --git a/ham/glrpt/README b/ham/glrpt/README new file mode 100644 index 0000000000..be5402fa25 --- /dev/null +++ b/ham/glrpt/README @@ -0,0 +1,11 @@ +glrpt can decode images in real time as they are received from the +satellite and display them incrementally as they form, +slow-scan TV fashion. +The images displayed in the glrpt window are scaled down by a factor +specified in the ~/glrpt/glrptrc configuration file. +The APID channel images stored in ~/glrpt/images/ are full sized and +are saved either in the PGM (Portable Grey Map) format or JPEG format. +A new JPEG compression code in glrpt allows both monochrome and color +images to be saved as good quality jpeg files. +Please note that the images/ directory can be a relative link to some +other directory of user's choice. diff --git a/ham/glrpt/doinst.sh b/ham/glrpt/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/ham/glrpt/doinst.sh @@ -0,0 +1,3 @@ +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/ham/glrpt/glrpt.SlackBuild b/ham/glrpt/glrpt.SlackBuild new file mode 100644 index 0000000000..49ffabf3d3 --- /dev/null +++ b/ham/glrpt/glrpt.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/bash + +# Slackware build script for glrpt + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=glrpt +VERSION=${VERSION:-2.6.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS LICENSE README.md TODO \ + $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 diff --git a/ham/glrpt/glrpt.info b/ham/glrpt/glrpt.info new file mode 100644 index 0000000000..40af7a91ec --- /dev/null +++ b/ham/glrpt/glrpt.info @@ -0,0 +1,10 @@ +PRGNAM="glrpt" +VERSION="2.6.1" +HOMEPAGE="https://github.com/dvdesolve/glrpt" +DOWNLOAD="https://github.com/dvdesolve/glrpt/archive/v2.6.1/glrpt-2.6.1.tar.gz" +MD5SUM="927acabd14d2733e9898d556fb7f3b4f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libconfig SoapySDR" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/glrpt/slack-desc b/ham/glrpt/slack-desc new file mode 100644 index 0000000000..3ec9c0bd0d --- /dev/null +++ b/ham/glrpt/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------------------------------------------------------| +glrpt: glrpt (GTK+ weather satellite LRPT image decoder) +glrpt: +glrpt: glrpt is an interactive X/GTK+-3 GUI integrated application for +glrpt: Receiving, Decoding and Displaying LRPT Images from the Russian +glrpt: Meteor-M type of Weather Satellites. +glrpt: +glrpt: +glrpt: +glrpt: +glrpt: Homepage: https://www.qsl.net/5b4az/ +glrpt: diff --git a/ham/gqrx-sdr/README b/ham/gqrx-sdr/README index 20c5887c81..47cc13836f 100644 --- a/ham/gqrx-sdr/README +++ b/ham/gqrx-sdr/README @@ -7,7 +7,8 @@ Gqrx has the following features: Discover devices attached to the computer. Process I/Q data from the supported devices. -Change frequency, gain and apply various corrections (frequency, I/Q balance). +Change frequency, gain and apply various corrections (frequency, I/Q +balance). AM, SSB, FM-N and FM-W (mono and stereo) demodulators. Special FM mode for NOAA APT. Variable band pass filter. diff --git a/ham/gqrx-sdr/gqrx-sdr.SlackBuild b/ham/gqrx-sdr/gqrx-sdr.SlackBuild index 52f3af0d35..ee8b653b36 100644 --- a/ham/gqrx-sdr/gqrx-sdr.SlackBuild +++ b/ham/gqrx-sdr/gqrx-sdr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gqrx @@ -22,10 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gqrx-sdr -VERSION=${VERSION:-2.11.5} +SRCNAM=gqrx +VERSION=${VERSION:-2.15.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -59,9 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz -cd $PRGNAM-$VERSION +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 \ @@ -87,7 +98,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/share/{applications,pixmaps} mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps -install -m644 gqrx.desktop $PKG/usr/share/applications/gqrx.desktop install -m644 resources/icons/gqrx.svg $PKG/usr/share/pixmaps/gqrx.png install -m644 resources/icons/gqrx.svg \ ${PKG}/usr/share/icons/hicolor/64x64/apps/gqrx.png @@ -107,4 +117,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/gqrx-sdr/gqrx-sdr.info b/ham/gqrx-sdr/gqrx-sdr.info index 36111be22f..1ae7581ca9 100644 --- a/ham/gqrx-sdr/gqrx-sdr.info +++ b/ham/gqrx-sdr/gqrx-sdr.info @@ -1,10 +1,10 @@ PRGNAM="gqrx-sdr" -VERSION="2.11.5" +VERSION="2.15.8" HOMEPAGE="http://gqrx.dk" -DOWNLOAD="https://github.com/csete/gqrx/releases/download/v2.11.5/gqrx-sdr-2.11.5-src.tar.xz" -MD5SUM="fed4994d5c04daf70cb19e2393da7a04" +DOWNLOAD="https://github.com/gqrx-sdr/gqrx/archive/v2.15.8/gqrx-2.15.8.tar.gz" +MD5SUM="4b28d6546f8ad5f3a13e3e59d937662d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gr-osmosdr qt5" +REQUIRES="gr-osmosdr" MAINTAINER="Panagiotis Nikolaou" EMAIL="hostmaster@slackonly.com" diff --git a/ham/gridloc/gridloc.SlackBuild b/ham/gridloc/gridloc.SlackBuild index cc1e116d01..aa8cb175fd 100644 --- a/ham/gridloc/gridloc.SlackBuild +++ b/ham/gridloc/gridloc.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for gridloc # Written by JK Wood joshuakwood@gmail.com @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gridloc VERSION=${VERSION:-0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -87,4 +97,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/gridtracker/README b/ham/gridtracker/README new file mode 100644 index 0000000000..b7d9275b50 --- /dev/null +++ b/ham/gridtracker/README @@ -0,0 +1,10 @@ +GridTracker An Amateur Radio Companion + +GridTracker is a warehouse of amateur radio information presented in an +easy to use interface, from live traffic decodes, logbooks, real-time +spot reports, weather, current solar conditions and more! + +Homepage: http://gridtracker.org/ + + + diff --git a/ham/gridtracker/doinst.sh b/ham/gridtracker/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/ham/gridtracker/doinst.sh @@ -0,0 +1,3 @@ +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/ham/gridtracker/gridtracker.SlackBuild b/ham/gridtracker/gridtracker.SlackBuild new file mode 100644 index 0000000000..f5c7bcb61b --- /dev/null +++ b/ham/gridtracker/gridtracker.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/bash +# Slackbuild for gridtracker +# Brian Cox <hamslackbuild@comcast.net> + +# Copyright 2023 +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=gridtracker +VERSION=${VERSION:-1.24.0104} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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-v$VERSION +tar -xvf $CWD/$PRGNAM-v$VERSION.tar.gz +cd $PRGNAM-v$VERSION +rm -rf arch-linux/ arm/ debian/ docker/ macos/ windows/ + +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 {} \; + +make +make install \ + DESTDIR=$PKG \ + DOC=$PKG/usr/doc/$PRGNAM-$VERSION \ + MAN=$PKG/usr/man/man1 \ + NO_DIST_INSTALL=true + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE \ + NWJS-LICENSE \ + README.md \ + SMOKETEST.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG/usr/doc -name "Makefile" -exec rm {} \; +find $PKG/usr/doc -type f -exec chmod 644 {} \; + +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 diff --git a/ham/gridtracker/gridtracker.info b/ham/gridtracker/gridtracker.info new file mode 100644 index 0000000000..779a75adb0 --- /dev/null +++ b/ham/gridtracker/gridtracker.info @@ -0,0 +1,10 @@ +PRGNAM="gridtracker" +VERSION="1.24.0104" +HOMEPAGE="https://gridtracker.org" +DOWNLOAD="https://gitlab.com/gridtracker.org/gridtracker/-/archive/v1.24.0104/gridtracker-v1.24.0104.tar.gz" +MD5SUM="f82c6f5e8a166edf3661d9874ca01159" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="nwjs" +MAINTAINER="Brian Cox" +EMAIL="hamslackbuild@comcast.net" diff --git a/ham/gridtracker/slack-desc b/ham/gridtracker/slack-desc new file mode 100644 index 0000000000..3fc9aae30f --- /dev/null +++ b/ham/gridtracker/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------------------------------------------------------| +gridtracker: gridtracker (An Amateur Radio Companion) +gridtracker: +gridtracker: GridTracker is a warehouse of amateur radio information presented in +gridtracker: an easy to use interface, from live traffic decodes, logbooks, +gridtracker: real-time spot reports, weather, current solar conditions and more! +gridtracker: +gridtracker: +gridtracker: Homepage: http://gridtracker.org/ +gridtracker: +gridtracker: +gridtracker: diff --git a/ham/grig/README b/ham/grig/README index 2958df9a10..b2a8b76b80 100644 --- a/ham/grig/README +++ b/ham/grig/README @@ -1,9 +1,10 @@ -Grig is a simple Ham Radio control (CAT) program based on the Ham -Radio Control Libraries (Hamlib). It is intended to be highly -generic presenting the user to the same graphical user interface -regardless of which radio is being controlled. +Grig is a simple Ham Radio control (CAT) program based on the Ham +Radio Control Libraries (Hamlib). It is intended to be highly generic +presenting the user to the same graphical user interface regardless of +which radio is being controlled. -Grig supports the most commonly used CAT commands that are implemented -by Hamlib, and integrates well with other ham radio programs like Xlog -and gMFSK. Thanks to Hamlib, grig works with most CAT-capable amateur -radios. You can check out the Supported Radios page at the Hamlib website. +Grig supports the most commonly used CAT commands that are implemented +by Hamlib, and integrates well with other ham radio programs like Xlog +and gMFSK. Thanks to Hamlib, grig works with most CAT-capable amateur +radios. You can check out the Supported Radios page at the Hamlib +website. diff --git a/ham/grig/grig.SlackBuild b/ham/grig/grig.SlackBuild index 03df4aeaf4..25c4c7cda5 100644 --- a/ham/grig/grig.SlackBuild +++ b/ham/grig/grig.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for grig # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=grig VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -102,4 +112,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/gsmlib/README b/ham/gsmlib/README index 10135855a8..28afbb5010 100644 --- a/ham/gsmlib/README +++ b/ham/gsmlib/README @@ -1,9 +1,10 @@ This distribution contains a library to access GSM mobile phones through GSM modems or IrDA devices. Features include: - * modification of phonebooks stored in the mobile phone or on the SIM card + * modification of phonebooks stored in the mobile phone or on the SIM + card * reading and writing of SMS messages stored in the mobile phone * sending and reception of SMS messages -Additionally, some simple command line programs are provided to use these -functionalities. +Additionally, some simple command line programs are provided to use +these functionalities. diff --git a/ham/gsmlib/gsmlib.SlackBuild b/ham/gsmlib/gsmlib.SlackBuild index 226aba75cd..b6b7cbe956 100644 --- a/ham/gsmlib/gsmlib.SlackBuild +++ b/ham/gsmlib/gsmlib.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gsmlib @@ -22,26 +22,36 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gsmlib VERSION=${VERSION:-20140304} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -69,8 +79,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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# less noisy +CXXFLAGS="$SLKCFLAGS -std=c++14 -Wno-deprecated" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -96,8 +106,10 @@ cp -a ChangeLog NEWS README TODO contrib doc/{FAQ,README.*} ext/README.* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/hackrf/README b/ham/hackrf/README new file mode 100644 index 0000000000..6f721559b1 --- /dev/null +++ b/ham/hackrf/README @@ -0,0 +1,9 @@ +This is the host software for hackrf, a project to produce +a low cost, open source software radio platform. + +Below are some paramaters that can be passed to the slackbuild +to turn on some optional components. + +RULES=yes|no (Default is no) In order to be able to use the +dongle as a non-root user, you may install the appropriate +udev rules diff --git a/ham/hackrf/hackrf.SlackBuild b/ham/hackrf/hackrf.SlackBuild new file mode 100644 index 0000000000..bca827f652 --- /dev/null +++ b/ham/hackrf/hackrf.SlackBuild @@ -0,0 +1,116 @@ +#!/bin/bash + +# Slackware build script for hackrf + +# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA +# Copyright 2023 pyllyukko +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=hackrf +VERSION=${VERSION:-2024.02.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 + +# Use the dongle as a non-root user. +if [ "${RULES:-no}" == "yes" ]; then + OPT1="$OPT -DINSTALL_UDEV_RULES=ON" +fi + +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +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 {} \; + +cd host +sed -i "s|lib/pkgconfig|lib${LIBDIRSUFFIX}/pkgconfig|" libhackrf/CMakeLists.txt +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + $OPT1 \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_SUFFIX=$LIBDIRSUFFIX .. + make +make install DESTDIR=$PKG +cd ../.. + +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/doc/$PRGNAM-$VERSION +cp -a CODE_OF_CONDUCT.md RELEASENOTES Readme.md COPYING $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 diff --git a/ham/hackrf/hackrf.info b/ham/hackrf/hackrf.info new file mode 100644 index 0000000000..cc8a2669b8 --- /dev/null +++ b/ham/hackrf/hackrf.info @@ -0,0 +1,10 @@ +PRGNAM="hackrf" +VERSION="2024.02.1" +HOMEPAGE="https://github.com/mossmann/hackrf" +DOWNLOAD="https://github.com/greatscottgadgets/hackrf/releases/download/v2024.02.1/hackrf-2024.02.1.tar.xz" +MD5SUM="79dff36a1e93187382dac3be3e0c1b3b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/ham/hackrf/slack-desc b/ham/hackrf/slack-desc new file mode 100644 index 0000000000..b34786fed0 --- /dev/null +++ b/ham/hackrf/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------------------------------------------------------| +hackrf: hackrf (radio platform) +hackrf: +hackrf: HackRF, a project to produce a low cost, open source software +hackrf: radio platform. +hackrf: +hackrf: homepage: https://github.com/mossmann/hackrf +hackrf: +hackrf: +hackrf: +hackrf: +hackrf: diff --git a/ham/hamlib/README b/ham/hamlib/README index 0635ab10a2..8ae5de3f4c 100644 --- a/ham/hamlib/README +++ b/ham/hamlib/README @@ -1,14 +1,14 @@ Hamlib (the ham radio control libraries) -Hamlib is a development effort to provide a consistent C language interface -for programmers wanting to incorporate radio controls in their programs. -Network daemons for radio and rotator control, along with language bindings -for C++, Perl, Python, TCL, and Lua are included. +Hamlib is a development effort to provide a consistent C language +interface for programmers wanting to incorporate radio controls in their +programs. Network daemons for radio and rotator control, along with +language bindings for C++, Perl, Python, TCL, and Lua are included. Optional language bindings -To build either or all of the Perl, Python, or TCL bindings, pass one of or in -combination: +To build either or all of the Perl, Python, or TCL bindings, pass one of +or in combination: PL_MOD=yes PY_MOD=yes @@ -18,9 +18,9 @@ to the build script. Optional Lua binding -Also available are bindings for Lua 5.2 or later. As Lua 5.2 and Lua 5.3 are -now available from SlackBuilds.org, once the preferred version of Lua is -installed, the Lua bindings may be built by passing: +Also available are bindings for Lua 5.2 or later. As Lua 5.2 and Lua +5.3 are now available from SlackBuilds.org, once the preferred version +of Lua is installed, the Lua bindings may be built by passing: LUA_VER=5.2 LUA_VER=5.3 @@ -29,18 +29,18 @@ to the build script. Optional Python3 binding (experimental) -For those wishing to experiment with Python3 and Hamlib, bindings may be built -(exclusive of the normal Python2 bindings) after Python3 is installed -(available from SlackBuilds.org) by passing: +For those wishing to experiment with Python3 and Hamlib, bindings may be +built (exclusive of the normal Python2 bindings) by passing: PY3_MOD=yes to the build script. This option overrides PY_MOD. -While Python allows for version 2 and 3 modules to be installed concurrently, -and while there does exist a method for doing so with Hamlib, that has not -been included in this build script at this time. If concurrent installation -is needed, please contact the build script maintainer. +While Python allows for version 2 and 3 modules to be installed +concurrently, and while there does exist a method for doing so with +Hamlib, that has not been included in this build script at this time. +If concurrent installation is needed, please contact the build script +maintainer. -All four bindings (either of the Python and either of the Lua versions) may be -passed to the script to enable all bindings at build time. +All four bindings (either of the Python and either of the Lua versions) +may be passed to the script to enable all bindings at build time. diff --git a/ham/hamlib/doinst.sh b/ham/hamlib/doinst.sh new file mode 100644 index 0000000000..1bef502028 --- /dev/null +++ b/ham/hamlib/doinst.sh @@ -0,0 +1,6 @@ +if [ -x /usr/bin/install-info -a -d usr/info ]; then + ( cd usr/info + rm -f dir + for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done + ) +fi diff --git a/ham/hamlib/hamlib.SlackBuild b/ham/hamlib/hamlib.SlackBuild index 1aee6f9b89..bac0eecc24 100644 --- a/ham/hamlib/hamlib.SlackBuild +++ b/ham/hamlib/hamlib.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for Hamlib @@ -24,10 +24,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230630 bkw: Modified by SlackBuilds.org, BUILD=2: +# - add doinst.sh to handle /usr/info/dir. +# - rm INSTALL (compile instructions only). + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hamlib VERSION=${VERSION:-3.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,12 +44,16 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCFILES="AUTHORS COPYING COPYING.LIB ChangeLog INSTALL LICENSE NEWS PLAN +DOCFILES="AUTHORS COPYING COPYING.LIB ChangeLog LICENSE NEWS PLAN README README.betatester README.developer THANKS TODO" if [ "$ARCH" = "i586" ]; then @@ -70,9 +81,9 @@ 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + if [ x"${PL_MOD}" = x"yes" ]; then PERL_BINDING="--with-perl-binding" @@ -169,8 +180,12 @@ if { [ x"${LUA_VER}" = x"5.2" ] || [ x"${LUA_VER}" = x"5.3" ]; } then rm -f $PKG/usr/lib${LIBDIRSUFFIX}/lua/${LUA_VER}/Hamliblua.la fi +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/douninst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/inspectrum/inspectrum.SlackBuild b/ham/inspectrum/inspectrum.SlackBuild index a91e8187a9..94b64f2f23 100644 --- a/ham/inspectrum/inspectrum.SlackBuild +++ b/ham/inspectrum/inspectrum.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for inspectrum @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=inspectrum -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -95,4 +105,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/inspectrum/inspectrum.info b/ham/inspectrum/inspectrum.info index 90862f0b01..08740e682e 100644 --- a/ham/inspectrum/inspectrum.info +++ b/ham/inspectrum/inspectrum.info @@ -1,10 +1,10 @@ PRGNAM="inspectrum" -VERSION="0.2.2" +VERSION="0.3.1" HOMEPAGE="https://github.com/miek/inspectrum" -DOWNLOAD="https://github.com/miek/inspectrum/archive/v0.2.2/inspectrum-0.2.2.tar.gz" -MD5SUM="13b46a943d2fb08f30ba599790fc817f" +DOWNLOAD="https://github.com/miek/inspectrum/archive/v0.3.1/inspectrum-0.3.1.tar.gz" +MD5SUM="067b1f342d07519978b25cd75e24f1a0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="liquid-dsp qt5" +REQUIRES="liquid-dsp" MAINTAINER="pyllyukko" EMAIL="pyllyukko@maimed.org" diff --git a/ham/jtdx/README b/ham/jtdx/README new file mode 100644 index 0000000000..40fc1786a0 --- /dev/null +++ b/ham/jtdx/README @@ -0,0 +1,2 @@ +JTDX is forked from WSJT-X, a computer program dedicated to amateur +radio communication using very weak signals. diff --git a/ham/jtdx/doinst.sh b/ham/jtdx/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/ham/jtdx/doinst.sh @@ -0,0 +1,3 @@ +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/ham/jtdx/jtdx.SlackBuild b/ham/jtdx/jtdx.SlackBuild new file mode 100644 index 0000000000..5eaef74eb1 --- /dev/null +++ b/ham/jtdx/jtdx.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/bash + +# Slackware build script for jtdx + +# Copyright 2022 Damian Perticone, Berisso, Argentina +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=jtdx +VERSION=${VERSION:-159} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAG" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +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 + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +rm -r $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL +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 diff --git a/ham/jtdx/jtdx.info b/ham/jtdx/jtdx.info new file mode 100644 index 0000000000..f91cbad622 --- /dev/null +++ b/ham/jtdx/jtdx.info @@ -0,0 +1,10 @@ +PRGNAM="jtdx" +VERSION="159" +HOMEPAGE="https://github.com/jtdx-project/jtdx" +DOWNLOAD="https://github.com/jtdx-project/jtdx/archive/159/jtdx-159.tar.gz" +MD5SUM="0d855e11024f72d374a9892729b3ce09" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="jtdxhamlib" +MAINTAINER="Damian Perticone" +EMAIL="mjolnirdam@gmail.com" diff --git a/ham/jtdx/slack-desc b/ham/jtdx/slack-desc new file mode 100644 index 0000000000..ed489f3c70 --- /dev/null +++ b/ham/jtdx/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------------------------------------------------------| +jtdx: jtdx (forked WSJT-x for amaterur radio communication) +jtdx: +jtdx: JTDX is a forked from WSJT-X, a computer program dedicated to +jtdx: amateur communication using very weak signals. +jtdx: +jtdx: +jtdx: +jtdx: +jtdx: +jtdx: Home: https://github.com/jtdx-project/jtdx +jtdx: diff --git a/ham/jtdxhamlib/README b/ham/jtdxhamlib/README new file mode 100644 index 0000000000..a4f377af3b --- /dev/null +++ b/ham/jtdxhamlib/README @@ -0,0 +1,5 @@ +jtdxhamlib is a fork that contains patches not yet accepted by the +Hamlib development team which are essential for correct operation of +JTDX + +NOTE: This conflicts with hamlib. diff --git a/ham/jtdxhamlib/jtdxhamlib.SlackBuild b/ham/jtdxhamlib/jtdxhamlib.SlackBuild new file mode 100644 index 0000000000..5822df6ab4 --- /dev/null +++ b/ham/jtdxhamlib/jtdxhamlib.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for jtdxhamlib + +# Copyright 2022 Damian Perticone, Berisso, Argentina +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=jtdxhamlib +VERSION=${VERSION:-159} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 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" \ +./bootstrap + +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-shared \ + --enable-static \ + --without-cxx-binding \ + --disable-winradio \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +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 + +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 \ + LICENSE NEWS PLAN README README.betatester README.freqranges README.md SECURITY.md THANKS \ + $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 diff --git a/ham/jtdxhamlib/jtdxhamlib.info b/ham/jtdxhamlib/jtdxhamlib.info new file mode 100644 index 0000000000..aa3962f45c --- /dev/null +++ b/ham/jtdxhamlib/jtdxhamlib.info @@ -0,0 +1,10 @@ +PRGNAM="jtdxhamlib" +VERSION="159" +HOMEPAGE="https://github.com/jtdx-project/jtdxhamlib" +DOWNLOAD="https://github.com/jtdx-project/jtdxhamlib/archive/159/jtdxhamlib-159.tar.gz" +MD5SUM="657edc6283e1657992cdbde4274f9146" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Damian Perticone" +EMAIL="mjolnirdam@gmail.com" diff --git a/ham/linlogbook/slack-desc b/ham/jtdxhamlib/slack-desc index da06ebe452..d2fe5962f9 100644 --- a/ham/linlogbook/slack-desc +++ b/ham/jtdxhamlib/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -linlogbook: linlogbook (QT4 Ham Radio Logging program) -linlogbook: -linlogbook: linlogbook is a QT4 amateur radio logging program for Linux. This is -linlogbook: companion software to LinPSK, and integrates with that well. -linlogbook: -linlogbook: -linlogbook: -linlogbook: -linlogbook: -linlogbook: Homepage: http://linlogbook.sourceforge.net -linlogbook: +jtdxhamlib: jtdxhamlib (forked hamlib version needed for jtdx) +jtdxhamlib: +jtdxhamlib: Jtdxhamlib is a fork that contains patches not yet accepted by the +jtdxhamlib: Hamlib development team which are essential for correct operation of +jtdxhamlib: JTDX +jtdxhamlib: +jtdxhamlib: +jtdxhamlib: +jtdxhamlib: +jtdxhamlib: Home: https://github.com/jtdx-project/jtdxhamlib +jtdxhamlib: diff --git a/ham/klog/README b/ham/klog/README index 6bc6042eaf..1f32f42236 100644 --- a/ham/klog/README +++ b/ham/klog/README @@ -1,2 +1,2 @@ -KLog is a multiplatform ham radio logging program using the QT5 framework. -It supports integration with WSJT-X and hamlib. +KLog is a multiplatform ham radio logging program using the QT5 +framework. It supports integration with WSJT-X and hamlib. diff --git a/ham/klog/klog.SlackBuild b/ham/klog/klog.SlackBuild index cc86c76c41..ed669217a9 100644 --- a/ham/klog/klog.SlackBuild +++ b/ham/klog/klog.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for klog # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=klog -VERSION=${VERSION:-0.9.8.1} +VERSION=${VERSION:-1.8.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -58,7 +68,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz +TARBALL="$CWD/$VERSION.tar.gz" +if [ ! -e "$TARBALL" ] ; then + TARBALL="$CWD/$PRGNAM-$VERSION.tar.gz" +fi +tar -xvf $TARBALL cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -72,16 +86,16 @@ CXXFLAGS="$SLKCFLAGS" \ qmake-qt5 PREFIX=$PKG/usr KLog.pro make -make install +make install DESTDIR=$PKG + +# this seems purposeless +rm -r $PKG/usr/share/klog 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 -cat klog.1 > $PKG/usr/man/man1/klog.1 - -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 +gzip -9c src/klog.1 > $PKG/usr/man/man1/klog.1.gz mkdir -p $PKG/usr/share/applications cat $CWD/klog.desktop > $PKG/usr/share/applications/klog.desktop @@ -92,15 +106,15 @@ cat $CWD/klog16x16.png > $PKG/usr/share/icons/locolor/16x16/apps/klog.png cat $CWD/klog32x32.png > $PKG/usr/share/icons/locolor/32x32/apps/klog.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING Changelog INSTALL.txt INSTALL-linux NEWS README TODO \ +for doc in AUTHORS COPYING Changelog NEWS README TODO; do + cp -a "src/$doc" \ $PKG/usr/doc/$PRGNAM-$VERSION +done cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -name "Makefile" -exec rm {} \; -find $PKG/usr/doc -type f -exec chmod 644 {} \; 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/klog/klog.info b/ham/klog/klog.info index d9807e7a6c..1e634dbbea 100644 --- a/ham/klog/klog.info +++ b/ham/klog/klog.info @@ -1,10 +1,10 @@ PRGNAM="klog" -VERSION="0.9.8.1" +VERSION="1.8.7" HOMEPAGE="https://www.klog.xyz" -DOWNLOAD="http://download.savannah.gnu.org/releases/klog/klog-0.9.8.1.tar.gz" -MD5SUM="84945889f276b75f7ffc82022a77592c" +DOWNLOAD="https://github.com/ea4k/klog/archive/refs/tags/1.8.7.tar.gz" +MD5SUM="d53301013b596d9fc07daf52749b974d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="hamlib qt5" +REQUIRES="hamlib" MAINTAINER="JK Wood" EMAIL="joshuakwood@gmail.com" diff --git a/ham/libax25/README b/ham/libax25/README new file mode 100644 index 0000000000..3bdf9559e1 --- /dev/null +++ b/ham/libax25/README @@ -0,0 +1,12 @@ +libax25 AX.25 Packet radio support for linux. + +The AX.25 protocol offers both connected and connectionless modes of +operation, and is used either by itself for point-point links, or to +carry other protocols such as TCP/IP and NET/ROM. + +It is similar to X.25 level 2 in structure, with some extensions to +make it more useful in the amateur radio environment. + +This library is for ham radio applications that use the ax25 protocol. +Included are routines to do ax25 address parsing, common ax25 +application config file parsing, etc. diff --git a/ham/libax25/libax25.SlackBuild b/ham/libax25/libax25.SlackBuild new file mode 100644 index 0000000000..c3bd5704db --- /dev/null +++ b/ham/libax25/libax25.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for libax25 + +# Copyright 2019,2020 Gustavo Conrad, Argentina. +# 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. + +# 20220404 bkw: Modified by SlackBuilds.org, BUILD=3: strip libraries. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=libax25 +VERSION=${VERSION:-0.0.12_rc5} +SRCVER=$(echo $VERSION | tr _ -) +BUILD=${BUILD:-3} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER +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} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +make +make install DESTDIR=$PKG +make installconf DESTDIR=$PKG + +strip $PKG/usr/lib*/lib*.so.*.*.* + +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 \ + README \ + AUTHORS \ + COPYING \ + ChangeLog \ + NEWS \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +rm -f $PKG/usr/lib*/*.la + +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 diff --git a/ham/libax25/libax25.info b/ham/libax25/libax25.info new file mode 100644 index 0000000000..7e62275430 --- /dev/null +++ b/ham/libax25/libax25.info @@ -0,0 +1,10 @@ +PRGNAM="libax25" +VERSION="0.0.12_rc5" +HOMEPAGE="http://www.linux-ax25.org/wiki/Main_Page" +DOWNLOAD="http://www.linux-ax25.org/pub/libax25/libax25-0.0.12-rc5.tar.gz" +MD5SUM="21e64a76d41f3129acc7b540730e2f4d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Gustavo Conrad" +EMAIL="gus3963@gmail.com" diff --git a/ham/libax25/slack-desc b/ham/libax25/slack-desc new file mode 100644 index 0000000000..b3d0dae625 --- /dev/null +++ b/ham/libax25/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------------------------------------------------------| +libax25: libax25 (AX.25 Packet radio support for linux) +libax25: +libax25: Layer 2/3 networking implementation for the linux kernel. +libax25: See the AX25 Linux HOWTO for details. +libax25: This library is for ham radio applications that use the ax25 +libax25: protocol. +libax25: Included are routines to do ax25 address parsing, common ax25 +libax25: application config file parsing, etc. +libax25: +libax25: Homepage: http://www.linux-ax25.org/wiki/Main_Page +libax25: diff --git a/ham/libsigmf/README b/ham/libsigmf/README new file mode 100644 index 0000000000..596532a741 --- /dev/null +++ b/ham/libsigmf/README @@ -0,0 +1,3 @@ +libsigmf is a header-only C++ library for working with SigMF metadata. +It is provided under the Apache License 2.0 and the copyright notice +can be found in NOTICE. diff --git a/ham/libsigmf/libsigmf.SlackBuild b/ham/libsigmf/libsigmf.SlackBuild new file mode 100644 index 0000000000..269312c783 --- /dev/null +++ b/ham/libsigmf/libsigmf.SlackBuild @@ -0,0 +1,121 @@ +#!/bin/bash + +# Slackware build script for libsigmf + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=libsigmf +VERSION=${VERSION:-20231212.b9d14e21} +SRCVERSION=${SRCVERSION:-b9d14e2199bfcd958e16c33612ab35295e527087} +VERSION_flatbuffers=${VERSION_flatbuffers:-d8210d5a83faa345046648e520d82b54ea724e35} +VERSION_json=${VERSION_json:-9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf $PRGNAM-$SRCVERSION +unzip $CWD/$PRGNAM-$SRCVERSION.zip +cd $PRGNAM-$SRCVERSION +unzip $CWD/flatbuffers-$VERSION_flatbuffers.zip +rm -rf external/flatbuffers +mv flatbuffers-$VERSION_flatbuffers external/flatbuffers +unzip $CWD/json-$VERSION_json.zip +rm -rf external/json +mv json-$VERSION_json external/json + +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DUSE_SYSTEM_JSON=OFF \ + -DUSE_SYSTEM_FLATBUFFERS=OFF \ + -DENABLE_EXAMPLES=ON .. + make + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ABOUT CONTRIBUTING.md LICENSE NOTICE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/libsigmf/libsigmf.info b/ham/libsigmf/libsigmf.info new file mode 100644 index 0000000000..df9b092712 --- /dev/null +++ b/ham/libsigmf/libsigmf.info @@ -0,0 +1,12 @@ +PRGNAM="libsigmf" +VERSION="20231212.b9d14e21" +HOMEPAGE="https://github.com/f4exb/libsigmf/" +DOWNLOAD="https://github.com/f4exb/libsigmf/archive/b9d14e21/libsigmf-b9d14e2199bfcd958e16c33612ab35295e527087.zip \ + https://github.com/google/flatbuffers/archive/d8210d5a/flatbuffers-d8210d5a83faa345046648e520d82b54ea724e35.zip \ + https://github.com/nlohmann/json/archive/9cca280a/json-9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03.zip" +MD5SUM="85fcd782696082c48e1654b050d0ba98 9cd198fc0c93c4cd7bf632eb80a39286 05239fe4145889a732c4d90a180ce4bc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/libsigmf/slack-desc b/ham/libsigmf/slack-desc new file mode 100644 index 0000000000..75d7e2c58b --- /dev/null +++ b/ham/libsigmf/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------------------------------------------------------| +libsigmf: libsigmf (SigMF metadata) +libsigmf: +libsigmf: libsigmf is a header-only C++ library for working with SigMF metadata. +libsigmf: +libsigmf: +libsigmf: +libsigmf: +libsigmf: +libsigmf: +libsigmf: Homepage: https://github.com/f4exb/libsigmf/ +libsigmf: diff --git a/ham/linlogbook/README b/ham/linlogbook/README deleted file mode 100644 index 9919181fd9..0000000000 --- a/ham/linlogbook/README +++ /dev/null @@ -1,8 +0,0 @@ -LinLogBook is a highly configurable loogbook for linux. -It uses an sql- database to store its data. For the ease -of use sqlite 3 is used but it should be possible to use -other databases like mysql, for instance. - -LinLogBook is a companion program to LinPSK, and can -pull data directly from it. LinPSK is also available -at SlackBuilds.org. diff --git a/ham/linlogbook/linlogbook.SlackBuild b/ham/linlogbook/linlogbook.SlackBuild deleted file mode 100644 index 4be48d7f12..0000000000 --- a/ham/linlogbook/linlogbook.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh -# Slackbuild for linlogbook -# Written by JK Wood <joshuakwood@gmail.com> - -# Slackbuild is released under the Dog-on-Fire License: -# If use of this script causes your dog to catch on fire, -# you agree to send me five dollars. Or a picture -# of the dog on fire. -# Otherwise, you're on your own. I've tested the script -# on my own computer, and it hasn't broken anything. -# So if it does it on your computer, that falls in -# the realm of "Not my problem." -# -# Of course, if you'll send a bug report to the above -# email address, I may be able to see what you did -# wrong and prevent it from happening in the future. -# In which case, I may just send YOU five dollars. - -# Oh, and feel free to copy it and modify it as you -# see fit. Or as I see fit. Or as I fit. Although -# that is unlikely, as I am rather tall. - -PRGNAM=linlogbook -VERSION=${VERSION:-0.5} -BUILD=${BUILD:-2} -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 -mv $PRGNAM $PRGNAM-$VERSION -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 {} \; - -qmake -o Makefile linlogbook.pro -make - -mkdir -p $PKG/usr/bin -install -m 755 bin/linlogbook $PKG/usr/bin/ - -mkdir -p $PKG/usr/share/pixmaps -install -m 644 images/linlogbook.png $PKG/usr/share/pixmaps - -mkdir -p $PKG/usr/share/applications -install -m 644 $CWD/linlogbook.desktop $PKG/usr/share/applications - -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/doc/$PRGNAM-$VERSION -cp -a COPYING ChangeLog README sql/* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/LinLogBook.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/LinLogBook.pdf -find $PKG/usr/doc -name "Makefile" -exec rm {} \; -find $PKG/usr/doc -type f -exec chmod 644 {} \; - -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/ham/linlogbook/linlogbook.desktop b/ham/linlogbook/linlogbook.desktop deleted file mode 100644 index 48e956e375..0000000000 --- a/ham/linlogbook/linlogbook.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=LinLogBook -GenericName=LinLogBook -Comment=A ham radio logbook for linux -Exec=linlogbook -Icon=linlogbook -Terminal=false -Type=Application -Categories=HamRadio; -Version=1.0 diff --git a/ham/linlogbook/linlogbook.info b/ham/linlogbook/linlogbook.info deleted file mode 100644 index 7b8ecaafa6..0000000000 --- a/ham/linlogbook/linlogbook.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="linlogbook" -VERSION="0.5" -HOMEPAGE="http://linlogbook.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/linlogbook/files/linlogbook-0.5.tar.gz \ - http://sourceforge.net/projects/linlogbook/files/LinLogBook.pdf" -MD5SUM="09fcaab993b7a808fe0bf95073919027 \ - b235f843d052875b966e98b06d01720c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="JK Wood" -EMAIL="joshuakwood@gmail.com" diff --git a/ham/linpsk/linpsk.SlackBuild b/ham/linpsk/linpsk.SlackBuild index da4bdd310b..cf82250b9e 100644 --- a/ham/linpsk/linpsk.SlackBuild +++ b/ham/linpsk/linpsk.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for linpsk # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=linpsk -VERSION=${VERSION:-1.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.3.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -58,7 +68,7 @@ rm -rf $PKG 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 . \ @@ -67,17 +77,15 @@ 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 {} \; -qmake -o Makefile linpsk.pro -make - -mkdir -p $PKG/usr/bin -install -m 755 bin/linpsk $PKG/usr/bin/ +# removes a few "comparison of pointer with integer zero" errors +# and a missing Qt header +patch -p1 <$CWD/pointer_null.patch -mkdir -p $PKG/usr/share/applications -install -m 644 $CWD/linpsk.desktop $PKG/usr/share/applications +# Qt5's qmake errors out +qmake-qt4 -o - linpsk.pro | sed "s,usr/local,usr,g" > Makefile -mkdir -p $PKG/usr/share/pixmaps -install -m 644 images/linpsk.png $PKG/usr/share/pixmaps +make +make install 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 @@ -93,4 +101,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/linpsk/linpsk.info b/ham/linpsk/linpsk.info index 69a2bbd4d6..5da1fcb56b 100644 --- a/ham/linpsk/linpsk.info +++ b/ham/linpsk/linpsk.info @@ -1,10 +1,10 @@ PRGNAM="linpsk" -VERSION="1.2" +VERSION="1.3.5" HOMEPAGE="http://linpsk.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/linpsk/linpsk-1.2.tgz" -MD5SUM="674c783fd772a532a7b8a107ae69ec1e" +DOWNLOAD="https://downloads.sourceforge.net/project/linpsk/linpsk/linpsk-1.3.5.tar.gz" +MD5SUM="f0ec386f2e06d800c278e4ee28fd5eba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="JK Wood" EMAIL="joshuakwood@gmail.com" diff --git a/ham/linpsk/pointer_null.patch b/ham/linpsk/pointer_null.patch new file mode 100644 index 0000000000..7c3da4c821 --- /dev/null +++ b/ham/linpsk/pointer_null.patch @@ -0,0 +1,45 @@ +diff -Naur a/gui/crxdisplay.cpp b/gui/crxdisplay.cpp +--- a/gui/crxdisplay.cpp 2017-02-07 15:10:47.000000000 +0000 ++++ b/gui/crxdisplay.cpp 2022-02-13 12:27:01.631479349 +0000 +@@ -78,7 +78,7 @@ + Sound = new WaveInput ( -1 ); + else + Sound = new CSound ( settings.serial ); +- if ( Sound <= NULL ) ++ if ( Sound <= (void *) NULL ) + return false; + + connect ( Sound, SIGNAL ( samplesAvailable() ), this, SLOT ( process_rxdata() ) ); +diff -Naur a/gui/linpsk.cpp b/gui/linpsk.cpp +--- a/gui/linpsk.cpp 2017-02-07 15:10:47.000000000 +0000 ++++ b/gui/linpsk.cpp 2022-02-13 12:28:37.937992591 +0000 +@@ -410,7 +410,7 @@ + Modulator = new BpskModulator ( 11025, Frequency, TxBuffer ); + break; */ + } +- if ( Sound <= NULL ) // Only create Sound Device once for output ++ if ( Sound <= (void *) NULL ) // Only create Sound Device once for output + { + if ( settings.DemoMode ) + { +@@ -421,7 +421,7 @@ + Sound = new CSound ( settings.serial ); + connect ( Sound, SIGNAL ( samplesAvailable() ), this, SLOT ( process_txdata() ) ); + } +- if ( Sound <= NULL ) ++ if ( Sound <= (void *) NULL ) + { + QMessageBox::critical ( 0, " Programm Error! LinPsk", "Could not create Sound Device for Output" ); + TxDisplay->TxFunctions->setStatus ( ON ); +diff -Naur a/gui/modemenu.cpp b/gui/modemenu.cpp +--- a/gui/modemenu.cpp 2017-02-07 15:10:47.000000000 +0000 ++++ b/gui/modemenu.cpp 2022-02-13 12:45:09.832995118 +0000 +@@ -18,7 +18,7 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +- ++#include <QButtonGroup> + #include "modemenu.h" + #include "parameter.h" + #include "crxchannel.h" diff --git a/ham/liquid-dsp/liquid-dsp.SlackBuild b/ham/liquid-dsp/liquid-dsp.SlackBuild index 986b260b76..f08e496981 100644 --- a/ham/liquid-dsp/liquid-dsp.SlackBuild +++ b/ham/liquid-dsp/liquid-dsp.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for liquid-dsp -# Copyright 2017 Alan Aversa USA +# Copyright 2020 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=liquid-dsp -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -97,4 +107,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/liquid-dsp/liquid-dsp.info b/ham/liquid-dsp/liquid-dsp.info index b8800b344d..5ae3c73b6b 100644 --- a/ham/liquid-dsp/liquid-dsp.info +++ b/ham/liquid-dsp/liquid-dsp.info @@ -1,8 +1,8 @@ PRGNAM="liquid-dsp" -VERSION="1.3.0" +VERSION="1.4.0" HOMEPAGE="http://liquidsdr.org/" -DOWNLOAD="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0/liquid-dsp-1.3.0.tar.gz" -MD5SUM="7c9de25c84f3d8e3611115344474463f" +DOWNLOAD="https://github.com/jgaeddert/liquid-dsp/archive/v1.4.0/liquid-dsp-1.4.0.tar.gz" +MD5SUM="d78d9f622df620295aba94c20b2b4ca6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/ham/lpsk31/README b/ham/lpsk31/README index b0884fe689..bc2cb408e2 100644 --- a/ham/lpsk31/README +++ b/ham/lpsk31/README @@ -1,9 +1,11 @@ -lpsk31 is a ncurses console application for ham radio communications in the -popular PSK31 digital mode. lpsk31 uses only integer arithmetic for both -signal detection and audio tone synthesis, so that it needs no floating point -calculations for its operation. lpsk31 can keep a log of QSO's in text and -ADIF format as well as a raw log of all that is typed in the transmit window -or displayed in the receive window. Some QSO data (signal strength and -frequency) can be acquired automatically via a CAT interface from the -transceiver itself, if it is an FT847. Unfortunately there is no CAT for other -types of transceiver since I had problems using Hamlib. +lpsk31 is a ncurses console application for ham radio communications in +the popular PSK31 digital mode. lpsk31 uses only integer arithmetic for +both signal detection and audio tone synthesis, so that it needs no +floating point calculations for its operation. + +lpsk31 can keep a log of QSO's in text and ADIF format as well as a raw +log of all that is typed in the transmit window or displayed in the +receive window. Some QSO data (signal strength and frequency) can be +acquired automatically via a CAT interface from the transceiver itself, +if it is an FT847. Unfortunately there is no CAT for other types of +transceiver since I had problems using Hamlib. diff --git a/ham/lpsk31/lpsk31.SlackBuild b/ham/lpsk31/lpsk31.SlackBuild index ae33f51350..c3a0e94433 100644 --- a/ham/lpsk31/lpsk31.SlackBuild +++ b/ham/lpsk31/lpsk31.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for lpsk31 # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lpsk31 VERSION=${VERSION:-1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -70,8 +80,7 @@ find -L . \ # Fix home directory screwballery patch -p0 < $CWD/Makefile.patch -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ make mkdir -p $PKG/usr/bin @@ -92,4 +101,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/mbelib/README b/ham/mbelib/README new file mode 100644 index 0000000000..3a62b449de --- /dev/null +++ b/ham/mbelib/README @@ -0,0 +1,12 @@ +P25 Phase 1 and ProVoice vocoder + +This source code is provided for educational purposes only. It is +a written description of how certain voice encoding/decoding +algorythims could be implemented. Executable objects compiled or +derived from this package MAY BE COVERED BY ONE OR MORE PATENTS. +Readers are strongly advised to check for any patent restrictions or +licencing requirements before compiling or using this source code. + +mbelib supports the 7200x4400 bit/s codec used in P25 Phase 1, +the 7100x4400 bit/s codec used in ProVoice and the "Half Rate" +3600x2250 bit/s vocoder used in various radio systems. diff --git a/ham/mbelib/mbelib.SlackBuild b/ham/mbelib/mbelib.SlackBuild new file mode 100644 index 0000000000..9ae7571738 --- /dev/null +++ b/ham/mbelib/mbelib.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/bash + +# Slackware build script for mbelib + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=mbelib +VERSION=${VERSION:-20231211.9a04ed5c} +SRCVERSION=${SRCVERSION:-9a04ed5c78176a9965f3d43f7aa1b1f5330e771f} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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-$SRCVERSION +unzip $CWD/$PRGNAM-$SRCVERSION.zip +cd $PRGNAM-$SRCVERSION + +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DDISABLE_TEST=ON \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + COPYRIGHT README.md 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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/mbelib/mbelib.info b/ham/mbelib/mbelib.info new file mode 100644 index 0000000000..fc1a97d7bf --- /dev/null +++ b/ham/mbelib/mbelib.info @@ -0,0 +1,10 @@ +PRGNAM="mbelib" +VERSION="20231211.9a04ed5c" +HOMEPAGE="https://github.com/szechyjs/mbelib/" +DOWNLOAD="https://github.com/szechyjs/mbelib/archive/9a04ed5c/mbelib-9a04ed5c78176a9965f3d43f7aa1b1f5330e771f.zip" +MD5SUM="7925d70bbf0d0e6607555f3a90d7b10f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/mbelib/slack-desc b/ham/mbelib/slack-desc new file mode 100644 index 0000000000..bcca363630 --- /dev/null +++ b/ham/mbelib/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------------------------------------------------------| +mbelib: mbelib (P25 Phase 1 and ProVoice vocoder) +mbelib: +mbelib: mbelib supports the 7200x4400 bit/s codec used in P25 Phase 1, +mbelib: the 7100x4400 bit/s codec used in ProVoice and the "Half Rate" +mbelib: 3600x2250 bit/s vocoder used in various radio systems +mbelib: +mbelib: +mbelib: +mbelib: +mbelib: Homepage: https://github.com/szechyjs/mbelib/ +mbelib: diff --git a/ham/nec2c/nec2c.SlackBuild b/ham/nec2c/nec2c.SlackBuild index d117c9fe91..b524b536e2 100644 --- a/ham/nec2c/nec2c.SlackBuild +++ b/ham/nec2c/nec2c.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for nec2c # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nec2c VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -93,4 +103,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/psk31lx/psk31lx.SlackBuild b/ham/psk31lx/psk31lx.SlackBuild index 6aacf6bf09..fd3ac65d46 100644 --- a/ham/psk31lx/psk31lx.SlackBuild +++ b/ham/psk31lx/psk31lx.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for psk31lx # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=psk31lx VERSION=${VERSION:-2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -96,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/qlog/README b/ham/qlog/README new file mode 100644 index 0000000000..8ffe15536d --- /dev/null +++ b/ham/qlog/README @@ -0,0 +1,11 @@ +QLog - Ham Radio Logbook + +QLog is an Amateur Radio logging application for Linux, Windows and Mac +OS. It is based on the Qt framework and uses SQLite as database +back-end. + +QLog aims to be as simple as possible, but to provide everything the +operator expects from the log. This log is not currently focused on +contests. + +Homepage: https://github.com/foldynl/QLog diff --git a/ham/qlog/doinst.sh b/ham/qlog/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/ham/qlog/doinst.sh @@ -0,0 +1,9 @@ +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/ham/qlog/qlog.SlackBuild b/ham/qlog/qlog.SlackBuild new file mode 100644 index 0000000000..8fc28d502d --- /dev/null +++ b/ham/qlog/qlog.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash +# Slackbuild for qlog +# Brian Cox <hamslackbuild@comcast.net> + +# Copyright 2023 +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=qlog +SRCNAM=QLog +VERSION=${VERSION:-0.34.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar -xvf $CWD/$SRCNAM-$VERSION.tar.gz +mv $SRCNAM-$VERSION $PRGNAM-$VERSION +cd $PRGNAM-$VERSION/res +rmdir flags +tar -xvf $CWD/$SRCNAM-Flags-$VERSION.tar.gz +mv QLog-Flags-$VERSION/ flags/ +cd .. + +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 {} \; + +qmake PREFIX="$PKG/usr" "$SRCNAM".pro +make install + +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/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS \ + LICENSE \ + CONTRIBUTING.md \ + README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG/usr/doc -name "Makefile" -exec rm {} \; +find $PKG/usr/doc -type f -exec chmod 644 {} \; + +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 diff --git a/ham/qlog/qlog.info b/ham/qlog/qlog.info new file mode 100644 index 0000000000..cf5b1ee24f --- /dev/null +++ b/ham/qlog/qlog.info @@ -0,0 +1,12 @@ +PRGNAM="qlog" +VERSION="0.34.0" +HOMEPAGE="https://github.com/foldynl/QLog" +DOWNLOAD="https://github.com/foldynl/QLog/archive/refs/tags/v0.34.0/QLog-0.34.0.tar.gz \ + https://github.com/foldynl/QLog-Flags/archive/refs/tags/v0.34.0/QLog-Flags-0.34.0.tar.gz" +MD5SUM="071583828a6409516a7d6e264d0b6309 \ + c9afee8394a8e0d536ff45b5f56c146b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="hamlib" +MAINTAINER="Brian Cox" +EMAIL="hamslackbuild@comcast.net" diff --git a/ham/qlog/slack-desc b/ham/qlog/slack-desc new file mode 100644 index 0000000000..f672d0cb32 --- /dev/null +++ b/ham/qlog/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------------------------------------------------------| +qlog: qlog (Amateur radio logbook software) +qlog: +qlog: QLog is an Amateur Radio logging application for Linux, Windows and +qlog: Mac OS. It is based on the Qt framework and uses SQLite as database +qlog: backend. +qlog: +qlog: +qlog: Homepage: https://github.com/foldynl/QLog +qlog: +qlog: +qlog: diff --git a/ham/qradiopredict/README b/ham/qradiopredict/README deleted file mode 100644 index 35740cddfa..0000000000 --- a/ham/qradiopredict/README +++ /dev/null @@ -1,7 +0,0 @@ -qradiopredict is an experimental software for VHF-UHF propagation -prediction and radio coverage analysis. qradiopredict can operate -as a traditional standalone program with static plots and radio -links, or can be connected to Flightgear, the free flight simulator, -in order to use it's powerful radio simulation. - -Flightgear is an optional dependency. diff --git a/ham/qradiopredict/qradiopredict-gdal2.patch b/ham/qradiopredict/qradiopredict-gdal2.patch deleted file mode 100644 index f6b55a9391..0000000000 --- a/ham/qradiopredict/qradiopredict-gdal2.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -u -r qradiopredict-0.8.8/QRadioPredict/shpreader.cpp qradiopredict-0.8.8-patched/QRadioPredict/shpreader.cpp ---- qradiopredict-0.8.8/QRadioPredict/shpreader.cpp 2014-02-24 07:56:11.000000000 +0000 -+++ qradiopredict-0.8.8-patched/QRadioPredict/shpreader.cpp 2016-03-20 21:04:43.097658012 +0000 -@@ -104,9 +104,15 @@ - OGRRegisterAll(); - QString file = name; - file.append(".shp"); -- OGRDataSource *poDS; - -+#if GDAL_VERSION_MAJOR < 2 -+ OGRDataSource *poDS; - poDS = OGRSFDriverRegistrar::Open( file.toStdString().c_str(), FALSE ); -+#else -+ GDALDataset *poDS; -+ poDS = (GDALDataset*) OGROpen( file.toStdString().c_str(), FALSE, NULL ); -+#endif -+ - if( poDS == NULL ) - { - qDebug() << "Shapefile opening failed: " << name; -@@ -119,7 +125,11 @@ - if(poLayer == NULL) - { - qDebug() << "Shapefile layer is fubar: " << poLayer->GetName(); -+#if GDAL_VERSION_MAJOR < 2 - OGRDataSource::DestroyDataSource( poDS ); -+#else -+ GDALClose( (GDALDatasetH) poDS ); -+#endif - return QString("None"); - } - -@@ -171,7 +181,11 @@ - qDebug() << "Using GEOS for: " << terrain_type; - delete [] buffer; - OGRFeature::DestroyFeature( poFeature ); -+#if GDAL_VERSION_MAJOR < 2 - OGRDataSource::DestroyDataSource( poDS ); -+#else -+ GDALClose( (GDALDatasetH) poDS ); -+#endif - return terrain_type; - } - delete[] buffer; -@@ -233,7 +247,11 @@ - if(poly) - delete poly; - OGRFeature::DestroyFeature( poFeature ); -+#if GDAL_VERSION_MAJOR < 2 - OGRDataSource::DestroyDataSource( poDS ); -+#else -+ GDALClose( (GDALDatasetH) poDS ); -+#endif - return terrain_type; - } - -@@ -255,7 +273,11 @@ - { - //qDebug() << terrain_type; - OGRFeature::DestroyFeature( poFeature ); -+#if GDAL_VERSION_MAJOR < 2 - OGRDataSource::DestroyDataSource( poDS ); -+#else -+ GDALClose( (GDALDatasetH) poDS ); -+#endif - return terrain_type; - } - */ -@@ -267,7 +289,11 @@ - OGRFeature::DestroyFeature( poFeature ); - } - -+#if GDAL_VERSION_MAJOR < 2 - OGRDataSource::DestroyDataSource( poDS ); -+#else -+ GDALClose( (GDALDatasetH) poDS ); -+#endif - - return QString("None"); - } diff --git a/ham/qradiopredict/qradiopredict.SlackBuild b/ham/qradiopredict/qradiopredict.SlackBuild deleted file mode 100644 index f95520777c..0000000000 --- a/ham/qradiopredict/qradiopredict.SlackBuild +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh -# Slackbuild for QRadioPredict -# Written by JK Wood <joshuakwood@gmail.com> - -# Slackbuild is released under the Dog-on-Fire License: -# If use of this script causes your dog to catch on fire, -# you agree to send me five dollars. Or a picture -# of the dog on fire. -# Otherwise, you're on your own. I've tested the script -# on my own computer, and it hasn't broken anything. -# So if it does it on your computer, that falls in -# the realm of "Not my problem." -# -# Of course, if you'll send a bug report to the above -# email address, I may be able to see what you did -# wrong and prevent it from happening in the future. -# In which case, I may just send YOU five dollars. - -# Oh, and feel free to copy it and modify it as you -# see fit. Or as I see fit. Or as I fit. Although -# that is unlikely, as I am rather tall. - -PRGNAM=qradiopredict -VERSION=${VERSION:-0.8.8} -BUILD=${BUILD:-1} -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/$VERSION.tar.gz || 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 -p1 < $CWD/qradiopredict-gdal2.patch - -mkdir -p build -cd build -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ - qmake .. - make - make install INSTALL_ROOT=$PKG DESTDIR=$PKG -cd .. - -if [ "$ARCH" = "x86_64" ]; then - mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} -fi - -mkdir -p $PKG/usr/bin -mkdir -p $PKG/usr/share/$PRGNAM -install -m 755 build/QRadioPredict/qRadioPredict $PKG/usr/share/$PRGNAM -cat db_structure.sql | sqlite3 $PKG/usr/share/$PRGNAM/propagation.sqlite.new -install -m 644 material_radio_properties.txt $PKG/usr/share/$PRGNAM -ln -s $PKG/usr/share/$PRGNAM/qRadioPredict $PKG/usr/bin -install -m 755 clip.py $PKG/usr/bin - -mkdir -p $PKG/usr/share/applications -mkdir -p $PKG/usr/share/pixmaps -install -m 644 $CWD/qradiopredict.desktop $PKG/usr/share/applications -install -m 644 $CWD/qradiopredict.png $PKG/usr/share/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 - -doxygen Doxyfile - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md db_structure.sql html $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -name "Makefile" -exec rm {} \; -find $PKG/usr/doc -type f -exec chmod 644 {} \; - -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/ham/qradiopredict/qradiopredict.desktop b/ham/qradiopredict/qradiopredict.desktop deleted file mode 100644 index 108537470c..0000000000 --- a/ham/qradiopredict/qradiopredict.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=qRadioPredict -Comment=Amateur Radio Propagation Plotter -TryExec=qRadioPredict -Exec=qRadioPredict -Icon=qradiopredict -Terminal=false -Type=Application -Categories=HamRadio; diff --git a/ham/qradiopredict/qradiopredict.info b/ham/qradiopredict/qradiopredict.info deleted file mode 100644 index 8eb8093129..0000000000 --- a/ham/qradiopredict/qradiopredict.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="qradiopredict" -VERSION="0.8.8" -HOMEPAGE="http://qradiopredict.sourceforge.net/" -DOWNLOAD="https://github.com/QDeltaSoft/qradiopredict/archive/0.8.8.tar.gz" -MD5SUM="1ea79f76eba38325e9d6d225ffe709c4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gdal" -MAINTAINER="JK Wood" -EMAIL="joshuakwood@gmail.com" diff --git a/ham/qradiopredict/qradiopredict.png b/ham/qradiopredict/qradiopredict.png Binary files differdeleted file mode 100644 index 3c6f40ca7a..0000000000 --- a/ham/qradiopredict/qradiopredict.png +++ /dev/null diff --git a/ham/qradiopredict/slack-desc b/ham/qradiopredict/slack-desc deleted file mode 100644 index 0360a4ec54..0000000000 --- a/ham/qradiopredict/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------------------------------------------------------| -qradiopredict: qradiopredict (VHF-UHF Propagation calculator) -qradiopredict: -qradiopredict: qradiopredict is an experimental software for VHF-UHF propagation -qradiopredict: prediction and radio coverage analysis. -qradiopredict: -qradiopredict: -qradiopredict: -qradiopredict: -qradiopredict: -qradiopredict: Homepage: http://qradiopredict.sourceforge.net/ -qradiopredict: diff --git a/ham/qrq/qrq.SlackBuild b/ham/qrq/qrq.SlackBuild index 3a098394de..f390c6bb66 100644 --- a/ham/qrq/qrq.SlackBuild +++ b/ham/qrq/qrq.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for qrq. # @@ -24,10 +24,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qrq VERSION=${VERSION:-0.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -98,4 +108,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/qsstv/qsstv.SlackBuild b/ham/qsstv/qsstv.SlackBuild index 9151d01886..43877ed10f 100644 --- a/ham/qsstv/qsstv.SlackBuild +++ b/ham/qsstv/qsstv.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for qsstv @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qsstv -VERSION=${VERSION:-9.4.4} +VERSION=${VERSION:-9.5.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -59,9 +69,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM\_$VERSION +rm -rf $PRGNAM tar xvf $CWD/$PRGNAM\_$VERSION.tar.gz -cd $PRGNAM\_$VERSION +cd $PRGNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,7 +79,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 {} \; -qmake-qt5 +qmake-qt5 PREFIX=/usr make make install INSTALL_ROOT=$PKG @@ -95,4 +105,4 @@ mkdir -p $PKG/usr/share/applications cat $CWD/qsstv.desktop > $PKG/usr/share/applications/qsstv.desktop cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/qsstv/qsstv.info b/ham/qsstv/qsstv.info index 00c4680a56..b1159d34b4 100644 --- a/ham/qsstv/qsstv.info +++ b/ham/qsstv/qsstv.info @@ -1,10 +1,10 @@ PRGNAM="qsstv" -VERSION="9.4.4" +VERSION="9.5.8" HOMEPAGE="http://users.telenet.be/on4qz/" -DOWNLOAD="http://users.telenet.be/on4qz/qsstv/downloads/qsstv_9.4.4.tar.gz" -MD5SUM="43207adb835ffe1dec8b267ee4823402" +DOWNLOAD="http://users.telenet.be/on4qz/qsstv/downloads/qsstv_9.5.8.tar.gz" +MD5SUM="99e7fecd91f6c9bf211395fddceba44c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5 hamlib" +REQUIRES="hamlib" MAINTAINER="Gustavo Conrad" EMAIL="gus3963@gmail.com" diff --git a/ham/qt-dab/README b/ham/qt-dab/README new file mode 100644 index 0000000000..b3e05944f4 --- /dev/null +++ b/ham/qt-dab/README @@ -0,0 +1,9 @@ +qt-dab +A Software DAB / DAB+ Decoder for rtl-sdr and other cards. + +Build script is only setup for rtl-sdr device support. + +You may need to set RULES=yes in the rtl-sdr.SlackBuild to allow +non-root users to access the usb card. + +(You can run rtl_test from rtl-sdr to see if you can access it). diff --git a/ham/qt-dab/doinst.sh b/ham/qt-dab/doinst.sh new file mode 100644 index 0000000000..355542bb84 --- /dev/null +++ b/ham/qt-dab/doinst.sh @@ -0,0 +1,6 @@ + +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/ham/qt-dab/qt-dab.SlackBuild b/ham/qt-dab/qt-dab.SlackBuild new file mode 100644 index 0000000000..76af86f1e0 --- /dev/null +++ b/ham/qt-dab/qt-dab.SlackBuild @@ -0,0 +1,134 @@ +#!/bin/bash + +# Slackware build script for qt-dab + +# Copyright 2023 J sbo-qt-dab@jnet-productions.co.uk +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=qt-dab +VERSION=${VERSION:-5.4} +TARVERSION=6 +BUILD=${BUILD:-0} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# Don't use portaudio, use QT built in audio? [Requires patching source atm] +if [ "${QTAUDIO:-no}" == "yes" ]; then + QT_OPTION="-DQT_AUDIO=ON" +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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-$PRGNAM-$TARVERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$TARVERSION.tar.gz +cd $PRGNAM-$PRGNAM-$TARVERSION +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 {} \; + +# Build only the full application +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DRTLSDR_LINUX=ON \ + -DRTL_TCP=ON \ + -DFDK_AAC=ON \ + $QT_OPTION \ + -DCMAKE_BUILD_TYPE=Release ../qt-dab-s5 + make + make install/strip DESTDIR=$PKG +cd .. + +# Put the binary in the right folder, strip suffix. +mkdir $PKG/usr/bin +mv $PKG/usr/$PRGNAM-$VERSION $PKG/usr/bin/$PRGNAM-5 + +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/doc/$PRGNAM-$VERSION +cp -a \ + docs/manual-5.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 + +mkdir -p $PKG/usr/share/applications +mkdir -p $PKG/usr/share/pixmaps +chmod 0644 qt-dab-s5/qt-dab-5.desktop +chmod 0644 qt-dab-s5/qt-dab-5.png +cp -a \ + qt-dab-s5/qt-dab-5.desktop \ + $PKG/usr/share/applications +cp -a \ + qt-dab-s5/qt-dab-5.png \ + $PKG/usr/share/pixmaps + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/qt-dab/qt-dab.info b/ham/qt-dab/qt-dab.info new file mode 100644 index 0000000000..0dd2cfa5cc --- /dev/null +++ b/ham/qt-dab/qt-dab.info @@ -0,0 +1,10 @@ +PRGNAM="qt-dab" +VERSION="5.4" +HOMEPAGE="https://www.sdr-j.tk/qt-dab.htm" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/JvanKatwijk/qt-dab/archive/qt-dab-6/qt-dab-qt-dab-6.tar.gz" +MD5SUM_x86_64="5b98f73c1b421ac56e28eda7e1956605" +REQUIRES="qwt portaudio rtl-sdr libfdk-aac" +MAINTAINER="J" +EMAIL="sbo-qt-dab@jnet-productions.co.uk" diff --git a/ham/qt-dab/slack-desc b/ham/qt-dab/slack-desc new file mode 100644 index 0000000000..3b439ac451 --- /dev/null +++ b/ham/qt-dab/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------------------------------------------------------| +qt-dab: qt-dab (Software DAB Decoder) +qt-dab: +qt-dab: A Software DAB / DAB+ Decoder for rtl-sdr and other cards. +qt-dab: https://www.sdr-j.tk/qt-dab.htm +qt-dab: +qt-dab: +qt-dab: +qt-dab: +qt-dab: +qt-dab: +qt-dab: diff --git a/ham/redsea/README b/ham/redsea/README new file mode 100644 index 0000000000..8df7772943 --- /dev/null +++ b/ham/redsea/README @@ -0,0 +1,6 @@ +redsea is a lightweight command-line FM-RDS decoder for Linux/macOS. +It supports a large subset of RDS features. + +Decoded RDS groups are printed to the terminal as line-delimited JSON +objects or, optionally, undecoded hex blocks (-x). Please refer to the +wiki for input data formats. diff --git a/ham/redsea/redsea.SlackBuild b/ham/redsea/redsea.SlackBuild new file mode 100644 index 0000000000..3a8753199b --- /dev/null +++ b/ham/redsea/redsea.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/bash + +# Slackware build script for redsea + +# Copyright 2019 pyllyukko +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=redsea +VERSION=${VERSION:-0.21} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 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 {} \; + +./autogen.sh +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +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/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES.md CONTRIBUTING.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/redsea/redsea.info b/ham/redsea/redsea.info new file mode 100644 index 0000000000..8b90501c13 --- /dev/null +++ b/ham/redsea/redsea.info @@ -0,0 +1,10 @@ +PRGNAM="redsea" +VERSION="0.21" +HOMEPAGE="https://github.com/windytan/redsea" +DOWNLOAD="https://github.com/windytan/redsea/archive/v0.21/redsea-0.21.tar.gz" +MD5SUM="208a21592a71662ba74d160f75a29e38" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liquid-dsp" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/ham/redsea/slack-desc b/ham/redsea/slack-desc new file mode 100644 index 0000000000..e7f6647016 --- /dev/null +++ b/ham/redsea/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------------------------------------------------------| +redsea: redsea (RDS decoder) +redsea: +redsea: redsea is a lightweight command-line FM-RDS decoder for Linux/macOS. +redsea: It supports a large subset of RDS features. +redsea: +redsea: +redsea: +redsea: +redsea: +redsea: Homepage: https://github.com/windytan/redsea +redsea: diff --git a/ham/rtl-sdr/rtl-sdr.SlackBuild b/ham/rtl-sdr/rtl-sdr.SlackBuild index ed0ed0a5cc..ce2625e1bd 100644 --- a/ham/rtl-sdr/rtl-sdr.SlackBuild +++ b/ham/rtl-sdr/rtl-sdr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for rtl-sdr @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rtl-sdr VERSION=${VERSION:-20180603} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -110,4 +120,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc done ) cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/rtl_433/README b/ham/rtl_433/README new file mode 100644 index 0000000000..a8e7f3092b --- /dev/null +++ b/ham/rtl_433/README @@ -0,0 +1,7 @@ +rtl_433 (despite the name) is a generic data receiver, mainly for the +433.92 MHz, 868 MHz (SRD), 315 MHz, 345 MHz, and 915 MHz ISM bands. + +It works with RTL-SDR and/or SoapySDR. Actively tested and supported are +Realtek RTL2832 based DVB dongles (using RTL-SDR) and LimeSDR (LimeSDR +USB and LimeSDR mini engineering samples kindly provided by MyriadRf), +PlutoSDR, HackRF One (using SoapySDR drivers), as well as SoapyRemote. diff --git a/ham/rtl_433/doinst.sh b/ham/rtl_433/doinst.sh new file mode 100644 index 0000000000..2dd0059991 --- /dev/null +++ b/ham/rtl_433/doinst.sh @@ -0,0 +1,11 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + rm $NEW + fi +} +shopt -s nullglob +for i in etc/rtl_433/*.conf.new; do config "${i}"; done diff --git a/ham/rtl_433/rtl_433.SlackBuild b/ham/rtl_433/rtl_433.SlackBuild new file mode 100644 index 0000000000..af02a40330 --- /dev/null +++ b/ham/rtl_433/rtl_433.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for rtl_433 + +# Copyright pyllyukko 2024 +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=rtl_433 +VERSION=${VERSION:-23.11} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + sed -i 's:\(${CMAKE_INSTALL_PREFIX}\)/share:\1:' cmake_install.cmake + sed -i 's:${CMAKE_INSTALL_PREFIX}\(/etc/rtl_433\):\1:' conf/cmake_install.cmake + make install/strip DESTDIR=$PKG +cd .. + +for i in $( find $PKG/etc/rtl_433 -type f -name '*.conf' ) ; do mv -v "${i}" "${i}.new" ; done + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS CHANGELOG.md COPYING README.md docs examples \ + $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 diff --git a/ham/rtl_433/rtl_433.info b/ham/rtl_433/rtl_433.info new file mode 100644 index 0000000000..1d67799999 --- /dev/null +++ b/ham/rtl_433/rtl_433.info @@ -0,0 +1,10 @@ +PRGNAM="rtl_433" +VERSION="23.11" +HOMEPAGE="https://triq.org/" +DOWNLOAD="https://github.com/merbanan/rtl_433/archive/23.11/rtl_433-23.11.tar.gz" +MD5SUM="db953e654333d0a00225c7a23e30b809" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="rtl-sdr" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/ham/rtl_433/slack-desc b/ham/rtl_433/slack-desc new file mode 100644 index 0000000000..0f34f740c1 --- /dev/null +++ b/ham/rtl_433/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------------------------------------------------------| +rtl_433: rtl_433 (generic RF data receiver and decoder) +rtl_433: +rtl_433: rtl_433 (despite the name) is a generic data receiver, mainly for the +rtl_433: 433.92 MHz, 868 MHz (SRD), 315 MHz, 345 MHz, and 915 MHz ISM bands. +rtl_433: +rtl_433: It works with RTL-SDR and/or SoapySDR. +rtl_433: Actively tested and supported are Realtek RTL2832 based DVB dongles +rtl_433: (using RTL-SDR) and LimeSDR (LimeSDR USB and LimeSDR mini engineering +rtl_433: samples kindly provided by MyriadRf), PlutoSDR, HackRF One +rtl_433: (using SoapySDR drivers), as well as SoapyRemote. +rtl_433: diff --git a/ham/satdump/README b/ham/satdump/README new file mode 100644 index 0000000000..a727636a72 --- /dev/null +++ b/ham/satdump/README @@ -0,0 +1,28 @@ +SatDump is a general purpose satellite data processing software. +It is a one-stop-shop that provides all the necessary stages to get +from the satellite transmission to actual products. + +Features: +- Support of many SDRs such as: + RTL-SDR, Airspy, HackRF, BladeRF, LimeSDR, PlutoSDR, etc. +- Recording of radio basebands from your SDR +- Decoding and processing the data from over 90 different satellites + and even space probes. +- Live decoding of supported satellite links such as: + APT, LRPT, HRPT, LRIT, HRIT and many more. +- Image and data decoding from satellites such as + NOAA 15-18-19, Meteor-M, GOES, Elektro-L, Metop, FengYun, etc. +- Calibrated and georefrenced L1b products output on select satellites, + such as Sea Surface Temperature, Microphysics, etc. ready to use + for scientific applications such as numerical weather forecasts. +- Support for projecting the satellite imagery over a map, + including layering with other instruments or satellites. +- Inmarsat Aero and STD-C EGC messages decoding. +- Scheduler and rotator control for automated satellite stations. +- Ingestor for automated geostationary weather satellites reception. + +Depending to your SDR hardware you may want to install some or all: +RTL-SDR, Airspy, HackRF, BladeRF, LimeSDR, PlutoSDR, ... +(not all available at slackbuilds.org) + +Optional features can be enabled installing: hdf5, luajit, armadillo diff --git a/ham/satdump/doinst.sh b/ham/satdump/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/ham/satdump/doinst.sh @@ -0,0 +1,3 @@ +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/ham/satdump/satdump.SlackBuild b/ham/satdump/satdump.SlackBuild new file mode 100644 index 0000000000..facfab3718 --- /dev/null +++ b/ham/satdump/satdump.SlackBuild @@ -0,0 +1,117 @@ +#!/bin/bash + +# Slackware build script for satdump + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=satdump +VERSION=${VERSION:-1.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 SatDump-$VERSION +tar xvf $CWD/SatDump-$VERSION.tar.gz +cd SatDump-$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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DCMAKE_BUILD_TYPE=Release .. + make $NUMJOBS + make install/strip DESTDIR=$PKG +cd .. + +# Fix. it seems that LIB_SUFFIX is not taken into account so: +[ ! -z "$LIBDIRSUFFIX" ] && [ -d $PKG/usr/lib ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +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/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -type f -exec chmod 644 {} \; + +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 diff --git a/ham/satdump/satdump.info b/ham/satdump/satdump.info new file mode 100644 index 0000000000..dedbf6c26c --- /dev/null +++ b/ham/satdump/satdump.info @@ -0,0 +1,10 @@ +PRGNAM="satdump" +VERSION="1.1.2" +HOMEPAGE="https://www.satdump.org/" +DOWNLOAD="https://github.com/SatDump/SatDump/archive/1.1.2/SatDump-1.1.2.tar.gz" +MD5SUM="c7bbd6cd82d27b2ffa1c64fae236262f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="volk glfw3 nng" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/satdump/slack-desc b/ham/satdump/slack-desc new file mode 100644 index 0000000000..749655c722 --- /dev/null +++ b/ham/satdump/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------------------------------------------------------| +satdump: satdump (satellite data processing) +satdump: +satdump: SatDump is a general purpose satellite data processing software. +satdump: It is a one-stop-shop that provides all the necessary stages to get +satdump: from the satellite transmission to actual products. +satdump: +satdump: +satdump: +satdump: +satdump: Homepage: https://www.satdump.org/ +satdump: diff --git a/ham/sdrangel/README b/ham/sdrangel/README new file mode 100644 index 0000000000..1093c95fd2 --- /dev/null +++ b/ham/sdrangel/README @@ -0,0 +1,37 @@ +SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, +PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube + +This software project is committed to Open Source that is you as a +visitor, collaborator, simple user... will always be guaranteed access +to the source code. You may fork this repository, change the code, take +bits to use in another project or just run it. It is important to +realize that source code is THE value of this software. +Artifacts are considered as accessory. +This is NOT free software as in free lunch and when you run it a +collaborative attitude is expected. + +This software is provided in the hope it will be useful. Its main goal +is to provide a Software Defined Radio platform that is committed to: + +- be efficient: code should be written to be conservative on CPU + resources it is not because the CPU power of machines constantly + increase that this power should be wasted +- have fast paced instrumental graphics. Thanks to OpenGL spectrum, + signal graphics and images can be rendered responsively +- give power to the user by letting him/her control all aspects of the + DSP processing chain. But as you know with greater power comes + greater responsibility therefore it is expected that you already have + some experience with SDR applications and digital signal processing + in general +- be an experimental platform for amateur radio or anyone interested in + matters related to electromagnetism or communication based on + electromagnetic waves. It is in no way intended for production + moreover mission critical usage. + +Depending to your SDR hardware you may want to install some or all: +libairspy, libairspyhf, libbladeRF, libhackrf, liniio, libmirisdr, +libperseus, librtlsdr, uhd ... +(not all available at slackbuilds.org) + +Optional features can be enabled installing: +aptdec, cm256cc, dab_lib, mbelib, serialDV, dsdcc, sgp4, libsigmf diff --git a/ham/sdrangel/doinst.sh b/ham/sdrangel/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/ham/sdrangel/doinst.sh @@ -0,0 +1,9 @@ +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/ham/sdrangel/localsink.diff.gz b/ham/sdrangel/localsink.diff.gz Binary files differnew file mode 100644 index 0000000000..868d794059 --- /dev/null +++ b/ham/sdrangel/localsink.diff.gz diff --git a/ham/sdrangel/sdrangel.SlackBuild b/ham/sdrangel/sdrangel.SlackBuild new file mode 100644 index 0000000000..6736df78bc --- /dev/null +++ b/ham/sdrangel/sdrangel.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/bash + +# Slackware build script for sdrangel + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=sdrangel +VERSION=${VERSION:-7.17.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 {} \; + +# Fix +zcat $CWD/localsink.diff.gz | patch -p0 || exit + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DCMAKE_BUILD_TYPE=Release .. + make $NUMJOBS + make install/strip DESTDIR=$PKG +cd .. + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG IssueTemplate.md LICENSE Readme.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -type f -exec chmod 644 {} \; + +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 diff --git a/ham/sdrangel/sdrangel.info b/ham/sdrangel/sdrangel.info new file mode 100644 index 0000000000..75d60fb1ed --- /dev/null +++ b/ham/sdrangel/sdrangel.info @@ -0,0 +1,10 @@ +PRGNAM="sdrangel" +VERSION="7.17.3" +HOMEPAGE="https://github.com/f4exb/sdrangel/wiki/" +DOWNLOAD="https://github.com/f4exb/sdrangel/archive/v7.17.3/sdrangel-v7.17.3.tar.gz" +MD5SUM="845857adc5a4ce96c6a74ed26832453d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="faad2 codec2 hamlib" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/sdrangel/slack-desc b/ham/sdrangel/slack-desc new file mode 100644 index 0000000000..ca5caa2b08 --- /dev/null +++ b/ham/sdrangel/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------------------------------------------------------| +sdrangel: sdrangel (TX & RX Software Defined Radio) +sdrangel: +sdrangel: SDRangel: SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, +sdrangel: LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube +sdrangel: +sdrangel: +sdrangel: +sdrangel: +sdrangel: Homepage: https://www.sdrangel.org/ +sdrangel: +sdrangel: diff --git a/ham/sdrpp/README b/ham/sdrpp/README new file mode 100644 index 0000000000..2faa5d5cee --- /dev/null +++ b/ham/sdrpp/README @@ -0,0 +1,14 @@ +SDR++ is a cross-platform and open source SDR software with the aim of +being bloat free and simple to use. + +Features: +- Multi VFO +- Wide hardware support (both through SoapySDR and dedicated modules) +- SIMD accelerated DSP +- Cross-platform (Windows, Linux, OSX and BSD) +- Full waterfall update when possible. Makes browsing signals easier + and more pleasant +- Modular design (easily write your own plugins) + +Optional: bladeRF, Airspy, LimeSDR and PlutoSDR. +(not available at slackbuilds.org) diff --git a/ham/sdrpp/audio_sink.diff.gz b/ham/sdrpp/audio_sink.diff.gz Binary files differnew file mode 100644 index 0000000000..c110679b45 --- /dev/null +++ b/ham/sdrpp/audio_sink.diff.gz diff --git a/ham/sdrpp/doinst.sh b/ham/sdrpp/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/ham/sdrpp/doinst.sh @@ -0,0 +1,3 @@ +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/ham/sdrpp/networking.diff.gz b/ham/sdrpp/networking.diff.gz Binary files differnew file mode 100644 index 0000000000..7aea96913f --- /dev/null +++ b/ham/sdrpp/networking.diff.gz diff --git a/ham/sdrpp/sdrpp.SlackBuild b/ham/sdrpp/sdrpp.SlackBuild new file mode 100644 index 0000000000..b413adb2f9 --- /dev/null +++ b/ham/sdrpp/sdrpp.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/bash + +# Slackware build script for sdrpp + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=sdrpp +VERSION=${VERSION:-1.0.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 SDRPlusPlus-$VERSION +tar xvf $CWD/SDRPlusPlus-$VERSION.tar.gz +cd SDRPlusPlus-$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 {} \; + +# Fix +zcat $CWD/networking.diff.gz | patch -p0 || exit +zcat $CWD/audio_sink.diff.gz | patch -p0 || exit + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DOPT_BUILD_AIRSPY_SOURCE=OFF \ + -DOPT_BUILD_AIRSPYHF_SOURCE=OFF \ + -DOPT_BUILD_SDRPLAY_SOURCE=ON \ + -DOPT_BUILD_PLUTOSDR_SOURCE=OFF \ + -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON \ + -DOPT_BUILD_M17_DECODER=ON \ + -DCMAKE_BUILD_TYPE=Release .. + make $NUMJOBS + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + license readme.md contributing.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -type f -exec chmod 644 {} \; + +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 diff --git a/ham/sdrpp/sdrpp.info b/ham/sdrpp/sdrpp.info new file mode 100644 index 0000000000..5594eaf6cc --- /dev/null +++ b/ham/sdrpp/sdrpp.info @@ -0,0 +1,10 @@ +PRGNAM="sdrpp" +VERSION="1.0.4" +HOMEPAGE="https://www.sdrpp.org/" +DOWNLOAD="https://github.com/AlexandreRouma/SDRPlusPlus/archive/1.0.4/SDRPlusPlus-1.0.4.tar.gz" +MD5SUM="dbebd79f56efa5fd4620db19f8135366" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="volk glfw3 rtl-sdr hackrf SDRPlay SoapySDR rtaudio portaudio codec2" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/sdrpp/slack-desc b/ham/sdrpp/slack-desc new file mode 100644 index 0000000000..a5a40ffc5e --- /dev/null +++ b/ham/sdrpp/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------------------------------------------------------| +sdrpp: sdrpp (SDR software) +sdrpp: +sdrpp: SDR++ is a cross-platform and open source SDR software with the aim of +sdrpp: being bloat free and simple to use. +sdrpp: +sdrpp: +sdrpp: +sdrpp: +sdrpp: +sdrpp: Homepage: https://www.sdrpp.org/ +sdrpp: diff --git a/ham/serialDV/README b/ham/serialDV/README new file mode 100644 index 0000000000..e04968baab --- /dev/null +++ b/ham/serialDV/README @@ -0,0 +1,19 @@ +SerialDV is inspired from the OpenDV project but retains only the +minimal interface to encode and decode audio with AMBE3000 based +devices in packet mode over a serial link. + +SerialDV is designed with the following assumptions: + +- One object controls one device in one thread. It is up to you to + control the device in a separate thread or create a pool of threads + for a pool of devices with load balancing. No fancy stuff here + because fancy stuff depends too much on the environment. +- The library manages the atomic operations of decoding one AMBE frame + or encoding one audio frame in query/reply pairs or transactions. + Each query is returned a complete reply or an error. There is no + queuing mechanism whatsoever. +- AMBE3000 chip has many modes and features the scope of this library + is to provide an easy to use interface for the most popular digital + voice modes i.e. D-Star and the DMR likes (DMR, YSF, P25, ...). Some + more may be added in the future if the need arises. +- It will work for both encoding and decoding diff --git a/ham/serialDV/serialDV.SlackBuild b/ham/serialDV/serialDV.SlackBuild new file mode 100644 index 0000000000..86082c368f --- /dev/null +++ b/ham/serialDV/serialDV.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for serialDV + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=serialDV +VERSION=${VERSION:-1.1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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 +unzip $CWD/$PRGNAM-$VERSION.zip +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make $NUMJOBS + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE Readme.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/serialDV/serialDV.info b/ham/serialDV/serialDV.info new file mode 100644 index 0000000000..956bacf318 --- /dev/null +++ b/ham/serialDV/serialDV.info @@ -0,0 +1,10 @@ +PRGNAM="serialDV" +VERSION="1.1.4" +HOMEPAGE="https://github.com/f4exb/serialDV/" +DOWNLOAD="https://github.com/f4exb/serialDV/archive/v1.1.4/serialDV-1.1.4.zip" +MD5SUM="d054d61bc18d3d45cba215c37e184757" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/serialDV/slack-desc b/ham/serialDV/slack-desc new file mode 100644 index 0000000000..773dce1787 --- /dev/null +++ b/ham/serialDV/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------------------------------------------------------| +serialDV: serialDV (AMBE3000 encode/decode audio) +serialDV: +serialDV: serialDV is a C++ Minimal interface to encode and decode audio with +serialDV: AMBE3000 based devices in packet mode over a serial link. +serialDV: +serialDV: +serialDV: +serialDV: +serialDV: +serialDV: Homepage: https://github.com/f4exb/serialDV/ +serialDV: diff --git a/ham/sgp4/README b/ham/sgp4/README new file mode 100644 index 0000000000..d746144f42 --- /dev/null +++ b/ham/sgp4/README @@ -0,0 +1,6 @@ +Simplified perturbations models are a set of five mathematical models +(SGP, SGP4, SDP4, SGP8 and SDP8) used to calculate orbital state +vectors of satellites and space debris relative to the Earth-centered +inertial coordinate system. This set of models is often referred to +collectively as SGP4 due to the frequency of use of that model +particularly with two-line element sets produced by NORAD and NASA. diff --git a/ham/sgp4/sgp4.SlackBuild b/ham/sgp4/sgp4.SlackBuild new file mode 100644 index 0000000000..a9f9bc2f4d --- /dev/null +++ b/ham/sgp4/sgp4.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for sgp4 + +# Copyright 2023 Andrea Sacchetti Picchio Italy +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=sgp4 +VERSION=${VERSION:-20231211.6a448b48} +SRCVERSION=${SRCVERSION:-6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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" +elif [ "$ARCH" = "aarch64" ]; 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-$SRCVERSION +unzip $CWD/$PRGNAM-$SRCVERSION.zip +cd $PRGNAM-$SRCVERSION + +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 build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lserialdv" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lserialdv" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +# Fix (it seems that LIB_SUFFIX is not taken into account) +[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/sgp4/sgp4.info b/ham/sgp4/sgp4.info new file mode 100644 index 0000000000..4f1ce6b7ed --- /dev/null +++ b/ham/sgp4/sgp4.info @@ -0,0 +1,10 @@ +PRGNAM="sgp4" +VERSION="20231211.6a448b48" +HOMEPAGE="https://github.com/dnwrnr/sgp4/" +DOWNLOAD="https://github.com/dnwrnr/sgp4/archive/6a448b48/sgp4-6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91.zip" +MD5SUM="90b246600ec54eaeb35f414accc020d4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="serialDV" +MAINTAINER="Andrea Sacchetti Picchio" +EMAIL="andrea dot sacchettipicchio at gmail dot com" diff --git a/ham/sgp4/slack-desc b/ham/sgp4/slack-desc new file mode 100644 index 0000000000..7b42e4636a --- /dev/null +++ b/ham/sgp4/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------------------------------------------------------| +sgp4: sgp4 (Satellites Tracking library) +sgp4: +sgp4: SGP4 is mathematical model used to calculate orbital state vectors of +sgp4: satellites and space debris relative to the Earth-centered inertial +sgp4: coordinate system. +sgp4: +sgp4: +sgp4: +sgp4: +sgp4: Homepage: https://github.com/dnwrnr/sgp4/ +sgp4: diff --git a/ham/soundmodem/soundmodem.SlackBuild b/ham/soundmodem/soundmodem.SlackBuild index 4f724fcbb9..61e94bfbb7 100644 --- a/ham/soundmodem/soundmodem.SlackBuild +++ b/ham/soundmodem/soundmodem.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for soundmodem # Written by JK Wood joshuakwood@gmail.com @@ -16,26 +16,36 @@ # wrong and prevent it from happening in the future. # In which case, I may just send YOU five dollars. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=soundmodem VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -64,7 +74,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS -fgnu89-inline" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -fpermissive" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -96,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/spectools/README b/ham/spectools/README index 2a280f07a9..f8130581ab 100644 --- a/ham/spectools/README +++ b/ham/spectools/README @@ -1,6 +1,7 @@ -Spectools is a set of utilities for using various spectrum analyzer hardware. -It supports the suite of Wi-Spy devices (original, 24x, 24x2, DBX, DBX2, 900, -24i) by Metageek LLC and the Ubertooth. Spectools includes userspace drivers -for the hardware itself, a graphing UI built GTK and Cairo, network protocols -for remote device capture, and simple utilities for developing additional +Spectools is a set of utilities for using various spectrum +analyzer hardware. It supports the suite of Wi-Spy devices +(original, 24x, 24x2, DBX, DBX2, 900, 24i) by Metageek LLC and the +Ubertooth. Spectools includes userspace drivers for the hardware +itself, a graphing UI built GTK and Cairo, network protocols for +remote device capture, and simple utilities for developing additional tools. diff --git a/ham/spectools/spectools.SlackBuild b/ham/spectools/spectools.SlackBuild index e0f0a778fc..35fb409536 100644 --- a/ham/spectools/spectools.SlackBuild +++ b/ham/spectools/spectools.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for spectools @@ -22,10 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=spectools -VERSION=${VERSION:-2016-01-R1} +VERSION=${VERSION:-2016_01_R1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCVER=${VERSION//_/-} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -59,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -100,4 +112,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/spectools/spectools.info b/ham/spectools/spectools.info index 356dc1190c..81ba9d78eb 100644 --- a/ham/spectools/spectools.info +++ b/ham/spectools/spectools.info @@ -1,5 +1,5 @@ PRGNAM="spectools" -VERSION="2016-01-R1" +VERSION="2016_01_R1" HOMEPAGE="https://www.kismetwireless.net/static/spectools/" DOWNLOAD="https://www.kismetwireless.net/code/spectools-2016-01-R1.tar.xz" MD5SUM="d1e3d8ea692f3fd4e632c2fe6b0d5a9f" diff --git a/ham/svxlink-sounds-en_US-heather-16k/README b/ham/svxlink-sounds-en_US-heather-16k/README index 8be74d123d..df04fd6dfc 100644 --- a/ham/svxlink-sounds-en_US-heather-16k/README +++ b/ham/svxlink-sounds-en_US-heather-16k/README @@ -1,8 +1,9 @@ The SvxLink project is developing a flexible, general purpose voice services system for ham radio use. -This package provides a set of sound files for use with svxlink server. -This is the english voices language pack matching release 19.09 of SvxLink. +This package provides a set of sound files for use with svxlink +This server. is the english voices language pack matching release +This 19.09 of SvxLink. To use this package as the default language add the following symlink: diff --git a/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild b/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild index 9e76e923c6..823c077e9b 100644 --- a/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild +++ b/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for svxlink-sounds @@ -22,14 +22,24 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=svxlink-sounds-en_US-heather-16k VERSION=${VERSION:-19.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -57,4 +67,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/svxlink/README b/ham/svxlink/README index f3d2afb694..c389e243e6 100644 --- a/ham/svxlink/README +++ b/ham/svxlink/README @@ -1,19 +1,23 @@ The SvxLink Server is a general purpose voice services system, -which when connected to a transceiver, can act as both an advanced repeater -system and can also operate on a simplex channel. One could call it a radio -operating system since it sits between the hardware (transceiver) and the -applications (modules) and handle basic system services as well as input and output. +which when connected to a transceiver, can act as both an advanced +repeater system and can also operate on a simplex channel. One could +call it a radio operating system since it sits between the hardware +(transceiver) and the applications (modules) and handle basic system +services as well as input and output. -SvxLink is very extensible and modular. Voice services are implemented as modules -which are isolated from each other. Modules can be implemented in either C++ or TCL. +SvxLink is very extensible and modular. Voice services are implemented +as modules which are isolated from each other. Modules can be +implemented in either C++ or TCL. The project also includes Qtel, the Qt EchoLink client, is a graphical application used to access the EchoLink network. -This release includes a new revision of the SvxReflector application, which is -meant to be used as a center point to link SvxLink nodes together. +This release includes a new revision of the SvxReflector application, +which is meant to be used as a center point to link SvxLink nodes +together. -You can build only svxlink server (no Qtel) by passing QTEL=NO to the script: +You can build only svxlink server (no Qtel) by passing QTEL=NO to the +script: QTEL=NO ./svxlink.SlackBuild Opus is an optional (and, based on the audio quality, suggested!) diff --git a/ham/svxlink/doinst.sh b/ham/svxlink/doinst.sh index 8a5082b42a..afc8fe4833 100644 --- a/ham/svxlink/doinst.sh +++ b/ham/svxlink/doinst.sh @@ -36,6 +36,7 @@ config etc/svxlink/svxlink.d/ModuleSelCallEnc.conf.new config etc/svxlink/svxlink.d/ModulePropagationMonitor.conf.new config etc/svxlink/svxlink.d/ModuleMetarInfo.conf.new config etc/svxlink/svxlink.d/ModuleParrot.conf.new +config etc/svxlink/svxlink.d/ModuleTrx.conf.new preserve_perms etc/rc.d/rc.svxlink.new if [ -x /usr/bin/update-desktop-database ]; then diff --git a/ham/svxlink/svxlink.SlackBuild b/ham/svxlink/svxlink.SlackBuild index 486723dbbc..a1bdbb92be 100644 --- a/ham/svxlink/svxlink.SlackBuild +++ b/ham/svxlink/svxlink.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for svxlink - cmake version -# Copyright 2014-2019, Gustavo Conrad (gus3963 gmail) +# Copyright 2014-2022, Gustavo Conrad (gus3963 gmail) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=svxlink -VERSION=${VERSION:-19.09.1} +VERSION=${VERSION:-19.09.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -93,7 +100,8 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +#tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz # the Github download unpacks several directories, we only need src # We will download a larger file but I think it's better this way @@ -116,12 +124,11 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/etc \ -DLOCAL_STATE_DIR=/var \ + -DMAN_INSTALL_DIR=/usr/man \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ .. make - make doc - make install DESTDIR=$PKG - + make man install DESTDIR=$PKG cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -131,7 +138,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ../COPYRIGHT doc/README* doc/*.txt doc/qteluserdocs/*.pdf doc/qteluserdocs/*.tex \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mv $PKG/usr/share/man $PKG/usr/ + +# remove unused directories +rm -r $PKG/usr/share/doc mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc @@ -148,4 +157,4 @@ rename .conf .conf.new $PKG/etc/svxlink/* rename .conf .conf.new $PKG/etc/svxlink/svxlink.d/*.conf cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/svxlink/svxlink.info b/ham/svxlink/svxlink.info index f49960338c..ca77eac18f 100644 --- a/ham/svxlink/svxlink.info +++ b/ham/svxlink/svxlink.info @@ -1,10 +1,10 @@ PRGNAM="svxlink" -VERSION="19.09.1" +VERSION="19.09.2" HOMEPAGE="http://www.svxlink.org/" -DOWNLOAD="https://github.com/sm0svx/svxlink/archive/19.09.1.tar.gz" -MD5SUM="e96920b98ef80f07c98648daa8363cf2" +DOWNLOAD="https://github.com/sm0svx/svxlink/archive/19.09.2/svxlink-19.09.2.tar.gz" +MD5SUM="2dde4de463be83aa945219231b77888a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gsm speex" +REQUIRES="gsm" MAINTAINER="Gustavo Conrad" EMAIL="gus3963@gmail.com" diff --git a/ham/tlf/README b/ham/tlf/README index c5be226132..a7a4db24fa 100644 --- a/ham/tlf/README +++ b/ham/tlf/README @@ -1,15 +1,16 @@ -TLF is a curses based console mode general logging and contest program for -amateur radio. +TLF is a curses based console mode general logging and contest program +for amateur radio. -It supports the CQWW, the WPX, the ARRL-DX, the ARRL-FD, the PACC and the EU -SPRINT shortwave contests (single operator) as well as a LOT MORE basic -contests, general QSO and DXpedition mode. +It supports the CQWW, the WPX, the ARRL-DX, the ARRL-FD, the PACC and +the EU SPRINT shortwave contests (single operator) as well as a LOT +MORE basic contests, general QSO and DXpedition mode. -It interfaces with cwdaemon or winkeydaemon for Morse Code generation and -with your sound card for CW/VOICE keying, connects to a number of radios via -the Hamlib library and has a built-in client for DX cluster connection. +It interfaces with cwdaemon or winkeydaemon for Morse Code generation +and with your sound card for CW/VOICE keying, connects to a number of +radios via the Hamlib library and has a built-in client for DX cluster +connection. Optional runtime dependency: cwdaemon Alternate runtime dependency (not in SlackBuilds.org): winkeydaemon -(winkeydaemon may be obtained from https://github.com/N0NB/winkeydaemon) +winkeydaemon may be obtained from https://github.com/N0NB/winkeydaemon diff --git a/ham/tlf/tlf.SlackBuild b/ham/tlf/tlf.SlackBuild index 177dd34ccd..e45b914c6b 100644 --- a/ham/tlf/tlf.SlackBuild +++ b/ham/tlf/tlf.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for tlf. # @@ -23,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tlf VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -97,4 +107,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/tqsl/README b/ham/tqsl/README index 740c3faeb7..00c76d8fbb 100644 --- a/ham/tqsl/README +++ b/ham/tqsl/README @@ -1,4 +1,5 @@ -The ARRL Logbook Of The World program requires the use of tqsl to digitally -sign amateur radio log files before uploading to the site. This allows -additional verification that your logs belong to you and only you. This -operates similarly to the PGP program for signing emails, etc. +The ARRL Logbook Of The World program requires the use of tqsl +to digitally sign amateur radio log files before uploading to the +site. This allows additional verification that your logs belong to you +and only you. This operates similarly to the PGP program for signing +emails, etc. diff --git a/ham/tqsl/doinst.sh b/ham/tqsl/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/ham/tqsl/doinst.sh +++ b/ham/tqsl/doinst.sh @@ -1,3 +1,9 @@ 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/ham/tqsl/slack-desc b/ham/tqsl/slack-desc index cdf59dbf5e..b148bacc5a 100644 --- a/ham/tqsl/slack-desc +++ b/ham/tqsl/slack-desc @@ -13,7 +13,7 @@ tqsl: League's Logbook Of The World (LOTW) program. This allows you to tqsl: digitally sign your ADIF or Cabrillo log file to ensure that only tqsl: your legitimate logs are uploaded to LOTW. tqsl: -tqsl: Homepage: http://www.arrl.org/ +tqsl: Homepage: http://www.arrl.org/tqsl-download tqsl: tqsl: tqsl: diff --git a/ham/tqsl/tqsl.SlackBuild b/ham/tqsl/tqsl.SlackBuild index cde6d75836..749989221d 100644 --- a/ham/tqsl/tqsl.SlackBuild +++ b/ham/tqsl/tqsl.SlackBuild @@ -1,29 +1,34 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for tqsl # Written by JK Wood <joshuakwood@gmail.com> - -# Slackbuild is released under the Dog-on-Fire License: -# If use of this script causes your dog to catch on fire, -# you agree to send me five dollars. Or a picture -# of the dog on fire. -# Otherwise, you're on your own. I've tested the script -# on my own computer, and it hasn't broken anything. -# So if it does it on your computer, that falls in -# the realm of "Not my problem." +# Brian Cox 2024 <hamslackbuild@comcast.net> # -# Of course, if you'll send a bug report to the above -# email address, I may be able to see what you did -# wrong and prevent it from happening in the future. -# In which case, I may just send YOU five dollars. - -# Oh, and feel free to copy it and modify it as you -# see fit. Or as I see fit. Or as I fit. Although -# that is unlikely, as I am rather tall. +# 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. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tqsl -VERSION=${VERSION:-2.5.1} +VERSION=${VERSION:-2.7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +38,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -47,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -71,6 +83,7 @@ cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_MANDIR=man \ -DCMAKE_BUILD_TYPE=Release . make @@ -79,20 +92,8 @@ 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 - -# Fix hardcoded man page path >:( -mv $PKG/usr/share/man $PKG/usr/man - +# Gzip man pages 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 - -# Fix weirdness wtih LIB directory -if [ "$LIBDIRSUFFIX" = "64" ]; then - mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} -fi - -mkdir -p $PKG/usr/share/applications -install -m 644 $CWD/tqsl.desktop $PKG/usr/share/applications mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS.txt INSTALL LICENSE.txt README $PKG/usr/doc/$PRGNAM-$VERSION @@ -105,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/tqsl/tqsl.desktop b/ham/tqsl/tqsl.desktop deleted file mode 100644 index 305ec8e0fe..0000000000 --- a/ham/tqsl/tqsl.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=TQSL -Comment=Sign Amateur Radio log files -Exec=tqsl %F -TryExec=tqsl -Terminal=false -Type=Application -Categories=HamRadio;Utility; -Icon=TrustedQSL diff --git a/ham/tqsl/tqsl.info b/ham/tqsl/tqsl.info index 50382005b6..7699d83a3e 100644 --- a/ham/tqsl/tqsl.info +++ b/ham/tqsl/tqsl.info @@ -1,10 +1,10 @@ PRGNAM="tqsl" -VERSION="2.5.1" -HOMEPAGE="http://www.arrl.org" -DOWNLOAD="http://www.arrl.org/files/file/LoTW%20Instructions/tqsl-2.5.1.tar.gz" -MD5SUM="926ad9693ba0d6b363e38305bfc9f81e" +VERSION="2.7.3" +HOMEPAGE="http://www.arrl.org/tqsl-download" +DOWNLOAD="http://www.arrl.org/files/file/LoTW%20Instructions/tqsl-2.7.3.tar.gz" +MD5SUM="0ab8641c140dc3588c100ae5a534c8f1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxPython" -MAINTAINER="JK Wood" -EMAIL="joshuakwood@gmail.com" +REQUIRES="wxGTK3" +MAINTAINER="Brian Cox" +EMAIL="hamslackbuild@comcast.net" diff --git a/ham/tucnak/README b/ham/tucnak/README new file mode 100644 index 0000000000..3a29e671c3 --- /dev/null +++ b/ham/tucnak/README @@ -0,0 +1,3 @@ +tucnak is an amateur radio VHF/HF contest logbook. + +optional dependencies: hamlib, portaudio, rtl-sdr diff --git a/ham/tucnak/doinst.sh b/ham/tucnak/doinst.sh new file mode 100644 index 0000000000..a25271d80c --- /dev/null +++ b/ham/tucnak/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + +# If other icon themes are installed, then add to/modify this as needed +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/ham/tucnak/slack-desc b/ham/tucnak/slack-desc new file mode 100644 index 0000000000..afaff6d804 --- /dev/null +++ b/ham/tucnak/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 ':'. + + |-----handy-ruler------------------------------------------------------| +tucnak: tucnak (Ham Radio - VHF/HF contest logbook) +tucnak: +tucnak: Amateur Radio VHF/HF Contest Logbook +tucnak: +tucnak: +tucnak: +tucnak: +tucnak: +tucnak: +tucnak: +tucnak: diff --git a/ham/tucnak/tucnak.SlackBuild b/ham/tucnak/tucnak.SlackBuild new file mode 100644 index 0000000000..b8dc7e5c4d --- /dev/null +++ b/ham/tucnak/tucnak.SlackBuild @@ -0,0 +1,121 @@ +#!/bin/bash + +# Slackware build script for tucnak + +# Copyright 2022 Matt Dinslage <matthewdinslage@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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=tucnak +VERSION=${VERSION:-4.54} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +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 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 {} \; + +# fix libdir issue +if [ "$ARCH" = "x86_64" ]; then + sed -i 's,/usr/lib/tucnak,/usr/lib64/tucnak,g' configure + sed -i 's,/lib/,/lib64/,g' src/Makefile.am +fi + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +autoreconf -v -f +./configure \ + --disable-static\ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-gpm \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la + +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/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS \ + $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 diff --git a/ham/tucnak/tucnak.info b/ham/tucnak/tucnak.info new file mode 100644 index 0000000000..13105775e9 --- /dev/null +++ b/ham/tucnak/tucnak.info @@ -0,0 +1,10 @@ +PRGNAM="tucnak" +VERSION="4.54" +HOMEPAGE="http://tucnak.nagano.cz/wiki/Main_Page" +DOWNLOAD="http://tucnak.nagano.cz/tucnak-4.54.tar.gz" +MD5SUM="8f85dfc3b491b49de3630a485a10fcde" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libzia" +MAINTAINER="M.Dinslage" +EMAIL="matthewdinslage@gmail.com" diff --git a/ham/twhamqth/README b/ham/twhamqth/README index 485fb5dd18..4717b2ed94 100644 --- a/ham/twhamqth/README +++ b/ham/twhamqth/README @@ -1,10 +1,10 @@ -This program uses a free XML feed from the HamQTH.com website of Petr, -OK2CQR. His callsign database has over 1.3 million callsigns and is very -fast, returning the station information in just a few seconds. Thanks to +This program uses a free XML feed from the HamQTH.com website of Petr, +OK2CQR. His callsign database has over 1.3 million callsigns and is very +fast, returning the station information in just a few seconds. Thanks to Petr for a great service. -Given a ham radio callsign, twHamQTH will display the name, address, -city and country of the station. All of the station data can be use -by other programs. +Given a ham radio callsign, twHamQTH will display the name, address, +city and country of the station. All of the station data can be use by +other programs. You'll need a free HamQTH.com login to use this software. diff --git a/ham/twhamqth/twhamqth.SlackBuild b/ham/twhamqth/twhamqth.SlackBuild index 3719fbf5ad..152871a2e2 100644 --- a/ham/twhamqth/twhamqth.SlackBuild +++ b/ham/twhamqth/twhamqth.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for twhamqth # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=twhamqth VERSION=${VERSION:-2.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -67,8 +77,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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -100,4 +109,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/unixcw/unixcw.SlackBuild b/ham/unixcw/unixcw.SlackBuild index 4d7e6e8875..adf5b705c1 100644 --- a/ham/unixcw/unixcw.SlackBuild +++ b/ham/unixcw/unixcw.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for unixcw # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=unixcw VERSION=${VERSION:-3.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -92,8 +102,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -name "Makefile" -exec rm {} \; find $PKG/usr/doc -type f -exec chmod 644 {} \; +rm -f $PKG/usr/lib*/*.la + 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/wsjtx/README b/ham/wsjtx/README index 1d6bbd3707..94047f0f52 100644 --- a/ham/wsjtx/README +++ b/ham/wsjtx/README @@ -1,9 +1,12 @@ -WSJT-X ("Weak Signal Communication, by K1JT") offers specific digital protocols -optimized for EME (moonbounce), meteor scatter, and ionospheric scatter, at -VHF/UHF, as well as for LF, MF, and HF propagation. The program can decode -fraction-of-a-second signals reflected from ionized meteor trails and steady -signals more than 10 dB below the audible threshold. WSJT-X incorporates nearly -all popular capabilities of programs WSJT and WSPR, while adding comprehensive -rig control and many other features. Check the WSJT-X page and links therein -for details about modes FT4, FT8, JT4, JT9, JT65, QRA64, ISCAT, MSK144, and +WSJT-X ("Weak Signal Communication, by K1JT") offers specific digital +protocols optimized for EME (moonbounce), meteor scatter, and +ionospheric scatter, at VHF/UHF, as well as for LF, MF, and HF +propagation. + +The program can decode fraction-of-a-second signals reflected from +ionized meteor trails and steady signals more than 10 dB below the +audible threshold. WSJT-X incorporates nearly all popular capabilities +of programs WSJT and WSPR, while adding comprehensive rig control and +many other features. Check the WSJT-X page and links therein for +details about modes FT4, FT8, JT4, JT9, JT65, QRA64, ISCAT, MSK144, and WSPR. diff --git a/ham/wsjtx/wsjtx.SlackBuild b/ham/wsjtx/wsjtx.SlackBuild index b22a0c0aac..5305669bc8 100644 --- a/ham/wsjtx/wsjtx.SlackBuild +++ b/ham/wsjtx/wsjtx.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for wsjtx @@ -23,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wsjtx -VERSION=${VERSION:-2.1.2} +VERSION=${VERSION:-2.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -88,8 +98,6 @@ cd .. 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 -rm $PKG/usr/doc/$PRGNAM-$VERSION/changelog.Debian.gz - cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -97,4 +105,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/wsjtx/wsjtx.info b/ham/wsjtx/wsjtx.info index a3dd9b5118..d9a58a48b4 100644 --- a/ham/wsjtx/wsjtx.info +++ b/ham/wsjtx/wsjtx.info @@ -1,10 +1,10 @@ PRGNAM="wsjtx" -VERSION="2.1.2" +VERSION="2.5.4" HOMEPAGE="http://physics.princeton.edu/pulsar/K1JT/" -DOWNLOAD="https://sourceforge.net/projects/wsjt/files/wsjtx-2.1.2/wsjtx-2.1.2.tgz" -MD5SUM="06a0b864e67ddcc7086ef2a304d56b65" +DOWNLOAD="https://physics.princeton.edu/pulsar/K1JT/wsjtx-2.5.4.tgz" +MD5SUM="3a1d081e4c243cb01486d62291fd4798" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5 rubygem-asciidoctor" +REQUIRES="" MAINTAINER="JK Wood" EMAIL="joshuakwood@gmail.com" diff --git a/ham/wxapt/wxapt.SlackBuild b/ham/wxapt/wxapt.SlackBuild index c4392225f7..cdd4c10e57 100644 --- a/ham/wxapt/wxapt.SlackBuild +++ b/ham/wxapt/wxapt.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for wxapt # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wxapt VERSION=${VERSION:-1.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -93,4 +103,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xanalyser/xanalyser.SlackBuild b/ham/xanalyser/xanalyser.SlackBuild index f48fdc9259..a45064c4ed 100644 --- a/ham/xanalyser/xanalyser.SlackBuild +++ b/ham/xanalyser/xanalyser.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xanalyser # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xanalyser VERSION=${VERSION:-1.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -96,4 +106,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xdemorse/README b/ham/xdemorse/README index 4b28e41987..5c0a4e6232 100644 --- a/ham/xdemorse/README +++ b/ham/xdemorse/README @@ -1,7 +1,7 @@ -xdemorse is a GTK+ based Morse code signal decoder. It has an -integer-arithmetic FFT-derived "waterfall" display of the incoming -audio signal's spectrum, as well as a 'scope-like display of the -audio detector's output and status of the mark/space discriminator -("slicer"). xdemorse also has CAT for the FT847 and FT857 and -this can be used to net the receiver's frequency to the incoming +xdemorse is a GTK+ based Morse code signal decoder. It has an +integer-arithmetic FFT-derived "waterfall" display of the incoming +audio signal's spectrum, as well as a 'scope-like display of the +audio detector's output and status of the mark/space discriminator +("slicer"). xdemorse also has CAT for the FT847 and FT857 and +this can be used to net the receiver's frequency to the incoming signal, by clicking near its trace in the waterfall display. diff --git a/ham/xdemorse/xdemorse.SlackBuild b/ham/xdemorse/xdemorse.SlackBuild index 58c485939f..01c902a56a 100644 --- a/ham/xdemorse/xdemorse.SlackBuild +++ b/ham/xdemorse/xdemorse.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xdemorse # Written by JK Wood <joshuakwood@gmail.com> @@ -20,26 +20,36 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xdemorse -VERSION=${VERSION:-3.0.1} +VERSION=${VERSION:-3.6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -58,7 +68,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.orig.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -67,9 +77,6 @@ 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 {} \; -# Fixup desktop file a tad -patch -p1 < $CWD/xdemorse.desktop.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -105,4 +112,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xdemorse/xdemorse.desktop.patch b/ham/xdemorse/xdemorse.desktop.patch deleted file mode 100644 index 6a2667bef7..0000000000 --- a/ham/xdemorse/xdemorse.desktop.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur xdemorse-3.0.1/files/xdemorse.desktop xdemorse-3.0.1.patched/files/xdemorse.desktop ---- xdemorse-3.0.1/files/xdemorse.desktop 2014-03-06 00:47:02.000000000 -0500 -+++ xdemorse-3.0.1.patched/files/xdemorse.desktop 2020-01-17 11:03:18.745024631 -0500 -@@ -4,6 +4,6 @@ - Comment=Decode Morse signals to Text - Exec=xdemorse - Type=Application --Icon=xdemorse.xpm --Categories=Audio -+Icon=/usr/share/pixmaps/xdemorse.xpm -+Categories=AudioVideo;Audio;HamRadio; - Keywords=hamradio;amateur;radio;morse;code;gtk;signal diff --git a/ham/xdemorse/xdemorse.info b/ham/xdemorse/xdemorse.info index 597532d2b4..f630a15f10 100644 --- a/ham/xdemorse/xdemorse.info +++ b/ham/xdemorse/xdemorse.info @@ -1,8 +1,8 @@ PRGNAM="xdemorse" -VERSION="3.0.1" +VERSION="3.6.5" HOMEPAGE="https://www.qsl.net/5b4az/" -DOWNLOAD="https://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse-3.0.1.tar.bz2" -MD5SUM="f1460c60df73ae9a7bc5bd8f71cf263c" +DOWNLOAD="http://ftp.debian.org/debian/pool/main/x/xdemorse/xdemorse_3.6.5.orig.tar.bz2" +MD5SUM="be235ea4af07c3b77443937e484cc402" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/ham/xdx/README b/ham/xdx/README index 2fc8f0853b..197f6b3213 100644 --- a/ham/xdx/README +++ b/ham/xdx/README @@ -1,7 +1,7 @@ Xdx DX Cluster client--DX Cluster client for radio amateurs -A handy stand-alone GTK+ client for accessing your favorite DX Cluster or -Reverse Beacon Net server via telnet over TCP/IP. +A handy stand-alone GTK+ client for accessing your favorite DX Cluster +or Reverse Beacon Net server via telnet over TCP/IP. Xdx can set your radio's frequency to a spot using hamlib's rigctl utility (hamlib does not need to be installed to build xdx). diff --git a/ham/xdx/xdx.SlackBuild b/ham/xdx/xdx.SlackBuild index ea223e1e9c..45c29b6726 100644 --- a/ham/xdx/xdx.SlackBuild +++ b/ham/xdx/xdx.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for xdx. # @@ -23,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xdx VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -72,8 +82,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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ @@ -96,4 +105,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xfhell/README b/ham/xfhell/README index e1edd82c61..c953a41f20 100644 --- a/ham/xfhell/README +++ b/ham/xfhell/README @@ -1,22 +1,23 @@ -xfhell is a GTK+ application for the "fuzzy" digital communication mode -known as Hellschreiber. xfhell has several different built-in fonts in -Adobe BDF format, including a font set for Greek, and a special "short" -font set that is 12 pixels high instead of the standard 14 of the original -Hell fonts. Using this font set would make xfhell incompatible with other -Hellschreiber programs, but the short fonts speed up operation and avoid -wasted bandwidth, inherent in the original Hellschreiber design (an -unavoidable problem of the original mechanical implementation of the mode). -xfhell also has selectable lower baud rate operation (down to 7.6 Bd), -which again make it incompatible with other Hellschreiber programs, but -the lower speeds (especially combined with the 12-pixel fonts) would make -this mode even more efficient and effective. +xfhell is a GTK+ application for the "fuzzy" digital communication +mode known as Hellschreiber. xfhell has several different built-in +fonts in Adobe BDF format, including a font set for Greek, and +a special "short" font set that is 12 pixels high instead of the +standard 14 of the original Hell fonts. Using this font set would make +xfhell incompatible with other Hellschreiber programs, but the short +fonts speed up operation and avoid wasted bandwidth, inherent in the +original Hellschreiber design (an unavoidable problem of the original +mechanical implementation of the mode). xfhell also has selectable +lower baud rate operation (down to 7.6 Bd), which again make it +incompatible with other Hellschreiber programs, but the lower speeds +(especially combined with the 12-pixel fonts) would make this mode +even more efficient and effective. -xfhell has built-in CAT control for the FT847 and FT857 transceivers and a -QSO logging facility similar to xpsk31. It also has a FFT-derived waterfall -display of the incoming signal, with the ability to detect maximum signal -level and tune the transceiver, via CAT, to the appropriate carrier -frequency by clicking near the signal trace. +xfhell has built-in CAT control for the FT847 and FT857 transceivers +and a QSO logging facility similar to xpsk31. It also has a +FFT-derived waterfall display of the incoming signal, with the ability +to detect maximum signal level and tune the transceiver, via CAT, to +the appropriate carrier frequency by clicking near the signal trace. -By default, xfhell wants to install a directory structure in the $HOME of -the installing user. The SlackBuild overrides this, and copies that structure -into /usr/share/xfhell-$VERSION/. +By default, xfhell wants to install a directory structure in the $HOME +of the installing user. The SlackBuild overrides this, and copies that +structure into /usr/share/xfhell-$VERSION/. diff --git a/ham/xfhell/xfhell.SlackBuild b/ham/xfhell/xfhell.SlackBuild index b661a85ead..3c1dc9b8a2 100644 --- a/ham/xfhell/xfhell.SlackBuild +++ b/ham/xfhell/xfhell.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xfhell # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xfhell VERSION=${VERSION:-3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -106,4 +116,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xgridloc/xgridloc.SlackBuild b/ham/xgridloc/xgridloc.SlackBuild index ec5de980ba..af802f2b50 100644 --- a/ham/xgridloc/xgridloc.SlackBuild +++ b/ham/xgridloc/xgridloc.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xgridloc # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xgridloc VERSION=${VERSION:-1.7} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -102,4 +112,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xgridloc/xgridloc.info b/ham/xgridloc/xgridloc.info index c2269fe0fe..c187c447cc 100644 --- a/ham/xgridloc/xgridloc.info +++ b/ham/xgridloc/xgridloc.info @@ -1,7 +1,7 @@ PRGNAM="xgridloc" VERSION="1.7" HOMEPAGE="https://www.qsl.net/5b4az/" -DOWNLOAD="https://www.qsl.net/5b4az/pkg/locator/xgridloc/xgridloc-1.7.tar.bz2" +DOWNLOAD="https://slackware.uk/sbosrcarch/by-name/ham/xgridloc/xgridloc-1.7.tar.bz2" MD5SUM="4301e1e04cb01b6ad5382f8c9db1d18c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/ham/xlog/xlog.SlackBuild b/ham/xlog/xlog.SlackBuild index db6cfbd40a..a29310f0eb 100644 --- a/ham/xlog/xlog.SlackBuild +++ b/ham/xlog/xlog.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for xlog. # @@ -24,10 +24,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xlog -VERSION=${VERSION:-2.0.17} +VERSION=${VERSION:-2.0.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -115,4 +125,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xlog/xlog.info b/ham/xlog/xlog.info index f10a875409..e85d74e68c 100644 --- a/ham/xlog/xlog.info +++ b/ham/xlog/xlog.info @@ -1,8 +1,8 @@ PRGNAM="xlog" -VERSION="2.0.17" +VERSION="2.0.24" HOMEPAGE="http://xlog.nongnu.org/" -DOWNLOAD="http://download.savannah.nongnu.org/releases/xlog/xlog-2.0.17.tar.gz" -MD5SUM="360b93e32ad530e3bb0dc40a8de1e8ad" +DOWNLOAD="http://download.savannah.nongnu.org/releases/xlog/xlog-2.0.24.tar.gz" +MD5SUM="4d18ae8b68e8dffa57f46695eb899f19" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="hamlib" diff --git a/ham/xnec2c/README b/ham/xnec2c/README index e1975aa8ef..281e24be28 100644 --- a/ham/xnec2c/README +++ b/ham/xnec2c/README @@ -1,18 +1,22 @@ -xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates -the nec2c core which it uses for reading input files and calculating -output data, but it does not need and indeed does not produce an output -file by default. Since xnec2c incorporates the nec2c core, it has access -to all internal buffers, including structure data, frequency-related -data (structure currents, input impedance, gain etc) and radiation pattern -data (for the far field and near field). It therefore has the ability to -graphically display user-requested data directly, as the frequency loop -progresses or after input from the user. Graphs of frequency-related data -and the current or charge distribution evolve as the frequency loop -progresses, and radiation patterns (far and near field) are sequentially -drawn for each frequency step. A new frequency can be entered by the user -from spin buttons in the main or radiation pattern windows or by clicking -on the graphs of frequency-related data. New output data are then computed -and displayed in text and graphical form. +xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates +the nec2c core which it uses for reading input files and calculating +output data, but it does not need and indeed does not produce an output +file by default. + +Since xnec2c incorporates the nec2c core, it has access to all internal +buffers, including structure data, frequency-related data (structure +currents, input impedance, gain etc) and radiation pattern data (for the +far field and near field). It therefore has the ability to graphically +display user-requested data directly, as the frequency loop progresses +or after input from the user. + +Graphs of frequency-related data and the current or charge distribution +evolve as the frequency loop progresses, and radiation patterns (far and +near field) are sequentially drawn for each frequency step. A new +frequency can be entered by the user from spin buttons in the main or +radiation pattern windows or by clicking on the graphs of +frequency-related data. New output data are then computed and displayed +in text and graphical form. nec2c is a C translation of the Fortran nec2 code, which allows analysis of antennas. diff --git a/ham/xnec2c/xnec2c.SlackBuild b/ham/xnec2c/xnec2c.SlackBuild index 0898fc094d..c9fa8d7dec 100644 --- a/ham/xnec2c/xnec2c.SlackBuild +++ b/ham/xnec2c/xnec2c.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xnec2c # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xnec2c -VERSION=${VERSION:-3.5.1} +VERSION=${VERSION:-4.4.5} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -58,7 +68,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 . \ @@ -67,6 +77,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 {} \; +./autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -107,4 +119,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xnec2c/xnec2c.info b/ham/xnec2c/xnec2c.info index 06aa906f8d..362062b25a 100644 --- a/ham/xnec2c/xnec2c.info +++ b/ham/xnec2c/xnec2c.info @@ -1,8 +1,8 @@ PRGNAM="xnec2c" -VERSION="3.5.1" +VERSION="4.4.5" HOMEPAGE="https://www.qsl.net/5b4az/" -DOWNLOAD="https://www.qsl.net/5b4az/pkg/nec2/xnec2c/xnec2c-3.5.1.tar.bz2" -MD5SUM="1db7f26e070c421b6cfdc659002d4f6f" +DOWNLOAD="https://github.com/KJ7LNW/xnec2c/archive/v4.4.5/xnec2c-4.4.5.tar.gz" +MD5SUM="23ef440cd8fbfb78b47224fa9c1211e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/ham/xpsk31/README b/ham/xpsk31/README index 1ffc807e2d..d7927faaa8 100644 --- a/ham/xpsk31/README +++ b/ham/xpsk31/README @@ -1,11 +1,11 @@ -xpsk31 is a GTK+ graphical version of lpsk31, using the same basic -signal decoding and encoding engine but controlled by the user via -the GUI. In addition it has a FFT-derived "waterfall" display of -the incoming signal and a "magniphase" display that shows the magnitude, -phase and frequency error of the psk31 signal. It has similar QSO -logging facilities and CAT control, for the FT847 and FT857 transceivers, -which can be used to tune the transceiver to the appropriate carrier -frequency by clicking on a signal trace. +xpsk31 is a GTK+ graphical version of lpsk31, using the same basic +signal decoding and encoding engine but controlled by the user +via the GUI. In addition it has a FFT-derived "waterfall" display +of the incoming signal and a "magniphase" display that shows the +magnitude, phase and frequency error of the psk31 signal. It has +similar QSO logging facilities and CAT control, for the FT847 and +FT857 transceivers, which can be used to tune the transceiver to the +appropriate carrier frequency by clicking on a signal trace. By default, xpsk31 wants to install a config file into the installing user's home directory. This has been redirected to diff --git a/ham/xpsk31/xpsk31.SlackBuild b/ham/xpsk31/xpsk31.SlackBuild index 224b00eb54..d3db6f9c39 100644 --- a/ham/xpsk31/xpsk31.SlackBuild +++ b/ham/xpsk31/xpsk31.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xpsk31 # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xpsk31 VERSION=${VERSION:-3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -105,4 +115,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/ham/xwxapt/README b/ham/xwxapt/README index a2824daeb8..689db50927 100644 --- a/ham/xwxapt/README +++ b/ham/xwxapt/README @@ -1,7 +1,7 @@ -xwxapt is a GTK+ graphical version of wxapt. It uses the same decoding -engine as wxapt but it displays APT images at half-size as they are -received, storing the full-sized files when reception is completed. -It also displays some status information (audio level, sync level, +xwxapt is a GTK+ graphical version of wxapt. It uses the same decoding +engine as wxapt but it displays APT images at half-size as they are +received, storing the full-sized files when reception is completed. +It also displays some status information (audio level, sync level, sync status etc) and text messages as it runs. By default, xwxapt wants to create a directory in the home directory @@ -9,6 +9,6 @@ of the installing user. The SlackBuild disables that, but the directory structure including config file has been made available in /usr/share/xwxapt-$VERSION -A config file has been added in /usr/share/xwxapt-$VERSION/xwxapt/xwxaptrc -which you will need to copy and modify before starting xwxapt for the -first time. +A config file has been added in +/usr/share/xwxapt-$VERSION/xwxapt/xwxaptrc which you will need to copy +and modify before starting xwxapt for the first time. diff --git a/ham/xwxapt/xwxapt.SlackBuild b/ham/xwxapt/xwxapt.SlackBuild index 8729780e85..69e27a5074 100644 --- a/ham/xwxapt/xwxapt.SlackBuild +++ b/ham/xwxapt/xwxapt.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackbuild for xwxapt # Written by JK Wood <joshuakwood@gmail.com> @@ -20,10 +20,13 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xwxapt VERSION=${VERSION:-2.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -106,4 +116,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |