git: ab8c627e3160 - main - audio/gsequencer: update 8.4.2 → 9.0.20
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Sep 2026 07:49:16 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ab8c627e31609d89adf69d5b81e971b470f98128
commit ab8c627e31609d89adf69d5b81e971b470f98128
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-08 22:59:02 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-09 07:48:34 +0000
audio/gsequencer: update 8.4.2 → 9.0.20
---
audio/gsequencer/Makefile | 23 ++++++----
audio/gsequencer/distinfo | 6 +--
audio/gsequencer/files/gen-symbols-all.pl | 71 +++++++++++++++++++++++++++++++
audio/gsequencer/files/patch-Makefile.am | 28 +++---------
audio/gsequencer/pkg-plist | 36 +++++++++-------
5 files changed, 114 insertions(+), 50 deletions(-)
diff --git a/audio/gsequencer/Makefile b/audio/gsequencer/Makefile
index d68e892f001f..826a3d9de6ca 100644
--- a/audio/gsequencer/Makefile
+++ b/audio/gsequencer/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gsequencer
-DISTVERSION= 8.4.2
+DISTVERSION= 9.0.20
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@@ -22,8 +22,7 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
libsndfile.so:audio/libsndfile \
libsoup-3.0.so:devel/libsoup3 \
libuuid.so:misc/libuuid \
- libvulkan.so:graphics/vulkan-loader \
- libwebkit2gtk-4.0.so:www/webkit2-gtk@40
+ libvulkan.so:graphics/vulkan-loader
RUN_DEPENDS= dssi>0:audio/dssi
USES= autoreconf desktop-file-utils gettext-runtime gettext-tools gmake gnome gstreamer \
@@ -38,13 +37,12 @@ USE_GITHUB= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
- INTROSPECTION_SCANNER=g-ir-scanner INTROSPECTION_COMPILER=g-ir-compiler MAKE=${GMAKE} CC=${CC} CXX=${CXX} LD=clang
+CONFIGURE_ENV= INTROSPECTION_SCANNER=g-ir-scanner INTROSPECTION_COMPILER=g-ir-compiler MAKE=${GMAKE} CC=${CC} CXX=${CXX} LD=clang
CONFIGURE_ARGS= --disable-alsa --enable-oss --enable-introspection --disable-rt
CPPFLAGS+= -DAGS_LICENSE_FILENAME=\\\"${LOCALBASE}/share/licenses/${PKGNAME}/${LICENSE}\\\" \
-DAGS_LOGO_FILENAME=\\\"${DATADIR}/images/ags.png\\\" # there should be no need to supply AGS_LOGO_FILENAME here since the app knows its location
-LDFLAGS+= -luuid
+LIBS= -luuid
INSTALL_TARGET= install-strip
@@ -72,13 +70,20 @@ PORTDOCS= *
post-extract:
@${RM} ${WRKSRC}/configure.ac.orig
+ @${CP} ${FILESDIR}/gen-symbols-all.pl ${WRKSRC}/gen-symbols-all.pl
+ @${CHMOD} +x ${WRKSRC}/gen-symbols-all.pl
-do-configure: # it fails to build with clang without this custom configure step
- @${ECHO} "==> Configure, patch symbols, and re-run configure again"
+post-configure: # it fails to build with clang without this custom configure step
+ @${ECHO} "==> Patch symbols and re-run configure again"
@cd ${WRKSRC} && \
- ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} && \
${MAKE_CMD} gen-symbols-all-bsd && \
${MAKE_CMD} fix-symbols-all-bsd && \
+ ${SETENVI} ${WRK_ENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
+ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \
+ INSTALL="/usr/bin/install -c" \
+ INSTALL_DATA="${INSTALL_DATA}" INSTALL_LIB="${INSTALL_LIB}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
.include <bsd.port.mk>
diff --git a/audio/gsequencer/distinfo b/audio/gsequencer/distinfo
index 8f1442304a8e..7b816d09c574 100644
--- a/audio/gsequencer/distinfo
+++ b/audio/gsequencer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778720002
-SHA256 (gsequencer-gsequencer-8.4.2_GH0.tar.gz) = 287ca7168caf8d5a9efefe2caa0649e6519119929f6065aad6bd981300305945
-SIZE (gsequencer-gsequencer-8.4.2_GH0.tar.gz) = 12004949
+TIMESTAMP = 1788824243
+SHA256 (gsequencer-gsequencer-9.0.20_GH0.tar.gz) = 3d2fef0a74443063dcf31937fcbbcfcc16718167bf2cd8860a3eb6f0baec42bd
+SIZE (gsequencer-gsequencer-9.0.20_GH0.tar.gz) = 11921707
diff --git a/audio/gsequencer/files/gen-symbols-all.pl b/audio/gsequencer/files/gen-symbols-all.pl
new file mode 100644
index 000000000000..2e92561ebc94
--- /dev/null
+++ b/audio/gsequencer/files/gen-symbols-all.pl
@@ -0,0 +1,71 @@
+#!/usr/bin/env perl
+# Generate lib*.sym.in files for the BSD build in place of the missing
+# upstream gen-symbols-all.pl script.
+
+use strict;
+use warnings;
+use File::Find;
+
+sub generate {
+ my ($outfile, $license, $dirs, $patterns, $extras) = @_;
+
+ open(my $out, '>', $outfile) or die "Cannot open $outfile: $!";
+
+ if (defined $license && -f $license) {
+ open(my $lic, '<', $license) or die "Cannot open $license: $!";
+ while (<$lic>) { print $out $_; }
+ close($lic);
+ print $out "\n";
+ }
+
+ my @matches;
+ find(
+ sub {
+ return unless -f $_ && /\.h$/;
+ open(my $fh, '<', $_) or return;
+ while (my $line = <$fh>) {
+ next if $line =~ /^\s*#define\b/;
+ foreach my $re (@$patterns) {
+ while ($line =~ /$re/g) {
+ push @matches, $1;
+ }
+ }
+ }
+ close($fh);
+ },
+ @$dirs
+ );
+
+ if (defined $extras) {
+ push @matches, @$extras;
+ }
+
+ print $out join("\n", @matches), "\n";
+ close($out);
+}
+
+my $re_func = qr/\s(ags_[a-z0-9_]+)\s*\(/;
+my $re_marshal = qr/(ags_cclosure_marshal_[a-zA-Z0-9_]+)/;
+my $re_widget_marshal = qr/(ags_widget_cclosure_marshal_[a-zA-Z0-9_]+)/;
+
+generate('libags.sym.in', 'license-notice-gnu-gpl-3-0+-sym.txt',
+ ['ags/util', 'ags/lib', 'ags/object', 'ags/file'],
+ [$re_func, $re_marshal],
+ ['ags_application_context']);
+
+generate('libags_thread.sym.in', 'license-notice-gnu-gpl-3-0+-sym.txt',
+ ['ags/thread'], [$re_func], undef);
+
+generate('libags_server.sym.in', 'license-notice-gnu-agpl-3-0+-sym.txt',
+ ['ags/server'], [$re_func], undef);
+
+generate('libags_audio.sym.in', 'license-notice-gnu-gpl-3-0+-sym.txt',
+ ['ags/plugin', 'ags/audio'], [$re_func], undef);
+
+generate('libags_vst.sym.in', 'license-notice-gnu-gpl-3-0+-sym.txt',
+ ['ags/vst3-capi'], [$re_func], undef);
+
+generate('libags_gui.sym.in', 'license-notice-gnu-gpl-3-0+-sym.txt',
+ ['ags/widget'], [$re_func, $re_widget_marshal], undef);
+
+print "Generated all symbols\n";
diff --git a/audio/gsequencer/files/patch-Makefile.am b/audio/gsequencer/files/patch-Makefile.am
index 405673cb61db..47600e59b2d5 100644
--- a/audio/gsequencer/files/patch-Makefile.am
+++ b/audio/gsequencer/files/patch-Makefile.am
@@ -1,4 +1,6 @@
---- Makefile.am.orig 2026-05-14 01:40:26 UTC
+-- Remove -Werror flags that break the build with newer compilers/headers.
+
+--- Makefile.am.orig 2026-07-16 17:14:19 UTC
+++ Makefile.am
@@ -30,7 +30,7 @@ else
else
@@ -9,30 +11,12 @@
endif
endif
-@@ -909,7 +909,7 @@ if WITH_W32API
- endif
-
- if WITH_W32API
--libags_audio_la_CPPFLAGS += -DAGS_VECTORIZED_BUILTIN_FUNCTIONS=1 -DAGS_VECTOR_256_FUNCTIONS=1 -DAGS_W32API=1 -DAGS_LIBRARY_SUFFIX=\".dll\" -include $(top_srcdir)/ags/config.h -I$(top_srcdir) -I$(top_srcdir)/lib -I/mingw64/include -I/mingw64/include/dssi -Werror=return-type -Werror=uninitialized -Werror=maybe-uninitialized
-+libags_audio_la_CPPFLAGS += -DAGS_VECTORIZED_BUILTIN_FUNCTIONS=1 -DAGS_VECTOR_256_FUNCTIONS=1 -DAGS_W32API=1 -DAGS_LIBRARY_SUFFIX=\".dll\" -include $(top_srcdir)/ags/config.h -I$(top_srcdir) -I$(top_srcdir)/lib -I/mingw64/include -I/mingw64/include/dssi
- libags_audio_la_LDFLAGS += -Wl,--export-all-symbols,--out-implib=libags_audio.dll.a
-
- libags_audio_la_LDFLAGS += -Wl,--output-def,libags_audio-$(DLL_VERSION).def
-@@ -921,7 +921,7 @@ else
+@@ -910,7 +910,7 @@ else
libags_audio_la_CPPFLAGS += -DAGS_VECTORIZED_BUILTIN_FUNCTIONS=1 -DAGS_OSXAPI=1 -I/usr/include -I/opt/local/include -I/opt/local/include/dssi -DAGS_LIBRARY_SUFFIX=\".dylib\"
- libags_audio_la_LDFLAGS += -Wl,-headerpad_max_install_names -export-symbols libags_audio.sym -Wl,-install_name,libags_audio.dylib
+ libags_audio_la_LDFLAGS += -Wl,-headerpad_max_install_names -Wl,-install_name,libags_audio.dylib
else
-libags_audio_la_CPPFLAGS += -DAGS_VECTORIZED_BUILTIN_FUNCTIONS=1 -DAGS_VECTOR_256_FUNCTIONS=1 -DAGS_LIBRARY_SUFFIX=\".so\" -Werror=return-type -Werror=uninitialized -Werror=maybe-uninitialized
+libags_audio_la_CPPFLAGS += -DAGS_VECTORIZED_BUILTIN_FUNCTIONS=1 -DAGS_VECTOR_256_FUNCTIONS=1 -DAGS_LIBRARY_SUFFIX=\".so\"
- libags_audio_la_LDFLAGS += -export-symbols libags_audio.sym -Wl,-soname,libags_audio.so
+ libags_audio_la_LDFLAGS += -Wl,-soname,libags_audio.so
libags_audio_la_LIBADD += -ldl
endif
-@@ -1000,7 +1000,7 @@ if WITH_VST3
-
- # library libags-vst
- if WITH_VST3
--libags_vst_la_CPPFLAGS = -std=c++2a $(libags_vst3_RELEASE_TYPE) $(libags_vst3_CPPFLAGS) -Wall -Wformat -Werror=format-security -Werror=return-type -Werror=uninitialized -Werror=maybe-uninitialized
-+libags_vst_la_CPPFLAGS = -std=c++2a $(libags_vst3_RELEASE_TYPE) $(libags_vst3_CPPFLAGS) -Wall -Wformat
- libags_vst_la_CXXFLAGS = $(PICFLAGS) $(CXXFLAGS) $(COMPILER_FLAGS) $(WARN_FLAGS) -O -I./ --include string --include codecvt $(GLIB_CFLAGS) $(libags_vst3_CXXFLAGS) $(W32API_CFLAGS)
- libags_vst_la_LDFLAGS = $(LDFLAGS) $(libags_vst3_LDFLAGS) -version-info 8:0:0 -pthread
- libags_vst_la_LIBADD = -lm
diff --git a/audio/gsequencer/pkg-plist b/audio/gsequencer/pkg-plist
index ce24a2b7bde6..329402dcc2fc 100644
--- a/audio/gsequencer/pkg-plist
+++ b/audio/gsequencer/pkg-plist
@@ -69,6 +69,7 @@ include/ags/audio/ags_recall_container.h
include/ags/audio/ags_recall_dependency.h
include/ags/audio/ags_recall_id.h
include/ags/audio/ags_recall_recycling.h
+include/ags/audio/ags_recall_util.h
include/ags/audio/ags_recycling.h
include/ags/audio/ags_recycling_context.h
include/ags/audio/ags_resample_util.h
@@ -427,7 +428,9 @@ include/ags/lib/ags_time.h
include/ags/lib/ags_turtle.h
include/ags/lib/ags_turtle_manager.h
include/ags/lib/ags_uuid.h
+include/ags/libags-audio-globals.h
include/ags/libags-audio.h
+include/ags/libags-globals.h
include/ags/libags-gui.h
include/ags/libags.h
include/ags/object/ags_applicable.h
@@ -498,6 +501,7 @@ include/ags/server/security/ags_xml_password_store.h
include/ags/thread/ags_atomic.h
include/ags/thread/ags_concurrency_provider.h
include/ags/thread/ags_destroy_worker.h
+include/ags/thread/ags_frame_clock.h
include/ags/thread/ags_generic_main_loop.h
include/ags/thread/ags_message_delivery.h
include/ags/thread/ags_message_envelope.h
@@ -540,24 +544,24 @@ include/ags/widget/ags_scrolled_piano.h
include/ags/widget/ags_scrolled_scale_box.h
include/ags/widget/ags_tempo.h
include/ags/widget/ags_widget_marshal.h
-lib/girepository-1.0/Ags-8.0.typelib
-lib/girepository-1.0/AgsAudio-8.0.typelib
-lib/girepository-1.0/AgsGui-8.0.typelib
+lib/girepository-1.0/Ags-9.0.typelib
+lib/girepository-1.0/AgsAudio-9.0.typelib
+lib/girepository-1.0/AgsGui-9.0.typelib
lib/libags.so
-lib/libags.so.8
-lib/libags.so.8.0.0
+lib/libags.so.9
+lib/libags.so.9.0.0
lib/libags_audio.so
-lib/libags_audio.so.8
-lib/libags_audio.so.8.0.0
+lib/libags_audio.so.9
+lib/libags_audio.so.9.0.0
lib/libags_gui.so
-lib/libags_gui.so.8
-lib/libags_gui.so.8.0.0
+lib/libags_gui.so.9
+lib/libags_gui.so.9.0.0
lib/libags_server.so
-lib/libags_server.so.8
-lib/libags_server.so.8.0.0
+lib/libags_server.so.9
+lib/libags_server.so.9.0.0
lib/libags_thread.so
-lib/libags_thread.so.8
-lib/libags_thread.so.8.0.0
+lib/libags_thread.so.9
+lib/libags_thread.so.9.0.0
lib/libgsequencer.so
lib/libgsequencer.so.0
lib/libgsequencer.so.0.0.1
@@ -566,9 +570,9 @@ libdata/pkgconfig/libags_audio.pc
libdata/pkgconfig/libags_gui.pc
libdata/pkgconfig/libgsequencer.pc
share/applications/gsequencer.desktop
-share/gir-1.0/Ags-8.0.gir
-share/gir-1.0/AgsAudio-8.0.gir
-share/gir-1.0/AgsGui-8.0.gir
+share/gir-1.0/Ags-9.0.gir
+share/gir-1.0/AgsAudio-9.0.gir
+share/gir-1.0/AgsGui-9.0.gir
%%DATADIR%%/icons/ags.png
%%DATADIR%%/icons/ags.xpm
%%DATADIR%%/icons/jumper.png