Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cava for openSUSE:Factory checked in 
at 2023-08-14 22:35:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cava (Old)
 and      /work/SRC/openSUSE:Factory/.cava.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cava"

Mon Aug 14 22:35:20 2023 rev:15 rq:1103709 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cava/cava.changes        2023-08-07 
15:29:13.368362584 +0200
+++ /work/SRC/openSUSE:Factory/.cava.new.11712/cava.changes     2023-08-14 
22:35:24.348281114 +0200
@@ -1,0 +2,7 @@
+Sun Aug 13 17:58:50 UTC 2023 - Michael Vetter <mvet...@suse.com>
+
+- Update to 0.9.1:
+  * hardcoded pipewire include flags #519
+  * default input wrongly set to alsa instead of pulseaudio/pipewire #518
+
+-------------------------------------------------------------------

Old:
----
  0.9.0.tar.gz

New:
----
  0.9.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cava.spec ++++++
--- /var/tmp/diff_new_pack.M8auch/_old  2023-08-14 22:35:24.980285132 +0200
+++ /var/tmp/diff_new_pack.M8auch/_new  2023-08-14 22:35:24.984285158 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           cava
-Version:        0.9.0
+Version:        0.9.1
 Release:        0
 Summary:        Console-based Audio Visualizer for Alsa
 License:        MIT

++++++ 0.9.0.tar.gz -> 0.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cava-0.9.0/README.md new/cava-0.9.1/README.md
--- old/cava-0.9.0/README.md    2023-08-06 20:46:00.000000000 +0200
+++ new/cava-0.9.1/README.md    2023-08-12 17:47:21.000000000 +0200
@@ -60,6 +60,7 @@
 * libtool
 * automake
 * autoconf-archive (needed for setting up OpenGL)
+* pkgconf
 * build-essentials
 * [iniparser](https://github.com/ndevilla/iniparser)
 
@@ -86,22 +87,22 @@
 
 Debian/Ubuntu:
 
-    sudo apt install build-essential libfftw3-dev libasound2-dev 
libncursesw5-dev libpulse-dev libtool automake autoconf-archive 
libiniparser-dev libsdl2-2.0-0 libsdl2-dev libpipewire-0.3-dev
+    sudo apt install build-essential libfftw3-dev libasound2-dev 
libncursesw5-dev libpulse-dev libtool automake autoconf-archive 
libiniparser-dev libsdl2-2.0-0 libsdl2-dev libpipewire-0.3-dev pkgconf
 
 
 ArchLinux:
 
-    pacman -S base-devel fftw ncurses alsa-lib iniparser pulseaudio 
autoconf-archive
+    pacman -S base-devel fftw ncurses alsa-lib iniparser pulseaudio 
autoconf-archive pkgconf
 
 
 openSUSE:
 
-    zypper install alsa-devel ncurses-devel fftw3-devel libpulse-devel libtool 
autoconf-archive
+    zypper install alsa-devel ncurses-devel fftw3-devel libpulse-devel libtool 
autoconf-archive pkgconf
 
 
 Fedora:
 
-    dnf install alsa-lib-devel ncurses-devel fftw3-devel pulseaudio-libs-devel 
libtool autoconf-archive iniparser-devel
+    dnf install alsa-lib-devel ncurses-devel fftw3-devel pulseaudio-libs-devel 
libtool autoconf-archive iniparser-devel pkgconf
 
     
 macOS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cava-0.9.0/autogen.sh new/cava-0.9.1/autogen.sh
--- old/cava-0.9.0/autogen.sh   2023-08-06 20:46:00.000000000 +0200
+++ new/cava-0.9.1/autogen.sh   2023-08-12 17:47:21.000000000 +0200
@@ -3,7 +3,7 @@
 if [ -d .git ]; then
   git describe --always --tags --dirty > version # get version from git
 else
-  echo 0.9.0 > version # hard coded versions
+  echo 0.9.1 > version # hard coded versions
 fi
 
 libtoolize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cava-0.9.0/config.c new/cava-0.9.1/config.c
--- old/cava-0.9.0/config.c     2023-08-06 20:46:00.000000000 +0200
+++ new/cava-0.9.1/config.c     2023-08-12 17:47:21.000000000 +0200
@@ -45,7 +45,7 @@
 double smoothDef[5] = {1, 1, 1, 1, 1};
 
 enum input_method default_methods[] = {
-    INPUT_FIFO, INPUT_PORTAUDIO, INPUT_ALSA, INPUT_PULSE, INPUT_WINSCAP,
+    INPUT_FIFO, INPUT_PORTAUDIO, INPUT_ALSA, INPUT_PIPEWIRE, INPUT_PULSE, 
INPUT_WINSCAP,
 };
 
 char *outputMethod, *orientation, *channels, *xaxisScale, *monoOption, 
*fragmentShader,
@@ -674,11 +674,11 @@
 
     free(p->audio_source);
 
-    int default_input = -1;
+    enum input_method default_input = INPUT_FIFO;
     for (size_t i = 0; i < ARRAY_SIZE(default_methods); i++) {
         enum input_method method = default_methods[i];
         if (has_input_method[method]) {
-            default_input++;
+            default_input = default_methods[i];
         }
     }
     char *input_method_name =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cava-0.9.0/configure.ac new/cava-0.9.1/configure.ac
--- old/cava-0.9.0/configure.ac 2023-08-06 20:46:00.000000000 +0200
+++ new/cava-0.9.1/configure.ac 2023-08-12 17:47:21.000000000 +0200
@@ -105,10 +105,10 @@
 )
 
 AS_IF([test "x$enable_input_pipewire" != "xno"], [
-  AC_CHECK_LIB(pipewire-0.3, pw_stream_connect, have_pipewire=yes, 
have_pipewire=no)
+  PKG_CHECK_MODULES(PIPEWIRE, libpipewire-0.3, have_pipewire=yes, 
have_pipewire=no)
   if [[ $have_pipewire = "yes" ]] ; then
-    LIBS="$LIBS -lpipewire-0.3"
-    CPPFLAGS="$CPPFLAGS -DPIPEWIRE -D_REENTRANT -I/usr/include/pipewire-0.3 
-I/usr/include/spa-0.2"
+    LIBS="$LIBS $PIPEWIRE_LIBS"
+    CPPFLAGS="$CPPFLAGS -DPIPEWIRE $PIPEWIRE_CFLAGS"
   fi
 
   if [[ $have_pipewire = "no" ]] ; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cava-0.9.0/example_files/config 
new/cava-0.9.1/example_files/config
--- old/cava-0.9.0/example_files/config 2023-08-06 20:46:00.000000000 +0200
+++ new/cava-0.9.1/example_files/config 2023-08-12 17:47:21.000000000 +0200
@@ -54,6 +54,7 @@
 
 # Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 
'sndio' or 'shmem'
 # Defaults to 'pulse', 'pipewire', 'alsa' or 'fifo', in that order, dependent 
on what support cava was built with.
+# On Mac it defaults to 'portaudio' or 'fifo'
 # On windows this is automatic and no input settings are needed.
 #
 # All input methods uses the same config variable 'source'

Reply via email to