Re: [UPDATE] audio/openal 1.19.1
On Tue, Feb 12, 2019 at 04:07:53PM +, David CARLIER wrote: > Hi jca and were discussing about his question regarding the > OpenAL32_alBuffer.c patch ... > It might have been fixed with the 1.19.1 release what would be nice is > for you to test couple of consumers without this specific change and > see if it crashes then maybe we will be able to remove this for good > ;-) > Done testing, those consumers simply have no sound when no devices are available, I simple set in /etc/openal/alsoft.conf: drivers = -sndio > Thanks. Now, I report that all openal dependents are successfully built: mazocomp$ cd /usr/ports/ mazocomp$ cat openal.dependents audio/freealut emulators/fs-uae emulators/higan emulators/retroarch games/0ad/base games/arx-libertatis games/astromenace games/barony games/colobot/colobot games/dhewm3 games/dustrac games/endless-sky games/fifengine games/fnaify games/freeorion games/fs2open games/gemrb games/gzdoom games/ioquake3 games/irrlamb games/love games/lugaru games/lwjgl games/megaglest/base games/minetest games/openmw games/openomf games/scorched3d games/solarus/solarus games/spacezero games/speeddreams games/supertux games/supertuxkart games/taisei games/tome4 games/ufoai/base,-editor games/valyriatear games/vegastrike/engine games/warzone2100 games/yquake2 graphics/blender graphics/simgear multimedia/sfml net/utox x11/kde-applications/libkdegames x11/kde4/libkdegames x11/qt5/qtmultimedia mazocomp$ doas infrastructure/bin/dpb openal.dependents Started as: root Port user: root Build user: _pbuild Fetch user: _pfetch Log user: _pbuild Unpriv user: _dpb Reading build stats...zapping old stuff...Done Reading distinfo...zap duplicates...Done Waiting for hosts to finish STARTUP...ready on localhost 13 Feb 03:13:24 [82702] running for 14:30:52 Hosts: localhost(kde4) I=688 B=0 Q=0 T=0 F=0 !=4 Elapsed time=14:30:52 I=688 B=0 Q=0 T=0 F=0 !=4 mazocomp$ Commit time? :)
Re: [UPDATE] audio/openal 1.19.1
Hi I planned to update it much later but thanks for doing this. As said privately I m ok with the changes once approved by other folks. Cheers. On Sun, 10 Feb 2019 at 09:06, Leonid Bobrov wrote: > > Hi! > > Full changelog can be found here: > https://github.com/kcat/openal-soft/blob/master/ChangeLog > > The most notable one is this release brings sndio input support, > thanks to work done by Alexandre Ratchov. > > I raise minor number because my checks show that only new functions > were added. > > So far the dependent programs I use keep working. > > Index: Makefile > === > RCS file: /cvs/ports/audio/openal/Makefile,v > retrieving revision 1.51 > diff -u -p -u -p -r1.51 Makefile > --- Makefile9 Aug 2018 20:50:47 - 1.51 > +++ Makefile10 Feb 2019 08:51:28 - > @@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s > > COMMENT = cross-platform 3D audio API > > -V =1.17.2 > +V =1.19.1 > EPOCH =0 > DISTNAME = openal-soft-$V > PKGNAME = openal-$V > CATEGORIES = audio > -SHARED_LIBS = openal 3.0 > -REVISION = 1 > +SHARED_LIBS = openal 3.1 > > HOMEPAGE = http://kcat.strangesoft.net/openal.html > > @@ -19,7 +18,7 @@ MAINTAINER = David Carlier # LGPLv2+ > PERMIT_PACKAGE_CDROM = Yes > > -WANTLIB += c m pthread sndio ${COMPILER_LIBCXX} > +WANTLIB += c m pthread sndio > > MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,} > EXTRACT_SUFX = .tar.bz2 > @@ -30,6 +29,7 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB > -DALSOFT_UTILS=On \ > -DALSOFT_EXAMPLES=Off \ > -DALSOFT_REQUIRE_SNDIO=On \ > + -DALSOFT_BACKEND_DSOUND=Off \ > -DALSOFT_BACKEND_WAVE=Off \ > -DALSOFT_CPUEXT_SSE=Off \ > -DALSOFT_CPUEXT_SSE2=Off \ > @@ -42,21 +42,16 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB > -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \ > -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \ > -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \ > + -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \ > -DALSOFT_NO_CONFIG_UTIL=On > > MODULES = devel/cmake > > -COMPILER = base-clang ports-clang ports-gcc > +COMPILER = base-clang ports-clang ports-gcc > > -SEPARATE_BUILD =Yes > NO_TEST = Yes > > pre-build: > - @${SUBST_CMD} ${WRKSRC}/Alc/alcConfig.c ${WRKSRC}/alsoftrc.sample > - > -post-install: > - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openal > - ${INSTALL_DATA} ${WRKSRC}/alsoftrc.sample \ > - ${PREFIX}/share/examples/openal > + @${SUBST_CMD} ${WRKSRC}/Alc/alconfig.c ${WRKSRC}/alsoftrc.sample > > .include > Index: distinfo > === > RCS file: /cvs/ports/audio/openal/distinfo,v > retrieving revision 1.10 > diff -u -p -u -p -r1.10 distinfo > --- distinfo15 Nov 2017 13:02:42 - 1.10 > +++ distinfo10 Feb 2019 08:51:28 - > @@ -1,2 +1,2 @@ > -SHA256 (openal-soft-1.17.2.tar.bz2) = > o0H4VC8fC4xlJBoX2hPQc/GOwGZY4aFgao7Mi7wrMxQ= > -SIZE (openal-soft-1.17.2.tar.bz2) = 486934 > +SHA256 (openal-soft-1.19.1.tar.bz2) = > XC+H/1GIuV4NxHaXGanYnOQ1uDIrRHi5XdS0J/6Esuk= > +SIZE (openal-soft-1.19.1.tar.bz2) = 577310 > Index: patches/patch-Alc_ALc_c > === > RCS file: patches/patch-Alc_ALc_c > diff -N patches/patch-Alc_ALc_c > --- patches/patch-Alc_ALc_c 31 Dec 2017 18:46:26 - 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 - > @@ -1,35 +0,0 @@ > -$OpenBSD: patch-Alc_ALc_c,v 1.1 2017/12/31 18:46:26 jca Exp $ > - > -commit d1e98c36d375433cb11a7a74ce20c968491773aa > -Author: Chris Robinson > -Date: Sat Apr 30 17:14:55 2016 -0700 > - > -Don't crash when there's no backend to probe > - > -Index: Alc/ALc.c > Alc/ALc.c.orig > -+++ Alc/ALc.c > -@@ -1117,6 +1117,11 @@ static void alc_initconfig(void) > - V0(factory,init)(); > - } > - > -+if(!PlaybackBackend.name) > -+WARN("No playback backend available!\n"); > -+if(!CaptureBackend.name) > -+WARN("No capture backend available!\n"); > -+ > - if(ConfigValueStr(NULL, NULL, "excludefx", &str)) > - { > - size_t len; > -@@ -1230,9 +1235,9 @@ static void ProbeDevices(al_string *list, struct Backe > - LockLists(); > - al_string_clear(list); > - > --if(!backendinfo->getFactory) > -+if(backendinfo->Probe) > - backendinfo->Probe(type); > --else > -+else if(backendinfo->getFactory) > - { > - ALCbackendFactory *factory = backendinfo->getFactory(); > - V(factory,probe)(type); > Index: patches/patch-Alc_alcConfig_c > === > RCS file: patches/patch-Alc_alcConfig_c > diff -N patches/patch-Alc_a
Re: [UPDATE] audio/openal 1.19.1
Hi, Brian! On Mon, Feb 11, 2019 at 08:18:23AM -0500, Brian Callahan wrote: > Could you at least build test all the ports that depend on openal? That will > help ensure the minor bump is correct and there's less chance of having to > clean up breakage post-commit. > Sure, I'll do it.
Re: [UPDATE] audio/openal 1.19.1
On 2/10/19 4:06 AM, Leonid Bobrov wrote: Hi! Full changelog can be found here: https://github.com/kcat/openal-soft/blob/master/ChangeLog The most notable one is this release brings sndio input support, thanks to work done by Alexandre Ratchov. I raise minor number because my checks show that only new functions were added. So far the dependent programs I use keep working. Yes, I think the time is right to update openal. Could you at least build test all the ports that depend on openal? That will help ensure the minor bump is correct and there's less chance of having to clean up breakage post-commit. ~Brian Index: Makefile === RCS file: /cvs/ports/audio/openal/Makefile,v retrieving revision 1.51 diff -u -p -u -p -r1.51 Makefile --- Makefile9 Aug 2018 20:50:47 - 1.51 +++ Makefile10 Feb 2019 08:51:28 - @@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s COMMENT = cross-platform 3D audio API -V = 1.17.2 +V =1.19.1 EPOCH = 0 DISTNAME =openal-soft-$V PKGNAME = openal-$V CATEGORIES = audio -SHARED_LIBS = openal 3.0 -REVISION = 1 +SHARED_LIBS = openal 3.1 HOMEPAGE = http://kcat.strangesoft.net/openal.html @@ -19,7 +18,7 @@ MAINTAINER = David Carlier # LGPLv2+ PERMIT_PACKAGE_CDROM =Yes -WANTLIB += c m pthread sndio ${COMPILER_LIBCXX} +WANTLIB += c m pthread sndio MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,} EXTRACT_SUFX =.tar.bz2 @@ -30,6 +29,7 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB -DALSOFT_UTILS=On \ -DALSOFT_EXAMPLES=Off \ -DALSOFT_REQUIRE_SNDIO=On \ + -DALSOFT_BACKEND_DSOUND=Off \ -DALSOFT_BACKEND_WAVE=Off \ -DALSOFT_CPUEXT_SSE=Off \ -DALSOFT_CPUEXT_SSE2=Off \ @@ -42,21 +42,16 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \ -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \ -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \ + -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \ -DALSOFT_NO_CONFIG_UTIL=On MODULES = devel/cmake -COMPILER = base-clang ports-clang ports-gcc +COMPILER = base-clang ports-clang ports-gcc -SEPARATE_BUILD =Yes NO_TEST = Yes pre-build: - @${SUBST_CMD} ${WRKSRC}/Alc/alcConfig.c ${WRKSRC}/alsoftrc.sample - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openal - ${INSTALL_DATA} ${WRKSRC}/alsoftrc.sample \ - ${PREFIX}/share/examples/openal + @${SUBST_CMD} ${WRKSRC}/Alc/alconfig.c ${WRKSRC}/alsoftrc.sample .include Index: distinfo === RCS file: /cvs/ports/audio/openal/distinfo,v retrieving revision 1.10 diff -u -p -u -p -r1.10 distinfo --- distinfo15 Nov 2017 13:02:42 - 1.10 +++ distinfo10 Feb 2019 08:51:28 - @@ -1,2 +1,2 @@ -SHA256 (openal-soft-1.17.2.tar.bz2) = o0H4VC8fC4xlJBoX2hPQc/GOwGZY4aFgao7Mi7wrMxQ= -SIZE (openal-soft-1.17.2.tar.bz2) = 486934 +SHA256 (openal-soft-1.19.1.tar.bz2) = XC+H/1GIuV4NxHaXGanYnOQ1uDIrRHi5XdS0J/6Esuk= +SIZE (openal-soft-1.19.1.tar.bz2) = 577310 Index: patches/patch-Alc_ALc_c === RCS file: patches/patch-Alc_ALc_c diff -N patches/patch-Alc_ALc_c --- patches/patch-Alc_ALc_c 31 Dec 2017 18:46:26 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,35 +0,0 @@ -$OpenBSD: patch-Alc_ALc_c,v 1.1 2017/12/31 18:46:26 jca Exp $ - -commit d1e98c36d375433cb11a7a74ce20c968491773aa -Author: Chris Robinson -Date: Sat Apr 30 17:14:55 2016 -0700 - -Don't crash when there's no backend to probe - -Index: Alc/ALc.c Alc/ALc.c.orig -+++ Alc/ALc.c -@@ -1117,6 +1117,11 @@ static void alc_initconfig(void) - V0(factory,init)(); - } - -+if(!PlaybackBackend.name) -+WARN("No playback backend available!\n"); -+if(!CaptureBackend.name) -+WARN("No capture backend available!\n"); -+ - if(ConfigValueStr(NULL, NULL, "excludefx", &str)) - { - size_t len; -@@ -1230,9 +1235,9 @@ static void ProbeDevices(al_string *list, struct Backe - LockLists(); - al_string_clear(list); - --if(!backendinfo->getFactory) -+if(backendinfo->Probe) - backendinfo->Probe(type); --else -+else if(backendinfo->getFactory) - { - ALCbackendFactory *factory = backendinfo->getFactory(); - V(factory,probe)(type); Index: patches/patch-Alc_alcConfig_c === RCS file: patches/patch-Alc_alcConfig_c diff -N patches/patch-Alc_alcConfig_c --- patches/patch-Alc_alcConfig_c 15 Nov 2017 13:02:42 - 1.4 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,13 +0,0 @@ -$OpenBS
[UPDATE] audio/openal 1.19.1
Hi! Full changelog can be found here: https://github.com/kcat/openal-soft/blob/master/ChangeLog The most notable one is this release brings sndio input support, thanks to work done by Alexandre Ratchov. I raise minor number because my checks show that only new functions were added. So far the dependent programs I use keep working. Index: Makefile === RCS file: /cvs/ports/audio/openal/Makefile,v retrieving revision 1.51 diff -u -p -u -p -r1.51 Makefile --- Makefile9 Aug 2018 20:50:47 - 1.51 +++ Makefile10 Feb 2019 08:51:28 - @@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s COMMENT = cross-platform 3D audio API -V =1.17.2 +V =1.19.1 EPOCH =0 DISTNAME = openal-soft-$V PKGNAME = openal-$V CATEGORIES = audio -SHARED_LIBS = openal 3.0 -REVISION = 1 +SHARED_LIBS = openal 3.1 HOMEPAGE = http://kcat.strangesoft.net/openal.html @@ -19,7 +18,7 @@ MAINTAINER = David Carlier Index: distinfo === RCS file: /cvs/ports/audio/openal/distinfo,v retrieving revision 1.10 diff -u -p -u -p -r1.10 distinfo --- distinfo15 Nov 2017 13:02:42 - 1.10 +++ distinfo10 Feb 2019 08:51:28 - @@ -1,2 +1,2 @@ -SHA256 (openal-soft-1.17.2.tar.bz2) = o0H4VC8fC4xlJBoX2hPQc/GOwGZY4aFgao7Mi7wrMxQ= -SIZE (openal-soft-1.17.2.tar.bz2) = 486934 +SHA256 (openal-soft-1.19.1.tar.bz2) = XC+H/1GIuV4NxHaXGanYnOQ1uDIrRHi5XdS0J/6Esuk= +SIZE (openal-soft-1.19.1.tar.bz2) = 577310 Index: patches/patch-Alc_ALc_c === RCS file: patches/patch-Alc_ALc_c diff -N patches/patch-Alc_ALc_c --- patches/patch-Alc_ALc_c 31 Dec 2017 18:46:26 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,35 +0,0 @@ -$OpenBSD: patch-Alc_ALc_c,v 1.1 2017/12/31 18:46:26 jca Exp $ - -commit d1e98c36d375433cb11a7a74ce20c968491773aa -Author: Chris Robinson -Date: Sat Apr 30 17:14:55 2016 -0700 - -Don't crash when there's no backend to probe - -Index: Alc/ALc.c Alc/ALc.c.orig -+++ Alc/ALc.c -@@ -1117,6 +1117,11 @@ static void alc_initconfig(void) - V0(factory,init)(); - } - -+if(!PlaybackBackend.name) -+WARN("No playback backend available!\n"); -+if(!CaptureBackend.name) -+WARN("No capture backend available!\n"); -+ - if(ConfigValueStr(NULL, NULL, "excludefx", &str)) - { - size_t len; -@@ -1230,9 +1235,9 @@ static void ProbeDevices(al_string *list, struct Backe - LockLists(); - al_string_clear(list); - --if(!backendinfo->getFactory) -+if(backendinfo->Probe) - backendinfo->Probe(type); --else -+else if(backendinfo->getFactory) - { - ALCbackendFactory *factory = backendinfo->getFactory(); - V(factory,probe)(type); Index: patches/patch-Alc_alcConfig_c === RCS file: patches/patch-Alc_alcConfig_c diff -N patches/patch-Alc_alcConfig_c --- patches/patch-Alc_alcConfig_c 15 Nov 2017 13:02:42 - 1.4 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,13 +0,0 @@ -$OpenBSD: patch-Alc_alcConfig_c,v 1.4 2017/11/15 13:02:42 sthen Exp $ -Index: Alc/alcConfig.c Alc/alcConfig.c.orig -+++ Alc/alcConfig.c -@@ -353,7 +353,7 @@ void ReadALConfig(void) - const char *str; - FILE *f; - --str = "/etc/openal/alsoft.conf"; -+str = "${SYSCONFDIR}/openal/alsoft.conf"; - - TRACE("Loading config %s...\n", str); - f = al_fopen(str, "r"); Index: patches/patch-Alc_alconfig_c === RCS file: patches/patch-Alc_alconfig_c diff -N patches/patch-Alc_alconfig_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-Alc_alconfig_c10 Feb 2019 08:51:28 - @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: Alc/alconfig.c +--- Alc/alconfig.c.orig Alc/alconfig.c +@@ -428,7 +428,7 @@ void ReadALConfig(void) + const char *str; + FILE *f; + +-str = "/etc/openal/alsoft.conf"; ++str = "${SYSCONFDIR}/openal/alsoft.conf"; + + TRACE("Loading config %s...\n", str); + f = al_fopen(str, "r"); Index: patches/patch-Alc_backends_sndio_c === RCS file: patches/patch-Alc_backends_sndio_c diff -N patches/patch-Alc_backends_sndio_c --- patches/patch-Alc_backends_sndio_c 9 Aug 2018 20:50:47 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,404 +0,0 @@ -$OpenBSD: patch-Alc_backends_sndio_c,v 1.1 2018/08/09 20:50:47 ratchov Exp $ - -Index: Alc/backends/sndio.c Alc/backends/sndio.c.orig -+++ Alc/backends/sndio.c -@@ -42,16 +42,18 @@ static ALCboolean sndio_load(void) - - typedef struct { - struct sio_hdl *sndHandle; -+int mode, started; - - ALvoid *mix_data; - ALsizei data_size; - -+ll_ringbuffer_t *rin