summaryrefslogtreecommitdiffstats
path: root/development/gnuradio
diff options
context:
space:
mode:
Diffstat (limited to 'development/gnuradio')
-rw-r--r--development/gnuradio/README4
-rw-r--r--development/gnuradio/doinst.sh12
-rw-r--r--development/gnuradio/gnuradio.SlackBuild13
-rw-r--r--development/gnuradio/gnuradio.info12
4 files changed, 23 insertions, 18 deletions
diff --git a/development/gnuradio/README b/development/gnuradio/README
index 01547382b5..4f9999adc2 100644
--- a/development/gnuradio/README
+++ b/development/gnuradio/README
@@ -9,7 +9,7 @@ research and real-world radio systems.
If you want to enable gnuradio-companion (GNU Radio Companion *GRC*
is a graphical tool for creating signal flow graphs and generating
flow-graph source code), you must install at least:
-lxml and numpy and then qwt for qtgui or wxPython for wxgui.
+python3-lxml and numpy and then qwt for qtgui or wxPython for wxgui.
Optional dependencies: uhd, cppunit, gsl, orc, jack, portaudio, SDL2,
-and Sphinx (the last is to generate additional docs).
+SoapySDR and Sphinx (the last is to generate additional docs).
diff --git a/development/gnuradio/doinst.sh b/development/gnuradio/doinst.sh
index 19a6ff6ac8..d1e80141f0 100644
--- a/development/gnuradio/doinst.sh
+++ b/development/gnuradio/doinst.sh
@@ -1,13 +1,19 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
rm $NEW
fi
- # Otherwise, we leave the .new copy for the admin to consider...
}
+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/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild
index abe11c3e11..a4aa0192b7 100644
--- a/development/gnuradio/gnuradio.SlackBuild
+++ b/development/gnuradio/gnuradio.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2013 Georgi Kolev, Bulgaria
# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA
-# Copyright 2021 Mario Preksavec, Zagreb, Croatia
+# Copyright 2021, 2024 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnuradio
-VERSION=${VERSION:-3.9.4.0}
+VERSION=${VERSION:-3.10.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,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
@@ -104,11 +101,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING DCO.txt README.md VERSIONING \
+cp CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING DCO.txt README.md VERSIONING \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/development/gnuradio/gnuradio.info b/development/gnuradio/gnuradio.info
index 73b662e1f9..4260e5fb49 100644
--- a/development/gnuradio/gnuradio.info
+++ b/development/gnuradio/gnuradio.info
@@ -1,10 +1,10 @@
PRGNAM="gnuradio"
-VERSION="3.9.4.0"
+VERSION="3.10.10.0"
HOMEPAGE="https://gnuradio.org"
-DOWNLOAD="https://github.com/gnuradio/gnuradio/archive/v3.9.4.0/gnuradio-3.9.4.0.tar.gz"
-MD5SUM="645f402ca4a99f89466b479e45b444db"
+DOWNLOAD="https://github.com/gnuradio/gnuradio/archive/v3.10.10.0/gnuradio-3.10.10.0.tar.gz"
+MD5SUM="f388d3a3136ba4362b8766fcebb0ac09"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cheetah3 pybind11 volk log4cpp numpy3"
-MAINTAINER="Panagiotis Nikolaou"
-EMAIL="hostmaster@slackonly.com"
+REQUIRES="cheetah3 pybind11 volk log4cpp python3-numpy spdlog"
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"