pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/libvisual
Module Name: pkgsrc
Committed By: adam
Date: Fri Jan 2 12:29:22 UTC 2026
Modified Files:
pkgsrc/audio/libvisual: Makefile PLIST distinfo
pkgsrc/audio/libvisual/patches: patch-libvisual_lv__defines.h
Added Files:
pkgsrc/audio/libvisual/patches: patch-Makefile.in patch-configure
patch-libvisual.pc.in patch-libvisual_Makefile.in
patch-libvisual_libvisual.h
Removed Files:
pkgsrc/audio/libvisual/patches: patch-ab patch-ac patch-ad patch-ae
patch-libvisual_lv__os.c
Log Message:
libvisual: updated to 0.4.2
New in 0.4.2: 2023-03-20:
New features
* lv-tool-0.4: New standalone GUI tool + related man page
Behavior bugfixes
* Fix splitting of interleaved stereo
* Fix ringbuffer infinite loop
* Fix heap-use-after-free on pallete when switching actors
* Fix code path that missed setting the video palette
* Improve AltiVec detection for PPC/PPC64 Linux
* examples: Improve depth handling in example simplesdl.c
Fixes related to compilation
* Stop using sdl-config and AM_PATH_SDL in configure.ac
* Drop harmful AC_FUNC_MALLOC from configure.ac
* Address Autotools warnings
* Re-write autogen.sh based on autoreconf
* Fix SDL header location with regard to pkg-config
* Do not define HAVE_SCHED on macOS
* Require a C++11 compiler
Infrastructure work
* Start covering Clang 17
* Enrich NEWS files with 0.4.1 pull request references
* Add .gitignore files
* Start covering build on macOS
* Document 0.4.2 pull requests
* Make CI ensure that the lv-tool man page stays in sync
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/libvisual/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/libvisual/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/audio/libvisual/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/libvisual/patches/patch-Makefile.in \
pkgsrc/audio/libvisual/patches/patch-configure \
pkgsrc/audio/libvisual/patches/patch-libvisual.pc.in \
pkgsrc/audio/libvisual/patches/patch-libvisual_Makefile.in \
pkgsrc/audio/libvisual/patches/patch-libvisual_libvisual.h
cvs rdiff -u -r1.7 -r0 pkgsrc/audio/libvisual/patches/patch-ab
cvs rdiff -u -r1.3 -r0 pkgsrc/audio/libvisual/patches/patch-ac
cvs rdiff -u -r1.1 -r0 pkgsrc/audio/libvisual/patches/patch-ad \
pkgsrc/audio/libvisual/patches/patch-ae \
pkgsrc/audio/libvisual/patches/patch-libvisual_lv__os.c
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/audio/libvisual/patches/patch-libvisual_lv__defines.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/libvisual/Makefile
diff -u pkgsrc/audio/libvisual/Makefile:1.27 pkgsrc/audio/libvisual/Makefile:1.28
--- pkgsrc/audio/libvisual/Makefile:1.27 Wed Jul 4 13:40:08 2018
+++ pkgsrc/audio/libvisual/Makefile Fri Jan 2 12:29:21 2026
@@ -1,22 +1,22 @@
-# $NetBSD: Makefile,v 1.27 2018/07/04 13:40:08 jperkin Exp $
-#
+# $NetBSD: Makefile,v 1.28 2026/01/02 12:29:21 adam Exp $
-DISTNAME= libvisual-0.4.0
-PKGREVISION= 4
+DISTNAME= libvisual-0.4.2
CATEGORIES= audio graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvisual/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Libvisual/}
+GITHUB_RELEASE= ${DISTNAME}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/Libvisual/libvisual/wiki/General-information
+HOMEPAGE= https://github.com/Libvisual/libvisual
COMMENT= Abstraction library for applications and audio visualisation plugins
LICENSE= gnu-lgpl-v2.1
-USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config msgfmt
-
-PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in
+USE_CXX_FEATURES= c++11
+USE_LANGUAGES= c c++
+USE_TOOLS+= msgfmt pkg-config
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE+= libvisual.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
@@ -34,10 +34,11 @@ SUBST_VARS.rtlib= RT_LIB_SCHED
.include "../../mk/compiler.mk"
.if ${MACHINE_ARCH} == "i386"
-. if !empty(CC_VERSION:Mgcc*)
+. if ${CC_VERSION:Mgcc*}
CPPFLAGS+= -mmmx
. endif
.endif
+.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/libvisual/PLIST
diff -u pkgsrc/audio/libvisual/PLIST:1.5 pkgsrc/audio/libvisual/PLIST:1.6
--- pkgsrc/audio/libvisual/PLIST:1.5 Sun Jun 14 17:32:16 2009
+++ pkgsrc/audio/libvisual/PLIST Fri Jan 2 12:29:21 2026
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:32:16 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/01/02 12:29:21 adam Exp $
+bin/lv-tool-0.4
include/libvisual-0.4/libvisual/libvisual.h
include/libvisual-0.4/libvisual/lv_actor.h
include/libvisual-0.4/libvisual/lv_audio.h
@@ -46,5 +47,7 @@ include/libvisual-0.4/libvisual/lv_video
include/libvisual-0.4/libvisual/lvconfig.h
lib/libvisual-0.4.la
lib/pkgconfig/libvisual-0.4.pc
+man/man1/lv-tool-0.4.1
+share/locale/de/LC_MESSAGES/libvisual-0.4.mo
share/locale/es_AR/LC_MESSAGES/libvisual-0.4.mo
share/locale/es_ES/LC_MESSAGES/libvisual-0.4.mo
Index: pkgsrc/audio/libvisual/distinfo
diff -u pkgsrc/audio/libvisual/distinfo:1.17 pkgsrc/audio/libvisual/distinfo:1.18
--- pkgsrc/audio/libvisual/distinfo:1.17 Tue Oct 26 09:59:10 2021
+++ pkgsrc/audio/libvisual/distinfo Fri Jan 2 12:29:21 2026
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 09:59:10 nia Exp $
+$NetBSD: distinfo,v 1.18 2026/01/02 12:29:21 adam Exp $
-BLAKE2s (libvisual-0.4.0.tar.gz) = 938e3cf7644ec9877ac2d457be907f673335fe25de86d1f90e48456625ee5971
-SHA512 (libvisual-0.4.0.tar.gz) = ab2286de30d33582a92f16e46436fcbc44b74649952df6e94d96aedc2cabb18d3361496c0b8ab6f52f7178214bf735673c8f1820c3d149304787ba8407201b95
-Size (libvisual-0.4.0.tar.gz) = 583386 bytes
-SHA1 (patch-ab) = 2493f145d37c6de8dc37beb22e788c628d43342e
-SHA1 (patch-ac) = ad124820a2a20550bf85181be284c1e000114ddd
-SHA1 (patch-ad) = e7b2493cf5880cea7497a1d8d6fb1ce4f856ba6d
-SHA1 (patch-ae) = 72affdd9a1302a16efe5f4ecaafbc37061e4db0c
-SHA1 (patch-libvisual_lv__defines.h) = 9b14140411ae426226318a0ccdbe64d905b7710c
-SHA1 (patch-libvisual_lv__os.c) = 9bc88cf74bab4a4fb2b47ba122e0a5512149b9f2
+BLAKE2s (libvisual-0.4.2.tar.bz2) = eb876ef4e21b446de7c7244cf5ce167f42d7b78ba109e8c8931104fe5fa45ec4
+SHA512 (libvisual-0.4.2.tar.bz2) = 88634c27cd5de149d08141fb68d86a85320513208426f412541ab6aa985069683c17437fd0f49d6dafdd811a516f1f9268a2cf2146a3b55332280d7930f59b55
+Size (libvisual-0.4.2.tar.bz2) = 563023 bytes
+SHA1 (patch-Makefile.in) = ad124820a2a20550bf85181be284c1e000114ddd
+SHA1 (patch-configure) = 2493f145d37c6de8dc37beb22e788c628d43342e
+SHA1 (patch-libvisual.pc.in) = 72affdd9a1302a16efe5f4ecaafbc37061e4db0c
+SHA1 (patch-libvisual_Makefile.in) = bd2920045ddc9c14c10485dcbd3aae2414505db5
+SHA1 (patch-libvisual_libvisual.h) = 1483cc61682d5ad1187d622f381ca6e58966ea80
+SHA1 (patch-libvisual_lv__defines.h) = b68c778ac603f8cf1144f42231fafabf08933ee2
SHA1 (patch-libvisual_lv__types.h) = 3f2baa4861b50d3359cd9cdfa75898dfc6b5895d
Index: pkgsrc/audio/libvisual/patches/patch-libvisual_lv__defines.h
diff -u pkgsrc/audio/libvisual/patches/patch-libvisual_lv__defines.h:1.1 pkgsrc/audio/libvisual/patches/patch-libvisual_lv__defines.h:1.2
--- pkgsrc/audio/libvisual/patches/patch-libvisual_lv__defines.h:1.1 Thu Jun 13 14:25:30 2013
+++ pkgsrc/audio/libvisual/patches/patch-libvisual_lv__defines.h Fri Jan 2 12:29:21 2026
@@ -1,14 +1,26 @@
-$NetBSD: patch-libvisual_lv__defines.h,v 1.1 2013/06/13 14:25:30 joerg Exp $
+$NetBSD: patch-libvisual_lv__defines.h,v 1.2 2026/01/02 12:29:21 adam Exp $
---- libvisual/lv_defines.h.orig 2013-06-12 21:45:45.000000000 +0000
+Don't redefine NULL.
+No inline.
+
+--- libvisual/lv_defines.h.orig 2023-03-20 02:04:17.000000000 +0000
+++ libvisual/lv_defines.h
-@@ -63,13 +63,11 @@
+@@ -38,14 +38,6 @@
+ # define VISUAL_END_DECLS
+ #endif /* __cplusplus */
+
+-#ifdef NULL
+-#undef NULL
+-#endif
+-
+-/**
+- * NULL define.
+- */
+-#define NULL ((void *) 0)
- /* Compiler specific optimalization macros */
- #if __GNUC__ >= 3
--# define inline inline __attribute__ ((always_inline))
- # define __malloc __attribute__ ((malloc))
- # define __packed __attribute__ ((packed))
+ #ifndef FALSE
+ /**
+@@ -68,7 +60,6 @@
# define VIS_LIKELY(x) __builtin_expect (!!(x), 1)
# define VIS_UNLIKELY(x) __builtin_expect (!!(x), 0)
#else
Added files:
Index: pkgsrc/audio/libvisual/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/audio/libvisual/patches/patch-Makefile.in:1.1
--- /dev/null Fri Jan 2 12:29:22 2026
+++ pkgsrc/audio/libvisual/patches/patch-Makefile.in Fri Jan 2 12:29:21 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.in,v 1.1 2026/01/02 12:29:21 adam Exp $
+
+--- Makefile.in.orig 2006-03-20 18:42:30.000000000 +0000
++++ Makefile.in
+@@ -623,7 +623,7 @@ uninstall-info: uninstall-info-recursive
+
+
+ $(PKG_CONFIG_FILE): libvisual.pc
+- cp -f $< $@
++ cp -f libvisual.pc $(PKG_CONFIG_FILE)
+
+ install-exec-local: libvisual/lvconfig.h
+ file=$(DESTDIR)$(LIBVISUAL_INCLUDE_DIR)/libvisual/lvconfig.h; \
Index: pkgsrc/audio/libvisual/patches/patch-configure
diff -u /dev/null pkgsrc/audio/libvisual/patches/patch-configure:1.1
--- /dev/null Fri Jan 2 12:29:22 2026
+++ pkgsrc/audio/libvisual/patches/patch-configure Fri Jan 2 12:29:21 2026
@@ -0,0 +1,54 @@
+$NetBSD: patch-configure,v 1.1 2026/01/02 12:29:21 adam Exp $
+
+gcc-2.95 does not know the i386 MMX registers used in the assembler
+statements, do disable them.
+
+--- configure.orig 2006-03-20 19:42:25.000000000 +0100
++++ configure 2006-10-07 00:03:06.000000000 +0200
+@@ -2053,7 +2053,7 @@ case "$host_os" in
+ solaris*) lv_solaris=yes;;
+ linux*) lv_linux=yes;;
+ *sco*) lv_sco=yes;;
+- freebsd*) lv_freebsd=yes;;
++ freebsd*|dragonfly*) lv_freebsd=yes;;
+ netbsd*) lv_netbsd=yes;;
+ openbsd*) lv_openbsd=yes;;
+ *darwin*) lv_darwin=yes;;
+@@ -24592,13 +24592,13 @@ echo "$as_me: WARNING: $AIX_COMPILE_INFO
+ *)
+ LV_THREAD_LIBS=error
+ lv_save_LIBS="$LIBS"
+- for thread_lib in "" pthread pthread32 pthreads thread dce; do
++ for thread_lib in "" -lpthread -lpthread32 -lpthreads -lthread -ldce -pthread; do
+ if test x"$thread_lib" = x; then
+ add_thread_lib=""
+ IN=""
+ else
+- add_thread_lib="-l$thread_lib"
+- IN=" in -l$thread_lib"
++ add_thread_lib="$thread_lib"
++ IN=" in $thread_lib"
+ fi
+ if test x"$have_threads" = xposix; then
+ defattr=0
+@@ -26430,7 +26430,7 @@ build_subdirs="libvisual"
+ VISUAL_PKG_CONFIG_DEP=""
+
+ VISUAL_CFLAGS=""
+-if test x"$LV_THREAD_CFLAGS" == xgthread2; then
++if test x"$LV_THREAD_CFLAGS" = xgthread2; then
+ VISUAL_PKG_CONFIG_DEP="$VISUAL_PKG_CONFIG_DEP gthread-2.0"
+ elif test x"$LV_THREAD_CFLAGS" != x; then
+ VISUAL_CFLAGS=$LV_THREAD_CFLAGS
+@@ -28326,7 +28326,11 @@ _______EOF
+ if test x$lv_ix86 = xyes ; then
+ cat >>$outfile <<_______EOF
+
++#if defined(__GNUC__) && __GNUC__ <= 2
++#define VISUAL_ARCH_UNKNOWN
++#else
+ #define VISUAL_ARCH_X86
++#endif
+ _______EOF
+ fi
+
Index: pkgsrc/audio/libvisual/patches/patch-libvisual.pc.in
diff -u /dev/null pkgsrc/audio/libvisual/patches/patch-libvisual.pc.in:1.1
--- /dev/null Fri Jan 2 12:29:22 2026
+++ pkgsrc/audio/libvisual/patches/patch-libvisual.pc.in Fri Jan 2 12:29:21 2026
@@ -0,0 +1,11 @@
+$NetBSD: patch-libvisual.pc.in,v 1.1 2026/01/02 12:29:21 adam Exp $
+
+--- libvisual.pc.in.orig 2008-01-29 15:19:07.000000000 +0100
++++ libvisual.pc.in
+@@ -8,5 +8,5 @@ Name: libvisual
+ Version: @VERSION@
+ Description: an audio visualisation abstraction library.
+ Requires: @VISUAL_PKG_CONFIG_DEP@
+-Libs: -L${libdir} @VISUAL_LIBS@
++Libs: -L${libdir} @VISUAL_LIBS@ @RT_LIB_SCHED@
+ Cflags: -I${includedir} @VISUAL_CFLAGS@
Index: pkgsrc/audio/libvisual/patches/patch-libvisual_Makefile.in
diff -u /dev/null pkgsrc/audio/libvisual/patches/patch-libvisual_Makefile.in:1.1
--- /dev/null Fri Jan 2 12:29:22 2026
+++ pkgsrc/audio/libvisual/patches/patch-libvisual_Makefile.in Fri Jan 2 12:29:21 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-libvisual_Makefile.in,v 1.1 2026/01/02 12:29:21 adam Exp $
+
+--- libvisual/Makefile.in.orig 2023-03-20 02:04:27.000000000 +0000
++++ libvisual/Makefile.in
+@@ -137,7 +137,7 @@ am__uninstall_files_from_dir = { \
+ am__installdirs = "$(DESTDIR)$(libdir)" \
+ "$(DESTDIR)$(library_includedir)"
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+-libvisual_@LIBVISUAL_VERSION_SUFFIX@_la_LIBADD =
++libvisual_@LIBVISUAL_VERSION_SUFFIX@_la_LIBADD = ${RT_LIB_SCHED}
+ am_libvisual_@LIBVISUAL_VERSION_SUFFIX@_la_OBJECTS = lv_actor.lo \
+ lv_input.lo lv_event.lo lv_bin.lo lv_plugin.lo lv_video.lo \
+ lv_video_simd.lo lv_mem.lo lv_audio.lo lv_fourier.lo \
Index: pkgsrc/audio/libvisual/patches/patch-libvisual_libvisual.h
diff -u /dev/null pkgsrc/audio/libvisual/patches/patch-libvisual_libvisual.h:1.1
--- /dev/null Fri Jan 2 12:29:22 2026
+++ pkgsrc/audio/libvisual/patches/patch-libvisual_libvisual.h Fri Jan 2 12:29:21 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-libvisual_libvisual.h,v 1.1 2026/01/02 12:29:21 adam Exp $
+
+For integer types.
+
+--- libvisual/libvisual.h.orig 2026-01-02 11:17:46.741380162 +0000
++++ libvisual/libvisual.h
+@@ -24,6 +24,7 @@
+ #ifndef LV_LIBVISUAL_H
+ #define LV_LIBVISUAL_H
+
++#include <stdint.h>
+ #include <libvisual/lvconfig.h>
+
+ #include <libvisual/lv_bits.h>
Home |
Main Index |
Thread Index |
Old Index