File:  [cvs.NetBSD.org] / pkgsrc / ham / gnuradio-core / Makefile
Revision 1.95: download - view: text, annotated - select for diffs
Thu May 26 15:20:09 2022 UTC (2 years, 6 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, HEAD
(ham/gnuradio-core) Updated 3.10.1.1  to 3.10.2.0

## [3.10.2.0] - 2022-04-09
### Changed
#### Project Scope

- Clayton Smith continues the effort to replace Boost usage with
  modern C++ equivalents. In a related effort, he has continued the
  logging modernization started by Marcus M端ller. In his spare time,
  he has tackled some tricky, intermittent CI failures, some of which
  turned out to be real bugs. Much of this work is invisible to end
  users, but is extremely useful in making GNU Radio more reliable and
  maintainable. Special thanks are due to Clayton for a lot of hard
  work this cycle.

- Use exceptions instead of `exit()` in several places.
- Fixed a variety of Python deprecation warnings.

- Packager note: `jsonschema` is required for the JSON Config and YAML
  Config blocks. Those blocks will be disabled if `jsonschema` is not
  found.

#### gnuradio-runtime
- Correct size/usage for single-mapped buffers (part of the new Custom
  Buffers feature).

- Correct buffer size allocation. This was actually the single change
  in v3.10.1.1, which did not get its own CHANGELOG entry.

#### GRC
- Improve discovery of xterm and related programs.

- Save generated hierarchical block code to the block library instead
  of the directory containing the current GRC flowgraph.

- New JSON Config and YAML Config blocks that load configuration
  variables from files at runtime. Those variables may then be used in
  block parameters.

- Store the GNU Radio version in flowgraph metadata when saving.

- Minor change in Python evaluation code to allow `affinity`,
  `minoutbuf` and `maxoutbuf` to be adjusted via script parameters.


#### Build system and packaging
- Require C++-17 for `gnuradio-runtime` and code compiled against it (via cmake flags).
- Add `pythonschema` to build- and run-time dependencies.

#### gr-blocks
- Add exponential distribution to Message Strobe Random block's `delay` selection.
- Quiet down debug messages in File Sink.
- Skip alignment check in File Source when the input file is not seekable (e.g., it is a pipe).

#### gr-filter
- Fix crash in Rational Resampler logging

#### gr-digital
- Add generic CRC blocks: CRC Append and CRC Check.

#### gr-qtgui
- Improve text/background color on Range widget.
- Digital Number Control emits message with new, instead of previous, value.

- Message Edit Box  sends message only when return  is pressed, rather
  than whenever focus is lost.

- Vector Sink allows legend to be disabled.
- Type error fixes (Python 3.10 is stricter about int casting).

#### gr-trellis

- Provide Python bindings for PCCC Encoder and Viterbi Combo.

#### gr-vocoder

- Add C++ generation support to gr-vocoder

#### Code generation tools

- Support strongly-typed enums in Python bindings

# $NetBSD: Makefile,v 1.95 2022/05/26 15:20:09 mef Exp $

PKGNAME=	gnuradio-core-${VERSION}
COMMENT=	Core part of GNU Radio, all others need this

PLIST_MINUS=	# empty
.include	"Makefile.common"

#CONF_FILES+=	${EGDIR}/gnuradio-runtime.conf	${PKG_SYSCONFDIR}/gnuradio-runtime.conf
#CONF_FILES+=	${EGDIR}/gr-audio-jack.conf	${PKG_SYSCONFDIR}/gr-audio-jack.conf
#CONF_FILES+=	${EGDIR}/gr-audio-portaudio.conf ${PKG_SYSCONFDIR}/gr-audio-portaudio.conf
#CONF_FILES+=	${EGDIR}/gr-audio.conf		${PKG_SYSCONFDIR}/gr-audio.conf

.include	"../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
#CONF_FILES+=	${EGDIR}/gr-audio-oss.conf	${PKG_SYSCONFDIR}/gr-audio-oss.conf
PLIST_SRC=	${PKGDIR}/PLIST ${PKGDIR}/PLIST.oss
.endif

# set default as minimum
CMAKE_ARGS+=	-DENABLE_DEFAULT=OFF

# Take care CONF_FILES stuff (The same code in Nocore.mk)
#post-install:
#	${MV} ${DESTDIR}${PREFIX}/etc/gnuradio/conf.d/* \
#	      ${DESTDIR}${PREFIX}/${EGDIR}/

.include	"../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>