diff options
Diffstat (limited to 'ham')
108 files changed, 3074 insertions, 103 deletions
diff --git a/ham/SDRPlay/SDRPlay.SlackBuild b/ham/SDRPlay/SDRPlay.SlackBuild index 90c9c3b587..b35668b45a 100644 --- a/ham/SDRPlay/SDRPlay.SlackBuild +++ b/ham/SDRPlay/SDRPlay.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=SDRPlay -VERSION=${VERSION:-2.13.1} +VERSION=${VERSION:-3.07.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,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 . \ @@ -73,13 +74,23 @@ find -L . \ 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 @@ -88,7 +99,7 @@ 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 diff --git a/ham/SDRPlay/SDRPlay.info b/ham/SDRPlay/SDRPlay.info index fc53d87e98..37067add23 100644 --- a/ham/SDRPlay/SDRPlay.info +++ b/ham/SDRPlay/SDRPlay.info @@ -1,8 +1,8 @@ PRGNAM="SDRPlay" -VERSION="2.13.1" +VERSION="3.07.1" HOMEPAGE="http://www.sdrplay.com/software/" -DOWNLOAD="http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.13.1.run" -MD5SUM="6a394db7d5770f11442023ce3ab0ba66" +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/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/chirp/chirp.SlackBuild b/ham/chirp/chirp.SlackBuild index 8fd4bb2798..d8ee756994 100644 --- a/ham/chirp/chirp.SlackBuild +++ b/ham/chirp/chirp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for chirp -# Copyright 2014-2021 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 @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=chirp -VERSION=${VERSION:-20220219} +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 diff --git a/ham/chirp/chirp.info b/ham/chirp/chirp.info index c4e8fd1190..f8f2ecd570 100644 --- a/ham/chirp/chirp.info +++ b/ham/chirp/chirp.info @@ -1,8 +1,8 @@ PRGNAM="chirp" -VERSION="20220219" +VERSION="20221217" HOMEPAGE="https://chirp.danplanet.com/projects/chirp/wiki/Home" -DOWNLOAD="https://trac.chirp.danplanet.com/chirp_daily/daily-20220219/chirp-daily-20220219.tar.gz" -MD5SUM="64657e2dcf66eb5c369e9014664a9011" +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..c341be9e75 --- /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.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="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 +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 \ + -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..a1073a6aaa --- /dev/null +++ b/ham/cm256cc/cm256cc.info @@ -0,0 +1,10 @@ +PRGNAM="cm256cc" +VERSION="1.1.1" +HOMEPAGE="https://github.com/f4exb/cm256cc/" +DOWNLOAD="https://github.com/f4exb/cm256cc/archive/v1.1.1/cm256cc-1.1.1.tar.gz" +MD5SUM="d727f0f10cc00e91d9c24d83004b351c" +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.info b/ham/codec2/codec2.info index 6df17200c3..4dc652738d 100644 --- a/ham/codec2/codec2.info +++ b/ham/codec2/codec2.info @@ -1,7 +1,7 @@ PRGNAM="codec2" VERSION="1.0.3" HOMEPAGE="http://rowetel.com/codec2.html" -DOWNLOAD="https://github.com/drowe67/codec2/archive/v1.0.3/codec2-1.0.3.tar.gz" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/codec2-1.0.3.tar.gz" MD5SUM="a20cb37573eb98f8c956212698a49a81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" 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..02071203fb --- /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:-20240428.229149eb} +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 dab-cmdline-${VERSION##*.}* +tar xvf $CWD/dab-cmdline-${VERSION##*.}*.tar.gz +cd dab-cmdline-${VERSION##*.}*/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 $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 \ + LICENSE README.md 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 + +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..a1a2c14183 --- /dev/null +++ b/ham/dab_lib/dab_lib.info @@ -0,0 +1,10 @@ +PRGNAM="dab_lib" +VERSION="20240428.229149eb" +HOMEPAGE="https://github.com/JvanKatwijk/dab-cmdline/" +DOWNLOAD="https://github.com/JvanKatwijk/dab-cmdline/archive/229149eb/dab-cmdline-229149eb421eeb8302ff96005c69b3cdab2cc349.tar.gz" +MD5SUM="38f5fb46df66f6bf395b0d1a367e1a77" +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/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/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/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/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/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 b83dc085e9..bac0eecc24 100644 --- a/ham/hamlib/hamlib.SlackBuild +++ b/ham/hamlib/hamlib.SlackBuild @@ -24,11 +24,15 @@ # 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} @@ -40,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,7 +53,7 @@ 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 @@ -80,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" @@ -183,6 +184,8 @@ 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 diff --git a/ham/inspectrum/inspectrum.SlackBuild b/ham/inspectrum/inspectrum.SlackBuild index d97286c21a..94b64f2f23 100644 --- a/ham/inspectrum/inspectrum.SlackBuild +++ b/ham/inspectrum/inspectrum.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=inspectrum -VERSION=${VERSION:-0.2.3} +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/ham/inspectrum/inspectrum.info b/ham/inspectrum/inspectrum.info index 60d2c82832..08740e682e 100644 --- a/ham/inspectrum/inspectrum.info +++ b/ham/inspectrum/inspectrum.info @@ -1,8 +1,8 @@ PRGNAM="inspectrum" -VERSION="0.2.3" +VERSION="0.3.1" HOMEPAGE="https://github.com/miek/inspectrum" -DOWNLOAD="https://github.com/miek/inspectrum/archive/v0.2.3/inspectrum-0.2.3.tar.gz" -MD5SUM="e035ea6971e83a920d9009a0795da67c" +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" 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/jtdxhamlib/slack-desc b/ham/jtdxhamlib/slack-desc new file mode 100644 index 0000000000..d2fe5962f9 --- /dev/null +++ b/ham/jtdxhamlib/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------------------------------------------------------| +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/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..2278ca3bb0 --- /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:-20240428.299dc8f9} +SRCVERSION=${SRCVERSION:-299dc8f9725f1733e5cc1ce8a69fbcf7f18a2f58} +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..78a17159dc --- /dev/null +++ b/ham/libsigmf/libsigmf.info @@ -0,0 +1,14 @@ +PRGNAM="libsigmf" +VERSION="20240428.299dc8f9" +HOMEPAGE="https://github.com/f4exb/libsigmf/" +DOWNLOAD="https://github.com/f4exb/libsigmf/archive/299dc8f9/libsigmf-299dc8f9725f1733e5cc1ce8a69fbcf7f18a2f58.zip \ + https://github.com/google/flatbuffers/archive/d8210d5a/flatbuffers-d8210d5a83faa345046648e520d82b54ea724e35.zip \ + https://github.com/nlohmann/json/archive/9cca280a/json-9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03.zip" +MD5SUM="2da9c5db69ed2c0570e7e5d1f2a6f206 \ + 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/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..43890bfeec --- /dev/null +++ b/ham/mbelib/mbelib.SlackBuild @@ -0,0 +1,111 @@ +#!/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:-20240428.9a04ed5c} +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 \ + -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..06887470b0 --- /dev/null +++ b/ham/mbelib/mbelib.info @@ -0,0 +1,10 @@ +PRGNAM="mbelib" +VERSION="20240428.9a04ed5c" +HOMEPAGE="https://github.com/szechyjs/mbelib/" +DOWNLOAD="https://github.com/szechyjs/mbelib/archive/9a04ed5c/mbelib-9a04ed5c78176a9965f3d43f7aa1b1f5330e771f.tar.gz" +MD5SUM="9c998de63e1dea2f04bcd085177008dc" +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/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..829fe4d22a --- /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.35.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..2d5827fee5 --- /dev/null +++ b/ham/qlog/qlog.info @@ -0,0 +1,12 @@ +PRGNAM="qlog" +VERSION="0.35.0" +HOMEPAGE="https://github.com/foldynl/QLog" +DOWNLOAD="https://github.com/foldynl/QLog/archive/refs/tags/v0.35.0/QLog-0.35.0.tar.gz \ + https://github.com/foldynl/QLog-Flags/archive/refs/tags/v0.35.0/QLog-Flags-0.35.0.tar.gz" +MD5SUM="4987483e95af8b668e21a4fce29debb8\ + 3e6dc56ab8f80bf8acfc93424eb8883d" +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/qt-dab/qt-dab.SlackBuild b/ham/qt-dab/qt-dab.SlackBuild index 0a17e2824e..76af86f1e0 100644 --- a/ham/qt-dab/qt-dab.SlackBuild +++ b/ham/qt-dab/qt-dab.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for qt-dab -# Copyright 2022 J sbo-qt-dab@jnet-productions.co.uk +# Copyright 2023 J sbo-qt-dab@jnet-productions.co.uk # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qt-dab -VERSION=${VERSION:-4.4} +VERSION=${VERSION:-5.4} +TARVERSION=6 BUILD=${BUILD:-0} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,6 +39,11 @@ if [ -z "$ARCH" ]; then 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. @@ -69,10 +75,9 @@ 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 || cd $PRGNAM-$PRGNAM-$VERSION -# Seems that the latest version folder is now name-name-version +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 \ @@ -80,7 +85,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 {} \; -# Build only the full "maxi" application +# Build only the full application mkdir -p build cd build cmake \ @@ -88,24 +93,25 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DRTLSDR=ON \ + -DRTLSDR_LINUX=ON \ -DRTL_TCP=ON \ -DFDK_AAC=ON \ - -DCMAKE_BUILD_TYPE=Release ../dab-maxi + $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 +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.pdf \ + docs/manual-5.pdf \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -115,13 +121,13 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/pixmaps -chmod 0644 dab-maxi/qt-dab.desktop -chmod 0644 dab-maxi/qt-dab.png +chmod 0644 qt-dab-s5/qt-dab-5.desktop +chmod 0644 qt-dab-s5/qt-dab-5.png cp -a \ - dab-maxi/qt-dab.desktop \ + qt-dab-s5/qt-dab-5.desktop \ $PKG/usr/share/applications cp -a \ - dab-maxi/qt-dab.png \ + qt-dab-s5/qt-dab-5.png \ $PKG/usr/share/pixmaps cd $PKG diff --git a/ham/qt-dab/qt-dab.info b/ham/qt-dab/qt-dab.info index 967063dc56..0dd2cfa5cc 100644 --- a/ham/qt-dab/qt-dab.info +++ b/ham/qt-dab/qt-dab.info @@ -1,10 +1,10 @@ PRGNAM="qt-dab" -VERSION="4.4" +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/refs/tags/qt-dab-4.4.tar.gz" -MD5SUM_x86_64="2bc12e9853b19b30741e689d746a2dd7" +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/redsea/redsea.SlackBuild b/ham/redsea/redsea.SlackBuild index 1f2767712d..3a8753199b 100644 --- a/ham/redsea/redsea.SlackBuild +++ b/ham/redsea/redsea.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=redsea -VERSION=${VERSION:-0.20} +VERSION=${VERSION:-0.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/ham/redsea/redsea.info b/ham/redsea/redsea.info index a089b43bd9..8b90501c13 100644 --- a/ham/redsea/redsea.info +++ b/ham/redsea/redsea.info @@ -1,8 +1,8 @@ PRGNAM="redsea" -VERSION="0.20" +VERSION="0.21" HOMEPAGE="https://github.com/windytan/redsea" -DOWNLOAD="https://github.com/windytan/redsea/archive/v0.20/redsea-0.20.tar.gz" -MD5SUM="8e3a8357a8b0e713d5c87ed4595b3936" +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" 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..a984608207 --- /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.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 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..5194b697f5 --- /dev/null +++ b/ham/satdump/satdump.info @@ -0,0 +1,10 @@ +PRGNAM="satdump" +VERSION="1.1.4" +HOMEPAGE="https://www.satdump.org/" +DOWNLOAD="https://github.com/SatDump/SatDump/archive/1.1.4/SatDump-1.1.4.tar.gz" +MD5SUM="588b8ff40a1da81d1fb9d618448ede75" +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..883a6e912d --- /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, +SDRplay, 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..1307b9c770 --- /dev/null +++ b/ham/sdrangel/sdrangel.SlackBuild @@ -0,0 +1,117 @@ +#!/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.20.0} +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 + +# Fix (ver 3.14 Added RSP1B Support) +sed 's/case SDRPLAY_RSP1B_ID/case (6)/' -i plugins/samplesource/sdrplayv3/sdrplayv3input.cpp + +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..e638693ff9 --- /dev/null +++ b/ham/sdrangel/sdrangel.info @@ -0,0 +1,10 @@ +PRGNAM="sdrangel" +VERSION="7.20.0" +HOMEPAGE="https://github.com/f4exb/sdrangel/wiki/" +DOWNLOAD="https://github.com/f4exb/sdrangel/archive/v7.20.0/sdrangel-v7.20.0.tar.gz" +MD5SUM="f32e5c197ae11116ddb9c8dede609722" +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..cd3ac618cb --- /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:-20240428.6a448b48} +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 {} \; + +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 $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/sgp4/sgp4.info b/ham/sgp4/sgp4.info new file mode 100644 index 0000000000..460f8aaf32 --- /dev/null +++ b/ham/sgp4/sgp4.info @@ -0,0 +1,10 @@ +PRGNAM="sgp4" +VERSION="20240428.6a448b48" +HOMEPAGE="https://github.com/dnwrnr/sgp4/" +DOWNLOAD="https://github.com/dnwrnr/sgp4/archive/6a448b48/sgp4-6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91.tar.gz" +MD5SUM="795cfea39667e3348a5d664ff5415fb6" +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/svxlink/svxlink.SlackBuild b/ham/svxlink/svxlink.SlackBuild index d277a4d09c..a1bdbb92be 100644 --- a/ham/svxlink/svxlink.SlackBuild +++ b/ham/svxlink/svxlink.SlackBuild @@ -43,7 +43,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} 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 4df066cf17..749989221d 100644 --- a/ham/tqsl/tqsl.SlackBuild +++ b/ham/tqsl/tqsl.SlackBuild @@ -1,29 +1,31 @@ #!/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.7} +VERSION=${VERSION:-2.7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -36,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -57,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="" @@ -81,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 @@ -89,21 +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 >:( -mkdir -p $PKG/usr/man -mv $PKG/man5 $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 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 305ca3d679..7699d83a3e 100644 --- a/ham/tqsl/tqsl.info +++ b/ham/tqsl/tqsl.info @@ -1,10 +1,10 @@ PRGNAM="tqsl" -VERSION="2.5.7" -HOMEPAGE="http://www.arrl.org" -DOWNLOAD="http://www.arrl.org/files/file/LoTW%20Instructions/tqsl-2.5.7.tar.gz" -MD5SUM="b361cd86c37537804e9e660409e494e7" +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/tucnak.SlackBuild b/ham/tucnak/tucnak.SlackBuild index 97dc671a7c..b8dc7e5c4d 100644 --- a/ham/tucnak/tucnak.SlackBuild +++ b/ham/tucnak/tucnak.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tucnak -VERSION=${VERSION:-4.36} +VERSION=${VERSION:-4.54} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/ham/tucnak/tucnak.info b/ham/tucnak/tucnak.info index d73d03c012..13105775e9 100644 --- a/ham/tucnak/tucnak.info +++ b/ham/tucnak/tucnak.info @@ -1,8 +1,8 @@ PRGNAM="tucnak" -VERSION="4.36" +VERSION="4.54" HOMEPAGE="http://tucnak.nagano.cz/wiki/Main_Page" -DOWNLOAD="http://tucnak.nagano.cz/tucnak-4.36.tar.gz" -MD5SUM="10b05bf619375e4433cbcd370a3b107f" +DOWNLOAD="http://tucnak.nagano.cz/tucnak-4.54.tar.gz" +MD5SUM="8f85dfc3b491b49de3630a485a10fcde" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libzia" |