pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/uhd uhd: updated to 3.14.1.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/71667f3c6db8
branches: trunk
changeset: 415246:71667f3c6db8
user: adam <adam%pkgsrc.org@localhost>
date: Fri Oct 04 10:41:44 2019 +0000
description:
uhd: updated to 3.14.1.1
003.014.001.001
Device3: latch n on m in axi_rate_change in DUC/DDC
Device3: UART: fix TX <-> RX, FIFO size as parameter
Device3: Restore default buffer sizes for MPMD UDP
RFNoC: Fix off by one error in window.v
E320: fix time source clobbering ref source
B200: Add command to query bootloader status
RFNoC: fix multidevice graph connections
MPMD: Fix corner case in MPM device discovery
MPM: fixed mboard_max_revision value (MPM compat check failures)
MPM: Fix version string for logger
Docs: x300: update docs for multiple timed commands
Docs: Fix Doxygen warnings due to spurious backslashes
Docs: RFNoC: Fix Doxygen warning due to undoc'd parameter
Docs: Adjust FPGA functional verification tests
Docs: Fix MPM cmake command for E320
RFNoC: Re-enable flow ctrl for blocks on same xbar
Tools: Fix build issues with kitchen_sink
cmake: Add UHD_COMPONENT variable
diffstat:
ham/uhd/Makefile | 13 +---
ham/uhd/distinfo | 13 ++-
ham/uhd/patches/patch-CMakeLists.txt | 22 +++++++
ham/uhd/patches/patch-docs_CMakeLists.txt | 31 ++++++++++
ham/uhd/patches/patch-lib_transport_nirio_lvbitx_process-lvbitx.py | 15 ++++
5 files changed, 79 insertions(+), 15 deletions(-)
diffs (133 lines):
diff -r da655519476d -r 71667f3c6db8 ham/uhd/Makefile
--- a/ham/uhd/Makefile Fri Oct 04 10:37:49 2019 +0000
+++ b/ham/uhd/Makefile Fri Oct 04 10:41:44 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2019/08/22 12:23:24 ryoon Exp $
+# $NetBSD: Makefile,v 1.51 2019/10/04 10:41:44 adam Exp $
-DISTNAME= uhd-3.14.1.0
-PKGREVISION= 1
+DISTNAME= uhd-3.14.1.1
CATEGORIES= ham
MASTER_SITES= ${MASTER_SITE_GITHUB:=EttusResearch/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -14,6 +13,7 @@
DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+CMAKE_ARGS+= -DPKG_MAN_DIR=${PKGMANDIR}/man1
CMAKE_ARGS+= -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py
CMAKE_ARGS+= -Wno-dev
.include "../../lang/python/pyversion.mk"
@@ -63,13 +63,6 @@
INSTALLATION_DIRS+= share/uhd/fpga
INSTALLATION_DIRS+= share/uhd/images
-SUBST_CLASSES+= man
-SUBST_MESSAGE.man= Convert share/man to man
-SUBST_STAGE.man= pre-configure
-SUBST_FILES.man= docs/CMakeLists.txt
-SUBST_SED.man= -e '/UHD_INSTALL/s,$${PKG_MAN_DIR},${PREFIX}/${PKGMANDIR}/man1,'
-# UHD_INSTALL(FILES ${gzfile} DESTINATION ${PKG_MAN_DIR} COMPONENT manpages)
-
.include "options.mk"
.include "../../devel/boost-libs/buildlink3.mk"
diff -r da655519476d -r 71667f3c6db8 ham/uhd/distinfo
--- a/ham/uhd/distinfo Fri Oct 04 10:37:49 2019 +0000
+++ b/ham/uhd/distinfo Fri Oct 04 10:41:44 2019 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.21 2019/07/02 16:44:55 adam Exp $
+$NetBSD: distinfo,v 1.22 2019/10/04 10:41:44 adam Exp $
-SHA1 (uhd-3.14.1.0.tar.gz) = d26c5f19b9ed926780980f061634ae9f09b9ac11
-RMD160 (uhd-3.14.1.0.tar.gz) = c2135cb3be04ab40bdf4ce7258d07c81147976a9
-SHA512 (uhd-3.14.1.0.tar.gz) = afb58b2f75b9855a4252c21c40e0f8816626910a134719321fa98ec78ce13aa32577a959da11d13d1e40dc61f143442ab7c2993edec111267de4664730c6eb82
-Size (uhd-3.14.1.0.tar.gz) = 12960041 bytes
+SHA1 (uhd-3.14.1.1.tar.gz) = 6ca67393422bb8c1cc56ba201844d9a0212ce03d
+RMD160 (uhd-3.14.1.1.tar.gz) = e6eb3a304a324eb16479fda760d1e93b7e72e8b9
+SHA512 (uhd-3.14.1.1.tar.gz) = 461f9314dd0af5feed91b18196cccb7828cee91a712dec0bb8b59878d54500906beea9f6dd938a90eae041dca6a1f6b564b6924d8e53e4b2fb507f2ed7be0ff4
+Size (uhd-3.14.1.1.tar.gz) = 12960651 bytes
+SHA1 (patch-CMakeLists.txt) = fa86f08bccb4afbb9108d3b1eb02d3101e933cdc
+SHA1 (patch-docs_CMakeLists.txt) = 23b70637499deafaf378f7c68764afd674673ad2
+SHA1 (patch-lib_transport_nirio_lvbitx_process-lvbitx.py) = 350af0f9ed999f64105a42195d2df037faef87c7
diff -r da655519476d -r 71667f3c6db8 ham/uhd/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/uhd/patches/patch-CMakeLists.txt Fri Oct 04 10:41:44 2019 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/04 10:41:44 adam Exp $
+
+Allow overrides on PKG_DOC_DIR and PKG_MAN_DIR.
+https://github.com/EttusResearch/uhd/issues/301
+
+--- CMakeLists.txt.orig 2019-10-03 18:21:01.000000000 +0000
++++ CMakeLists.txt
+@@ -128,8 +128,12 @@ set(PKG_DATA_DIR share/uhd)
+ if(NOT DEFINED PKG_LIB_DIR)
+ set(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)
+ endif()
+-set(PKG_DOC_DIR share/doc/uhd)
+-set(PKG_MAN_DIR share/man/man1)
++if(NOT DEFINED PKG_DOC_DIR)
++ set(PKG_DOC_DIR share/doc/uhd)
++endif()
++if(NOT DEFINED PKG_MAN_DIR)
++ set(PKG_MAN_DIR share/man/man1)
++endif()
+
+ ########################################################################
+ # UHD config files
diff -r da655519476d -r 71667f3c6db8 ham/uhd/patches/patch-docs_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/uhd/patches/patch-docs_CMakeLists.txt Fri Oct 04 10:41:44 2019 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-docs_CMakeLists.txt,v 1.1 2019/10/04 10:41:44 adam Exp $
+
+Do not compress man pages.
+
+--- docs/CMakeLists.txt.orig 2019-10-03 17:48:04.000000000 +0000
++++ docs/CMakeLists.txt
+@@ -150,23 +150,5 @@ LIBUHD_REGISTER_COMPONENT("Man Pages" EN
+
+ if(ENABLE_MAN_PAGES)
+ #Generate man pages
+- foreach(manfile ${man_page_sources})
+- #make the gzip file depend on the text file
+- string(REPLACE ".1" "" PROGRAM_NAME "${manfile}")
+- set(gzfile "${CMAKE_CURRENT_BINARY_DIR}/${manfile}.gz")
+- set(manfile "${CMAKE_CURRENT_SOURCE_DIR}/${manfile}")
+- add_custom_command(
+- OUTPUT ${gzfile}
+- DEPENDS ${manfile}
+- COMMAND ${GZIP_EXECUTABLE} -9 -cf ${manfile} > ${gzfile}
+- COMMENT "Generating ${PROGRAM_NAME} man page"
+- )
+-
+- #make the man page target depend on the gz file
+- list(APPEND man_page_gz_files ${gzfile})
+- UHD_INSTALL(FILES ${gzfile} DESTINATION ${PKG_MAN_DIR} COMPONENT manpages)
+- endforeach(manfile ${man_page_sources})
+-
+- #make the man pages a build-time dependency
+- add_custom_target(man_page_gzips ALL DEPENDS ${man_page_gz_files})
++ UHD_INSTALL(FILES ${man_page_sources} DESTINATION ${PKG_MAN_DIR} COMPONENT manpages)
+ endif(ENABLE_MAN_PAGES)
diff -r da655519476d -r 71667f3c6db8 ham/uhd/patches/patch-lib_transport_nirio_lvbitx_process-lvbitx.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/uhd/patches/patch-lib_transport_nirio_lvbitx_process-lvbitx.py Fri Oct 04 10:41:44 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_transport_nirio_lvbitx_process-lvbitx.py,v 1.1 2019/10/04 10:41:44 adam Exp $
+
+Do not modify output path.
+
+--- lib/transport/nirio/lvbitx/process-lvbitx.py.orig 2019-10-03 18:11:53.000000000 +0000
++++ lib/transport/nirio/lvbitx/process-lvbitx.py
+@@ -30,7 +30,7 @@ if (len(args) < 1):
+
+ lvbitx_filename = args[0]
+ input_filename = os.path.relpath(lvbitx_filename)
+-autogen_src_path = os.path.relpath(options.output_src_path) if (options.output_src_path is not None) else os.path.dirname(input_filename)
++autogen_src_path = options.output_src_path if options.output_src_path is not None else os.path.dirname(input_filename)
+ class_name = os.path.splitext(os.path.basename(input_filename))[0]
+
+ if (not os.path.isfile(input_filename)):
Home |
Main Index |
Thread Index |
Old Index