Hello community, here is the log from the commit of package openal-soft for openSUSE:Factory checked in at 2012-12-19 14:50:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openal-soft (Old) and /work/SRC/openSUSE:Factory/.openal-soft.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openal-soft", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/openal-soft/openal-soft.changes 2012-07-24 15:04:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openal-soft.new/openal-soft.changes 2012-12-19 14:50:21.000000000 +0100 @@ -1,0 +2,51 @@ +Fri Dec 7 14:06:32 UTC 2012 - [email protected] + +- update to new version 1.15 + - Fixed device enumeration with the OSS backend. + - Reorganized internal mixing logic, so unneeded steps can potentially be skipped for better performance. + - Removed the lookup table for calculating the mixing pans. The panning is now calculated directly for better precision. + - Improved the panning of stereo source channels when using stereo output. + - Improved source filter quality on send paths. + - Added a config option to allow PulseAudio to move streams between devices. + - Currently disabled by default, as the device specifier does not properly update. + - The PulseAudio backend will now attempt to spawn a server by default. + - Added a workaround for a DirectSound bug relating to float32 output. + - Added SSE-based mixers, for HRTF and non-HRTF mixing. + - SSE can be detected at run-time, and be disabled as needed. + - Added support for the new AL_SOFT_source_latency extension. + - Currently, the PulseAudio, ALSA, and MMDevAPI backends provide proper latency information. + - Improved ALSA capture by avoiding an extra buffer when using sizes supported by the underlying device. + - Improved the makehrtf utility to support new options and input formats. + - Modified the CFLAGS declared in the pkg-config file so the "AL/" portion of the header includes can optionally be omitted. + - Added a couple example code programs to show how to apply reverb, and retrieve latency. + - The configuration sample is now installed into the share/openal/ directory instead of /etc/openal. + - Note, /etc/openal/alsoft.conf is still used to read the configuration like before. + - The configuration sample now gets installed by default. +- undo upstream change to auto spawn pulseaudio (openal-no-autospawn.diff) + +------------------------------------------------------------------- +Tue Nov 27 17:18:44 UTC 2012 - [email protected] + +- license update: LGPL-2.1+ and GPL-2.0+ + See the c files in utils/ - looks like a GPL licensed utility is included + (as aggregate) + +------------------------------------------------------------------- +Mon Nov 12 09:45:21 UTC 2012 - [email protected] + +- update to git snapshot close to 1.15 +- re-enable OSS support +- also rename libopenal0-soft for consistency + +------------------------------------------------------------------- +Mon Nov 5 20:16:03 UTC 2012 - [email protected] + +- Remove support for old distributions +- Remove Icon tag and icon file. It's not normal for openSUSE packages to use it +- Remove Conflicts/Provides for rename from openal. Latest release of the old openal was in openSUSE 11.1. +- Use pkgconfig() BuildRequires +- Run spec-cleaner +- Rename libopenal1-soft to libopenal1 +- Disable OSS support + +------------------------------------------------------------------- Old: ---- openal-soft-1.14-x86.patch openal-soft-1.14.tar.bz2 openal.xpm New: ---- openal-no-autospawn.diff openal-soft-1.15.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openal-soft.spec ++++++ --- /var/tmp/diff_new_pack.qkJqh9/_old 2012-12-19 14:50:22.000000000 +0100 +++ /var/tmp/diff_new_pack.qkJqh9/_new 2012-12-19 14:50:22.000000000 +0100 @@ -16,184 +16,162 @@ # -%if 0%{?suse_version} > 1030 -%bcond_without pulseaudio -%else -%if 0%{?fedora_version} > 9 -%bcond_without pulseaudio -%else -%if 0%{?mandriva_version} >= 2009 -%bcond_without pulseaudio -%else -%bcond_with pulseaudio -%endif -%endif -%endif - Name: openal-soft -Version: 1.14 +Version: 1.15 Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: cmake >= 2.4.4 -Icon: openal.xpm -Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2 -Source1: libopenalcompat.c -Source3: baselibs.conf -Patch0: openal-soft-1.14-x86.patch Summary: OpenAL Soft -License: LGPL-2.0+ +License: LGPL-2.1+ and GPL-2.0+ Group: System/Libraries Url: http://kcat.strangesoft.net/openal.html -Conflicts: openal <= 0.0.8 -Provides: openal = 0.0.9 -%if 0%{?mandriva_version} >= 2006 -BuildRequires: -alsa-plugins -BuildRequires: libalsa-devel -%else -BuildRequires: alsa-devel -%endif -%if %{with pulseaudio} -BuildRequires: pulseaudio-devel -%endif +Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2 +#Source0: openal-soft-%{version}.tar.bz2 +Source1: libopenalcompat.c +Source3: baselibs.conf +Patch0: openal-no-autospawn.diff +BuildRequires: cmake >= 2.4.4 +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(libpulse) %description OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. -OpenAL Soft is an alternative software implementation with a shared and -a cleaned up codebase, based on the windows reference implementation. +OpenAL provides capabilities for playing audio in a virtual 3D +environment. Distance attenuation, doppler shift, and directional +sound emitters are among the features handled by the API. More +advanced effects, including air absorption, occlusion, and +environmental reverb, are available through the EFX extension. It +also facilitates streaming audio, multi-channel buffers, and audio +capture. - - -Authors: --------- - Chris Robinson +OpenAL Soft is an LGPL-licensed, cross-platform, software +implementation of the OpenAL API. %package devel Summary: OpenAL Soft Group: Development/Languages/C and C++ Requires: %{name} = %{version} Requires: glibc-devel -Provides: openal-devel = 0.0.9 -Conflicts: openal-devel <= 0.0.8 %description devel OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. -OpenAL Soft is an alternative software implementation with a shared and -a cleaned up codebase, based on the windows reference implementation. - - +OpenAL provides capabilities for playing audio in a virtual 3D +environment. Distance attenuation, doppler shift, and directional +sound emitters are among the features handled by the API. More +advanced effects, including air absorption, occlusion, and +environmental reverb, are available through the EFX extension. It +also facilitates streaming audio, multi-channel buffers, and audio +capture. -Authors: --------- - Chris Robinson +OpenAL Soft is an LGPL-licensed, cross-platform, software +implementation of the OpenAL API. -%package -n libopenal0-soft +%package -n libopenal0 Summary: OpenAL Soft Group: System/Libraries -Provides: libopenal0 = %version-%release -%if 0%{?suse_version} > 1010 Recommends: openal-soft -%endif +# libopenal0-soft was last used in openSUSE 12.2 +Provides: libopenal0-soft = %{version}-%{release} +Obsoletes: libopenal0-soft <= 1.14 -%description -n libopenal0-soft +%description -n libopenal0 OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. -OpenAL Soft is an alternative software implementation with a shared and -a cleaned up codebase, based on the windows reference implementation. - +OpenAL provides capabilities for playing audio in a virtual 3D +environment. Distance attenuation, doppler shift, and directional +sound emitters are among the features handled by the API. More +advanced effects, including air absorption, occlusion, and +environmental reverb, are available through the EFX extension. It +also facilitates streaming audio, multi-channel buffers, and audio +capture. +OpenAL Soft is an LGPL-licensed, cross-platform, software +implementation of the OpenAL API. -Authors: --------- - Chris Robinson +libopenal.so.0 is just a wrapper around libopenal.so.1 for +compatibility with old software. -%package -n libopenal1-soft +%package -n libopenal1 Summary: OpenAL Soft Group: System/Libraries -Provides: libopenal1 = %version-%release -%if 0%{?suse_version} > 1010 Recommends: openal-soft -%endif +# libopenal1-soft was last used in openSUSE 12.2 +Provides: libopenal1-soft = %{version}-%{release} +Obsoletes: libopenal1-soft <= 1.14 -%description -n libopenal1-soft +%description -n libopenal1 OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. -OpenAL Soft is an alternative software implementation with a shared and -a cleaned up codebase, based on the windows reference implementation. +OpenAL provides capabilities for playing audio in a virtual 3D +environment. Distance attenuation, doppler shift, and directional +sound emitters are among the features handled by the API. More +advanced effects, including air absorption, occlusion, and +environmental reverb, are available through the EFX extension. It +also facilitates streaming audio, multi-channel buffers, and audio +capture. - - -Authors: --------- - Chris Robinson +OpenAL Soft is an LGPL-licensed, cross-platform, software +implementation of the OpenAL API. %prep %setup -q %patch0 -p1 %build -cd build || cd CMakeConf -OPTIONS= -%if %{with pulseaudio} -if ! pkg-config --atleast-version=0.9.15 libpulse; then - echo "Warning: pulseaudio too old, disabled" - OPTIONS="-DPULSEAUDIO=OFF" -fi -%endif -cmake \ +cd build +export CFLAGS='%{optflags}' +export CXXFLAGS='%{optflags}' +cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 \ + -DCMAKE_VERBOSE_MAKEFILE=1 \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %if %{_lib} == lib64 - -D LIB_SUFFIX=64 \ + -DLIB_SUFFIX=64 \ %endif - -D CMAKE_INSTALL_PREFIX=%{_prefix} \ - -D CMAKE_C_FLAGS:STRING="$RPM_OPT_FLAGS" \ - -D ALSOFT_CONFIG=ON \ - $OPTIONS \ + -DCMAKE_BUILD_TYPE=Release \ + -DALSOFT_CONFIG=ON \ .. -make VERBOSE=1 %{?jobs:-j %jobs} -# dummy library for compatibility -#doesnt work -#gcc -Wall $RPM_OPT_FLAGS -Wl,-soname,libopenal.so.0 -shared -Wl,-f,libopenal.so.1 -o libopenal.so.0 %SOURCE1 -gcc -Wall $RPM_OPT_FLAGS -fPIC -DPIC -Wl,-soname,libopenal.so.0 -shared -Wl,--no-as-needed -L. -lopenal -o libopenal.so.0 %SOURCE1 -%install -cd build || cd CMakeConf -make DESTDIR=$RPM_BUILD_ROOT install -install -d %buildroot/etc/openal -install -m644 libopenal.so.0 %buildroot%{_libdir} +make %{?_smp_mflags} +gcc -Wall %{optflags} -fPIC -DPIC -Wl,-soname,libopenal.so.0 -shared -Wl,--no-as-needed -L. -lopenal -o libopenal.so.0 %{SOURCE1} +# +install -D -m 644 /dev/null %{buildroot}/%{_sysconfdir}/openal/alsoft.conf -%post -n libopenal0-soft -p /sbin/ldconfig +%install +cd build +%make_install +install -d %{buildroot}%{_sysconfdir}/openal +install -m644 libopenal.so.0 %{buildroot}%{_libdir} -%postun -n libopenal0-soft -p /sbin/ldconfig +%post -n libopenal0 -p /sbin/ldconfig -%post -n libopenal1-soft -p /sbin/ldconfig +%postun -n libopenal0 -p /sbin/ldconfig -%postun -n libopenal1-soft -p /sbin/ldconfig +%post -n libopenal1 -p /sbin/ldconfig -%clean -rm -rf "$RPM_BUILD_ROOT" +%postun -n libopenal1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING -%dir /etc/openal -%config(noreplace) %attr(0644,root,root) /etc/openal/alsoft.conf +%dir %{_sysconfdir}/openal +%ghost %config %attr(0644,root,root) %{_sysconfdir}/openal/alsoft.conf %{_bindir}/openal-info +%dir %{_datadir}/openal +%{_datadir}/openal/alsoftrc.sample -%files -n libopenal1-soft +%files -n libopenal1 %defattr(-,root,root) -%{_libdir}/libopenal.so.1 -%{_libdir}/libopenal.so.1.* +%{_libdir}/libopenal.so.1* -%files -n libopenal0-soft +%files -n libopenal0 %defattr(-,root,root) %{_libdir}/libopenal.so.0 ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.qkJqh9/_old 2012-12-19 14:50:22.000000000 +0100 +++ /var/tmp/diff_new_pack.qkJqh9/_new 2012-12-19 14:50:22.000000000 +0100 @@ -1,2 +1,2 @@ -libopenal0-soft -libopenal1-soft +libopenal0 +libopenal1 ++++++ openal-no-autospawn.diff ++++++ disable pulseaudio auto spawn as it is annoying Index: openal-soft-1.15/Alc/backends/pulseaudio.c =================================================================== --- openal-soft-1.15.orig/Alc/backends/pulseaudio.c +++ openal-soft-1.15/Alc/backends/pulseaudio.c @@ -1433,7 +1433,7 @@ ALCboolean alc_pulse_init(BackendFuncs * pa_threaded_mainloop *loop; pulse_ctx_flags = 0; - if(!GetConfigValueBool("pulse", "spawn-server", 1)) + if(!GetConfigValueBool("pulse", "spawn-server", 0)) pulse_ctx_flags |= PA_CONTEXT_NOAUTOSPAWN; if((loop=pa_threaded_mainloop_new()) && ++++++ openal-soft-1.14.tar.bz2 -> openal-soft-1.15.tar.bz2 ++++++ ++++ 34553 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
