Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gnuradio: update to 3.9.5.0.
@ 2022-01-14 16:25 unspecd
  2022-01-14 20:34 ` unspecd
                   ` (64 more replies)
  0 siblings, 65 replies; 66+ messages in thread
From: unspecd @ 2022-01-14 16:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

There is a new pull request by unspecd against master on the void-packages repository

https://github.com/unspecd/void-packages pkg/gnuradio
https://github.com/void-linux/void-packages/pull/35049

gnuradio: update to 3.9.5.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):


A patch file from https://github.com/void-linux/void-packages/pull/35049.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/gnuradio-35049.patch --]
[-- Type: text/x-diff, Size: 9655 bytes --]

From 96af4fdbba9fbb0004ecb259001c4612ff8e39ea Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Mon, 29 Nov 2021 00:53:30 +1100
Subject: [PATCH] gnuradio: update to 3.9.5.0.

---
 common/shlibs                                 | 36 ++++++++++---------
 ...6495f3bdf579dae0c26531a16f6adcc7fb2f.patch | 18 ----------
 ...15d0b26b3c72fab736bcd28a67ab9d1404b7.patch | 28 ---------------
 ...befbbe54e55fc4994899e92bcf5bf462fa2f.patch | 31 ----------------
 srcpkgs/gnuradio/template                     | 34 +++++++++++-------
 5 files changed, 42 insertions(+), 105 deletions(-)
 delete mode 100644 srcpkgs/gnuradio/patches/aa4b15d0b26b3c72fab736bcd28a67ab9d1404b7.patch
 delete mode 100644 srcpkgs/gnuradio/patches/f259befbbe54e55fc4994899e92bcf5bf462fa2f.patch

diff --git a/common/shlibs b/common/shlibs
index c4b2c348f6f3..2da9f96786ba 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3240,22 +3240,26 @@ liblwipv6.so.2 lwipv6-1.5a_1
 libpipewire-0.2.so.1 libpipewire0.2-0.2.7_1
 libpipewire-0.3.so.0 libpipewire-0.3.6_1
 libvolk.so.2.5 volk-2.5.0_1
-libgnuradio-runtime.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-pmt.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-blocks.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-audio.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-fec.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-fft.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-filter.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-analog.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-digital.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-dtv.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-channels.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-trellis.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-video-sdl.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-vocoder.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-wavelet.so.3.8.0 gnuradio-3.8.0.0_1
-libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
+libgnuradio-runtime.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-pmt.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-blocks.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-audio.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-fec.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-fft.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-filter.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-analog.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-digital.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-dtv.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-channels.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-trellis.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-video-sdl.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-vocoder.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-wavelet.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-uhd.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-network.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-soapy.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-qtgui.so.3.9.5 gnuradio-3.9.5.0_1
+libgnuradio-zeromq.so.3.9.5 gnuradio-3.9.5.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
diff --git a/srcpkgs/gnuradio/patches/596c6495f3bdf579dae0c26531a16f6adcc7fb2f.patch b/srcpkgs/gnuradio/patches/596c6495f3bdf579dae0c26531a16f6adcc7fb2f.patch
index 51952bd29b38..676f631ebf5d 100644
--- a/srcpkgs/gnuradio/patches/596c6495f3bdf579dae0c26531a16f6adcc7fb2f.patch
+++ b/srcpkgs/gnuradio/patches/596c6495f3bdf579dae0c26531a16f6adcc7fb2f.patch
@@ -26,21 +26,3 @@ index 884bba7dd4b..44f616cdae1 100644
      def test01(self):
          a = pmt.intern("a")
          b = pmt.from_double(123765)
-@@ -112,6 +116,8 @@ def test14(self):
-         self.assertEqual(const,pmt.to_long(deser))
- 
-     def test15(self):
-+        if(self.sizeof_long <= 4):
-+            return
-         const = self.MAXINT32 + 1
-         x_pmt = pmt.from_long(const)
-         s = pmt.serialize_str(x_pmt)
-@@ -137,6 +143,8 @@ def test17(self):
-         self.assertEqual(const, x_long)
- 
-     def test18(self):
-+        if(self.sizeof_long <= 4):
-+            return
-         const = self.MININT32 - 1
-         x_pmt = pmt.from_long(const)
-         s = pmt.serialize_str(x_pmt)
diff --git a/srcpkgs/gnuradio/patches/aa4b15d0b26b3c72fab736bcd28a67ab9d1404b7.patch b/srcpkgs/gnuradio/patches/aa4b15d0b26b3c72fab736bcd28a67ab9d1404b7.patch
deleted file mode 100644
index c49a047427e8..000000000000
--- a/srcpkgs/gnuradio/patches/aa4b15d0b26b3c72fab736bcd28a67ab9d1404b7.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From aa4b15d0b26b3c72fab736bcd28a67ab9d1404b7 Mon Sep 17 00:00:00 2001
-From: John Sallay <jasallay@gmail.com>
-Date: Sat, 23 Oct 2021 08:26:42 -0400
-Subject: [PATCH] Fix issue 4595 qa_agc Assertion Error.
-
-The number of input elements needs to be disivible by volk_alignment, which it wasn't
-for machines with 512-bit registers.
-
-Signed-off-by: John Sallay <jasallay@gmail.com>
----
- gr-analog/python/analog/qa_agc.py | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/gr-analog/python/analog/qa_agc.py b/gr-analog/python/analog/qa_agc.py
-index a5a8ea47b6a..9368dd5d2a8 100644
---- a/gr-analog/python/analog/qa_agc.py
-+++ b/gr-analog/python/analog/qa_agc.py
-@@ -454,7 +454,9 @@ def test_006(self):
-         tb = self.tb
- 
-         sampling_freq = 100
--        N = int(5*sampling_freq)
-+        # N must by a multiple of the volk_alignment of the system for this test to work.
-+        # For a machine with 512-bit registers, that would be 8 complex-floats.
-+        N = int(8 * sampling_freq)
-         src1 = analog.sig_source_c(sampling_freq, analog.GR_SIN_WAVE,
-                                    sampling_freq * 0.10, 100)
-         dst1 = blocks.vector_sink_c()
diff --git a/srcpkgs/gnuradio/patches/f259befbbe54e55fc4994899e92bcf5bf462fa2f.patch b/srcpkgs/gnuradio/patches/f259befbbe54e55fc4994899e92bcf5bf462fa2f.patch
deleted file mode 100644
index 4faa3468140a..000000000000
--- a/srcpkgs/gnuradio/patches/f259befbbe54e55fc4994899e92bcf5bf462fa2f.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From f259befbbe54e55fc4994899e92bcf5bf462fa2f Mon Sep 17 00:00:00 2001
-From: alekhgupta1441 <alekhgupta1441@gmail.com>
-Date: Sun, 12 Apr 2020 03:48:14 +0530
-Subject: [PATCH] gr-digital/python : Updated soft_dec_lut_gen.py
-
----
- gr-digital/python/digital/soft_dec_lut_gen.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gr-digital/python/digital/soft_dec_lut_gen.py b/gr-digital/python/digital/soft_dec_lut_gen.py
-index 4503c4fea7b..84f6de66e45 100644
---- a/gr-digital/python/digital/soft_dec_lut_gen.py
-+++ b/gr-digital/python/digital/soft_dec_lut_gen.py
-@@ -73,7 +73,7 @@ def soft_dec_table_generator(soft_dec_gen, prec, Es=1):
- 
-     '''
- 
--    npts = 2.0**prec
-+    npts = int(2.0**prec)
-     maxd = Es*numpy.sqrt(2.0)/2.0
-     yrng = numpy.linspace(-maxd, maxd, npts)
-     xrng = numpy.linspace(-maxd, maxd, npts)
-@@ -110,7 +110,7 @@ def soft_dec_table(constel, symbols, prec, npwr=1):
-     re_max = max(numpy.array(constel).real)
-     im_max = max(numpy.array(constel).imag)
- 
--    npts = 2.0**prec
-+    npts = int(2.0**prec)
-     yrng = numpy.linspace(im_min, im_max, npts)
-     xrng = numpy.linspace(re_min, re_max, npts)
- 
diff --git a/srcpkgs/gnuradio/template b/srcpkgs/gnuradio/template
index c950b53e8bea..18ecf1575160 100644
--- a/srcpkgs/gnuradio/template
+++ b/srcpkgs/gnuradio/template
@@ -1,28 +1,38 @@
 # Template file for 'gnuradio'
 pkgname=gnuradio
-version=3.8.0.0
-revision=9
+version=3.9.5.0
+revision=1
 build_style=cmake
 conf_files="/etc/gnuradio/conf.d/*"
-configure_args="-DENABLE_INTERNAL_VOLK=OFF -DGR_PYTHON_DIR=/${py3_sitelib}"
-hostmakedepends="pkg-config doxygen swig python3-Mako python3-Sphinx
- python3-cairo python3-numpy python3-yaml texlive texlive-latexextra texlive-dvi"
-makedepends="SDL-devel boost-devel fftw-devel gsl-devel jack-devel
- libgsm-devel libusb-devel volk-devel uhd-devel gtk+3-devel python3-devel
- python3-gobject-devel log4cpp-devel gmpxx-devel mpir-devel"
-depends="python3-cheetah3 python3-numpy python3-Mako python3-gobject
- python3-yaml"
-checkdepends="python3-scipy"
+# -DGR_PYTHON_DIR=/${py3_sitelib}
+configure_args="-DZEROMQ_INCLUDE_DIRS=${XBPS_CROSS_BASE}/usr/include
+ -Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11"
+# TODO: add python3-pygccxml (not packaged in Void)
+_pydeps="python3-Mako python3-cairo python3-click python3-click-plugins python3-gobject
+ python3-numpy python3-pyqtgraph python3-pyzmq python3-scipy python3-yaml"
+hostmakedepends="pkg-config doxygen swig python3-Sphinx python3-pybind11 ${_pydeps}
+ texlive texlive-latexextra texlive-dvi"
+makedepends="SDL-devel SoapySDR-devel boost-devel codec2-devel cppzmq fftw-devel gmpxx-devel
+ gsl-devel gtk+3-devel jack-devel libgsm-devel libsndfile-devel libsodium-devel libusb-devel
+ log4cpp-devel mpir-devel python3-devel python3-gobject-devel python3-pybind11 qwt-devel
+ uhd-devel volk-devel"
+depends="${_pydeps} python3-cheetah3 python3-lxml python3-matplotlib"
+checkdepends="python3-pytest"
 short_desc="Framework for software defined radio"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnuradio.org"
 distfiles="https://github.com/gnuradio/gnuradio/archive/v${version}.tar.gz"
-checksum=03fd01f0b27033befb91709b3d56f95e0869b5fb8bc71bec2662266a3f0dedf5
+checksum=066c88fcf05046593e534416a3526ee433c3b90a7faa40fca914add23989ef3e
 python_version=3
 
+if [ -n "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt5-host-tools qt5-qmake"
+fi
+
 post_install() {
 	rm ${DESTDIR}/usr/share/gnuradio/examples/audio/dial_tone \
+		${DESTDIR}/usr/share/gnuradio/examples/qt-gui/display_qt \
 		${DESTDIR}/usr/share/gnuradio/examples/uhd/tags_demo
 	vinstall grc/scripts/freedesktop/gnuradio-grc.desktop 644 \
 		usr/share/applications

^ permalink raw reply	[flat|nested] 66+ messages in thread

end of thread, other threads:[~2022-07-28  7:19 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 16:25 [PR PATCH] gnuradio: update to 3.9.5.0 unspecd
2022-01-14 20:34 ` unspecd
2022-01-14 20:36 ` unspecd
2022-01-15  5:04 ` [PR PATCH] [Updated] " unspecd
2022-01-15  6:34 ` [PR PATCH] [Updated] gnuradio: update to 3.10.0.0 unspecd
2022-01-15  6:38 ` unspecd
2022-01-15  6:45 ` unspecd
2022-01-15  6:55 ` [PR PATCH] [Updated] " unspecd
2022-01-15 20:12 ` unspecd
2022-01-15 22:08 ` unspecd
2022-01-17  9:03 ` [PR REVIEW] " ericonr
2022-01-17  9:03 ` ericonr
2022-01-17  9:03 ` ericonr
2022-01-17 11:10 ` unspecd
2022-01-17 11:10 ` unspecd
2022-01-17 13:10 ` unspecd
2022-01-18 10:35 ` [PR PATCH] [Updated] " unspecd
2022-01-18 10:35 ` unspecd
2022-01-18 10:40 ` unspecd
2022-01-18 11:04 ` [PR PATCH] [Updated] " unspecd
2022-01-18 11:06 ` unspecd
2022-01-21  7:33 ` [PR PATCH] [Updated] " unspecd
2022-01-22  5:54 ` unspecd
2022-01-29  4:25 ` unspecd
2022-01-29  9:37 ` unspecd
2022-01-29  9:39 ` unspecd
2022-01-29 10:50 ` unspecd
2022-02-01  8:38 ` [PR PATCH] [Updated] " unspecd
2022-02-02  9:11 ` unspecd
2022-02-02 10:21 ` gnuradio: update to 3.10.1.0 unspecd
2022-02-02 10:27 ` [PR PATCH] [Updated] " unspecd
2022-02-02 11:10 ` unspecd
2022-02-02 11:12 ` unspecd
2022-02-04 11:24 ` [PR PATCH] [Updated] gnuradio: update to 3.10.1.1 unspecd
2022-02-20  8:34 ` unspecd
2022-03-31  8:09 ` unspecd
2022-03-31  8:10 ` unspecd
2022-04-11 16:29 ` [PR PATCH] [Updated] " unspecd
2022-04-14  7:59 ` unspecd
2022-04-14 12:52 ` unspecd
2022-04-18  1:00 ` [PR PATCH] [Updated] " unspecd
2022-06-21 22:24 ` [PR PATCH] [Updated] gnuradio: update to 3.10.2.0 unspecd
2022-06-21 22:27 ` gnuradio: update to 3.10.3.0 unspecd
2022-06-22 18:37 ` classabbyamp
2022-06-27  3:37 ` unspecd
2022-06-28  3:23 ` classabbyamp
2022-06-28  5:23 ` [PR PATCH] [Updated] " unspecd
2022-06-28 14:53 ` unspecd
2022-06-28 15:36 ` unspecd
2022-06-28 15:36 ` unspecd
2022-07-17 16:27 ` Noah-Huppert
2022-07-17 18:56 ` ericonr
2022-07-17 18:57 ` ericonr
2022-07-17 21:59 ` [PR PATCH] [Updated] " unspecd
2022-07-17 22:44 ` unspecd
2022-07-19 15:47 ` [PR REVIEW] " sgn
2022-07-19 17:06 ` [PR PATCH] [Updated] " unspecd
2022-07-19 17:10 ` [PR REVIEW] " unspecd
2022-07-19 17:10 ` unspecd
2022-07-27  6:30 ` sgn
2022-07-27 11:02 ` [PR PATCH] [Updated] " unspecd
2022-07-27 11:05 ` unspecd
2022-07-27 13:15 ` unspecd
2022-07-28  7:17 ` [PR PATCH] [Updated] " classabbyamp
2022-07-28  7:18 ` [PR PATCH] [Merged]: " classabbyamp
2022-07-28  7:19 ` classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).