Update lilv to 0.24.4. Lilv 0.24.4 * Fix saving state when broken links are encountered * Don't attempt to load remote or non-Turtle files * lv2apply: Activate plugin before running * lv2apply: Use default values when they are not nan * lv2bench: Improve support for plugins with sequence ports * lv2bench: Support running a single plugin given on the command line * Gracefully handle plugins with missing binary URIs * Remove use of deprecated readdir_r * Install Python bindings when configured without tests (thanks Clement Skau) Lilv 0.24.2 * Fix saving state to paths that contain URI delimiters (#, ?, etc) * Fix comparison of restored states with paths Lilv 0.24.0 * Add new hand-crafted Pythonic bindings with full test coverage * Add lv2apply utility for applying plugins to audio files * Add lilv_world_get_symbol() * Add lilv_state_set_metadata() for adding state banks/comments/etc (based on patch from Hanspeter Portner) * Fix crash when state contains non-POD properties * Fix crash when NULL predicate is passed to lilv_world_find_nodes() * Fix state file versioning * Unload contained resources when bundle is unloaded * Do not instantiate plugin when data fails to parse * Support re-loading plugins * Replace bundles if bundle with newer plugin version is loaded (based on patch from Robin Gareus) * Fix loading dyn-manifest from bundles with spaces in their path * Check lv2:binary predicate for UIs * Add LILV_URI_ATOM_PORT and LILV_URI_CV_PORT defines * Fix documentation installation * Fix outdated comment references to lilv_uri_to_path() Lilv 0.22.0 * Fix loading files with spaces in their path * Add lilv_file_uri_parse() for correct URI to path conversion * Add lilv_node_get_path() for convenient file URI path access * Add lilv_state_emit_port_values() for special port value handling * Add lilv_state_get_uri() * Add lilv_state_delete() for deleting user saved presets * Add lilv_free() for systems picky about such things * Fix lilv_world_ask() to work with wildcards * Fix creation of duplicate manifest entries when saving state * Fix bindings for Python 3 * Load discovered owl ontologies as specifications * Expose lilv_world_load_specifications() and lilv_world_load_plugin_classes () * Tolerate passing NULL to lilv_state_restore() * Preserve absolute paths in state if no link directory is given * Fix a few minor/unlikely memory errors * Configure based on compiler target OS for cross-compilation * Fix lilv_realpath() on pre-POSIX-2008 systems * Fix directory walking on some systems (thanks Matt Fischer) * Windows fixes (thanks John Emmas) * Minor documentation improvements * Upgrade to waf 1.8.14diff -r1.14 -r1.15 pkgsrc/audio/lilv/Makefile
(bsiegert)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2018/11/14 22:21:04 kleink Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2019/01/02 20:31:48 bsiegert Exp $ | |
2 | 2 | |||
3 | DISTNAME= lilv-0.20.0 | 3 | DISTNAME= lilv-0.24.4 | |
4 | PKGREVISION= 9 | |||
5 | CATEGORIES= audio | 4 | CATEGORIES= audio | |
6 | MASTER_SITES= http://download.drobilla.net/ | 5 | MASTER_SITES= http://download.drobilla.net/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://drobilla.net/software/lilv/ | 9 | HOMEPAGE= http://drobilla.net/software/lilv/ | |
11 | COMMENT= C library to make the use of LV2 plugins as simple as possible | 10 | COMMENT= C library to make the use of LV2 plugins as simple as possible | |
12 | LICENSE= isc | 11 | LICENSE= isc | |
13 | 12 | |||
14 | #BUILD_DEPENDS+= swig-[0-9]*:../../devel/swig2 # python --bindings BROKEN | 13 | #BUILD_DEPENDS+= swig-[0-9]*:../../devel/swig2 # python --bindings BROKEN | |
15 | 14 | |||
16 | USE_LANGUAGES= c c++ | 15 | USE_LANGUAGES= c c++ | |
17 | USE_TOOLS+= gsed pkg-config | 16 | USE_TOOLS+= gsed pkg-config | |
@@ -30,34 +29,34 @@ PLIST_VARS+= lv2bench | @@ -30,34 +29,34 @@ PLIST_VARS+= lv2bench | |||
30 | # Darwin doesn't have CLOCK_GETTIME so it doesn't compile this | 29 | # Darwin doesn't have CLOCK_GETTIME so it doesn't compile this | |
31 | PLIST.lv2bench= yes | 30 | PLIST.lv2bench= yes | |
32 | .endif | 31 | .endif | |
33 | 32 | |||
34 | .include "options.mk" | 33 | .include "options.mk" | |
35 | 34 | |||
36 | BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} # --bindings BROKEN | 35 | BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} # --bindings BROKEN | |
37 | 36 | |||
38 | do-configure: | 37 | do-configure: | |
39 | cd ${WRKSRC} && \ | 38 | cd ${WRKSRC} && \ | |
40 | ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \ | 39 | ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \ | |
41 | --configdir=${PKG_SYSCONFDIR:Q} \ | 40 | --configdir=${PKG_SYSCONFDIR:Q} \ | |
42 | --destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \ | 41 | --destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \ | |
43 | --default-lv2-path=${BUILDLINK_PREFIX.lv2}/lib/lv2 \ | 42 | --default-lv2-path=${BUILDLINK_PREFIX.lv2}/lib/lv2 \ | |
44 | ${BUILD_OPTIONS} | 43 | ${BUILD_OPTIONS} | |
45 | do-build: | 44 | do-build: | |
46 | cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build | 45 | cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build | |
47 | 46 | |||
48 | do-install: | 47 | do-install: | |
49 | cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install | 48 | cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install | |
50 | ${INSTALL_DATA} ${WRKSRC}/utils/lilv.bash_completion \ | 49 | ${INSTALL_DATA} ${WRKSRC}/utils/lilv.bash_completion \ | |
51 | ${DESTDIR}${PREFIX}/${EGDIR}/lilv | 50 | ${DESTDIR}${PREFIX}/${EGDIR}/lilv | |
52 | ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/bash_completion.d/lilv | 51 | ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/bash_completion.d/lilv | |
53 | 52 | |||
54 | BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.0 | 53 | BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.0 | |
55 | .include "../../converters/sratom/buildlink3.mk" | 54 | .include "../../converters/sratom/buildlink3.mk" | |
56 | BUILDLINK_API_DEPENDS.lv2+= lv2>=1.8.0 | 55 | BUILDLINK_API_DEPENDS.lv2+= lv2>=1.14.0 | |
57 | .include "../../audio/lv2/buildlink3.mk" | 56 | .include "../../audio/lv2/buildlink3.mk" | |
58 | BUILDLINK_API_DEPENDS.sord+= sord>=0.12.0 | 57 | BUILDLINK_API_DEPENDS.sord+= sord>=0.14.0 | |
59 | .include "../../textproc/sord/buildlink3.mk" | 58 | .include "../../textproc/sord/buildlink3.mk" | |
60 | BUILDLINK_API_DEPENDS.serd+= serd>=0.14.0 | 59 | BUILDLINK_API_DEPENDS.serd+= serd>=0.18.0 | |
61 | .include "../../textproc/serd/buildlink3.mk" | 60 | .include "../../textproc/serd/buildlink3.mk" | |
62 | .include "../../lang/python/application.mk" | 61 | .include "../../lang/python/application.mk" | |
63 | .include "../../mk/bsd.pkg.mk" | 62 | .include "../../mk/bsd.pkg.mk" |
@@ -1,17 +1,19 @@ | @@ -1,17 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2016/02/17 04:52:25 dbj Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2019/01/02 20:31:48 bsiegert Exp $ | |
2 | bin/lilv-bench | 2 | bin/lilv-bench | |
3 | bin/lv2apply | |||
3 | ${PLIST.lv2bench}bin/lv2bench | 4 | ${PLIST.lv2bench}bin/lv2bench | |
4 | bin/lv2info | 5 | bin/lv2info | |
5 | bin/lv2ls | 6 | bin/lv2ls | |
6 | include/lilv-0/lilv/lilv.h | 7 | include/lilv-0/lilv/lilv.h | |
7 | include/lilv-0/lilv/lilvmm.hpp | 8 | include/lilv-0/lilv/lilvmm.hpp | |
8 | lib/liblilv-0.so | 9 | lib/liblilv-0.so | |
9 | lib/liblilv-0.so.0 | 10 | lib/liblilv-0.so.0 | |
10 | lib/liblilv-0.so.${PKGVERSION} | 11 | lib/liblilv-0.so.${PKGVERSION} | |
11 | lib/pkgconfig/lilv-0.pc | 12 | lib/pkgconfig/lilv-0.pc | |
13 | man/man1/lv2apply.1 | |||
12 | man/man1/lv2info.1 | 14 | man/man1/lv2info.1 | |
13 | man/man1/lv2ls.1 | 15 | man/man1/lv2ls.1 | |
14 | ${PLIST.doc}man/man3/lilv.3 | 16 | ${PLIST.doc}man/man3/lilv.3 | |
15 | ${PLIST.doc}share/doc/lilv-0/html/index.html | 17 | ${PLIST.doc}share/doc/lilv-0/html/index.html | |
16 | ${PLIST.doc}share/doc/lilv-0/html/style.css | 18 | ${PLIST.doc}share/doc/lilv-0/html/style.css | |
17 | share/examples/lilv/lilv | 19 | share/examples/lilv/lilv |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2018/07/31 15:35:38 jperkin Exp $ | 1 | $NetBSD: distinfo,v 1.4 2019/01/02 20:31:48 bsiegert Exp $ | |
2 | 2 | |||
3 | SHA1 (lilv-0.20.0.tar.bz2) = b3a7d0089b16b04114895d47a898b8d494774927 | 3 | SHA1 (lilv-0.24.4.tar.bz2) = 8da8c0b42f9cb19477671d4e3c92c82a0638782b | |
4 | RMD160 (lilv-0.20.0.tar.bz2) = 7830520d983fa8effa7c3e18fda545bc55253642 | 4 | RMD160 (lilv-0.24.4.tar.bz2) = 7255f9e6650aa64ccbd55dde558e868bc76ea4e9 | |
5 | SHA512 (lilv-0.20.0.tar.bz2) = bbc8b9154339cd145a61c5e4613fd31a2e457df8242c55371f3245564d3b23d028a0bc0ffafac393119bb47171b7c735f0c3a55cf5bffc6920ae89aa877240e5 | 5 | SHA512 (lilv-0.24.4.tar.bz2) = cb909c83dbac36b51a206fe508aec51e52ddf068f9a159d053888594402def8d140aae0d9e1e1866e722396f7ec8dea4b86d4c1b958f56eb3193b78307918a89 | |
6 | Size (lilv-0.20.0.tar.bz2) = 207948 bytes | 6 | Size (lilv-0.24.4.tar.bz2) = 252209 bytes | |
7 | SHA1 (patch-src_util.c) = e64d73bb0217c4fe6d70479ef8c395895152a603 | 7 | SHA1 (patch-src_util.c) = e30ab85a08b3fb15c386b26a0ea55848d27a479c |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-src_util.c,v 1.1 2018/07/31 15:35:38 jperkin Exp $ | 1 | $NetBSD: patch-src_util.c,v 1.2 2019/01/02 20:31:48 bsiegert Exp $ | |
2 | 2 | |||
3 | Set _POSIX_C_SOURCE correctly. | 3 | Set _POSIX_C_SOURCE correctly. | |
4 | 4 | |||
5 | --- src/util.c.orig 2014-08-08 14:40:03.000000000 +0000 | 5 | --- src/util.c.orig 2018-07-21 08:10:18.000000000 +0000 | |
6 | +++ src/util.c | 6 | +++ src/util.c | |
7 | @@ -14,7 +14,9 @@ | 7 | @@ -14,7 +14,9 @@ | |
8 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 8 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
9 | */ | 9 | */ | |
10 | 10 | |||
11 | +#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L) | 11 | +#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L) | |
12 | #define _POSIX_C_SOURCE 1 /* for fileno */ | 12 | #define _POSIX_C_SOURCE 200809L /* for fileno */ | |
13 | +#endif | 13 | +#endif | |
14 | #define _BSD_SOURCE 1 /* for realpath, symlink */ | 14 | #define _BSD_SOURCE 1 /* for realpath, symlink */ | |
15 | #define _DEFAULT_SOURCE 1 /* for realpath, symlink */ | |||
15 | 16 | |||
16 | #ifdef __APPLE__ |