From nobody Fri Jul 28 11:06:13 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RC4ZF6XdMz4p3nm; Fri, 28 Jul 2023 11:06:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RC4ZF65mzz3M1D; Fri, 28 Jul 2023 11:06:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690542373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VOhkXGHBPcjeewJ4XwmlLFeDxdYKkBI7b6AFXv0+qV4=; b=fb+bgBGkLvTVxT83GlJVq7W0IsMXirZPsinljhJy1rVh53pd5rx9udX1E9vToiVZZpAMJz 2HBWzFq4HMMeRfwzyWFOh3mu1iKMLvxpAIVpAkDrNTL/TCVtuNYkfcyLJ1lirbWPo8snZi 6mhNUN48fHJpLE1ZFZN0cbj46K0rmtqfD99bgpueqpd3A1G3CekRIRL9kA5r1nS5+3sK9q fkd3Wb0VtKe7VwjxyKfxl1Y4S0jnkEJ8/DDQktFNn7HJu1vxE+Uz/JXS+qr4kh0UpE0e59 sgpvsqN3oywdHs3lQlZFVS2VzC0GOGa3EJlkAdMSWYgH6fcUSo8qsR8p04qrWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690542373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VOhkXGHBPcjeewJ4XwmlLFeDxdYKkBI7b6AFXv0+qV4=; b=vkd2ZV7dq005Wcu2WFRidkbxUACHWo0u7OaIBuVUBp7cE0TMeT0EdSVrs5ulbIqV/d5Ebx nI8bwsQoMbjGg+OdbMujFq6PfK9x6F2hv2aIre8fYayue7EtI/vyt5GkwYozYqdkrY3IEk FYDYhiBRrgm+57o26PyXWXxlg6XveAoSD+UHBh3kv2YodK9z2lA4vMAreVo4iSDRj77sIB lRy4Ik1jEfstNDhebsSrKDY0ocaFa9APOdfXnbYZRjZdXXT3zrfl0Y9fsHEz271WXI7tkB Tb1UUROVE8WzmP83d/kSMFyvJ8i81aI0gcPMR44WuXc0wz1VHwqoUo0lg62kAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690542373; a=rsa-sha256; cv=none; b=vitBntGM5BN+Yp5hH2nTo1tK9d2bDG4w0QNqb+XN+1S15eSBCoxbHkx2oeHnCHh51qUmir qmZPDN9SZ0+wib+kQRjqr50+VgTOA33IUHvsY3IbRuARvZfwI+lBVWnqcvDmvVKJuHWBQB kZbkYKVYoCLh+tPPeuupMxHE9sFU5RdhcJri+4Gg0Og2gNTla5+8ZlaOY1mOqLp0rfaP8U FKQa0ydlJLcIYLHwvk0nGFizYsJFfYclSp+Zt7t8dPFxGxZZ8xTTRsYh7EaJUcCSfv+QBQ yGJiGxuhNk8toaW1l578tq8NnCH+NMZq2xqVZSekS8aTz+l1Z8WnnJIqvrD5aA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RC4ZF4tkkzpbj; Fri, 28 Jul 2023 11:06:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36SB6DrF062416; Fri, 28 Jul 2023 11:06:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36SB6DGV062415; Fri, 28 Jul 2023 11:06:13 GMT (envelope-from git) Date: Fri, 28 Jul 2023 11:06:13 GMT Message-Id: <202307281106.36SB6DGV062415@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 808ee001974a - main - audio/rezound: add PulseAudio support + miscellaneous improvements List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 808ee001974ad89ef96f43cd4d924c4b61cd8a54 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=808ee001974ad89ef96f43cd4d924c4b61cd8a54 commit 808ee001974ad89ef96f43cd4d924c4b61cd8a54 Author: Alexey Dokuchaev AuthorDate: 2023-07-28 11:05:02 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-07-28 11:05:02 +0000 audio/rezound: add PulseAudio support + miscellaneous improvements - Unbreak the build against various options with NLS disabled [*] - Allow to build with PulseAudio support (keep off by default) - Sprinkle some FOO_IMPLIES to ensure we don't have unregistered dependencies - Drop MAKE_JOBS_UNSAFE added in r300554 (now commit df187e25d75f) eleven years ago for version 0.12.3beta without much rationale except rather vague "fails to build on my Q9550"; if the problem is still here, let's get new build log and reset it accordingly, but so far I could not trigger it Reported by: William Bulley [*] --- audio/rezound/Makefile | 14 +++++++------- .../files/patch-src_backend_CPulseSoundPlayer.cpp | 11 +++++++++++ .../files/patch-src_backend_Effects_Makefile.in | 20 ++++++++++++++++++++ .../files/patch-src_backend_Filters_Makefile.in | 20 ++++++++++++++++++++ audio/rezound/files/patch-src_backend_Makefile.in | 20 ++++++++++++++++++++ .../files/patch-src_frontend__fox_Makefile.in | 20 ++++++++++++++++++++ 6 files changed, 98 insertions(+), 7 deletions(-) diff --git a/audio/rezound/Makefile b/audio/rezound/Makefile index b302c232d60b..e8fe199e158e 100644 --- a/audio/rezound/Makefile +++ b/audio/rezound/Makefile @@ -15,10 +15,9 @@ LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 USES= bison compiler:c++11-lang pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa -MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= LARGEFILE JACK AUDIOFILE PORTAUDIO OGG VORBIS FLAC FFTW \ - SOUNDTOUCH LADSPA LAME CDRDAO DOCS NLS + SOUNDTOUCH PULSEAUDIO LADSPA LAME CDRDAO DOCS NLS OPTIONS_DEFAULT= AUDIOFILE PORTAUDIO OGG VORBIS FLAC SOUNDTOUCH \ LADSPA LAME @@ -33,11 +32,16 @@ AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_OFF=--disable-portaudio OGG_LIB_DEPENDS= libogg.so:audio/libogg +VORBIS_IMPLIES= OGG VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis +FLAC_IMPLIES= OGG FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_OFF= --disable-fftw3 SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch +PULSEAUDIO_IMPLIES= FLAC VORBIS +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_CONFIGURE_OFF=--disable-pulse LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_OFF= --disable-ladspa LAME_RUN_DEPENDS= lame:audio/lame @@ -68,16 +72,12 @@ post-patch: .SILENT ${WRKSRC}/src/misc/CNestedDataFile/Makefile.in \ ${WRKSRC}/src/PoolFile/Makefile.in \ ${WRKSRC}/src/backend/DSP/Makefile.in \ - ${WRKSRC}/src/backend/Makefile.in \ ${WRKSRC}/src/backend/File/Makefile.in \ ${WRKSRC}/src/backend/Edits/Makefile.in \ - ${WRKSRC}/src/backend/Effects/Makefile.in \ - ${WRKSRC}/src/backend/Filters/Makefile.in \ ${WRKSRC}/src/backend/Looping/Makefile.in \ ${WRKSRC}/src/backend/Generate/Makefile.in \ ${WRKSRC}/src/backend/Remaster/Makefile.in \ - ${WRKSRC}/src/backend/LADSPA/Makefile.in \ - ${WRKSRC}/src/frontend_fox/Makefile.in + ${WRKSRC}/src/backend/LADSPA/Makefile.in ${REINPLACE_CMD} -e '/^#include/s,soundtouch/,,' \ ${WRKSRC}/src/backend/DSP/T*Changer.h ${REINPLACE_CMD} -e 's,auto_ptr,unique_ptr,' \ diff --git a/audio/rezound/files/patch-src_backend_CPulseSoundPlayer.cpp b/audio/rezound/files/patch-src_backend_CPulseSoundPlayer.cpp new file mode 100644 index 000000000000..d2e07e78d013 --- /dev/null +++ b/audio/rezound/files/patch-src_backend_CPulseSoundPlayer.cpp @@ -0,0 +1,11 @@ +--- src/backend/CPulseSoundPlayer.cpp.orig 2013-12-27 03:54:12 UTC ++++ src/backend/CPulseSoundPlayer.cpp +@@ -30,6 +30,8 @@ using namespace std; + #include + #include + ++#include ++ + #include "settings.h" + + #define BUFFER_COUNT gDesiredOutputBufferCount diff --git a/audio/rezound/files/patch-src_backend_Effects_Makefile.in b/audio/rezound/files/patch-src_backend_Effects_Makefile.in new file mode 100644 index 000000000000..1e34f677ac1c --- /dev/null +++ b/audio/rezound/files/patch-src_backend_Effects_Makefile.in @@ -0,0 +1,20 @@ +--- src/backend/Effects/Makefile.in.orig 2013-12-29 20:48:20 UTC ++++ src/backend/Effects/Makefile.in +@@ -293,7 +293,7 @@ INCLUDES = \ + + + # doc directory +-pkgdocdir = $(prefix)/doc/@PACKAGE@ ++pkgdocdir = $(datadir)/doc/@PACKAGE@ + noinst_LTLIBRARIES = libEffects.la + libEffects_la_SOURCES = \ + CChangeAmplitudeEffect.cpp \ +@@ -317,6 +317,8 @@ noinst_HEADERS = \ + CDistortionEffect.h \ + CTestEffect.h \ + EffectActions.h ++ ++AM_CXXFLAGS = @fftw3_CFLAGS@ + + all: all-am + diff --git a/audio/rezound/files/patch-src_backend_Filters_Makefile.in b/audio/rezound/files/patch-src_backend_Filters_Makefile.in new file mode 100644 index 000000000000..2943c53ea84c --- /dev/null +++ b/audio/rezound/files/patch-src_backend_Filters_Makefile.in @@ -0,0 +1,20 @@ +--- src/backend/Filters/Makefile.in.orig 2013-12-29 20:48:20 UTC ++++ src/backend/Filters/Makefile.in +@@ -292,7 +292,7 @@ INCLUDES = \ + + + # doc directory +-pkgdocdir = $(prefix)/doc/@PACKAGE@ ++pkgdocdir = $(datadir)/doc/@PACKAGE@ + noinst_HEADERS = \ + CConvolutionFilter.h \ + CArbitraryFIRFilter.h \ +@@ -309,6 +309,8 @@ libFilters_la_SOURCES = \ + CMorphingArbitraryFIRFilter.cpp \ + CSinglePoleFilter.cpp \ + CBiquadResFilter.cpp ++ ++AM_CXXFLAGS = @fftw3_CFLAGS@ + + all: all-am + diff --git a/audio/rezound/files/patch-src_backend_Makefile.in b/audio/rezound/files/patch-src_backend_Makefile.in new file mode 100644 index 000000000000..7cbe345ac08c --- /dev/null +++ b/audio/rezound/files/patch-src_backend_Makefile.in @@ -0,0 +1,20 @@ +--- src/backend/Makefile.in.orig 2013-12-29 20:48:20 UTC ++++ src/backend/Makefile.in +@@ -345,7 +345,7 @@ INCLUDES = \ + + + # doc directory +-pkgdocdir = $(prefix)/doc/@PACKAGE@ ++pkgdocdir = $(datadir)/doc/@PACKAGE@ + SUBDIRS = \ + DSP \ + File \ +@@ -469,7 +469,7 @@ libbackend_la_SOURCES = \ + + + # soundtouch_CFLAGS is in Remaster/Makefile.am +-AM_CXXFLAGS = @audiofile_CFLAGS@ @ALSA_CFLAGS@ @JACK_CFLAGS@ @PULSE_CFLAGS@ @ogg_CFLAGS@ @vorbis_CFLAGS@ @flacpp_CFLAGS@ @flac_CFLAGS@ @fftw3_CFLAGS@ ++AM_CXXFLAGS = @audiofile_CFLAGS@ @ALSA_CFLAGS@ @JACK_CFLAGS@ @PORTAUDIO_19_CFLAGS@ @PULSE_CFLAGS@ @ogg_CFLAGS@ @vorbis_CFLAGS@ @flacpp_CFLAGS@ @flac_CFLAGS@ @fftw3_CFLAGS@ + + # soundtouch_LIBS is in Remaster/Makefile.am + libbackend_la_LIBADD = @LTLIBINTL@ @audiofile_LIBS@ @ALSA_LIBS@ @JACK_LIBS@ @PULSE_LIBS@ @ogg_LIBS@ @vorbisfile_LIBS@ @vorbisenc_LIBS@ @vorbis_LIBS@ @flacpp_LIBS@ @flac_LIBS@ @fftw3_LIBS@ diff --git a/audio/rezound/files/patch-src_frontend__fox_Makefile.in b/audio/rezound/files/patch-src_frontend__fox_Makefile.in new file mode 100644 index 000000000000..d979088eefd2 --- /dev/null +++ b/audio/rezound/files/patch-src_frontend__fox_Makefile.in @@ -0,0 +1,20 @@ +--- src/frontend_fox/Makefile.in.orig 2013-12-29 20:48:20 UTC ++++ src/frontend_fox/Makefile.in +@@ -331,7 +331,7 @@ INCLUDES = \ + + + # doc directory +-pkgdocdir = $(prefix)/doc/@PACKAGE@ ++pkgdocdir = $(datadir)/doc/@PACKAGE@ + noinst_LTLIBRARIES = libfrontend.la + libfrontend_la_SOURCES = \ + CFOXIcons.cpp \ +@@ -405,7 +405,7 @@ _rezound_LDADD = libfrontend.la\ + + rezound_LDADD = $(_rezound_LDADD) @FOX_LIBS@ + rezound_DEPENDENCIES = $(_rezound_LDADD) +-AM_CXXFLAGS = @FOX_CFLAGS@ ++AM_CXXFLAGS = @FOX_CFLAGS@ @audiofile_CFLAGS@ @fftw3_CFLAGS@ + noinst_HEADERS = \ + CFOXIcons.h \ + fox_compat.h \