pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/lilv



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov  5 18:22:30 UTC 2024

Modified Files:
        pkgsrc/audio/lilv: Makefile PLIST buildlink3.mk distinfo options.mk
Added Files:
        pkgsrc/audio/lilv/patches: patch-tools_meson.build
Removed Files:
        pkgsrc/audio/lilv/patches: patch-wscript

Log Message:
lilv: updated to 0.24.24

lilv (0.24.24) stable; urgency=medium

* Avoid overriding state features passed by the host
* Fix null dereference when trying to load state from a missing file
* Fix potential null dereferences and conversion warnings

lilv (0.24.22) stable; urgency=medium

* Allow LILV_API to be defined by the user
* Clean up code
* Clean up inconsistent tool command line interfaces
* Convert man pages to mdoc
* Fix crash when plugins pass NULL to the LV2_State_Retrieve_Function
* Fix dependencies in pkg-config file
* Fix potential crash when writing state files fails
* Order plugin classes by URI
* Override pkg-config dependency within meson
* Remove junk files from documentation install
* Replace duplicated dox_to_sphinx script with sphinxygen dependency
* Switch to external zix dependency

lilv (0.24.20) stable; urgency=medium

* Adopt REUSE machine-readable licensing standard
* Update project metadata

lilv (0.24.18) stable; urgency=medium

* Allow programs to be used from subproject
* Fix default LV2_PATH

lilv (0.24.16) stable; urgency=medium

* Fix fallback flock() detection on MacOS
* Switch to meson build system


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/audio/lilv/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/lilv/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/audio/lilv/buildlink3.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/lilv/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/lilv/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/lilv/patches/patch-tools_meson.build
cvs rdiff -u -r1.3 -r0 pkgsrc/audio/lilv/patches/patch-wscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/lilv/Makefile
diff -u pkgsrc/audio/lilv/Makefile:1.44 pkgsrc/audio/lilv/Makefile:1.45
--- pkgsrc/audio/lilv/Makefile:1.44     Sun Oct 20 14:03:24 2024
+++ pkgsrc/audio/lilv/Makefile  Tue Nov  5 18:22:30 2024
@@ -1,41 +1,43 @@
-# $NetBSD: Makefile,v 1.44 2024/10/20 14:03:24 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2024/11/05 18:22:30 adam Exp $
 
-DISTNAME=      lilv-0.24.14
-PKGREVISION=   10
+DISTNAME=      lilv-0.24.24
 CATEGORIES=    audio
 MASTER_SITES=  https://download.drobilla.net/
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://drobilla.net/software/lilv/
+HOMEPAGE=      https://drobilla.net/software/lilv.html
 COMMENT=       C library to make the use of LV2 plugins as simple as possible
 LICENSE=       isc
 
-USE_LANGUAGES= c c++
-USE_TOOLS+=    gsed pkg-config
+USE_CXX_FEATURES=      c++11
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gsed pkg-config
+FORCE_CXX_STD=         c++11
 
-WAF_ARGS+=     --default-lv2-path="~/.lv2/:${BUILDLINK_PREFIX.lv2}/lib/lv2:/usr/local/lib/lv2"
-WAF_ARGS+=     --no-bindings
+MESON_ARGS+=   -Dbindings_py=disabled
 
-.include "../../mk/bsd.prefs.mk"
+PKGCONFIG_OVERRIDE_STAGE=      pre-install
+PKGCONFIG_OVERRIDE+=           output/meson-private/lilv-0.pc
 
-PLIST_VARS+=   lv2bench
-.if ${OPSYS} != "Darwin" || ${OPSYS_VERSION} >= 101200
-# Darwin doesn't have CLOCK_GETTIME so it doesn't compile this
-PLIST.lv2bench=        yes
-.endif
+.include "../../mk/bsd.prefs.mk"
 
-PYTHON_FOR_BUILD_ONLY= tool
-PKGCONFIG_OVERRIDE+=   lilv.pc.in
+SUBST_CLASSES+=                sphinx
+SUBST_STAGE.sphinx=    pre-configure
+SUBST_FILES.sphinx=    doc/meson.build
+SUBST_MESSAGE.sphinx=  Fixing Python binary names.
+SUBST_SED.sphinx+=     -e "s,'sphinx-build','sphinx-build-${PYVERSSUFFIX}',"
+SUBST_SED.sphinx+=     -e "s,'sphinxygen','sphinxygen-${PYVERSSUFFIX}',"
 
 .include "options.mk"
-.include "../../devel/waf/waf.mk"
-BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.0
-.include "../../converters/sratom/buildlink3.mk"
+
 BUILDLINK_API_DEPENDS.lv2+=    lv2>=1.18.0
 .include "../../audio/lv2/buildlink3.mk"
-BUILDLINK_API_DEPENDS.sord+=   sord>=0.14.0
-.include "../../textproc/sord/buildlink3.mk"
-BUILDLINK_API_DEPENDS.serd+=   serd>=0.30.0
+.include "../../converters/sratom/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../lang/python/tool.mk"
+BUILDLINK_API_DEPENDS.serd+=   serd>=0.30.10
 .include "../../textproc/serd/buildlink3.mk"
+BUILDLINK_API_DEPENDS.sord+=   sord>=0.16.15
+.include "../../textproc/sord/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/audio/lilv/PLIST
diff -u pkgsrc/audio/lilv/PLIST:1.5 pkgsrc/audio/lilv/PLIST:1.6
--- pkgsrc/audio/lilv/PLIST:1.5 Wed Mar 10 17:08:21 2021
+++ pkgsrc/audio/lilv/PLIST     Tue Nov  5 18:22:30 2024
@@ -1,19 +1,38 @@
-@comment $NetBSD: PLIST,v 1.5 2021/03/10 17:08:21 jperkin Exp $
-bin/lilv-bench
+@comment $NetBSD: PLIST,v 1.6 2024/11/05 18:22:30 adam Exp $
 bin/lv2apply
-${PLIST.lv2bench}bin/lv2bench
+bin/lv2bench
 bin/lv2info
 bin/lv2ls
 include/lilv-0/lilv/lilv.h
 include/lilv-0/lilv/lilvmm.hpp
 lib/liblilv-0.so
-lib/liblilv-0.so.0
 lib/liblilv-0.so.${PKGVERSION}
+lib/liblilv-0.so.0
 lib/pkgconfig/lilv-0.pc
 man/man1/lv2apply.1
+man/man1/lv2bench.1
 man/man1/lv2info.1
 man/man1/lv2ls.1
-${PLIST.doc}man/man3/lilv.3
-share/bash-completion/completions/lilv
+share/bash_completion.d/lilv
+${PLIST.doc}share/doc/lilv-0/html/_static/pygments.css
+${PLIST.doc}share/doc/lilv-0/html/_static/sphinx_lv2_theme.css
+${PLIST.doc}share/doc/lilv-0/html/api/lilv.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_class.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_collections.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_instance.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_node.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_plugin.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_port.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_scalepoint.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_state.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_ui.html
+${PLIST.doc}share/doc/lilv-0/html/api/lilv_world.html
+${PLIST.doc}share/doc/lilv-0/html/genindex.html
 ${PLIST.doc}share/doc/lilv-0/html/index.html
-${PLIST.doc}share/doc/lilv-0/html/style.css
+${PLIST.doc}share/doc/lilv-0/html/overview.html
+${PLIST.doc}share/doc/lilv-0/html/plugins.html
+${PLIST.doc}share/doc/lilv-0/html/uis.html
+${PLIST.doc}share/doc/lilv-0/html/world.html
+${PLIST.doc}share/doc/lilv-0/singlehtml/_static/pygments.css
+${PLIST.doc}share/doc/lilv-0/singlehtml/_static/sphinx_lv2_theme.css
+${PLIST.doc}share/doc/lilv-0/singlehtml/index.html

Index: pkgsrc/audio/lilv/buildlink3.mk
diff -u pkgsrc/audio/lilv/buildlink3.mk:1.20 pkgsrc/audio/lilv/buildlink3.mk:1.21
--- pkgsrc/audio/lilv/buildlink3.mk:1.20        Sun Oct 20 14:03:24 2024
+++ pkgsrc/audio/lilv/buildlink3.mk     Tue Nov  5 18:22:30 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2024/10/20 14:03:24 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2024/11/05 18:22:30 adam Exp $
 
 BUILDLINK_TREE+=       lilv
 
@@ -11,8 +11,8 @@ BUILDLINK_PKGSRCDIR.lilv?=    ../../audio/l
 
 .include "../../audio/lv2/buildlink3.mk"
 .include "../../converters/sratom/buildlink3.mk"
-.include "../../textproc/sord/buildlink3.mk"
 .include "../../textproc/serd/buildlink3.mk"
+.include "../../textproc/sord/buildlink3.mk"
 .endif # LILV_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -lilv

Index: pkgsrc/audio/lilv/distinfo
diff -u pkgsrc/audio/lilv/distinfo:1.12 pkgsrc/audio/lilv/distinfo:1.13
--- pkgsrc/audio/lilv/distinfo:1.12     Sat Jun 11 12:05:43 2022
+++ pkgsrc/audio/lilv/distinfo  Tue Nov  5 18:22:30 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2022/06/11 12:05:43 nia Exp $
+$NetBSD: distinfo,v 1.13 2024/11/05 18:22:30 adam Exp $
 
-BLAKE2s (lilv-0.24.14.tar.bz2) = 271524bed484aaf326c7ebc730085f52ad21cfadc73ef9a4f7c9df6402011400
-SHA512 (lilv-0.24.14.tar.bz2) = f266e91f3cbc325c25dd7d08bde5033091cb3072c2dcb1490e9474f562b798dbc71c45ca7d971ed4dfd6bb16f5f6725ae242a58c4486684b71350e73f1469f47
-Size (lilv-0.24.14.tar.bz2) = 428004 bytes
-SHA1 (patch-wscript) = b94e589b0308baf65b066bde2b484847ed982f83
+BLAKE2s (lilv-0.24.24.tar.xz) = 922d947711f353a7784b8084105731739d0d86ba0cf181ff021f9fed2b7cc448
+SHA512 (lilv-0.24.24.tar.xz) = 93a3842a5e000a9c59bf3493c2c10df35a803a7edf6cff09f43e155a7e83d0c7c81bc24a6243828dc141d30187c3f60ef9799f319f72e5b6c3e2d022de757185
+Size (lilv-0.24.24.tar.xz) = 105684 bytes
+SHA1 (patch-tools_meson.build) = 224cadb13cb88b43700353092b9b810384ae9bc8

Index: pkgsrc/audio/lilv/options.mk
diff -u pkgsrc/audio/lilv/options.mk:1.3 pkgsrc/audio/lilv/options.mk:1.4
--- pkgsrc/audio/lilv/options.mk:1.3    Tue Jun  6 12:40:17 2023
+++ pkgsrc/audio/lilv/options.mk        Tue Nov  5 18:22:30 2024
@@ -1,23 +1,25 @@
-# $NetBSD: options.mk,v 1.3 2023/06/06 12:40:17 riastradh Exp $
+# $NetBSD: options.mk,v 1.4 2024/11/05 18:22:30 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.lilv
-PKG_SUPPORTED_OPTIONS= debug doc tests
-PKG_SUGGESTED_OPTIONS+=        # blank
-PLIST_VARS+=           doc
+PKG_SUPPORTED_OPTIONS= doc tests
 
 .include "../../mk/bsd.options.mk"
 
-.if !empty(PKG_OPTIONS:Mdebug)
-WAF_ARGS+=             --debug
-.endif
+PLIST_VARS+=   doc
 
 .if !empty(PKG_OPTIONS:Mdoc)
-WAF_ARGS+=             --docs
-TOOL_DEPENDS+=         doxygen-[0-9]*:../../devel/doxygen
-TOOL_DEPENDS+=         graphviz-[0-9]*:../../graphics/graphviz
-PLIST.doc=             yes
+MESON_ARGS+=   -Ddocs=enabled
+TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+TOOL_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx>0:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxygen>0:../../textproc/py-sphinxygen
+PLIST.doc=     yes
+.else
+MESON_ARGS+=   -Ddocs=disabled
 .endif
 
 .if !empty(PKG_OPTIONS:Mtests)
-WAF_ARGS+=             --test
+MESON_ARGS+=   -Dtests=enabled
+.else
+MESON_ARGS+=   -Dtests=disabled
 .endif

Added files:

Index: pkgsrc/audio/lilv/patches/patch-tools_meson.build
diff -u /dev/null pkgsrc/audio/lilv/patches/patch-tools_meson.build:1.1
--- /dev/null   Tue Nov  5 18:22:30 2024
+++ pkgsrc/audio/lilv/patches/patch-tools_meson.build   Tue Nov  5 18:22:30 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_meson.build,v 1.1 2024/11/05 18:22:30 adam Exp $
+
+Install completions to correct location.
+
+--- tools/meson.build.orig     2024-11-05 16:39:57.297190423 +0000
++++ tools/meson.build
+@@ -29,7 +29,7 @@ endforeach
+ 
+ install_data(
+   files('lilv.bash_completion'),
+-  install_dir: get_option('sysconfdir') / 'bash_completion.d',
++  install_dir: get_option('datadir') / 'bash_completion.d',
+   rename: 'lilv',
+ )
+ 



Home | Main Index | Thread Index | Old Index