commit alsa-utils for openSUSE:Factory

2020-10-22 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-10-22 14:22:19

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.3463 (New)


Package is "alsa-utils"

Thu Oct 22 14:22:19 2020 rev:127 rq:843203 version:1.2.4

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-10-07 
14:18:02.377464365 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.3463/alsa-utils.changes  
2020-10-22 14:23:38.630823589 +0200
@@ -1,0 +2,16 @@
+Wed Oct 21 13:01:26 CEST 2020 - ti...@suse.de
+
+- Update to alsa-utils 1.2.3:
+  alsactl extension for disabling UCM, alsa-info.sh enhancements,
+  various fixes and documentation updates.
+  See details in
+https://alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4
+
+---
+Sun Oct 18 19:12:43 CEST 2020 - ti...@suse.de
+
+- Use /run/lock for alsactl lock directory (bsc#1177826)
+- Migrate the old asound.state file if the new path isn't present
+  yet (bsc#1177826)
+
+---

Old:

  alsa-utils-1.2.3.tar.bz2

New:

  alsa-utils-1.2.4.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.vgAXR3/_old  2020-10-22 14:23:39.494824365 +0200
+++ /var/tmp/diff_new_pack.vgAXR3/_new  2020-10-22 14:23:39.498824368 +0200
@@ -19,7 +19,7 @@
 %define do_autoreconf 0
 %define _udevdir %(pkg-config --variable=udevdir udev)
 Name:   alsa-utils
-Version:1.2.3
+Version:1.2.4
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0-or-later
@@ -85,7 +85,8 @@
 %endif
 %configure --with-curses=ncursesw \
   --with-systemdsystemunitdir=%{_unitdir} \
-  --with-udev-rules-dir=%{_udevdir}/rules.d
+  --with-udev-rules-dir=%{_udevdir}/rules.d \
+  --with-alsactl-lock-dir=/run/lock
 make %{?_smp_mflags}
 
 %install
@@ -115,6 +116,11 @@
 
 %post
 %service_add_post sound-extra.service
+# migrate the old asound.state
+test -f %{_localstatedir}/lib/alsa/asound.state || \
+  test -f /etc/asound.state && \
+cp -a /etc/asound.state %{_localstatedir}/lib/alsa/asound.state
+exit 0
 
 %preun
 %service_del_preun sound-extra.service

++ alsa-utils-1.2.3.tar.bz2 -> alsa-utils-1.2.4.tar.bz2 ++
 5851 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2020-10-07 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-10-07 14:17:59

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.4249 (New)


Package is "alsa-utils"

Wed Oct  7 14:17:59 2020 rev:126 rq:839641 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-10-03 
18:57:28.205613045 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.4249/alsa-utils.changes  
2020-10-07 14:18:02.377464365 +0200
@@ -1,0 +2,6 @@
+Mon Oct  5 12:39:42 CEST 2020 - ti...@suse.de
+
+- Conditionally add buildreq alsa-topology-devel to fix build
+  errors
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.vE8SkD/_old  2020-10-07 14:18:02.921464797 +0200
+++ /var/tmp/diff_new_pack.vE8SkD/_new  2020-10-07 14:18:02.925464801 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,9 @@
 Source5:load-sound-modules.sh
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
+%ifarch %ix86 x86_64 %arm aarch64 ppc64le riscv64
 BuildRequires:  alsa-topology-devel
+%endif
 BuildRequires:  fftw3-devel
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel




commit alsa-utils for openSUSE:Factory

2020-10-03 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-10-03 18:56:20

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.4249 (New)


Package is "alsa-utils"

Sat Oct  3 18:56:20 2020 rev:125 rq:838539 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-06-11 
14:46:37.005717185 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.4249/alsa-utils.changes  
2020-10-03 18:57:28.205613045 +0200
@@ -1,0 +2,6 @@
+Tue Sep 29 12:46:19 CEST 2020 - ti...@suse.de
+
+- Fix the directory to save asound.state again to /var/lib/alsa,
+  which was mistakenly changed to /etc
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.QFWM91/_old  2020-10-03 18:57:28.797613701 +0200
+++ /var/tmp/diff_new_pack.QFWM91/_new  2020-10-03 18:57:28.797613701 +0200
@@ -83,7 +83,6 @@
 %endif
 %configure --with-curses=ncursesw \
   --with-systemdsystemunitdir=%{_unitdir} \
-  --with-asound-state-dir=%{_sysconfdir} \
   --with-udev-rules-dir=%{_udevdir}/rules.d
 make %{?_smp_mflags}
 




commit alsa-utils for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-06-11 14:45:55

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.3606 (New)


Package is "alsa-utils"

Thu Jun 11 14:45:55 2020 rev:124 rq:812898 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-05-09 
19:52:08.396810260 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.3606/alsa-utils.changes  
2020-06-11 14:46:37.005717185 +0200
@@ -1,0 +2,15 @@
+Tue Jun  9 11:21:59 CEST 2020 - ti...@suse.de
+
+- Update to alsa-utils 1.2.3:
+  including previous fixes, see the detailed changes at:
+  https://www.alsa-project.org/wiki/Detailed_changes_v1.2.2_v1.2.3
+- Dropped obsoleted patches:
+  0001-alsaloop-reduce-cumulative-error-caused-by-non-atomi.patch
+  0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
+  0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
+  0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch
+  0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch
+  0006-alsa-info-initial-rpm-deb-package-info.patch
+  0007-alsa-info.sh-increase-version-to-0.4.65.patch
+
+---

Old:

  0001-alsaloop-reduce-cumulative-error-caused-by-non-atomi.patch
  0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
  0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
  0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch
  0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch
  0006-alsa-info-initial-rpm-deb-package-info.patch
  0007-alsa-info.sh-increase-version-to-0.4.65.patch
  alsa-utils-1.2.2.tar.bz2

New:

  alsa-utils-1.2.3.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.DLF2Z0/_old  2020-06-11 14:46:40.305726798 +0200
+++ /var/tmp/diff_new_pack.DLF2Z0/_new  2020-06-11 14:46:40.309726809 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define do_autoreconf 1
+%define do_autoreconf 0
 %define _udevdir %(pkg-config --variable=udevdir udev)
 Name:   alsa-utils
-Version:1.2.2
+Version:1.2.3
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0-or-later
@@ -29,13 +29,6 @@
 Source1:01beep.conf
 Source2:sound-extra.service
 Source5:load-sound-modules.sh
-Patch1: 0001-alsaloop-reduce-cumulative-error-caused-by-non-atomi.patch
-Patch2: 0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
-Patch3: 0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
-Patch4: 0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch
-Patch5: 0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch
-Patch6: 0006-alsa-info-initial-rpm-deb-package-info.patch
-Patch7: 0007-alsa-info.sh-increase-version-to-0.4.65.patch
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
 BuildRequires:  alsa-topology-devel
@@ -76,13 +69,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
 %if 0%{?do_autoreconf}
 %patch101 -p1
 # fix stupid automake's automatic action

++ alsa-utils-1.2.2.tar.bz2 -> alsa-utils-1.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-utils-1.2.2/alsa-info/alsa-info.sh 
new/alsa-utils-1.2.3/alsa-info/alsa-info.sh
--- old/alsa-utils-1.2.2/alsa-info/alsa-info.sh 2020-02-19 13:02:10.0 
+0100
+++ new/alsa-utils-1.2.3/alsa-info/alsa-info.sh 2020-06-07 19:19:42.0 
+0200
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.64
+SCRIPT_VERSION=0.4.65
 CHANGELOG="http://www.alsa-project.org/alsa-info.sh.changelog";
 
 
#
@@ -238,6 +238,23 @@
echo "" >> $FILE
 }
 
+withpackages() {
+   local RPM="$(which rpmquery 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null)"
+   local DPKG="$(which dpkg 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null)"
+   [ -n "$RPM$DPKG" ] || return
+   local 
PATTERN='(alsa-(lib|oss|plugins|tools|(topology|ucm)-conf|utils)|libalsa|tinycompress)'
+   {
+echo "!!Packages installed"
+echo "!!"
+echo ""
+   {
+   if [ -x "$RPM" ]; then "$RPM" -a; fi
+   if [ -x "$DPKG" ]; then "$DPKG" -l; fi
+   } | grep -E "$PATTERN"
+   echo ""
+   } >> "$FILE"
+}
+
 withall() {
withdevices
withconfigs
@@ -247,6 +264,7 @@
withmodules
withsysfs
withdmesg
+   withpackages
WITHALL="no"
 }
 
@@ -357,6 +375,7

commit alsa-utils for openSUSE:Factory

2020-05-09 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-05-09 19:51:57

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.2738 (New)


Package is "alsa-utils"

Sat May  9 19:51:57 2020 rev:123 rq:800957 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-04-27 
23:30:18.670578459 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.2738/alsa-utils.changes  
2020-05-09 19:52:08.396810260 +0200
@@ -1,0 +2,8 @@
+Wed May  6 12:19:02 CEST 2020 - ti...@suse.de
+
+- Backport upstream fixes: some improvements in alsa-info.sh:
+  0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch
+  0006-alsa-info-initial-rpm-deb-package-info.patch
+  0007-alsa-info.sh-increase-version-to-0.4.65.patch
+
+---

New:

  0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch
  0006-alsa-info-initial-rpm-deb-package-info.patch
  0007-alsa-info.sh-increase-version-to-0.4.65.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.kgiIT6/_old  2020-05-09 19:52:09.988813678 +0200
+++ /var/tmp/diff_new_pack.kgiIT6/_new  2020-05-09 19:52:09.992813686 +0200
@@ -33,6 +33,9 @@
 Patch2: 0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
 Patch3: 0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
 Patch4: 0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch
+Patch5: 0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch
+Patch6: 0006-alsa-info-initial-rpm-deb-package-info.patch
+Patch7: 0007-alsa-info.sh-increase-version-to-0.4.65.patch
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
 BuildRequires:  alsa-topology-devel
@@ -77,6 +80,9 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 %if 0%{?do_autoreconf}
 %patch101 -p1
 # fix stupid automake's automatic action

++ 0005-alsa-info.sh-add-ALT-to-DISTRO-list.patch ++
>From 217fef4a0b4e2604d57c8b9cb21e67a82e9a17a3 Mon Sep 17 00:00:00 2001
From: Michael Shigorin 
Date: Fri, 1 May 2020 10:28:59 +0300
Subject: [PATCH 5/7] alsa-info.sh: add ALT to DISTRO list

Suggested-by: Anton Farygin 
See-also: http://bugzilla.altlinux.org/38416
Signed-off-by: Jaroslav Kysela 
---
 alsa-info/alsa-info.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index 7bae30a614b0..2265caec970e 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -394,7 +394,7 @@ fi
 
 # Fetch the info and store in temp files/variables
 TSTAMP=$(LANG=C TZ=UTC date)
-DISTRO=$(grep -ihs 
"buntu\|SUSE\|Fedora\|PCLinuxOS\|MEPIS\|Mandriva\|Debian\|Damn\|Sabayon\|Slackware\|KNOPPIX\|Gentoo\|Zenwalk\|Mint\|Kubuntu\|FreeBSD\|Puppy\|Freespire\|Vector\|Dreamlinux\|CentOS\|Arch\|Xandros\|Elive\|SLAX\|Red\|BSD\|KANOTIX\|Nexenta\|Foresight\|GeeXboX\|Frugalware\|64\|SystemRescue\|Novell\|Solaris\|BackTrack\|KateOS\|Pardus"
 /etc/{issue,*release,*version})
+DISTRO=$(grep -ihs 
"buntu\|SUSE\|Fedora\|PCLinuxOS\|MEPIS\|Mandriva\|Debian\|Damn\|Sabayon\|Slackware\|KNOPPIX\|Gentoo\|Zenwalk\|Mint\|Kubuntu\|FreeBSD\|Puppy\|Freespire\|Vector\|Dreamlinux\|CentOS\|Arch\|Xandros\|Elive\|SLAX\|Red\|BSD\|KANOTIX\|Nexenta\|Foresight\|GeeXboX\|Frugalware\|64\|SystemRescue\|Novell\|Solaris\|BackTrack\|KateOS\|Pardus\|ALT"
 /etc/{issue,*release,*version})
 KERNEL_VERSION=$(uname -r)
 KERNEL_PROCESSOR=$(uname -p)
 KERNEL_MACHINE=$(uname -m)
-- 
2.16.4

++ 0006-alsa-info-initial-rpm-deb-package-info.patch ++
>From 8e59029c9c70d00efb33eb1d0d79b30dbcabbcc8 Mon Sep 17 00:00:00 2001
From: Michael Shigorin 
Date: Fri, 1 May 2020 10:52:42 +0300
Subject: [PATCH 6/7] alsa-info: initial rpm/deb package info

This might become a Pandora's box given
the amount of obscure package managers
on the planet but these two account for
most *nix-like systems with ALSA it seems.

Added support for querying ALSA packages
installed through rpm and dpkg; tested
on ALT (rpm) and OS Elbrus (dpkg).

Suggested-by: Anton Farygin 
See-also: http://bugzilla.altlinux.org/38416
Signed-off-by: Jaroslav Kysela 
---
 alsa-info/alsa-info.sh | 24 
 1 file changed, 24 insertions(+)

diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index 2265caec970e..1bf0421e0db3 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -238,6 +238,23 @@ withdmesg() {
echo "" >> $FILE
 }
 
+withpackages() {
+   local RPM="$(which rpmquery 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null)"
+   local DPKG="$(which dpkg 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null)"
+   [ -n "$

commit alsa-utils for openSUSE:Factory

2020-04-27 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-04-27 23:30:11

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.2738 (New)


Package is "alsa-utils"

Mon Apr 27 23:30:11 2020 rev:122 rq:796548 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-03-16 
10:17:07.183557454 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.2738/alsa-utils.changes  
2020-04-27 23:30:18.670578459 +0200
@@ -1,0 +2,8 @@
+Mon Apr 20 17:59:59 CEST 2020 - ti...@suse.de
+
+- Backport upstream fixes for alsactl:
+  0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
+  0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
+  0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch
+
+---

New:

  0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
  0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
  0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.qIBCHS/_old  2020-04-27 23:30:19.306579701 +0200
+++ /var/tmp/diff_new_pack.qIBCHS/_new  2020-04-27 23:30:19.314579717 +0200
@@ -30,6 +30,9 @@
 Source2:sound-extra.service
 Source5:load-sound-modules.sh
 Patch1: 0001-alsaloop-reduce-cumulative-error-caused-by-non-atomi.patch
+Patch2: 0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch
+Patch3: 0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch
+Patch4: 0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
 BuildRequires:  alsa-topology-devel
@@ -71,6 +74,9 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 %if 0%{?do_autoreconf}
 %patch101 -p1
 # fix stupid automake's automatic action

++ 0002-alsactl-don-t-exit-on-EINTR-from-epoll_wait.patch ++
>From 5830fc726ac9294641592a8c007502d573f6dea1 Mon Sep 17 00:00:00 2001
From: Zev Weiss 
Date: Mon, 14 Oct 2019 23:36:50 -0500
Subject: [PATCH] alsactl: don't exit on EINTR from epoll_wait().

Previously, things like attaching strace to a running 'alsactl monitor'
process would cause it to exit.

Signed-off-by: Zev Weiss 
Reviewed-by: Takashi Sakamoto 
Tested-by: Takashi Sakamoto 
Signed-off-by: Jaroslav Kysela 
---
 alsactl/monitor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/alsactl/monitor.c b/alsactl/monitor.c
index 6b090e4f5c92..cf4167bee165 100644
--- a/alsactl/monitor.c
+++ b/alsactl/monitor.c
@@ -342,6 +342,8 @@ static int run_dispatcher(int epfd, int sigfd, int infd, 
struct list_head *srcs,
 
count = epoll_wait(epfd, epev, max_ev_count, 200);
if (count < 0) {
+   if (errno == EINTR)
+   continue;
err = count;
break;
}
-- 
2.16.4

++ 0003-alsactl-avoid-needless-wakeups-in-monitor-loop.patch ++
>From 5fe6b866594c6d59d1960356590a00ccc4cdf4c7 Mon Sep 17 00:00:00 2001
From: Zev Weiss 
Date: Mon, 14 Oct 2019 23:38:02 -0500
Subject: [PATCH] alsactl: avoid needless wakeups in monitor loop.

The timeout wasn't really being used for anything; disabling it should
reduce idle energy consumption slightly.

Signed-off-by: Zev Weiss 
Reviewed-by: Takashi Sakamoto 
Tested-by: Takashi Sakamoto 
Signed-off-by: Jaroslav Kysela 
---
 alsactl/monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsactl/monitor.c b/alsactl/monitor.c
index cf4167bee165..fa6cd85d2ab2 100644
--- a/alsactl/monitor.c
+++ b/alsactl/monitor.c
@@ -340,7 +340,7 @@ static int run_dispatcher(int epfd, int sigfd, int infd, 
struct list_head *srcs,
int count;
int i;
 
-   count = epoll_wait(epfd, epev, max_ev_count, 200);
+   count = epoll_wait(epfd, epev, max_ev_count, -1);
if (count < 0) {
if (errno == EINTR)
continue;
-- 
2.16.4

++ 0004-alsactl-fix-error-handling-for-sched_setscheduler-ca.patch ++
>From d2bf87608a1c3f2d62ceb9300a74e9006394c678 Mon Sep 17 00:00:00 2001
From: Oscar65 
Date: Thu, 16 Apr 2020 12:35:21 +0200
Subject: [PATCH] alsactl: fix error handling for sched_setscheduler() call
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

As man page says: "If successful, the sched_setparam() function shall return 
zero."

Without update I got this output in the syslog (journalctl):
abr 16 09:25:30 mypc al

commit alsa-utils for openSUSE:Factory

2020-03-16 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-03-16 10:16:26

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.3160 (New)


Package is "alsa-utils"

Mon Mar 16 10:16:26 2020 rev:121 rq:784668 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-02-21 
16:40:43.401837078 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.3160/alsa-utils.changes  
2020-03-16 10:17:07.183557454 +0100
@@ -1,0 +2,43 @@
+Fri Mar 13 14:48:05 CET 2020 - ti...@suse.de
+
+- Update to alsa-utils 1.2.2; including previous fixes
+- Backport upstream fix: alsaloop improvement;
+  0001-alsaloop-reduce-cumulative-error-caused-by-non-atomi.patch
+- Drop obsoleted patches:
+  0001-treewide-sys-poll-to-poll.patch
+  0002-treewide-Fix-wrong-formats-on-32-bit.patch
+  0003-treewide-Fix-printf-formats.patch
+  0004-aplay-Adjust-buffer-sizes-to-fix-snprintf-warnings.patch
+  0005-aplay-Limit-VUMeter-progress-bar-to-100-for-negative.patch
+  0006-alsactl-sysfs-add-sys-kernel-uevent_seqnum-check-to-.patch
+  0007-alsaucm-use-the-first-sound-card-use-case-name-hw-CA.patch
+  0008-alsaucm-add-text-dump-command.patch
+  0009-alsaucm-add-json-dump-command.patch
+  0010-alsaucm-dump-fix-the-prefixed.patch
+  0011-alsactl-fix-sched-idle-set-it-really-to-SCHED_IDLE.patch
+  0012-configure-Fix-linking-of-alsatplg-with-the-older-lib.patch
+  0013-alsatplg-add-n-normalize-option.patch
+  0014-alsatplg-add-s-sort-and-fix-memory-leaks.patch
+  0015-alsatplg-fix-another-small-leak-in-normalize_config.patch
+  0016-alsa-info.sh-Consolidate-PCI-device-output.patch
+  0017-alsa-info.sh-Read-from-proc-modules-and-sort-the-res.patch
+  0018-alsa-info.sh-Simplify-iteration-over-cards-when-call.patch
+  0019-alsa-info.sh-Use-existing-function-to-print-ALSA-con.patch
+  0020-alsa-info.sh-Exit-script-after-writing-information-t.patch
+  0021-alsa-info.sh-Replace-gauge-with-infobox-for-upload-d.patch
+  0022-alsa-info.sh-Remove-progress-spinner-during-upload-w.patch
+  0023-alsa-info.sh-Condense-nested-commands-for-file-uploa.patch
+  0024-alsa-info.sh-Condense-nested-commands-for-formatting.patch
+  0025-alsa-info.sh-Perform-test-for-wget-earlier.patch
+  0026-alsa-info.sh-Warn-after-actual-upload-failure-do-not.patch
+  0027-alsatplg-rewrite-to-use-the-new-libatopology-functio.patch
+  0028-alsatplg-add-V-version-option.patch
+  0029-alsatplg-add-decode-command.patch
+  0030-alsatplg-add-documentation-for-z-dapm-nosort-h.patch
+  0031-configure-fix-new-libatopology-check.patch
+  0032-Use-__func__-instead-of-__FUNCTION__.patch
+  0033-Avoid-pointer-arithmetic-on-void.patch
+  0034-Use-lli-for-long-long-in-printf.patch
+  0035-Avoid-empty-initializer-list.patch
+
+---

Old:

  0001-treewide-sys-poll-to-poll.patch
  0002-treewide-Fix-wrong-formats-on-32-bit.patch
  0003-treewide-Fix-printf-formats.patch
  0004-aplay-Adjust-buffer-sizes-to-fix-snprintf-warnings.patch
  0005-aplay-Limit-VUMeter-progress-bar-to-100-for-negative.patch
  0006-alsactl-sysfs-add-sys-kernel-uevent_seqnum-check-to-.patch
  0007-alsaucm-use-the-first-sound-card-use-case-name-hw-CA.patch
  0008-alsaucm-add-text-dump-command.patch
  0009-alsaucm-add-json-dump-command.patch
  0010-alsaucm-dump-fix-the-prefixed.patch
  0011-alsactl-fix-sched-idle-set-it-really-to-SCHED_IDLE.patch
  0012-configure-Fix-linking-of-alsatplg-with-the-older-lib.patch
  0013-alsatplg-add-n-normalize-option.patch
  0014-alsatplg-add-s-sort-and-fix-memory-leaks.patch
  0015-alsatplg-fix-another-small-leak-in-normalize_config.patch
  0016-alsa-info.sh-Consolidate-PCI-device-output.patch
  0017-alsa-info.sh-Read-from-proc-modules-and-sort-the-res.patch
  0018-alsa-info.sh-Simplify-iteration-over-cards-when-call.patch
  0019-alsa-info.sh-Use-existing-function-to-print-ALSA-con.patch
  0020-alsa-info.sh-Exit-script-after-writing-information-t.patch
  0021-alsa-info.sh-Replace-gauge-with-infobox-for-upload-d.patch
  0022-alsa-info.sh-Remove-progress-spinner-during-upload-w.patch
  0023-alsa-info.sh-Condense-nested-commands-for-file-uploa.patch
  0024-alsa-info.sh-Condense-nested-commands-for-formatting.patch
  0025-alsa-info.sh-Perform-test-for-wget-earlier.patch
  0026-alsa-info.sh-Warn-after-actual-upload-failure-do-not.patch
  0027-alsatplg-rewrite-to-use-the-new-libatopology-functio.patch
  0028-alsatplg-add-V-version-option.patch
  0029-alsatplg-add-decode-command.patch
  0030-alsatplg-add-documentation-for-z-dapm-nosort-h.patch
  0031-configure-fix-new-libatopology-check.patch
  0032-Use-__func__-instead-of-__FUNCTION__.patch
  0033-Avoid-pointer-arithmetic-on-void.patch
  0034-Use-lli-for-long-long-in-printf.patch
  0035-Avoid-empty-initialize

commit alsa-utils for openSUSE:Factory

2020-02-21 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-02-21 16:40:20

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.26092 (New)


Package is "alsa-utils"

Fri Feb 21 16:40:20 2020 rev:120 rq:774842 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-01-24 
13:09:33.701394490 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.26092/alsa-utils.changes 
2020-02-21 16:40:43.401837078 +0100
@@ -1,0 +2,16 @@
+Wed Feb 12 20:57:05 CET 2020 - ti...@suse.de
+
+- Backport upstream fixes:
+  alsatplg fixes, misc cleanups:
+  0027-alsatplg-rewrite-to-use-the-new-libatopology-functio.patch
+  0028-alsatplg-add-V-version-option.patch
+  0029-alsatplg-add-decode-command.patch
+  0030-alsatplg-add-documentation-for-z-dapm-nosort-h.patch
+  0031-configure-fix-new-libatopology-check.patch
+  0032-Use-__func__-instead-of-__FUNCTION__.patch
+  0033-Avoid-pointer-arithmetic-on-void.patch
+  0034-Use-lli-for-long-long-in-printf.patch
+  0035-Avoid-empty-initializer-list.patch
+- Fix build on SLE12-* target
+
+---

New:

  0027-alsatplg-rewrite-to-use-the-new-libatopology-functio.patch
  0028-alsatplg-add-V-version-option.patch
  0029-alsatplg-add-decode-command.patch
  0030-alsatplg-add-documentation-for-z-dapm-nosort-h.patch
  0031-configure-fix-new-libatopology-check.patch
  0032-Use-__func__-instead-of-__FUNCTION__.patch
  0033-Avoid-pointer-arithmetic-on-void.patch
  0034-Use-lli-for-long-long-in-printf.patch
  0035-Avoid-empty-initializer-list.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.3lKW90/_old  2020-02-21 16:40:45.453841178 +0100
+++ /var/tmp/diff_new_pack.3lKW90/_new  2020-02-21 16:40:45.469841210 +0100
@@ -55,6 +55,15 @@
 Patch24:0024-alsa-info.sh-Condense-nested-commands-for-formatting.patch
 Patch25:0025-alsa-info.sh-Perform-test-for-wget-earlier.patch
 Patch26:0026-alsa-info.sh-Warn-after-actual-upload-failure-do-not.patch
+Patch27:0027-alsatplg-rewrite-to-use-the-new-libatopology-functio.patch
+Patch28:0028-alsatplg-add-V-version-option.patch
+Patch29:0029-alsatplg-add-decode-command.patch
+Patch30:0030-alsatplg-add-documentation-for-z-dapm-nosort-h.patch
+Patch31:0031-configure-fix-new-libatopology-check.patch
+Patch32:0032-Use-__func__-instead-of-__FUNCTION__.patch
+Patch33:0033-Avoid-pointer-arithmetic-on-void.patch
+Patch34:0034-Use-lli-for-long-long-in-printf.patch
+Patch35:0035-Avoid-empty-initializer-list.patch
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
 BuildRequires:  alsa-topology-devel
@@ -62,7 +71,11 @@
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
+%if 0%{?suse_version} < 1500
+BuildRequires:  python-docutils
+%else
 BuildRequires:  python3-docutils
+%endif
 BuildRequires:  xmlto
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
@@ -117,6 +130,15 @@
 %patch24 -p1
 %patch25 -p1
 %patch26 -p1
+%patch27 -p1
+%patch28 -p1
+%patch29 -p1
+%patch30 -p1
+%patch31 -p1
+%patch32 -p1
+%patch33 -p1
+%patch34 -p1
+%patch35 -p1
 %if 0%{?do_autoreconf}
 %patch101 -p1
 # fix stupid automake's automatic action

++ 0027-alsatplg-rewrite-to-use-the-new-libatopology-functio.patch ++
>From cbabe7a3f0cc84ecd352d4cbf85148946fa6c0d5 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Thu, 19 Dec 2019 15:36:05 +0100
Subject: [PATCH 27/35] alsatplg: rewrite to use the new libatopology functions

Add '-u,--dump' operation.
Add '-g,--group' and '-x,--nocheck' modifiers.
Add '-z,--dapm-nosort' modifier.
Allow to operate with stdin/stdout for the file input/output.

Signed-off-by: Jaroslav Kysela 
---
 topology/alsatplg.rst |  17 ++-
 topology/topology.c   | 304 ++
 2 files changed, 199 insertions(+), 122 deletions(-)

diff --git a/topology/alsatplg.rst b/topology/alsatplg.rst
index 855edff67ecf..e09c865cc9b2 100644
--- a/topology/alsatplg.rst
+++ b/topology/alsatplg.rst
@@ -50,12 +50,27 @@ Available options:
   **-c**, **--compile** `FILE`
 source configuration file for the compilation
 
+  **-n**, **--normalize** `FILE`
+parse and save the configuration file in the normalized format
+
+  **-u**, **--dump** `FILE`
+parse and save the configuration file in the specified format
+
   **-o**, **--output** `FILE`
-output binary file
+output file
 
   **-v**, **--verbose** `LEVEL`
 set verbose level
 
+  **-s**, **--sort**
+sort the configu

commit alsa-utils for openSUSE:Factory

2020-01-24 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-01-24 13:06:00

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.26092 (New)


Package is "alsa-utils"

Fri Jan 24 13:06:00 2020 rev:119 rq:766336 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2020-01-02 
14:40:22.24780 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.26092/alsa-utils.changes 
2020-01-24 13:09:33.701394490 +0100
@@ -1,0 +2,33 @@
+Tue Jan 21 15:57:03 CET 2020 - ti...@suse.de
+
+- Backport upstream patches:
+  A few portability fixes, alsaucm fixes and extensions, alsatplg
+  minor fixes, alsa-info.sh extensions:
+  0001-treewide-sys-poll-to-poll.patch
+  0002-treewide-Fix-wrong-formats-on-32-bit.patch
+  0003-treewide-Fix-printf-formats.patch
+  0004-aplay-Adjust-buffer-sizes-to-fix-snprintf-warnings.patch
+  0005-aplay-Limit-VUMeter-progress-bar-to-100-for-negative.patch
+  0006-alsactl-sysfs-add-sys-kernel-uevent_seqnum-check-to-.patch
+  0007-alsaucm-use-the-first-sound-card-use-case-name-hw-CA.patch
+  0008-alsaucm-add-text-dump-command.patch
+  0009-alsaucm-add-json-dump-command.patch
+  0010-alsaucm-dump-fix-the-prefixed.patch
+  0011-alsactl-fix-sched-idle-set-it-really-to-SCHED_IDLE.patch
+  0012-configure-Fix-linking-of-alsatplg-with-the-older-lib.patch
+  0013-alsatplg-add-n-normalize-option.patch
+  0014-alsatplg-add-s-sort-and-fix-memory-leaks.patch
+  0015-alsatplg-fix-another-small-leak-in-normalize_config.patch
+  0016-alsa-info.sh-Consolidate-PCI-device-output.patch
+  0017-alsa-info.sh-Read-from-proc-modules-and-sort-the-res.patch
+  0018-alsa-info.sh-Simplify-iteration-over-cards-when-call.patch
+  0019-alsa-info.sh-Use-existing-function-to-print-ALSA-con.patch
+  0020-alsa-info.sh-Exit-script-after-writing-information-t.patch
+  0021-alsa-info.sh-Replace-gauge-with-infobox-for-upload-d.patch
+  0022-alsa-info.sh-Remove-progress-spinner-during-upload-w.patch
+  0023-alsa-info.sh-Condense-nested-commands-for-file-uploa.patch
+  0024-alsa-info.sh-Condense-nested-commands-for-formatting.patch
+  0025-alsa-info.sh-Perform-test-for-wget-earlier.patch
+  0026-alsa-info.sh-Warn-after-actual-upload-failure-do-not.patch
+
+---

New:

  0001-treewide-sys-poll-to-poll.patch
  0002-treewide-Fix-wrong-formats-on-32-bit.patch
  0003-treewide-Fix-printf-formats.patch
  0004-aplay-Adjust-buffer-sizes-to-fix-snprintf-warnings.patch
  0005-aplay-Limit-VUMeter-progress-bar-to-100-for-negative.patch
  0006-alsactl-sysfs-add-sys-kernel-uevent_seqnum-check-to-.patch
  0007-alsaucm-use-the-first-sound-card-use-case-name-hw-CA.patch
  0008-alsaucm-add-text-dump-command.patch
  0009-alsaucm-add-json-dump-command.patch
  0010-alsaucm-dump-fix-the-prefixed.patch
  0011-alsactl-fix-sched-idle-set-it-really-to-SCHED_IDLE.patch
  0012-configure-Fix-linking-of-alsatplg-with-the-older-lib.patch
  0013-alsatplg-add-n-normalize-option.patch
  0014-alsatplg-add-s-sort-and-fix-memory-leaks.patch
  0015-alsatplg-fix-another-small-leak-in-normalize_config.patch
  0016-alsa-info.sh-Consolidate-PCI-device-output.patch
  0017-alsa-info.sh-Read-from-proc-modules-and-sort-the-res.patch
  0018-alsa-info.sh-Simplify-iteration-over-cards-when-call.patch
  0019-alsa-info.sh-Use-existing-function-to-print-ALSA-con.patch
  0020-alsa-info.sh-Exit-script-after-writing-information-t.patch
  0021-alsa-info.sh-Replace-gauge-with-infobox-for-upload-d.patch
  0022-alsa-info.sh-Remove-progress-spinner-during-upload-w.patch
  0023-alsa-info.sh-Condense-nested-commands-for-file-uploa.patch
  0024-alsa-info.sh-Condense-nested-commands-for-formatting.patch
  0025-alsa-info.sh-Perform-test-for-wget-earlier.patch
  0026-alsa-info.sh-Warn-after-actual-upload-failure-do-not.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.Cvbwyz/_old  2020-01-24 13:09:34.905394973 +0100
+++ /var/tmp/diff_new_pack.Cvbwyz/_new  2020-01-24 13:09:34.905394973 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%define do_autoreconf 1
 %define _udevdir %(pkg-config --variable=udevdir udev)
 Name:   alsa-utils
 Version:1.2.1
@@ -28,10 +29,35 @@
 Source1:01beep.conf
 Source2:sound-extra.service
 Source5:load-sound-modules.sh
+Patch1: 0001-treewide-sys-

commit alsa-utils for openSUSE:Factory

2020-01-02 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2020-01-02 14:40:08

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.6675 (New)


Package is "alsa-utils"

Thu Jan  2 14:40:08 2020 rev:118 rq:758570 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2019-12-02 
11:32:28.942528439 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.6675/alsa-utils.changes  
2020-01-02 14:40:22.24780 +0100
@@ -1,0 +2,8 @@
+Fri Dec 20 16:51:55 CET 2019 - ti...@suse.de
+
+- Remove empty man8 dirs (used for removed alsaconf.8)
+- Drop obsolete TODO and Changelog files, also irrelevant INSTALL.
+- Provide alsaucm and alsatplg man pages by formatting via rst2man;
+  a new dependency on python3-docutils is added
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.RtuudL/_old  2020-01-02 14:40:22.920889046 +0100
+++ /var/tmp/diff_new_pack.RtuudL/_new  2020-01-02 14:40:22.920889046 +0100
@@ -36,6 +36,7 @@
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
+BuildRequires:  python3-docutils
 BuildRequires:  xmlto
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
@@ -90,6 +91,7 @@
 rm -f %{buildroot}%{_datadir}/locale/*/*/alsaconf.mo
 rm -f %{buildroot}%{_mandir}/*/man*/alsaconf.*
 rm -f %{buildroot}%{_mandir}/man*/alsaconf.*
+rmdir --ignore-fail-on-non-empty -p %{buildroot}%{_mandir}/*/man* 
%{buildroot}%{_mandir}/man*
 %find_lang %{name} --all-name
 ln -s alsa-restore.service %{buildroot}%{_unitdir}/alsasound.service
 mkdir -p %{buildroot}%{_localstatedir}/lib/alsa
@@ -113,11 +115,10 @@
 
 %files -f %{name}.lang
 %license COPYING
-%doc ChangeLog INSTALL README.md TODO
+%doc README.md
 %doc seq/aconnect/README*
 %doc seq/aseqnet/README*
 %{_mandir}/man*/*
-%{_mandir}/fr
 %{_bindir}/*
 %{_sbindir}/*
 %exclude %{_bindir}/alsabat




commit alsa-utils for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2019-12-02 11:29:43

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.4691 (New)


Package is "alsa-utils"

Mon Dec  2 11:29:43 2019 rev:117 rq:750712 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2019-06-12 
13:06:03.933189464 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.4691/alsa-utils.changes  
2019-12-02 11:32:28.942528439 +0100
@@ -1,0 +2,27 @@
+Sun Nov 24 17:38:29 UTC 2019 - Neal Gompa 
+
+- Replace incorrect usage of %_libexecdir with %_prefix/lib
+
+---
+Fri Nov 15 17:46:13 CET 2019 - ti...@suse.de
+
+- Update to alsa-utils 1.2.1:
+  * axfer: handle -ETIMEDOUT before non-block I/O operation
+  * axfer: code refactoring for a helper function to wait for avail buffer 
space
+  * axfer: handle -ETIMEDOUT before handle mmap I/O operation
+  * axfer: return ETIMEDOUT when no event occurs after waiter expiration
+  * axfer: fix to return error code when a call of select(2) fails
+  * axfer: return the number of file descriptors for I/O events from select(2) 
waiter
+  * axfer: test: fix invalid comparison of 64 bit storage in ILP32 data type
+  * axfer: mapper: fix parameter check for demuxer
+  * axfer: remove unused variable warnings
+  * alsamixer: Remove exp10 usage
+  * alsaucm, topology: LDADD cleanups and add support for libatopology
+  * alsaucm: fix the implicit card open
+  * alsaucm, topology: LDADD cleanups and add support for libatopology
+  * alsaucm: do the implicit ucm open only when the command requires it
+  * alsaucm: call snd_config_update_free_global() to make valgrind more happy
+  * amixer: do not double LF for container type
+  * aplay: fix memory leak when setup_chmap() fail 
+
+---

Old:

  alsa-utils-1.1.9.tar.bz2

New:

  alsa-utils-1.2.1.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.AEylQF/_old  2019-12-02 11:32:31.282527356 +0100
+++ /var/tmp/diff_new_pack.AEylQF/_new  2019-12-02 11:32:31.294527350 +0100
@@ -18,7 +18,7 @@
 
 %define _udevdir %(pkg-config --variable=udevdir udev)
 Name:   alsa-utils
-Version:1.1.9
+Version:1.2.1
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0-or-later
@@ -30,13 +30,14 @@
 Source5:load-sound-modules.sh
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
+BuildRequires:  alsa-topology-devel
 BuildRequires:  automake
 BuildRequires:  fftw3-devel
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(systemd)
 BuildRequires:  xmlto
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 Requires:   alsa
 # for alsa-info.sh
@@ -95,8 +96,8 @@
 # systemd unit files
 install -c -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
 ln -s ../sound-extra.service %{buildroot}%{_unitdir}/sound.target.wants
-mkdir -p %{buildroot}%{_libexecdir}/systemd/scripts
-install -c -m 0755 %{SOURCE5} %{buildroot}%{_libexecdir}/systemd/scripts
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/scripts
+install -c -m 0755 %{SOURCE5} %{buildroot}%{_prefix}/lib/systemd/scripts
 
 %pre
 %service_add_pre sound-extra.service
@@ -127,7 +128,7 @@
 %{_udevdir}
 %{_unitdir}/*.service
 %{_unitdir}/sound.target.wants
-%{_libexecdir}/systemd/scripts
+%{_prefix}/lib/systemd/scripts
 %{_localstatedir}/lib/alsa
 
 %files -n alsabat

++ alsa-utils-1.1.9.tar.bz2 -> alsa-utils-1.2.1.tar.bz2 ++
 3080 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2019-06-12 13:06:01

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.4811 (New)


Package is "alsa-utils"

Wed Jun 12 13:06:01 2019 rev:116 rq:709162 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2019-05-14 
13:12:28.968660287 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.4811/alsa-utils.changes  
2019-06-12 13:06:03.933189464 +0200
@@ -1,0 +2,12 @@
+Tue Jun 11 12:30:17 UTC 2019 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut the build queues by allowing usage of systemd-mini
+
+---
+Tue May 28 14:04:52 CEST 2019 - ti...@suse.de
+
+- Add systemd service to load OSS and sequencer modules
+  (bsc#1136562)
+
+---

New:

  load-sound-modules.sh
  sound-extra.service



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.StUFmD/_old  2019-06-12 13:06:04.537189211 +0200
+++ /var/tmp/diff_new_pack.StUFmD/_new  2019-06-12 13:06:04.541189209 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,6 +26,8 @@
 URL:http://www.alsa-project.org/
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
 Source1:01beep.conf
+Source2:sound-extra.service
+Source5:load-sound-modules.sh
 Patch101:   alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
 BuildRequires:  automake
@@ -33,7 +35,7 @@
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  xmlto
 BuildRequires:  pkgconfig(udev)
 Requires:   alsa
@@ -90,6 +92,23 @@
 %find_lang %{name} --all-name
 ln -s alsa-restore.service %{buildroot}%{_unitdir}/alsasound.service
 mkdir -p %{buildroot}%{_localstatedir}/lib/alsa
+# systemd unit files
+install -c -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
+ln -s ../sound-extra.service %{buildroot}%{_unitdir}/sound.target.wants
+mkdir -p %{buildroot}%{_libexecdir}/systemd/scripts
+install -c -m 0755 %{SOURCE5} %{buildroot}%{_libexecdir}/systemd/scripts
+
+%pre
+%service_add_pre sound-extra.service
+
+%post
+%service_add_post sound-extra.service
+
+%preun
+%service_del_preun sound-extra.service
+
+%postun
+%service_del_postun sound-extra.service
 
 %files -f %{name}.lang
 %license COPYING
@@ -108,6 +127,7 @@
 %{_udevdir}
 %{_unitdir}/*.service
 %{_unitdir}/sound.target.wants
+%{_libexecdir}/systemd/scripts
 %{_localstatedir}/lib/alsa
 
 %files -n alsabat

++ load-sound-modules.sh ++
#!/bin/sh

test -r /etc/sysconfig/sound && . /etc/sysconfig/sound

if [ "$LOAD_OSS_EMUL_MODULES" = "yes" ]; then
/sbin/modprobe -q snd-mixer-oss
/sbin/modprobe -q snd-pcm-oss
fi

if [ "$LOAD_SEQUENCER" = "yes" ]; then
/sbin/modprobe -q snd-seq
fi

if [ -r /proc/asound/seq/drivers ]; then
OLDIFS="$IFS"
IFS=","
while read t x c; do
/sbin/modprobe -q $t
done < /proc/asound/seq/drivers
IFS="$OLDIFS"
fi

if [ -d /proc/asound/seq ]; then
if [ "$LOAD_OSS_SEQ_MODULE" = "yes" ]; then
/sbin/modprobe -q snd-seq-oss
fi
fi

exit 0
++ sound-extra.service ++
[Unit]
Description=Load extra kernel modules for sound stuff
After=alsasound.service
ConditionPathExists=/proc/asound

[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/load-sound-modules.sh



commit alsa-utils for openSUSE:Factory

2019-05-14 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2019-05-14 13:12:27

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.5148 (New)


Package is "alsa-utils"

Tue May 14 13:12:27 2019 rev:115 rq:701978 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2019-01-26 
22:18:45.199033692 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.5148/alsa-utils.changes  
2019-05-14 13:12:28.968660287 +0200
@@ -1,0 +2,8 @@
+Fri May 10 11:56:14 CEST 2019 - ti...@suse.de
+
+- Update to alsa-utils 1.1.9:
+  alasctl, axfer, alsaloop, alsamixer and amixer fixes, see
+https://www.alsa-project.org/wiki/Changes_v1.1.8_v1.1.9
+  for details
+
+---

Old:

  alsa-utils-1.1.8.tar.bz2

New:

  alsa-utils-1.1.9.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.cRjX5i/_old  2019-05-14 13:12:29.484661639 +0200
+++ /var/tmp/diff_new_pack.cRjX5i/_new  2019-05-14 13:12:29.488661650 +0200
@@ -18,7 +18,7 @@
 
 %define _udevdir %(pkg-config --variable=udevdir udev)
 Name:   alsa-utils
-Version:1.1.8
+Version:1.1.9
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0-or-later

++ alsa-utils-1.1.8.tar.bz2 -> alsa-utils-1.1.9.tar.bz2 ++
 26153 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2019-01-26 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2019-01-26 22:18:41

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.28833 (New)


Package is "alsa-utils"

Sat Jan 26 22:18:41 2019 rev:114 rq:667885 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2019-01-15 
13:16:18.432360977 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.28833/alsa-utils.changes 
2019-01-26 22:18:45.199033692 +0100
@@ -1,0 +2,9 @@
+Tue Jan 22 12:27:31 CET 2019 - ti...@suse.de
+
+- Remove the ugly conditionals to build for (too) old distros
+- Drop alsaconf script that rather brings the inconsistent setup
+  on modern systems
+- Move alsabat-test.sh into alsabat package, too
+- Run spec-cleaner
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.lLyPXe/_old  2019-01-26 22:18:45.675033306 +0100
+++ /var/tmp/diff_new_pack.lLyPXe/_new  2019-01-26 22:18:45.675033306 +0100
@@ -12,33 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
-%if 0%{?suse_version} > 1130
-%define use_systemd1
-%define use_varlib 1
-%if 0%{?suse_version} == 1140
-%define _unitdir /lib/systemd/system
-%endif
-BuildRequires:  systemd
-%else
-%define use_systemd0
-%define use_varlib 0
-%endif
-%if 0%{?suse_version} > 1200
 %define _udevdir %(pkg-config --variable=udevdir udev)
-%else
-%define _udevdir /lib/udev
-%endif
 Name:   alsa-utils
 Version:1.1.8
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0-or-later
 Group:  Productivity/Multimedia/Sound/Players
-Url:http://www.alsa-project.org/
+URL:http://www.alsa-project.org/
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
 Source1:01beep.conf
 Patch101:   alsa-utils-configure-version-revert.patch
@@ -48,15 +33,13 @@
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
+BuildRequires:  systemd
 BuildRequires:  xmlto
+BuildRequires:  pkgconfig(udev)
 Requires:   alsa
+# for alsa-info.sh
 Requires:   dialog
 Requires:   pciutils
-Provides:   alsa-conf
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} > 1200
-BuildRequires:  pkgconfig(udev)
-%endif
 
 %description
 This package contains utility programs supporting ALSA, Advanced Linux
@@ -86,67 +69,51 @@
 %if 0%{?do_autoreconf}
 autoreconf -fi
 %endif
-opts=""
-%if %{use_systemd}
-opts="$opts --with-systemdsystemunitdir=%{_unitdir}"
-%endif
-%if ! %{use_varlib}
-opts="$opts --with-asound-state-dir=/etc"
-%endif
-opts="$opts --with-udev-rules-dir=%{_udevdir}/rules.d"
-%configure --with-curses=ncursesw $opts
+%configure --with-curses=ncursesw \
+  --with-systemdsystemunitdir=%{_unitdir} \
+  --with-asound-state-dir=%{_sysconfdir} \
+  --with-udev-rules-dir=%{_udevdir}/rules.d
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 mkdir -p %{buildroot}%{_datadir}/alsa/init/preinit
 mkdir -p %{buildroot}%{_datadir}/alsa/init/postinit
 for i in %{_sourcedir}/[0-9]*.conf; do
   install -c -m 0644 $i %{buildroot}%{_datadir}/alsa/init/postinit
 done
+# remove obsoleted alsaconf script
+rm -f %{buildroot}%{_sbindir}/alsaconf
+rm -f %{buildroot}%{_datadir}/locale/*/*/alsaconf.mo
+rm -f %{buildroot}%{_mandir}/*/man*/alsaconf.*
+rm -f %{buildroot}%{_mandir}/man*/alsaconf.*
 %find_lang %{name} --all-name
-%if %{use_systemd}
 ln -s alsa-restore.service %{buildroot}%{_unitdir}/alsasound.service
-%endif
-%if %{use_varlib}
 mkdir -p %{buildroot}%{_localstatedir}/lib/alsa
-%endif
 
 %files -f %{name}.lang
-%defattr(-, root, root)
-%if 0%{?suse_version} >= 1200
 %license COPYING
-%else
-%doc COPYING
-%endif
 %doc ChangeLog INSTALL README.md TODO
 %doc seq/aconnect/README*
 %doc seq/aseqnet/README*
 %{_mandir}/man*/*
 %{_mandir}/fr
 %{_bindir}/*
+%{_sbindir}/*
 %exclude %{_bindir}/alsabat
+%exclude %{_sbindir}/alsabat-test.sh
 %exclude %{_mandir}/man*/alsabat.*
-%{_sbindir}/*
 %{_datadir}/sounds/alsa
 %{_datadir}/alsa
 %{_udevdir}
-%if %{use_systemd}
 %{_unitdir}/*.service
 %{_unitdir}/sound.target.wants
-%endif
-%if %{use_varlib}
 %{_localstatedir}/lib/alsa
-%endif
 
 %files -n alsabat
-%defattr(-, root, root)
-%if 0%{?suse_version} >= 1200
 %license COPYING
-%else
-%doc COPYING
-%endif
 %{_b

commit alsa-utils for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2019-01-15 13:16:04

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new.28833 (New)


Package is "alsa-utils"

Tue Jan 15 13:16:04 2019 rev:113 rq:663801 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2018-10-23 
20:36:21.296833578 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.28833/alsa-utils.changes 
2019-01-15 13:16:18.432360977 +0100
@@ -1,0 +2,82 @@
+Tue Jan  8 12:23:11 CET 2019 - ti...@suse.de
+
+- Update to alsa-utils 1.1.8:
+  * Core:
+Makefile.am: add README.md to EXTRA_DIST 
+axfer: add support for libffado transmission backend 
+axfer: add unit test for container interface 
+axfer: add an entry point for this command 
+initial version of .travis.yml 
+rename and update README.md 
+  * Audio Transfer utility:
+axfer: add an explanation about advantages/issues of Timer-based 
scheduling model 
+axfer: add an explanation about Timer-based scheduling model 
+axfer: add an explanation about IRQ-based scheduling model 
+axfer: add text for compatibility loss of sw parameter in libasound 
backend 
+axfer: fulfill manual section for libasound backend 
+axfer: print help for libasound backend 
+axfer: fulfill manual section for libffado backend 
+axfer: print help for libffado backend 
+axfer: correct description about signal handling 
+axfer: fix typo in axfer(1) manual 
+axfer: fix no return statement in print_help() function 
+axfer: enable each backend to print own help 
+axfer: print help text of transfer subcommand just for common options 
+axfer: print help text of list subcommand 
+axfer: print help text of command entry 
+axfer: add a section about design of transfer subcommand 
+axfer: add a section to describe compatibility to aplay(1) 
+axfer: add a manual for transfer subcommand 
+axfer: add a manual for list subcommand 
+axfer: add a manual for entry point 
+axfer: check whether a terminal is referred for stdio 
+axfer: truncate parsed arguments before operating subcommand 
+axfer: use transfer subcommand as a default for compatibility mode to 
aplay(1) 
+axfer: use second argument in command line for transmission direction 
+axfer: apply refactoring in list subcommand for new command system 
+axfer: apply refactoring to list subcommand for backward compatibility to 
aplay(1) 
+axfer: add support for libffado transmission backend 
+axfer: obsolete some unimplemented options 
+axfer: add support for timer-based scheduling model with MMAP operation 
+axfer: add an implementation of waiter for epoll(7) 
+axfer: add an implementation of waiter for select(2) 
+axfer: add an implementation of waiter for poll(2) 
+axfer: add an option for waiter type 
+axfer: add a common interface of waiter for I/O event notification 
+axfer: add options for plugins in alsa-lib 
+axfer: add options for software parameters of PCM substream 
+axfer: add options for buffer arrangement 
+axfer: add an option to suppress event waiting 
+axfer: add support for MMAP PCM operation 
+axfer: add support for non-blocking operation 
+axfer: add an option to finish transmission at XRUN 
+axfer: add options related to duration and obsolete '--max-file-size' 
option 
+axfer: add an option to dump available hardware parameters 
+axfer: add informative output and an option to suppress it 
+axfer: add a sub-command to transfer data frames 
+axfer: add support for blocking data transmission operation of alsa-lib 
PCM API 
+axfer: add support to transfer data frames by alsa-lib PCM APIs 
+axfer: add a parser for command-line options 
+axfer: add a common interface to transfer data frames 
+axfer: add a unit test for mapper interface 
+axfer: add support for a mapper for multiple target 
+axfer: add support for a mapper for single target 
+axfer: add a common interface to align data frames on different layout 
+axfer: add unit test for container interface 
+axfer: add support for a container of raw data 
+axfer: add support for a container of Creative Tech. voice format 
+axfer: add support for a container of Sparc AU format 
+axfer: add support for a container of Microsoft/IBM RIFF/Wave format 
+axfer: add a common interface to handle a file with audio-specific data 
format 
+axfer: add a sub-command to print list of PCMs/devices 
+axfer: add an entry point for this command 
+  * alsaloop:
+alsaloop: more avail_min cleanups 
+  * alsatplg (topology):
+topology/topology.c: drop unneeded  include 
+  * apl

commit alsa-utils for openSUSE:Factory

2018-10-23 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2018-10-23 20:36:15

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Tue Oct 23 20:36:15 2018 rev:112 rq:643694 version:1.1.7

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2018-04-10 
09:51:21.574662915 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2018-10-23 20:36:21.296833578 +0200
@@ -1,0 +2,20 @@
+Mon Oct 22 11:24:10 UTC 2018 - Christian Boltz 
+
+- remove "Obsoletes: bat <= 0.1.0" - it triggers uninstall of the unrelated
+  "bat" (cat clone) package
+
+---
+Wed Oct 17 11:33:25 CEST 2018 - ti...@suse.de
+
+- Updated to alsa-utils 1.1.7:
+  * aplay: Fix invalid file size check for non-regular files
+  * speaker-test: Support S24_3LE sample format
+  * speaker-test: Allow sampling rates up to 768000
+  * alsabat: Allow custom sample format for round trip latency test
+  * alsaucm: add alsa-ucm udev rules for PAZ00 (Toshiba AC100/Dynabook AZ)
+  * alsatplg: add man file
+  * alsactl: improved disconnection handling
+  * compile warning fixes
+  * aplay: add missing block brackets
+
+---

Old:

  alsa-utils-1.1.6.tar.bz2

New:

  alsa-utils-1.1.7.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.E0V0QU/_old  2018-10-23 20:36:21.896832861 +0200
+++ /var/tmp/diff_new_pack.E0V0QU/_new  2018-10-23 20:36:21.900832856 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -33,7 +33,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.1.6
+Version:1.1.7
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0-or-later
@@ -65,7 +65,6 @@
 Summary:Command-line sound tester for ALSA sound card driver
 Group:  Productivity/Multimedia/Sound/Utilities
 Requires:   alsa-utils = %{version}
-Obsoletes:  bat <= 1.1.0
 
 %description -n alsabat
 BAT (Basic Audio Tester) is a simple command-line utility intended

++ alsa-utils-1.1.6.tar.bz2 -> alsa-utils-1.1.7.tar.bz2 ++
 3567 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2018-04-10 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2018-04-10 09:51:18

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Tue Apr 10 09:51:18 2018 rev:111 rq:594639 version:1.1.6

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2017-12-23 
12:18:42.681850678 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2018-04-10 09:51:21.574662915 +0200
@@ -1,0 +2,21 @@
+Wed Apr  4 14:57:35 CEST 2018 - ti...@suse.de
+
+- Avoid %license tag for old distros to fix builds
+
+---
+Wed Apr  4 08:39:33 CEST 2018 - ti...@suse.de
+
+- Updated to alsa-utils 1.1.6:
+  * Change FSF address (Franklin Street)
+  * aplay: Adjust sample rate limits to support newer hardware
+  * alsactl: Only start restore service when asoundrc file exists
+  * alsaloop: fix a typo in the comparison
+  * speaker-test: Refactor the tone-generator codes
+  * aplay: Fix wav file not being split on 32 bit platforms
+  * bat: alsa.c - move the thread cleanup pop before goto exit3
+- Remove obsoleted patches:
+  0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch
+  0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch
+- Use %license file tag
+
+---

Old:

  0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch
  0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch
  alsa-utils-1.1.5.tar.bz2

New:

  alsa-utils-1.1.6.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.hMNQwd/_old  2018-04-10 09:51:22.726621174 +0200
+++ /var/tmp/diff_new_pack.hMNQwd/_new  2018-04-10 09:51:22.734620884 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-%define package_version1.1.5
-#
 %if 0%{?suse_version} > 1130
 %define use_systemd1
 %define use_varlib 1
@@ -35,16 +33,14 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.1.5
+Version:1.1.6
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Multimedia/Sound/Players
 Url:http://www.alsa-project.org/
-Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
+Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
 Source1:01beep.conf
-Patch1: 0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch
-Patch2: 0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch
 BuildRequires:  alsa-devel
 BuildRequires:  automake
 BuildRequires:  fftw3-devel
@@ -78,11 +74,9 @@
 and test audio before and after PM state changes.
 
 %prep
-%setup -q -n %{name}-%{package_version}
+%setup -q
 # fix stupid automake's automatic action
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
-%patch1 -p1
-%patch2 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
@@ -115,7 +109,12 @@
 
 %files -f %{name}.lang
 %defattr(-, root, root)
-%doc COPYING ChangeLog INSTALL README TODO
+%if 0%{?suse_version} >= 1200
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc ChangeLog INSTALL README TODO
 %doc seq/aconnect/README*
 %doc seq/aseqnet/README*
 %{_mandir}/man*/*
@@ -137,6 +136,11 @@
 
 %files -n alsabat
 %defattr(-, root, root)
+%if 0%{?suse_version} >= 1200
+%license COPYING
+%else
+%doc COPYING
+%endif
 %{_bindir}/alsabat
 %{_mandir}/man*/alsabat.*
 

++ alsa-utils-1.1.5.tar.bz2 -> alsa-utils-1.1.6.tar.bz2 ++
 2571 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2017-12-23 12:18:39

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Sat Dec 23 12:18:39 2017 rev:110 rq:558245 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2017-11-16 
13:59:07.125746851 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2017-12-23 12:18:42.681850678 +0100
@@ -1,0 +2,13 @@
+Mon Dec 18 17:33:17 CET 2017 - ti...@suse.de
+
+- Get rid of superfluous patch for ancient distros:
+  alsa-utils-gettext-version-removal.diff
+- Remove superfluous file override, which is already included in
+  the 1.1.5 tarball:
+  alsaucm.rst
+- Backport upstream fixes:
+  0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch
+  0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch
+- Cleanup specfile to rip off the too old kludges
+
+---

Old:

  alsa-utils-gettext-version-removal.diff
  alsaucm.rst

New:

  0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch
  0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.c28jtm/_old  2017-12-23 12:18:43.421814597 +0100
+++ /var/tmp/diff_new_pack.c28jtm/_new  2017-12-23 12:18:43.425814402 +0100
@@ -43,9 +43,8 @@
 Url:http://www.alsa-project.org/
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
-Source2:alsaucm.rst
-# Patch:  alsa-utils-git-fixes.diff
-Patch99:alsa-utils-gettext-version-removal.diff
+Patch1: 0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch
+Patch2: 0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch
 BuildRequires:  alsa-devel
 BuildRequires:  automake
 BuildRequires:  fftw3-devel
@@ -82,20 +81,11 @@
 %setup -q -n %{name}-%{package_version}
 # fix stupid automake's automatic action
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
-# rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
-# patch -p1
-#
-%if 0%{?suse_version} < 1020
-%patch99 -p1
-%endif
-# copy the missing file
-cp %{S:2} alsaucm/
+%patch1 -p1
+%patch2 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
-%if 0%{?suse_version} < 1020
-# gettextize -f
-%endif
 autoreconf -fi
 opts=""
 %if %{use_systemd}
@@ -104,9 +94,6 @@
 %if ! %{use_varlib}
 opts="$opts --with-asound-state-dir=/etc"
 %endif
-%if 0%{?suse_version} < 1030
-opts="$opts --disable-xmlto"
-%endif
 opts="$opts --with-udev-rules-dir=%{_udevdir}/rules.d"
 %configure --with-curses=ncursesw $opts
 make %{?_smp_mflags}

++ 0001-aplay-Adjust-sample-rate-limits-to-support-newer-har.patch ++
>From d0802f32cafa8ba8ff4d48e3eb1f690b7adb0d3d Mon Sep 17 00:00:00 2001
From: Jussi Laako 
Date: Thu, 7 Dec 2017 13:57:14 +0200
Subject: [PATCH] aplay: Adjust sample rate limits to support newer hardware

There are number of devices that support up to 384 kHz sampling rate and
some devices up to 768 kHz sampling rate. This patch increases sanity
check limit to 768k in order to support testing of such hardware.

Signed-off-by: Jussi Laako 
Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index dbae17caf3a4..6b740c281f8e 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -635,10 +635,10 @@ int main(int argc, char *argv[])
error(_("invalid rate argument '%s'"), optarg);
return 1;
}
-   if (tmp < 300)
+   if (tmp < 1000)
tmp *= 1000;
rhwparams.rate = tmp;
-   if (tmp < 2000 || tmp > 192000) {
+   if (tmp < 2000 || tmp > 768000) {
error(_("bad speed value %i"), tmp);
return 1;
}
-- 
2.15.1

++ 0002-alsactl-Only-start-restore-service-when-asoundrc-fil.patch ++
>From f1eba0b5deb6c3988d6dd7317ccc931c09792843 Mon Sep 17 00:00:00 2001
From: Ikey Doherty 
Date: Tue, 12 Dec 2017 13:32:34 +
Subject: [PATCH] alsactl: Only start restore service when asoundrc file exists

This solves the chicken and egg problem on fresh installations whereby
the alsa state file does not yet exist, and alsa-restore unit attempted
to launch without first having a state file.

Signed-off-by: Ikey 

commit alsa-utils for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2017-11-16 13:59:04

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Thu Nov 16 13:59:04 2017 rev:109 rq:541845 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2017-11-11 
14:16:25.594191963 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2017-11-16 13:59:07.125746851 +0100
@@ -1,0 +2,17 @@
+Tue Nov 14 15:03:33 CET 2017 - ti...@suse.de
+
+- Update to alsa-utils 1.1.5:
+  * alsactl: Move systemd unit start-up from basic.target to
+sound.target 
+  * alsatplg: fix topology compiler long option parsing 
+  * topology: delete output file if parsing fails. 
+  * aplay: Fix playback for small raw files 
+  * aplay: Refactor playback code 
+  * aplay: Add samples argument for playing/recording a given
+number of samples 
+  * aplay: interrupt streaming via signal in voc_pcm_write 
+  * aplay: Fix --max-file-time option 32 bits overflow 
+  * alsabat: fix one uninitialized warning issue 
+- Fix filelist for the 1.1.5 update
+
+---

Old:

  alsa-utils-1.1.4.tar.bz2

New:

  alsa-utils-1.1.5.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.JyNl4r/_old  2017-11-16 13:59:07.909718444 +0100
+++ /var/tmp/diff_new_pack.JyNl4r/_new  2017-11-16 13:59:07.909718444 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.1.4
+%define package_version1.1.5
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.1.4
+Version:1.1.5
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
@@ -142,8 +142,7 @@
 %{_udevdir}
 %if %{use_systemd}
 %{_unitdir}/*.service
-%{_unitdir}/basic.target.wants/alsa-state.service
-%{_unitdir}/basic.target.wants/alsa-restore.service
+%{_unitdir}/sound.target.wants
 %endif
 %if %{use_varlib}
 %{_localstatedir}/lib/alsa

++ alsa-utils-1.1.4.tar.bz2 -> alsa-utils-1.1.5.tar.bz2 ++
 3851 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2017-11-11 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2017-11-11 14:16:21

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Sat Nov 11 14:16:21 2017 rev:108 rq:539450 version:1.1.4

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2017-05-20 
14:31:42.876286387 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2017-11-11 14:16:25.594191963 +0100
@@ -1,0 +2,5 @@
+Mon Nov  6 17:19:02 UTC 2017 - jmate...@suse.com
+
+- drop unused requirement for python-docutils
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.G40zeM/_old  2017-11-11 14:16:27.470123206 +0100
+++ /var/tmp/diff_new_pack.G40zeM/_new  2017-11-11 14:16:27.474123060 +0100
@@ -52,9 +52,6 @@
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
-%if 0%{?suse_version} > 1200
-BuildRequires:  python-docutils
-%endif
 BuildRequires:  xmlto
 Requires:   alsa
 Requires:   dialog




commit alsa-utils for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2017-05-20 14:31:41

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Sat May 20 14:31:41 2017 rev:107 rq:495557 version:1.1.4

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2017-01-04 
19:28:39.618393516 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2017-05-20 14:31:42.876286387 +0200
@@ -1,0 +2,10 @@
+Tue May 16 15:35:57 CEST 2017 - ti...@suse.de
+
+- Update to alsa-utils 1.1.4:
+  * alsactl: Remove standard output definition in systemd unit
+  * alsa-info: provide more DMI information
+  * alsa-info: add ACPI device status
+  * amidi: optarg might be NULL, fix 't' argument parsing
+  * aplay: Introduce and use xwrite helper
+
+---

Old:

  alsa-utils-1.1.3.tar.bz2

New:

  alsa-utils-1.1.4.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.mazqQN/_old  2017-05-20 14:31:43.832151152 +0200
+++ /var/tmp/diff_new_pack.mazqQN/_new  2017-05-20 14:31:43.836150586 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.1.3
+%define package_version1.1.4
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.1.3
+Version:1.1.4
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+

++ alsa-utils-1.1.3.tar.bz2 -> alsa-utils-1.1.4.tar.bz2 ++
 3010 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2016-08-06 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2016-08-06 20:35:14

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2016-04-05 
10:41:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2016-08-06 20:35:15.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug  3 11:23:36 CEST 2016 - ti...@suse.de
+
+- Update to alsa-utils 1.1.2:
+  * aplay: fix lurking capture file overwrite bug
+  * alsabat: a few bug fixes, add noise detection, etc
+
+---

Old:

  alsa-utils-1.1.1.tar.bz2

New:

  alsa-utils-1.1.2.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.9a0KOo/_old  2016-08-06 20:35:16.0 +0200
+++ /var/tmp/diff_new_pack.9a0KOo/_new  2016-08-06 20:35:16.0 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.1.1
+%define package_version1.1.2
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.1.1
+Version:1.1.2
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+

++ alsa-utils-1.1.1.tar.bz2 -> alsa-utils-1.1.2.tar.bz2 ++
 1974 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2016-04-05 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2016-04-05 10:41:51

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2016-03-04 
19:29:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2016-04-05 10:41:53.0 +0200
@@ -1,0 +2,13 @@
+Thu Mar 31 15:24:55 CEST 2016 - ti...@suse.de
+
+- Update to alsa-utils 1.1.1:
+  including previous fixes, more enhancements / fixes of alsabat,
+  fix in aplay for parsing parameter values
+- Delete obsoleted patches:
+   0001-bat-Avoid-local-signal.h-file.patch
+   0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
+   0003-alsa-info.sh-add-man-page.patch
+   0004-amixer-skip-showing-asoc-tlv-byte-controls.patch
+   0005-alsabat-rename-to-avoid-naming-conflict.patch
+
+---

Old:

  0001-bat-Avoid-local-signal.h-file.patch
  0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
  0003-alsa-info.sh-add-man-page.patch
  0004-amixer-skip-showing-asoc-tlv-byte-controls.patch
  0005-alsabat-rename-to-avoid-naming-conflict.patch
  alsa-utils-1.1.0.tar.bz2

New:

  alsa-utils-1.1.1.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.nctNr2/_old  2016-04-05 10:41:54.0 +0200
+++ /var/tmp/diff_new_pack.nctNr2/_new  2016-04-05 10:41:54.0 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.1.0
+%define package_version1.1.1
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
@@ -44,11 +44,6 @@
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
-Patch1: 0001-bat-Avoid-local-signal.h-file.patch
-Patch2: 0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
-Patch3: 0003-alsa-info.sh-add-man-page.patch
-Patch4: 0004-amixer-skip-showing-asoc-tlv-byte-controls.patch
-Patch5: 0005-alsabat-rename-to-avoid-naming-conflict.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
 BuildRequires:  automake
@@ -88,11 +83,6 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ alsa-utils-1.1.0.tar.bz2 -> alsa-utils-1.1.1.tar.bz2 ++
 5932 lines of diff (skipped)




commit alsa-utils for openSUSE:Factory

2016-03-04 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2016-03-04 19:29:45

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-11-12 
19:37:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2016-03-04 19:29:52.0 +0100
@@ -1,0 +2,11 @@
+Wed Feb  3 18:04:00 CET 2016 - ti...@suse.de
+
+- Backport upstream fixes: add alsa-info manpage, fix TLV output of
+  amixer for ASoC ext ctls, and rename from bat to alsabat
+  0003-alsa-info.sh-add-man-page.patch
+  0004-amixer-skip-showing-asoc-tlv-byte-controls.patch
+  0005-alsabat-rename-to-avoid-naming-conflict.patch
+- Rename subpackage from bat to alsabat due to the name conflicts
+  with other projects
+
+---

New:

  0003-alsa-info.sh-add-man-page.patch
  0004-amixer-skip-showing-asoc-tlv-byte-controls.patch
  0005-alsabat-rename-to-avoid-naming-conflict.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.hvieP9/_old  2016-03-04 19:29:53.0 +0100
+++ /var/tmp/diff_new_pack.hvieP9/_new  2016-03-04 19:29:53.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -46,6 +46,9 @@
 # Patch:  alsa-utils-git-fixes.diff
 Patch1: 0001-bat-Avoid-local-signal.h-file.patch
 Patch2: 0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
+Patch3: 0003-alsa-info.sh-add-man-page.patch
+Patch4: 0004-amixer-skip-showing-asoc-tlv-byte-controls.patch
+Patch5: 0005-alsabat-rename-to-avoid-naming-conflict.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
 BuildRequires:  automake
@@ -67,12 +70,13 @@
 This package contains utility programs supporting ALSA, Advanced Linux
 Sound Architecture.
 
-%package -n bat
+%package -n alsabat
 Summary:Command-line sound tester for ALSA sound card driver
 Group:  Productivity/Multimedia/Sound/Utilities
 Requires:   alsa-utils = %{version}
+Obsoletes:  bat <= 1.1.0
 
-%description -n bat
+%description -n alsabat
 BAT (Basic Audio Tester) is a simple command-line utility intended
 to help automate audio driver and sound server testing with little human
 interaction. BAT can be used to test audio quality, stress test features
@@ -86,6 +90,9 @@
 # patch -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1
@@ -134,8 +141,8 @@
 %{_mandir}/man*/*
 %{_mandir}/fr
 %{_bindir}/*
-%exclude %{_bindir}/bat
-%exclude %{_mandir}/man*/bat.*
+%exclude %{_bindir}/alsabat
+%exclude %{_mandir}/man*/alsabat.*
 %{_sbindir}/*
 %{_datadir}/sounds/alsa
 %{_datadir}/alsa
@@ -149,9 +156,9 @@
 %{_localstatedir}/lib/alsa
 %endif
 
-%files -n bat
+%files -n alsabat
 %defattr(-, root, root)
-%{_bindir}/bat
-%{_mandir}/man*/bat.*
+%{_bindir}/alsabat
+%{_mandir}/man*/alsabat.*
 
 %changelog

++ 0003-alsa-info.sh-add-man-page.patch ++
>From d633469c9d55d8ec77c33eab04e0cd9ae0c10f6e Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 13 Jan 2016 09:46:31 +0100
Subject: [PATCH] alsa-info.sh: add man page

---
 alsa-info/Makefile.am|  1 +
 alsa-info/alsa-info.sh.1 | 62 
 2 files changed, 63 insertions(+)
 create mode 100644 alsa-info/alsa-info.sh.1

diff --git a/alsa-info/Makefile.am b/alsa-info/Makefile.am
index 356f1a9ae94b..c786361dc68c 100644
--- a/alsa-info/Makefile.am
+++ b/alsa-info/Makefile.am
@@ -1,2 +1,3 @@
 EXTRA_DIST = alsa-info.sh
 sbin_SCRIPTS = alsa-info.sh
+man_MANS = alsa-info.sh.1
diff --git a/alsa-info/alsa-info.sh.1 b/alsa-info/alsa-info.sh.1
new file mode 100644
index ..7168b3e061be
--- /dev/null
+++ b/alsa-info/alsa-info.sh.1
@@ -0,0 +1,62 @@
+.TH ALSA-INFO.SH 1 "13 January 2016"
+.SH NAME
+alsa-info.sh \- command\-line utility to gather information about
+the ALSA subsystem
+.SH SYNOPSIS
+\fBalsa-info.sh\fP [\fIoptions\fP]
+
+.SH DESCRIPTION
+\fBalsa-info.sh\fP is a command\-line utility gathering information
+about the ALSA subsystem. It is used mostly for debugging purposes.
+
+.SH OPTIONS
+.TP
+\fI\-\-upload\fP
+Upload contents to the server (www.alsa-project.org or pastebin.ca).
+.TP
+\fI\-\-no-upload\fP
+

commit alsa-utils for openSUSE:Factory

2015-11-12 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-11-12 19:37:58

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-10-03 
20:29:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-11-12 19:37:59.0 +0100
@@ -1,0 +2,25 @@
+Mon Nov  9 11:45:30 CET 2015 - ti...@suse.de
+
+- Update to alsa-utils 1.1.0:
+  including all previous fixes, update of topology tool, addition
+  of BAT (Basic Audio Tool)
+- Split bat subpackage containing BAT
+- Fix build of bat with old gcc & glibc on SLE11
+  0001-bat-Avoid-local-signal.h-file.patch
+  0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
+- Dropped patches:
+  0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
+  0002-amixer-expand-local-storage-for-item-name-according-.patch
+  0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch
+  0004-aplay-Fix-type-for-signal-flag.patch
+  0005-aplay-Fix-uninterruptible-aplay.patch
+  0006-alsactl-terminate-readlink-result-string.patch
+  0007-speaker-test-Add-option-to-specify-signal-scale.patch
+  0008-topology-Add-command-line-topology-tool-to-build-top.patch
+  0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch
+  0010-speaker-test-fix-option-ordering.patch
+  0011-arecord-Remove-only-regular-files.patch
+  0012-aplay-fix-VU-meter-for-S24_LE-etc-formats.patch
+  0013-alsactl-Manage-both-save-and-restore-in-a-single-uni.patch
+
+---

Old:

  0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
  0002-amixer-expand-local-storage-for-item-name-according-.patch
  0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch
  0004-aplay-Fix-type-for-signal-flag.patch
  0005-aplay-Fix-uninterruptible-aplay.patch
  0006-alsactl-terminate-readlink-result-string.patch
  0007-speaker-test-Add-option-to-specify-signal-scale.patch
  0008-topology-Add-command-line-topology-tool-to-build-top.patch
  0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch
  0010-speaker-test-fix-option-ordering.patch
  0011-arecord-Remove-only-regular-files.patch
  0012-aplay-fix-VU-meter-for-S24_LE-etc-formats.patch
  0013-alsactl-Manage-both-save-and-restore-in-a-single-uni.patch
  alsa-utils-1.0.29.tar.bz2

New:

  0001-bat-Avoid-local-signal.h-file.patch
  0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
  alsa-utils-1.1.0.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.YXblvL/_old  2015-11-12 19:38:00.0 +0100
+++ /var/tmp/diff_new_pack.YXblvL/_new  2015-11-12 19:38:00.0 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.0.29
+%define package_version1.1.0
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.0.29
+Version:1.1.0
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
@@ -44,24 +44,12 @@
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
-# upstream fix patches
-Patch1: 0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
-Patch2: 0002-amixer-expand-local-storage-for-item-name-according-.patch
-Patch3: 0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch
-Patch4: 0004-aplay-Fix-type-for-signal-flag.patch
-Patch5: 0005-aplay-Fix-uninterruptible-aplay.patch
-Patch6: 0006-alsactl-terminate-readlink-result-string.patch
-Patch7: 0007-speaker-test-Add-option-to-specify-signal-scale.patch
-Patch8: 0008-topology-Add-command-line-topology-tool-to-build-top.patch
-Patch9: 0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch
-Patch10:0010-speaker-test-fix-option-ordering.patch
-Patch11:0011-arecord-Remove-only-regular-files.patch
-Patch12:0012-aplay-fix-VU-meter-for-S24_LE-etc-formats.patch
-Patch13:0013-alsactl-Manage-both-save-and-restore-in-a-single-uni.patch
-#
+Patch1: 0001-bat-Avoid-local-signal.h-file.patch
+Patch2: 0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
 BuildRequires:  automake
+BuildRequires:  fftw3-devel
 BuildRequires:  libsamplerate-devel
 BuildRequires:  ncurses-

commit alsa-utils for openSUSE:Factory

2015-10-03 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-10-03 20:28:37

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-08-21 
07:38:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-10-03 20:29:25.0 +0200
@@ -1,0 +2,10 @@
+Tue Sep 29 17:30:30 CEST 2015 - ti...@suse.de
+
+- Backport upstream fixes: particularly fixing the inconsistent
+  mixer state after service reload (bnc#929619):
+  0010-speaker-test-fix-option-ordering.patch
+  0011-arecord-Remove-only-regular-files.patch
+  0012-aplay-fix-VU-meter-for-S24_LE-etc-formats.patch
+  0013-alsactl-Manage-both-save-and-restore-in-a-single-uni.patch
+
+---

New:

  0010-speaker-test-fix-option-ordering.patch
  0011-arecord-Remove-only-regular-files.patch
  0012-aplay-fix-VU-meter-for-S24_LE-etc-formats.patch
  0013-alsactl-Manage-both-save-and-restore-in-a-single-uni.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.kasF44/_old  2015-10-03 20:29:26.0 +0200
+++ /var/tmp/diff_new_pack.kasF44/_new  2015-10-03 20:29:26.0 +0200
@@ -54,6 +54,10 @@
 Patch7: 0007-speaker-test-Add-option-to-specify-signal-scale.patch
 Patch8: 0008-topology-Add-command-line-topology-tool-to-build-top.patch
 Patch9: 0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch
+Patch10:0010-speaker-test-fix-option-ordering.patch
+Patch11:0011-arecord-Remove-only-regular-files.patch
+Patch12:0012-aplay-fix-VU-meter-for-S24_LE-etc-formats.patch
+Patch13:0013-alsactl-Manage-both-save-and-restore-in-a-single-uni.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -90,6 +94,10 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1
@@ -146,7 +154,6 @@
 %{_unitdir}/*.service
 %{_unitdir}/basic.target.wants/alsa-state.service
 %{_unitdir}/basic.target.wants/alsa-restore.service
-%{_unitdir}/shutdown.target.wants/alsa-store.service
 %endif
 %if %{use_varlib}
 %{_localstatedir}/lib/alsa

++ 0010-speaker-test-fix-option-ordering.patch ++
>From 4482cc7cfe97fd69b38687816a6450b0fcc9ba59 Mon Sep 17 00:00:00 2001
From: Ken Benoit 
Date: Thu, 17 Sep 2015 15:06:38 -0400
Subject: [PATCH] speaker-test: fix option ordering

The -c and -s options needed to be provided in a specific order for the -s 
option to work correctly.

This pulls the speaker option check outside of the option parsing so that all 
the options have been parsed before checking to see if the parameter to -s is 
correct.

Signed-off-by: Ken Benoit 
Signed-off-by: Jaroslav Kysela 
---
 speaker-test/speaker-test.c | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
index 25970af1c9bc..5b9cbeca632d 100644
--- a/speaker-test/speaker-test.c
+++ b/speaker-test/speaker-test.c
@@ -1041,6 +1041,7 @@ int main(int argc, char *argv[]) {
   double   time1,time2,time3;
   unsigned int n, nloops;
   struct   timeval tv1,tv2;
+  int  speakeroptset = 0;
 #ifdef CONFIG_SUPPORT_CHMAP
   const char *chmap = NULL;
 #endif
@@ -1162,11 +1163,7 @@ int main(int argc, char *argv[]) {
 case 's':
   speaker = atoi(optarg);
   speaker = speaker < 1 ? 0 : speaker;
-  speaker = speaker > channels ? 0 : speaker;
-  if (speaker==0) {
-fprintf(stderr, _("Invalid parameter for -s option.\n"));
-exit(EXIT_FAILURE);
-  }  
+  speakeroptset = 1;
   break;
 case 'w':
   given_test_wav_file = optarg;
@@ -1200,6 +1197,14 @@ int main(int argc, char *argv[]) {
 exit(EXIT_SUCCESS);
   }
 
+  if (speakeroptset) {
+speaker = speaker > channels ? 0 : speaker;
+if (speaker==0) {
+  fprintf(stderr, _("Invalid parameter for -s option.\n"));
+  exit(EXIT_FAILURE);
+}
+  }
+
   if (!force_frequency) {
 freq = freq < 30.0 ? 30.0 : freq;
 freq = freq > 8000.0 ? 8000.0 : freq;
-- 
2.5.3

++ 0011-arecord-Remove-only-regular-files.patch ++
>From 5f0fc49a3ab9e9a66eb7a74582829c21556506a1 Mon Sep 17 00:00:00 2001
From: Alexander Volkov 
Date: Mon, 21 Sep 2015 16:05:57 +0300
Subject: [PATCH] arecord: Remove only regular files

arecord removes a file before writing into it. It's not
appropriate in some cases. For example, if you a pass
a symlink t

commit alsa-utils for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-08-21 07:38:03

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-07-16 
17:16:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-08-21 07:38:06.0 +0200
@@ -1,0 +2,23 @@
+Mon Aug 10 15:05:45 CEST 2015 - ti...@suse.de
+
+- Suppress alsactl invocation on systems without sound cards
+  (bsc#940950):
+  0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch
+
+---
+Tue Aug  4 17:48:44 CEST 2015 - ti...@suse.de
+
+- Upstream patch to add -S option to speaker-test
+  0007-speaker-test-Add-option-to-specify-signal-scale.patch
+- Upstream patch to add alsatplg parser program
+  0008-topology-Add-command-line-topology-tool-to-build-top.patch
+- Reenable autoreconf call to regenerate after patching
+
+---
+Fri Jul 31 07:40:12 UTC 2015 - dims...@opensuse.org
+
+- Change libudev-devel BuildRequires to pkgconfig(udev): makes us
+  less prone to packaging changes, and in the end udev.pc is
+  exactly what we need to define _udevdir.
+
+---

New:

  0007-speaker-test-Add-option-to-specify-signal-scale.patch
  0008-topology-Add-command-line-topology-tool-to-build-top.patch
  0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.uG17U0/_old  2015-08-21 07:38:07.0 +0200
+++ /var/tmp/diff_new_pack.uG17U0/_new  2015-08-21 07:38:07.0 +0200
@@ -51,6 +51,9 @@
 Patch4: 0004-aplay-Fix-type-for-signal-flag.patch
 Patch5: 0005-aplay-Fix-uninterruptible-aplay.patch
 Patch6: 0006-alsactl-terminate-readlink-result-string.patch
+Patch7: 0007-speaker-test-Add-option-to-specify-signal-scale.patch
+Patch8: 0008-topology-Add-command-line-topology-tool-to-build-top.patch
+Patch9: 0009-alsactl-Add-path-condition-to-alsa-store-and-alsa-re.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -65,7 +68,7 @@
 Provides:   alsa-conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} > 1200
-BuildRequires:  libudev-devel
+BuildRequires:  pkgconfig(udev)
 %endif
 
 %description
@@ -84,6 +87,9 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1
@@ -94,7 +100,7 @@
 %if 0%{?suse_version} < 1020
 # gettextize -f
 %endif
-# autoreconf -fi
+autoreconf -fi
 opts=""
 %if %{use_systemd}
 opts="$opts --with-systemdsystemunitdir=%{_unitdir}"

++ 0007-speaker-test-Add-option-to-specify-signal-scale.patch ++
>From 791ae1c18016707ee046b430cf3cf0412276c744 Mon Sep 17 00:00:00 2001
From: Julian Scheel 
Date: Tue, 30 Jun 2015 08:57:49 +0200
Subject: [PATCH] speaker-test: Add option to specify signal scale

Allow generated signals (sine and noise) to have a specified signal scale
instead of using hardcoded limits of 80%. This can be handy for debugging, ie
when analysing clipping issues with audio drivers.

Signed-off-by: Julian Scheel 
Signed-off-by: Takashi Iwai 
---
 speaker-test/speaker-test.c | 30 ++
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
index ccf2671725a3..25970af1c9bc 100644
--- a/speaker-test/speaker-test.c
+++ b/speaker-test/speaker-test.c
@@ -100,6 +100,7 @@ static unsigned int   period_time = 0;  /* 
period time in us */
 static unsigned int   nperiods= 4;  /* number of 
periods */
 static double freq= 440.0;  /* sinusoidal wave 
frequency in Hz */
 static inttest_type   = TEST_PINK_NOISE;/* Test type. 1 = 
noise, 2 = sine wave */
+static float  generator_scale  = 0.8;   /* Scale to use 
for sine volume */
 static pink_noise_t pink;
 static snd_pcm_uframes_t  buffer_size;
 static snd_pcm_uframes_t  period_size;
@@ -306,7 +307,7 @@ static void generate_sine(uint8_t *frames, int channel, int 
count, double *_phas
   switch (format) {
   case SND_PCM_FORMAT_S8:
 if (chn==channel) {
-  res = (sin((phase * 2 * M_PI) / max_phase - M_PI)) * 0x03fff; /* 
Don't use MAX volume */
+  res = (sin((phase * 2 * M_PI) / max_phase - M_PI)) * ge

commit alsa-utils for openSUSE:Factory

2015-07-16 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-07-16 17:16:52

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-04-30 
11:49:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-07-16 17:16:53.0 +0200
@@ -1,0 +2,9 @@
+Mon Jul 13 16:41:51 CEST 2015 - ti...@suse.de
+
+- Backport upstream fixes for aplay signal handling and alsactl
+  possible buffer overflow of readlink():
+  0004-aplay-Fix-type-for-signal-flag.patch
+  0005-aplay-Fix-uninterruptible-aplay.patch
+  0006-alsactl-terminate-readlink-result-string.patch
+
+---

New:

  0004-aplay-Fix-type-for-signal-flag.patch
  0005-aplay-Fix-uninterruptible-aplay.patch
  0006-alsactl-terminate-readlink-result-string.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.z1wyXk/_old  2015-07-16 17:16:54.0 +0200
+++ /var/tmp/diff_new_pack.z1wyXk/_new  2015-07-16 17:16:54.0 +0200
@@ -48,6 +48,9 @@
 Patch1: 0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
 Patch2: 0002-amixer-expand-local-storage-for-item-name-according-.patch
 Patch3: 0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch
+Patch4: 0004-aplay-Fix-type-for-signal-flag.patch
+Patch5: 0005-aplay-Fix-uninterruptible-aplay.patch
+Patch6: 0006-alsactl-terminate-readlink-result-string.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -78,6 +81,9 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0004-aplay-Fix-type-for-signal-flag.patch ++
>From 9aa5c271f4eb2e3481b4a5076eb025242215ad7f Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Wed, 29 Apr 2015 18:01:07 +0200
Subject: [PATCH] aplay: Fix type for signal flag

A flag used in signal handlers has to be a special atomic type,
volatile sig_atomic_t.

Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index e58e1bcbdd7e..dfa1a0a95867 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -107,7 +107,7 @@ static snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK;
 static int mmap_flag = 0;
 static int interleaved = 1;
 static int nonblock = 0;
-static int in_aborting = 0;
+static volatile sig_atomic_t in_aborting = 0;
 static u_char *audiobuf = NULL;
 static snd_pcm_uframes_t chunk_size = 0;
 static unsigned period_time = 0;
-- 
2.4.5

++ 0005-aplay-Fix-uninterruptible-aplay.patch ++
>From 46b60827568ca4aad15eeacbc9dcf8597986ca8e Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Wed, 29 Apr 2015 18:01:58 +0200
Subject: [PATCH] aplay: Fix uninterruptible aplay

When aplay is invoked to play from stdin, it can't be terminated by
normal signals like SIGTERM or SIGINT.  It's because our signal
handler tries to trap as much as possible while the stalling point is
not in the PCM loop but rather the file I/O.

For fixing this, leave our signal handler once when a signal is
received and snd_pcm_abort() is called.  At the next hit, it shall be
handled normally.

Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index dfa1a0a95867..459f7dd6f667 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -399,7 +399,7 @@ static void signal_handler(int sig)
handle = NULL;
prg_exit(EXIT_FAILURE);
}
-   signal(sig, signal_handler);
+   signal(sig, SIG_DFL);
 }
 
 /* call on SIGUSR1 signal. */
-- 
2.4.5

++ 0006-alsactl-terminate-readlink-result-string.patch ++
>From 13c826941445a66ece203a09e6739c979ac5900c Mon Sep 17 00:00:00 2001
From: Tobias Stoeckmann 
Date: Sat, 11 Jul 2015 13:23:57 +0200
Subject: [PATCH] alsactl: terminate readlink result string

readlink does not guarantee that its result string is nul-terminated.
Instead, increase the buffer by one byte to make sure that we can
add '\0' at the end.

Signed-off-by: Takashi Iwai 
---
 alsactl/init_sysfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alsactl/init_sysfs.c b/alsactl/init_sysfs.c
index 0cbada2e169b..5c789b61b0e5 100644
--- a/alsactl/init_sysfs.c
+++ b/alsactl/init_sysfs.c
@@ -108,11 +108,11 @@ static char *sysfs_attr_get_value(const char *devpath, 
const char *attr_name)
 
if (S_ISLNK(statbuf.st_m

commit alsa-utils for openSUSE:Factory

2015-04-30 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-04-30 11:49:39

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-03-05 
18:15:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-04-30 11:49:40.0 +0200
@@ -1,0 +2,9 @@
+Mon Apr 27 21:41:13 CEST 2015 - ti...@suse.de
+
+- Backport upstream fixes, including the fix for alsa-info
+  (boo#928394):
+  0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
+  0002-amixer-expand-local-storage-for-item-name-according-.patch
+  0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch
+
+---

New:

  0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
  0002-amixer-expand-local-storage-for-item-name-according-.patch
  0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.fb79iX/_old  2015-04-30 11:49:41.0 +0200
+++ /var/tmp/diff_new_pack.fb79iX/_new  2015-04-30 11:49:41.0 +0200
@@ -45,6 +45,9 @@
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
+Patch1: 0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch
+Patch2: 0002-amixer-expand-local-storage-for-item-name-according-.patch
+Patch3: 0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -72,6 +75,9 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch ++
>From 1a19ec15385033b59ebfffec954034680575a003 Mon Sep 17 00:00:00 2001
From: Peter Meerwald 
Date: Tue, 3 Mar 2015 18:39:52 +0100
Subject: [PATCH 1/3] amixer: Don't set only the first item in sset_enum()

Signed-off-by: Peter Meerwald 
Signed-off-by: Takashi Iwai 
---
 amixer/amixer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index ed60e7c3a960..36c92eb99bc9 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -1278,7 +1278,7 @@ static int get_enum_item_index(snd_mixer_elem_t *elem, 
char **ptrp)
 
 static int sset_enum(snd_mixer_elem_t *elem, unsigned int argc, char **argv)
 {
-   unsigned int idx, chn = 0;
+   unsigned int idx, item = 0;
int check_flag = ignore_error ? 0 : -1;
 
for (idx = 1; idx < argc; idx++) {
@@ -1287,7 +1287,7 @@ static int sset_enum(snd_mixer_elem_t *elem, unsigned int 
argc, char **argv)
int ival = get_enum_item_index(elem, &ptr);
if (ival < 0)
return check_flag;
-   if (snd_mixer_selem_set_enum_item(elem, chn, ival) >= 0)
+   if (snd_mixer_selem_set_enum_item(elem, item++, ival) 
>= 0)
check_flag = 1;
/* skip separators */
while (*ptr == ',' || isspace(*ptr))
-- 
2.3.5

++ 0002-amixer-expand-local-storage-for-item-name-according-.patch ++
>From f3abdeea00ef7cc07cb44aa43701a278b9c4692f Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto 
Date: Thu, 9 Apr 2015 01:30:56 +0900
Subject: [PATCH 2/3] amixer: expand local storage for item name according to
 kernel code

According to kernel code (snd_ctl_elem_init_enum_names() in
sound/core/control.c), the maximum length of item name is 63 characters
(+ 1 terminator = 64 bytes). But current amixer implementation
uses 40 bytes. This causes name truncation and fail to operation.

This commit fixes this bug by expanding the length of local variables.

Signed-off-by: Takashi Sakamoto 
Signed-off-by: Takashi Iwai 
---
 amixer/amixer.c | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index 36c92eb99bc9..db1849333da3 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -812,7 +812,11 @@ static int show_selem(snd_mixer_t *handle, 
snd_mixer_selem_id_t *id, const char
if (snd_mixer_selem_is_enumerated(elem)) {
int i, items;
unsigned int idx;
-   char itemname[40];
+   /*
+* See snd_ctl_elem_init_

commit alsa-utils for openSUSE:Factory

2015-03-05 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-03-05 15:36:27

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2015-02-06 
10:41:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-03-05 18:15:42.0 +0100
@@ -1,0 +2,26 @@
+Thu Feb 26 17:26:56 CET 2015 - ti...@suse.de
+
+- Update to alsa-utils 1.0.29:
+  just a version bump including previous fixes
+- Drop obsoleted patches:
+  0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
+  0002-alsamixer-include-missing-mixer_controls.h.patch
+  0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
+  0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
+  0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
+  0006-alsa-info-Refactor-withall-logic.patch
+  0007-speaker-test-Add-missing-draining-at-the-end.patch
+  0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch
+  0009-alsactl-aded-missing-monitor-prototype.patch
+  0010-speaker-text-fix-simple-signess-assignment-warning.patch
+  0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
+  0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
+  0013-Revert-aplay-fix-pcm_read-return-value.patch
+  0014-amixer-Make-dB-case-insensitive-in-set-commands.patch
+  0015-amixer-Parse-the-value-more-strictly.patch
+  0016-alsactl-add-missing-state_unlock-call.patch
+  0017-alsactl-init-Change-the-basic-rules-description.patch
+  0018-alsactl-init-Add-Line-Out-to-list-of-outputs-to-init.patch
+  0019-configure-allow-contitional-compilation-of-alsaucm.patch
+
+---

Old:

  0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
  0002-alsamixer-include-missing-mixer_controls.h.patch
  0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
  0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
  0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
  0006-alsa-info-Refactor-withall-logic.patch
  0007-speaker-test-Add-missing-draining-at-the-end.patch
  0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch
  0009-alsactl-aded-missing-monitor-prototype.patch
  0010-speaker-text-fix-simple-signess-assignment-warning.patch
  0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
  0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
  0013-Revert-aplay-fix-pcm_read-return-value.patch
  0014-amixer-Make-dB-case-insensitive-in-set-commands.patch
  0015-amixer-Parse-the-value-more-strictly.patch
  0016-alsactl-add-missing-state_unlock-call.patch
  0017-alsactl-init-Change-the-basic-rules-description.patch
  0018-alsactl-init-Add-Line-Out-to-list-of-outputs-to-init.patch
  0019-configure-allow-contitional-compilation-of-alsaucm.patch
  alsa-utils-1.0.28.tar.bz2

New:

  alsa-utils-1.0.29.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.JVxZ25/_old  2015-03-05 18:15:43.0 +0100
+++ /var/tmp/diff_new_pack.JVxZ25/_new  2015-03-05 18:15:43.0 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.0.28
+%define package_version1.0.29
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.0.28
+Version:1.0.29
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
@@ -45,25 +45,6 @@
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
-Patch1: 0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
-Patch2: 0002-alsamixer-include-missing-mixer_controls.h.patch
-Patch3: 0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
-Patch4: 0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
-Patch5: 0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
-Patch6: 0006-alsa-info-Refactor-withall-logic.patch
-Patch7: 0007-speaker-test-Add-missing-draining-at-the-end.patch
-Patch8: 0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch
-Patch9: 0009-alsactl-aded-missing-monitor-prototype.patch
-Patch10:0010-speaker-text-fix-simple-signess-assignment-warning.patch
-Patch11:0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
-Patch12:0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
-Patch13:0013-Revert-aplay-fix-pcm_read-return-value.patch
-Patch

commit alsa-utils for openSUSE:Factory

2015-02-06 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2015-02-06 10:41:34

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-12-09 
09:16:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2015-02-06 10:41:37.0 +0100
@@ -1,0 +2,10 @@
+Mon Jan 26 15:52:24 CET 2015 - ti...@suse.de
+
+- Backport upstream fixes: fix missing unlock for the error path
+  in alsactl, more alsactl init entries, alsaucm build fix
+  0016-alsactl-add-missing-state_unlock-call.patch
+  0017-alsactl-init-Change-the-basic-rules-description.patch
+  0018-alsactl-init-Add-Line-Out-to-list-of-outputs-to-init.patch
+  0019-configure-allow-contitional-compilation-of-alsaucm.patch
+
+---

New:

  0016-alsactl-add-missing-state_unlock-call.patch
  0017-alsactl-init-Change-the-basic-rules-description.patch
  0018-alsactl-init-Add-Line-Out-to-list-of-outputs-to-init.patch
  0019-configure-allow-contitional-compilation-of-alsaucm.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.gHVzM7/_old  2015-02-06 10:41:37.0 +0100
+++ /var/tmp/diff_new_pack.gHVzM7/_new  2015-02-06 10:41:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -60,6 +60,10 @@
 Patch13:0013-Revert-aplay-fix-pcm_read-return-value.patch
 Patch14:0014-amixer-Make-dB-case-insensitive-in-set-commands.patch
 Patch15:0015-amixer-Parse-the-value-more-strictly.patch
+Patch16:0016-alsactl-add-missing-state_unlock-call.patch
+Patch17:0017-alsactl-init-Change-the-basic-rules-description.patch
+Patch18:0018-alsactl-init-Add-Line-Out-to-list-of-outputs-to-init.patch
+Patch19:0019-configure-allow-contitional-compilation-of-alsaucm.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -102,6 +106,10 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0016-alsactl-add-missing-state_unlock-call.patch ++
>From 55d41b7fe364b55851a6038285affe9a32b8b701 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 24 Dec 2014 20:15:26 +0100
Subject: [PATCH] alsactl: add missing state_unlock() call

---
 alsactl/state.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/alsactl/state.c b/alsactl/state.c
index 0c897034057c..3908ec49b823 100644
--- a/alsactl/state.c
+++ b/alsactl/state.c
@@ -1678,6 +1678,8 @@ int load_state(const char *file, const char *initfile, 
const char *cardname,
int card, first = 1;
char cardname1[16];
 
+   if (lock_fd >= 0)
+   state_unlock(lock_fd, file);
error("Cannot open %s for reading: %s", file, 
snd_strerror(err));
finalerr = err;
if (cardname) {
-- 
2.2.2

++ 0017-alsactl-init-Change-the-basic-rules-description.patch ++
>From d522b45508a033e1bfcf40769168deb48d5c878c Mon Sep 17 00:00:00 2001
From: David Henningsson 
Date: Mon, 12 Jan 2015 16:48:37 +0100
Subject: [PATCH] alsactl/init: Change the "basic rules" description

We now enable more outputs than just the main speaker, so update
the basic rules to reflect the actual situation.

Signed-off-by: David Henningsson 
Signed-off-by: Takashi Iwai 
---
 alsactl/init/default | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsactl/init/default b/alsactl/init/default
index 5fb01136cdc5..64f933f1f597 100644
--- a/alsactl/init/default
+++ b/alsactl/init/default
@@ -3,7 +3,7 @@
 #
 # Basic rules are:
 #  - keep volumes at minimal level, but sound should be hearable
-#  - enable just main speakers for playback and main microphone for recording
+#  - enable standard outputs for playback and main microphone for recording
 #
 
 # **
-- 
2.2.2

++ 0018-alsactl-init-Add-Line-Out-to-list-of-outputs-to-init.patch ++
>From e1745a69fecb191b3575e39b1ec731756381fb5c Mon Sep 17 00:00:00 2001
From: David Henningsson 
Date: Mon, 12 Jan 2015 16:48:38 +0100
Subject: [PATCH] alsactl/init: Add "Line Out" to list of 

commit alsa-utils for openSUSE:Factory

2014-12-09 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-12-09 09:17:09

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-10-25 
08:32:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-12-09 09:16:49.0 +0100
@@ -1,0 +2,7 @@
+Fri Dec  5 16:54:03 CET 2014 - ti...@suse.de
+
+- Backport upstream fixes: rubustify dB value handling in amixer
+  0014-amixer-Make-dB-case-insensitive-in-set-commands.patch
+  0015-amixer-Parse-the-value-more-strictly.patch
+
+---

New:

  0014-amixer-Make-dB-case-insensitive-in-set-commands.patch
  0015-amixer-Parse-the-value-more-strictly.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.zoxcPM/_old  2014-12-09 09:16:50.0 +0100
+++ /var/tmp/diff_new_pack.zoxcPM/_new  2014-12-09 09:16:50.0 +0100
@@ -58,6 +58,8 @@
 Patch11:0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
 Patch12:0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
 Patch13:0013-Revert-aplay-fix-pcm_read-return-value.patch
+Patch14:0014-amixer-Make-dB-case-insensitive-in-set-commands.patch
+Patch15:0015-amixer-Parse-the-value-more-strictly.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -98,6 +100,8 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
+%patch15 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0014-amixer-Make-dB-case-insensitive-in-set-commands.patch ++
>From 45a334e71ca9b4402fb731a934f7455cec5b0121 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Sun, 23 Nov 2014 09:40:07 +0100
Subject: [PATCH 14/15] amixer: Make "dB" case-insensitive in set commands

We don't have to be necessarily too strict about case-sensitivity of
"dB" suffix used in set commands.

Signed-off-by: Takashi Iwai 
---
 amixer/amixer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index cf82892bfa2f..6a2fdb96c62f 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -346,7 +346,7 @@ static int set_volume_simple(snd_mixer_elem_t *elem,
if (*p == '%') {
percent = 1;
p++;
-   } else if (p[0] == 'd' && p[1] == 'B') {
+   } else if (toupper(p[0]) == 'D' && toupper(p[1]) == 'B') {
vol_type = VOL_DB;
p += 2;
scale = 100;
-- 
2.2.0

++ 0015-amixer-Parse-the-value-more-strictly.patch ++
>From 088593c03980209c44a9e9cde19723361d341c0a Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Sun, 23 Nov 2014 10:04:24 +0100
Subject: [PATCH 15/15] amixer: Parse the value more strictly

So far amixer allows some unexpected suffix and assumes as a raw
absolute value without returning an error.  This is rather dangerous,
e.g. user might not notice that a completely wrong value was set when
the command line included a typo.

This patch makes the parser a bit more strict: it doesn't allow any
longer invalid suffixes, instead either returns an error or skips the
invalid value, depending on the operation mode.

Signed-off-by: Takashi Iwai 
---
 amixer/amixer.c | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index 6a2fdb96c62f..ed60e7c3a960 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -325,7 +325,7 @@ static int set_volume_simple(snd_mixer_elem_t *elem,
long val, orig, pmin, pmax;
char *p = *ptr, *s;
int invalid = 0, percent = 0, err = 0;
-   int vol_type = std_vol_type;
+   int vol_type;
double scale = 1.0;
int correct = 0;
 
@@ -344,14 +344,19 @@ static int set_volume_simple(snd_mixer_elem_t *elem,
strtol(p, &p, 10);
}
if (*p == '%') {
+   vol_type = std_vol_type;
percent = 1;
p++;
} else if (toupper(p[0]) == 'D' && toupper(p[1]) == 'B') {
vol_type = VOL_DB;
p += 2;
scale = 100;
-   } else
+   } else {
vol_type = VOL_RAW;
+   }
+
+   if (*p && !strchr(",:+-", *p))
+   invalid = 1;
 
val = (long)(strtod(s, NULL) * scale);
if (vol_ops[dir].v[vol_type].get_range(elem, &pmin, &pmax) < 0)
@@ -372,6 +377,10 @@ static int set_volume_simple(snd_mixer_elem_t *elem,
}
p++;
}
+
+   if (*p && 

commit alsa-utils for openSUSE:Factory

2014-10-24 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-10-25 08:32:50

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-08-28 
21:05:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-10-25 08:32:58.0 +0200
@@ -1,0 +2,13 @@
+Fri Oct 17 11:58:05 CEST 2014 - ti...@suse.de
+
+- Backport upstream fixes: a few speaker-test fixes, minor alsactl
+  fixes and a revert of a wrong fix for aplay.
+  0007-speaker-test-Add-missing-draining-at-the-end.patch
+  0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch
+  0009-alsactl-aded-missing-monitor-prototype.patch
+  0010-speaker-text-fix-simple-signess-assignment-warning.patch
+  0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
+  0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
+  0013-Revert-aplay-fix-pcm_read-return-value.patch
+
+---

New:

  0007-speaker-test-Add-missing-draining-at-the-end.patch
  0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch
  0009-alsactl-aded-missing-monitor-prototype.patch
  0010-speaker-text-fix-simple-signess-assignment-warning.patch
  0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
  0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
  0013-Revert-aplay-fix-pcm_read-return-value.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.YLE6E7/_old  2014-10-25 08:32:59.0 +0200
+++ /var/tmp/diff_new_pack.YLE6E7/_new  2014-10-25 08:32:59.0 +0200
@@ -51,6 +51,13 @@
 Patch4: 0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
 Patch5: 0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
 Patch6: 0006-alsa-info-Refactor-withall-logic.patch
+Patch7: 0007-speaker-test-Add-missing-draining-at-the-end.patch
+Patch8: 0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch
+Patch9: 0009-alsactl-aded-missing-monitor-prototype.patch
+Patch10:0010-speaker-text-fix-simple-signess-assignment-warning.patch
+Patch11:0011-monitor-fix-clang-warning-Declared-variable-length-a.patch
+Patch12:0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch
+Patch13:0013-Revert-aplay-fix-pcm_read-return-value.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -84,6 +91,13 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0007-speaker-test-Add-missing-draining-at-the-end.patch ++
>From f58ce3619de0612a6402c38f1cd81fb821818b60 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Tue, 16 Sep 2014 16:36:44 +0200
Subject: [PATCH] speaker-test: Add missing draining at the end

Without the call of snd_pcm_drain() the pending data on the buffer
might be discarded, which results in the abort of playback sound in
the middle.  Let's fix it.

Reported-and-tested-by: Jarkko Nikula 
Signed-off-by: Takashi Iwai 
---
 speaker-test/speaker-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
index 61396f296c65..362efa7ffc0d 100644
--- a/speaker-test/speaker-test.c
+++ b/speaker-test/speaker-test.c
@@ -1307,6 +1307,7 @@ int main(int argc, char *argv[]) {
 }
   }
 
+  snd_pcm_drain(handle);
 
   free(frames);
 #ifdef CONFIG_SUPPORT_CHMAP
-- 
2.1.2

++ 0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch ++
>From 1363f852e92c1c913474fc015f9da12d1e93d750 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 24 Sep 2014 10:35:53 +0200
Subject: [PATCH] alsactl: Fix the file locking routines (for the state
 management)

---
 alsactl/alsactl.h |  3 ++-
 alsactl/lock.c| 41 +++--
 alsactl/state.c   | 22 +-
 3 files changed, 46 insertions(+), 20 deletions(-)

diff --git a/alsactl/alsactl.h b/alsactl/alsactl.h
index 76e8c36100f9..bd9bf23e74b3 100644
--- a/alsactl/alsactl.h
+++ b/alsactl/alsactl.h
@@ -25,7 +25,8 @@ void dbg_(const char *fcn, long line, const char *fmt, ...);
 #endif 
 
 int init(const char *file, const char *cardname);
-int state_lock(const char *file, int lock, int timeout);
+int state_lock(const char *file, int timeout);
+int state_unlock(int fd, const char *file);
 int save_state(const char *file, const char *cardname);
 

commit alsa-utils for openSUSE:Factory

2014-08-28 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-08-28 21:05:07

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-08-14 
14:57:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-08-28 21:05:11.0 +0200
@@ -1,0 +2,8 @@
+Tue Aug 26 12:46:20 CEST 2014 - ti...@suse.de
+
+- alsa-info.sh updates to 0.4.64: run withall also when --output
+  is given
+  0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
+  0006-alsa-info-Refactor-withall-logic.patch
+
+---

New:

  0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
  0006-alsa-info-Refactor-withall-logic.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.SC7NEt/_old  2014-08-28 21:05:12.0 +0200
+++ /var/tmp/diff_new_pack.SC7NEt/_new  2014-08-28 21:05:12.0 +0200
@@ -49,6 +49,8 @@
 Patch2: 0002-alsamixer-include-missing-mixer_controls.h.patch
 Patch3: 0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
 Patch4: 0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
+Patch5: 0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
+Patch6: 0006-alsa-info-Refactor-withall-logic.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -80,6 +82,8 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch ++
>From 4f569affc420579a1a6e44cf51d7a1e64d6cd8d3 Mon Sep 17 00:00:00 2001
From: David Henningsson 
Date: Fri, 22 Aug 2014 10:31:40 +0200
Subject: [PATCH] alsa-info: Make sure all full script is run even with
 "output" option

For some reason, when the --output option is used, less information
is included compared to when no options are used. This is unexpected.

Fix this by running "withall" also when the output option is used.

Signed-off-by: David Henningsson 
Signed-off-by: Takashi Iwai 
---
 alsa-info/alsa-info.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index 859d7bca6b1c..47157f06b159 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -661,6 +661,7 @@ if [ -n "$1" ]; then
shift
NFILE="$1"
KEEP_OUTPUT="yes"
+   withall
;;
--debug)
echo "Debugging enabled. $FILE and $TEMPDIR will not be 
deleted"
-- 
2.1.0

++ 0006-alsa-info-Refactor-withall-logic.patch ++
>From 808af5fdb00be048b485c3ea3f5a5081b99dae30 Mon Sep 17 00:00:00 2001
From: David Henningsson 
Date: Fri, 22 Aug 2014 10:31:41 +0200
Subject: [PATCH] alsa-info: Refactor "withall" logic

Previously, using --output, --no-upload, --upload and --pastebin
switches implied the withall switch.

A more intuitive logic would be that --with-all is disabled if you
use another --with* switch, such as --withdmesg, and only then.

Also update script version to reflect the behaviour change.

Signed-off-by: David Henningsson 
Signed-off-by: Takashi Iwai 
---
 alsa-info/alsa-info.sh | 23 +++
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index 47157f06b159..acd849588141 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.63
+SCRIPT_VERSION=0.4.64
 CHANGELOG="http://www.alsa-project.org/alsa-info.sh.changelog";
 
 
#
@@ -260,6 +260,7 @@ withall() {
withlsmod
withsysfs
withdmesg
+   WITHALL="no"
 }
 
 get_alsa_library_version() {
@@ -629,7 +630,6 @@ fi
 #If no command line options are specified, then run as though --with-all was 
specified
 if [ -z "$1" ]; then
update
-   withall
pbcheck 
 fi
 
@@ -642,7 +642,6 @@ if [ -n "$1" ]; then
case "$1" in
--pastebin)
update
-   withall
pbcheck
;;
--update)
@@ -651,43 +650,45 @@ if [ -n "$1" ]; then
;;
--upload)
UPLOAD="yes"
-   withall
;;
--no-uploa

commit alsa-utils for openSUSE:Factory

2014-08-14 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-08-14 14:57:45

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-07-08 
16:58:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-08-14 14:57:48.0 +0200
@@ -1,0 +2,7 @@
+Tue Aug 12 16:07:04 CEST 2014 - ti...@suse.de
+
+- Move alsa-info.sh to alsa-utils:
+  0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
+  0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
+
+---

New:

  0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
  0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.Z0e1FD/_old  2014-08-14 14:57:49.0 +0200
+++ /var/tmp/diff_new_pack.Z0e1FD/_new  2014-08-14 14:57:49.0 +0200
@@ -47,6 +47,8 @@
 # upstream fix patches
 Patch1: 0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
 Patch2: 0002-alsamixer-include-missing-mixer_controls.h.patch
+Patch3: 0003-Add-alsa-info.sh-to-alsa-utils-repo.patch
+Patch4: 0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -76,6 +78,8 @@
 # patch -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0003-Add-alsa-info.sh-to-alsa-utils-repo.patch ++
 977 lines (skipped)

++ 0004-Add-missing-alsa-info-entry-to-the-root-Makefile.am.patch ++
>From 5e5fe9e573efe211dcc3ca9a5bb520bcf00f7950 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Tue, 12 Aug 2014 16:19:06 +0200
Subject: [PATCH] Add missing alsa-info entry to the root Makefile.am

Signed-off-by: Takashi Iwai 
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index f25eee2e38ff..248eb11cb53a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 AM_CPPFLAGS=-I$(top_srcdir)/include
 
-SUBDIRS = include alsactl alsaucm utils m4 po
+SUBDIRS = include alsactl alsaucm utils m4 po alsa-info
 if ALSAMIXER
 SUBDIRS += alsamixer
 endif
-- 
2.0.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2014-07-08 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-07-08 16:58:48

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-06-25 
06:57:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-07-08 16:58:49.0 +0200
@@ -1,0 +2,8 @@
+Tue Jul  1 16:42:31 CEST 2014 - ti...@suse.de
+
+- Remove obsoleted *.po files
+- Backport upstream fixes:
+  0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
+  0002-alsamixer-include-missing-mixer_controls.h.patch
+
+---

Old:

  de.po
  fr.po
  ja.po

New:

  0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
  0002-alsamixer-include-missing-mixer_controls.h.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.9gR0uL/_old  2014-07-08 16:58:52.0 +0200
+++ /var/tmp/diff_new_pack.9gR0uL/_new  2014-07-08 16:58:52.0 +0200
@@ -43,11 +43,10 @@
 Url:http://www.alsa-project.org/
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
-Source10:   de.po
-Source11:   fr.po
-Source12:   ja.po
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
+Patch1: 0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
+Patch2: 0002-alsamixer-include-missing-mixer_controls.h.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 BuildRequires:  alsa-devel
@@ -74,11 +73,9 @@
 # fix stupid automake's automatic action
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
-# temporarily use the original *.po files instead of the ones in tarball
-cp %{SOURCE10} po/
-cp %{SOURCE11} po/
-cp %{SOURCE12} po/
 # patch -p1
+%patch1 -p1
+%patch2 -p1
 #
 %if 0%{?suse_version} < 1020
 %patch99 -p1

++ 0001-alsactl-save-state-do-not-call-rename-for-stdio.patch ++
>From 03a652e18ddc2eaad9b6ff3653515d54bd273d75 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 25 Jun 2014 10:47:21 +0200
Subject: [PATCH 1/2] alsactl: save state - do not call rename for stdio

Signed-off-by: Jaroslav Kysela 
---
 alsactl/state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsactl/state.c b/alsactl/state.c
index c33f5017999f..e0c6f2e02e9b 100644
--- a/alsactl/state.c
+++ b/alsactl/state.c
@@ -1626,7 +1626,7 @@ int save_state(const char *file, const char *cardname)
snd_output_close(out);
if (err < 0) {
error("snd_config_save: %s", snd_strerror(err));
-   } else {
+   } else if (nfile) {
err = rename(nfile, file);
if (err < 0)
error("rename failed: %s (%s)", strerror(-err), file);
-- 
2.0.0

++ 0002-alsamixer-include-missing-mixer_controls.h.patch ++
>From c788ce9b6088e2c937f77231eab520c3d16e0c76 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 25 Jun 2014 10:49:23 +0200
Subject: [PATCH 2/2] alsamixer: include missing mixer_controls.h

---
 alsamixer/mainloop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/alsamixer/mainloop.c b/alsamixer/mainloop.c
index 351f57f8590e..79d81a99cfc1 100644
--- a/alsamixer/mainloop.c
+++ b/alsamixer/mainloop.c
@@ -29,6 +29,7 @@
 #include "widget.h"
 #include "mixer_widget.h"
 #include "mixer_display.h"
+#include "mixer_controls.h"
 #include "mainloop.h"
 
 static WINDOW *curses_initialized;
-- 
2.0.0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2014-06-24 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-06-25 06:57:30

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-03-16 
08:05:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-06-25 06:57:39.0 +0200
@@ -1,0 +2,28 @@
+Wed Jun 18 13:10:03 CEST 2014 - ti...@suse.de
+
+- Updated to alsa-utils 1.0.28:
+  All pervious fix patches are obsoleted:
+  0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
+  0002-alsaloop-fix-wrong-alias-for-signal.h.patch
+  0003-aplay-fix-two-off-by-one-errors.patch
+  0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
+  0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch
+  0006-amixer-fix-indentation-when-printing-container-TLV-c.patch
+  0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch
+  0008-speaker-test-Fix-chmapped-channel-selection-without-.patch
+  0009-speaker-test-Always-show-chmap-channel-names-if-avai.patch
+  0010-speaker-test-Show-out-of-chmap-channels-as-Unknown.patch
+  0011-alsaconf-support-newer-m-i-t-and-kmod.patch
+  0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch
+  0013-configure-detect-udevdir-via-pkg-config-fallback-to-.patch
+  0014-alsactl-Add-monitor-command.patch
+  0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch
+  0016-alsactl-monitor-all-cards-as-default.patch
+  0017-alsactl-Fix-the-va_list-initialization-in-cerror_-an.patch
+  0018-aplay-fix-pcm_read-return-value.patch
+  0019-alsa-restore.rules-refer-to-correct-attr.patch
+  0020-aplay-fix-timespec-to-msec-conversion.patch
+  0021-speaker-test-add-force-frequency-option-to-allow-hz-.patch
+  0022-speaker-test-update-man-page-for-new-X-arg-also-cons.patch
+
+---

Old:

  0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
  0002-alsaloop-fix-wrong-alias-for-signal.h.patch
  0003-aplay-fix-two-off-by-one-errors.patch
  0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
  0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch
  0006-amixer-fix-indentation-when-printing-container-TLV-c.patch
  0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch
  0008-speaker-test-Fix-chmapped-channel-selection-without-.patch
  0009-speaker-test-Always-show-chmap-channel-names-if-avai.patch
  0010-speaker-test-Show-out-of-chmap-channels-as-Unknown.patch
  0011-alsaconf-support-newer-m-i-t-and-kmod.patch
  0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch
  0013-configure-detect-udevdir-via-pkg-config-fallback-to-.patch
  0014-alsactl-Add-monitor-command.patch
  0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch
  0016-alsactl-monitor-all-cards-as-default.patch
  0017-alsactl-Fix-the-va_list-initialization-in-cerror_-an.patch
  0018-aplay-fix-pcm_read-return-value.patch
  0019-alsa-restore.rules-refer-to-correct-attr.patch
  0020-aplay-fix-timespec-to-msec-conversion.patch
  0021-speaker-test-add-force-frequency-option-to-allow-hz-.patch
  0022-speaker-test-update-man-page-for-new-X-arg-also-cons.patch
  alsa-utils-1.0.27.2.tar.bz2

New:

  alsa-utils-1.0.28.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.rRasRQ/_old  2014-06-25 06:57:40.0 +0200
+++ /var/tmp/diff_new_pack.rRasRQ/_new  2014-06-25 06:57:40.0 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define package_version1.0.27.2
+%define package_version1.0.28
 #
 %if 0%{?suse_version} > 1130
 %define use_systemd1
@@ -35,7 +35,7 @@
 %define _udevdir /lib/udev
 %endif
 Name:   alsa-utils
-Version:1.0.27.2
+Version:1.0.28
 Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
@@ -48,28 +48,6 @@
 Source12:   ja.po
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
-Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
-Patch2: 0002-alsaloop-fix-wrong-alias-for-signal.h.patch
-Patch3: 0003-aplay-fix-two-off-by-one-errors.patch
-Patch4: 0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
-Patch5: 0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch
-Patch6: 0006-amixer-fix-indentation-when-printing-container-TLV-c.patch
-Patch7: 0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch
-Patch8: 0008-speaker-test-Fix-chmapped-channel-selection-without-.patch
-Patch9: 0009-speaker-

commit alsa-utils for openSUSE:Factory

2014-03-16 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-03-16 08:04:58

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2014-02-01 
09:39:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-03-16 08:05:00.0 +0100
@@ -1,0 +2,9 @@
+Tue Mar 11 10:55:31 CET 2014 - ti...@suse.de
+
+- Upstream backports: Add --force-frequency option to speaker-test
+  0021-speaker-test-add-force-frequency-option-to-allow-hz-.patch
+  0022-speaker-test-update-man-page-for-new-X-arg-also-cons.patch
+- Temporarily add the raw *.po files for properly patching
+- Run spec-cleaner
+
+---

New:

  0021-speaker-test-add-force-frequency-option-to-allow-hz-.patch
  0022-speaker-test-update-man-page-for-new-X-arg-also-cons.patch
  de.po
  fr.po
  ja.po



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.oudzBR/_old  2014-03-16 08:05:01.0 +0100
+++ /var/tmp/diff_new_pack.oudzBR/_new  2014-03-16 08:05:01.0 +0100
@@ -16,46 +16,36 @@
 #
 
 
+%define package_version1.0.27.2
 #
-%if %suse_version > 1130
+%if 0%{?suse_version} > 1130
 %define use_systemd1
-BuildRequires:  systemd
 %define use_varlib 1
-%if %suse_version == 1140
+%if 0%{?suse_version} == 1140
 %define _unitdir /lib/systemd/system
 %endif
+BuildRequires:  systemd
 %else
 %define use_systemd0
 %define use_varlib 0
 %endif
-%if %suse_version > 1200
+%if 0%{?suse_version} > 1200
 %define _udevdir %(pkg-config --variable=udevdir udev)
 %else
 %define _udevdir /lib/udev
 %endif
-
 Name:   alsa-utils
-BuildRequires:  alsa-devel
-BuildRequires:  automake
-BuildRequires:  libsamplerate-devel
-%if %suse_version > 1200
-BuildRequires:  libudev-devel
-%endif
-BuildRequires:  ncurses-devel
-BuildRequires:  pkgconfig
-BuildRequires:  xmlto
-%define package_version1.0.27.2
-Provides:   alsa-conf
-Requires:   alsa
-Requires:   dialog
-Requires:   pciutils
+Version:1.0.27.2
+Release:0
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
-Version:1.0.27.2
-Release:0
+Url:http://www.alsa-project.org/
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
+Source10:   de.po
+Source11:   fr.po
+Source12:   ja.po
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
 Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
@@ -78,10 +68,24 @@
 Patch18:0018-aplay-fix-pcm_read-return-value.patch
 Patch19:0019-alsa-restore.rules-refer-to-correct-attr.patch
 Patch20:0020-aplay-fix-timespec-to-msec-conversion.patch
+Patch21:0021-speaker-test-add-force-frequency-option-to-allow-hz-.patch
+Patch22:0022-speaker-test-update-man-page-for-new-X-arg-also-cons.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
-Url:http://www.alsa-project.org/
+BuildRequires:  alsa-devel
+BuildRequires:  automake
+BuildRequires:  libsamplerate-devel
+BuildRequires:  ncurses-devel
+BuildRequires:  pkgconfig
+BuildRequires:  xmlto
+Requires:   alsa
+Requires:   dialog
+Requires:   pciutils
+Provides:   alsa-conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 1200
+BuildRequires:  libudev-devel
+%endif
 
 %description
 This package contains utility programs supporting ALSA, Advanced Linux
@@ -92,6 +96,10 @@
 # fix stupid automake's automatic action
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
+# temporarily use the original *.po files instead of the ones in tarball
+cp %{SOURCE10} po/
+cp %{SOURCE11} po/
+cp %{SOURCE12} po/
 # patch -p1
 %patch1 -p1
 %patch2 -p1
@@ -113,25 +121,27 @@
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%patch21 -p1
+%patch22 -p1
 #
-%if %suse_version < 1020
+%if 0%{?suse_version} < 1020
 %patch99 -p1
 %endif
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
-%if %suse_version < 1020
+%if 0%{?suse_version} < 1020
 gettextize -f
 %endif
 autoreconf -fi
 opts=""
-%if %use_systemd
+%if %{use_systemd}
 opts="$opts --with-systemdsystemunitdir=%{_unitdir}"
 %endif
-%if ! %use_varlib
+%if ! %{use_varlib}
 opts="$opts --with-asound-state-dir=/etc"
 %endif
-%if %suse_version < 1030
+%if 0%{?suse_version} < 1030
 op

commit alsa-utils for openSUSE:Factory

2014-02-01 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2014-02-01 09:39:31

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-11-28 
07:14:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2014-02-01 09:39:32.0 +0100
@@ -1,0 +2,9 @@
+Fri Jan 31 12:13:49 CET 2014 - ti...@suse.de
+
+- Backport minor fix patches for alsactl and aplay from upstream:
+  0017-alsactl-Fix-the-va_list-initialization-in-cerror_-an.patch
+  0018-aplay-fix-pcm_read-return-value.patch
+  0019-alsa-restore.rules-refer-to-correct-attr.patch
+  0020-aplay-fix-timespec-to-msec-conversion.patch
+
+---

New:

  0017-alsactl-Fix-the-va_list-initialization-in-cerror_-an.patch
  0018-aplay-fix-pcm_read-return-value.patch
  0019-alsa-restore.rules-refer-to-correct-attr.patch
  0020-aplay-fix-timespec-to-msec-conversion.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.Cn7wBN/_old  2014-02-01 09:39:33.0 +0100
+++ /var/tmp/diff_new_pack.Cn7wBN/_new  2014-02-01 09:39:33.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -74,6 +74,10 @@
 Patch14:0014-alsactl-Add-monitor-command.patch
 Patch15:0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch
 Patch16:0016-alsactl-monitor-all-cards-as-default.patch
+Patch17:0017-alsactl-Fix-the-va_list-initialization-in-cerror_-an.patch
+Patch18:0018-aplay-fix-pcm_read-return-value.patch
+Patch19:0019-alsa-restore.rules-refer-to-correct-attr.patch
+Patch20:0020-aplay-fix-timespec-to-msec-conversion.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -105,6 +109,10 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0017-alsactl-Fix-the-va_list-initialization-in-cerror_-an.patch ++
>From f4be3f88b6e80e3f3ea19ba5784cff49ab6e6277 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Sun, 29 Dec 2013 20:03:21 +0100
Subject: [PATCH] alsactl: Fix the va_list initialization in cerror_() and
 dbg_()

The  argument for syslog_() was uninitialized.

From: Alan Hamilton 
Signed-off-by: Jaroslav Kysela 
---
 alsactl/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alsactl/utils.c b/alsactl/utils.c
index 072c23998e45..b5d183cb437c 100644
--- a/alsactl/utils.c
+++ b/alsactl/utils.c
@@ -150,10 +150,10 @@ void cerror_(const char *fcn, long line, int cond, const 
char *fmt, ...)
 
if (!cond && !debugflag)
return;
+   va_start(ap, fmt);
if (use_syslog) {
syslog_(LOG_ERR, fcn, line, fmt, ap);
} else {
-   va_start(ap, fmt);
fprintf(stderr, "%s: %s:%ld: ", command, fcn, line);
vfprintf(stderr, fmt, ap);
putc('\n', stderr);
@@ -167,10 +167,10 @@ void dbg_(const char *fcn, long line, const char *fmt, 
...)
 
if (!debugflag)
return;
+   va_start(ap, fmt);
if (use_syslog) {
syslog_(LOG_DEBUG, fcn, line, fmt, ap);
} else {
-   va_start(ap, fmt);
fprintf(stderr, "%s: %s:%ld: ", command, fcn, line);
vfprintf(stderr, fmt, ap);
putc('\n', stderr);
-- 
1.8.4.5

++ 0018-aplay-fix-pcm_read-return-value.patch ++
>From 8aa13eec80eac312e4b99423909387660fb99b8f Mon Sep 17 00:00:00 2001
From: Olivier Langlois 
Date: Tue, 7 Jan 2014 23:18:17 -0500
Subject: [PATCH] aplay: fix pcm_read() return value

Because of the way the pcm_read() functions are currently used, returning
rcount or result is equivalent but I feel it is more accurate to
return 'result'.

Signed-off-by: Olivier Langlois 
Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index e0631c4aa752..69e8bdab63b7 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -2039,7 +2039,7 @@ static ssize_t pcm_read(u_char *data, size_t rcount)
data += r * bits

commit alsa-utils for openSUSE:Factory

2013-11-27 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-11-28 07:14:04

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-10-03 
15:41:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-11-28 07:14:05.0 +0100
@@ -1,0 +2,17 @@
+Wed Nov 27 09:54:23 CET 2013 - ti...@suse.de
+
+- Backport upstream fixes: a few fixes for chmap support, alsaconf
+  updates, a new monitor command for alsactl, etc:
+  0006-amixer-fix-indentation-when-printing-container-TLV-c.patch
+  0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch
+  0008-speaker-test-Fix-chmapped-channel-selection-without-.patch
+  0009-speaker-test-Always-show-chmap-channel-names-if-avai.patch
+  0010-speaker-test-Show-out-of-chmap-channels-as-Unknown.patch
+  0011-alsaconf-support-newer-m-i-t-and-kmod.patch
+  0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch
+  0013-configure-detect-udevdir-via-pkg-config-fallback-to-.patch
+  0014-alsactl-Add-monitor-command.patch
+  0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch
+  0016-alsactl-monitor-all-cards-as-default.patch
+
+---

New:

  0006-amixer-fix-indentation-when-printing-container-TLV-c.patch
  0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch
  0008-speaker-test-Fix-chmapped-channel-selection-without-.patch
  0009-speaker-test-Always-show-chmap-channel-names-if-avai.patch
  0010-speaker-test-Show-out-of-chmap-channels-as-Unknown.patch
  0011-alsaconf-support-newer-m-i-t-and-kmod.patch
  0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch
  0013-configure-detect-udevdir-via-pkg-config-fallback-to-.patch
  0014-alsactl-Add-monitor-command.patch
  0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch
  0016-alsactl-monitor-all-cards-as-default.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.HiVRdg/_old  2013-11-28 07:14:10.0 +0100
+++ /var/tmp/diff_new_pack.HiVRdg/_new  2013-11-28 07:14:10.0 +0100
@@ -63,6 +63,17 @@
 Patch3: 0003-aplay-fix-two-off-by-one-errors.patch
 Patch4: 0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
 Patch5: 0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch
+Patch6: 0006-amixer-fix-indentation-when-printing-container-TLV-c.patch
+Patch7: 0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch
+Patch8: 0008-speaker-test-Fix-chmapped-channel-selection-without-.patch
+Patch9: 0009-speaker-test-Always-show-chmap-channel-names-if-avai.patch
+Patch10:0010-speaker-test-Show-out-of-chmap-channels-as-Unknown.patch
+Patch11:0011-alsaconf-support-newer-m-i-t-and-kmod.patch
+Patch12:0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch
+Patch13:0013-configure-detect-udevdir-via-pkg-config-fallback-to-.patch
+Patch14:0014-alsactl-Add-monitor-command.patch
+Patch15:0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch
+Patch16:0016-alsactl-monitor-all-cards-as-default.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -83,6 +94,17 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0006-amixer-fix-indentation-when-printing-container-TLV-c.patch ++
>From f1e991e81350e9388ab6cf04a64ac4b4389a588c Mon Sep 17 00:00:00 2001
From: Anssi Hannula 
Date: Tue, 1 Oct 2013 23:46:53 +0300
Subject: [PATCH] amixer: fix indentation when printing container TLV contents

decode_tlv() adds indentation in the beginning, with the expectation
that the TLV will be printed on the line afterwards in a switch-case.

However, in the case of a container TLV the switch-case simply adds
another level of indentation and calls decode_tlv() for the inner TLVs.
This causes the first inner TLV to be printed with too much indentation
and double '|'.

Fix that by printing "container" and a newline for container TLVs, so
that the result is as follows:
  : values=0,0,0,0,0,0,0,0
  | container
| chmap-variable=FL,FR
| chmap-variable=FL,FR,LFE
| chmap-variable=FL,FR,FC

Signed-off-by: Anssi Hannula 
Signed-off-by: Takashi Iwai 
---
 amixer/amixer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/a

commit alsa-utils for openSUSE:Factory

2013-10-03 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-10-03 15:41:43

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-09-11 
11:00:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-10-03 15:41:44.0 +0200
@@ -1,0 +2,8 @@
+Tue Oct  1 12:30:28 CEST 2013 - ti...@suse.de
+
+- Upstream fixes: addition of -z option to alsaloop, and a fix for
+  amixer TLV parser
+  0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
+  0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch
+
+---

New:

  0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
  0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.keaP2D/_old  2013-10-03 15:41:45.0 +0200
+++ /var/tmp/diff_new_pack.keaP2D/_new  2013-10-03 15:41:45.0 +0200
@@ -61,6 +61,8 @@
 Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
 Patch2: 0002-alsaloop-fix-wrong-alias-for-signal.h.patch
 Patch3: 0003-aplay-fix-two-off-by-one-errors.patch
+Patch4: 0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch
+Patch5: 0005-amixer-actually-print-all-TLVs-in-a-container-TLV.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -79,6 +81,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0004-alsaloop-add-z-syslog-option-to-use-syslog-for-error.patch ++
>From 87bcda4b8a12d0fabab0bf4b0c1197089d2f9c4c Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Fri, 26 Jul 2013 16:16:00 +0200
Subject: [PATCH] alsaloop: add -z,--syslog option to use syslog for errors

Signed-off-by: Jaroslav Kysela 
---
 alsaloop/alsaloop.c | 18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c
index 20150dd..3b20682 100644
--- a/alsaloop/alsaloop.c
+++ b/alsaloop/alsaloop.c
@@ -195,6 +195,7 @@ void help(void)
 "-w,--workaround use workaround (serialopen)\n"
 "-U,--xrun  xrun profiling\n"
 "-W,--wake  process wake timeout in ms\n"
+"-z,--sysloguse syslog for errors\n"
 );
printf("\nRecognized sample formats are:");
for (k = 0; k < SND_PCM_FORMAT_LAST; ++k) {
@@ -334,6 +335,14 @@ static int add_oss_mixers(struct loopback *loop,
return 0;
 }
 
+static void enable_syslog(void)
+{
+   if (!use_syslog) {
+   use_syslog = 1;
+   openlog("alsaloop", LOG_NDELAY|LOG_PID, LOG_DAEMON);
+   }
+}
+
 static int parse_config_file(const char *file, snd_output_t *output);
 
 static int parse_config(int argc, char *argv[], snd_output_t *output,
@@ -368,6 +377,7 @@ static int parse_config(int argc, char *argv[], 
snd_output_t *output,
{"ossmixer", 1, NULL, 'O'},
{"workaround", 1, NULL, 'w'},
{"xrun", 0, NULL, 'U'},
+   {"syslog", 0, NULL, 'z'},
{NULL, 0, NULL, 0},
};
int err, morehelp;
@@ -405,7 +415,7 @@ static int parse_config(int argc, char *argv[], 
snd_output_t *output,
while (1) {
int c;
if ((c = getopt_long(argc, argv,
-   
"hdg:P:C:X:Y:l:t:F:f:c:r:s:benvA:S:a:m:T:O:w:UW:",
+   
"hdg:P:C:X:Y:l:t:F:f:c:r:s:benvA:S:a:m:T:O:w:UW:z",
long_option, NULL)) < 0)
break;
switch (c) {
@@ -417,8 +427,7 @@ static int parse_config(int argc, char *argv[], 
snd_output_t *output,
break;
case 'd':
daemonize = 1;
-   use_syslog = 1;
-   openlog("alsaloop", LOG_NDELAY|LOG_PID, LOG_DAEMON);
+   enable_syslog();
break;
case 'P':
arg_pdevice = strdup(optarg);
@@ -561,6 +570,9 @@ static int parse_config(int argc, char *argv[], 
snd_output_t *output,
if (cmdline)
arg_default_wake = arg_wake;
break;
+   case 'z':
+   enable_syslog();
+   break;
}
}
 
-- 
1.8.4

++ 0005-amixer-actually-print-all-TLVs-in-

commit alsa-utils for openSUSE:Factory

2013-09-11 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-09-11 11:00:45

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-09-09 
09:26:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-09-11 11:00:46.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep  9 14:16:52 CEST 2013 - ti...@suse.de
+
+- Upstream fix:
+  0003-aplay-fix-two-off-by-one-errors.patch
+
+---

New:

  0003-aplay-fix-two-off-by-one-errors.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.Gy2VaO/_old  2013-09-11 11:00:47.0 +0200
+++ /var/tmp/diff_new_pack.Gy2VaO/_new  2013-09-11 11:00:47.0 +0200
@@ -60,6 +60,7 @@
 # upstream fix patches
 Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
 Patch2: 0002-alsaloop-fix-wrong-alias-for-signal.h.patch
+Patch3: 0003-aplay-fix-two-off-by-one-errors.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -77,6 +78,7 @@
 # patch -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0003-aplay-fix-two-off-by-one-errors.patch ++
>From 719faff80962a5d93c09980673f08048ae58add6 Mon Sep 17 00:00:00 2001
From: Jurgen Kramer 
Date: Mon, 9 Sep 2013 12:02:29 +0200
Subject: [PATCH] aplay: fix two off by one errors

Attached patch for aplay fixes two off-by-one errors preventing usage
of the last available sample format.

Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index 89c6b06..e0631c4 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -242,7 +242,7 @@ _("Usage: %s [OPTION]... [FILE]...\n"
   )
, command);
printf(_("Recognized sample formats are:"));
-   for (k = 0; k < SND_PCM_FORMAT_LAST; ++k) {
+   for (k = 0; k <= SND_PCM_FORMAT_LAST; ++k) {
const char *s = snd_pcm_format_name(k);
if (s)
printf(" %s", s);
@@ -1114,7 +1114,7 @@ static void 
show_available_sample_formats(snd_pcm_hw_params_t* params)
snd_pcm_format_t format;
 
fprintf(stderr, "Available formats:\n");
-   for (format = 0; format < SND_PCM_FORMAT_LAST; format++) {
+   for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) {
if (snd_pcm_hw_params_test_format(handle, params, format) == 0)
fprintf(stderr, "- %s\n", snd_pcm_format_name(format));
}
-- 
1.8.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2013-09-09 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-09-09 09:26:36

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-07-20 
09:03:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-09-09 09:26:37.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep  6 10:02:34 CEST 2013 - ti...@suse.de
+
+- Upstream fix:
+  0002-alsaloop-fix-wrong-alias-for-signal.h.patch
+
+---

New:

  0002-alsaloop-fix-wrong-alias-for-signal.h.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.UJEOtp/_old  2013-09-09 09:26:38.0 +0200
+++ /var/tmp/diff_new_pack.UJEOtp/_new  2013-09-09 09:26:38.0 +0200
@@ -59,6 +59,7 @@
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
 Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
+Patch2: 0002-alsaloop-fix-wrong-alias-for-signal.h.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -75,6 +76,7 @@
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
 %patch1 -p1
+%patch2 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0002-alsaloop-fix-wrong-alias-for-signal.h.patch ++
>From 8f57464190eb683d9517d8cfbd2cefb6223c6f1d Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Tue, 23 Jul 2013 14:57:05 +0200
Subject: [PATCH] alsaloop: fix wrong alias for signal.h

in POSIX, there is no .

it's merely a legacy alias used by glibc, and the header does nothing
else than including .

so let's do the right thing and use the right name, which works everywhere.

Signed-off-by: John Spencer 
Signed-off-by: Jaroslav Kysela 
---
 alsaloop/alsaloop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c
index e1a36d2..20150dd 100644
--- a/alsaloop/alsaloop.c
+++ b/alsaloop/alsaloop.c
@@ -31,7 +31,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include "alsaloop.h"
 
 struct loopback_thread {
-- 
1.8.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2013-07-20 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-07-20 09:03:05

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-06-18 
09:58:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-07-20 09:03:07.0 +0200
@@ -1,0 +2,13 @@
+Fri Jul 19 15:23:41 CEST 2013 - ti...@suse.de
+
+- remove superfluous ca0106 file (now included in 1.0.27.2)
+
+---
+Fri Jul 19 15:13:27 CEST 2013 - ti...@suse.de
+
+- updated to version 1.0.27.2
+  including all previous fixes
+- fix a typo in alsa-state.service:
+  0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
+
+---

Old:

  0001-Require-alsa-lib-1.0.27.patch
  0002-alsactl-init-ca0106-file-was-omitted.patch
  0003-alsactl-return-back-the-udevrules_DATA-rule-for-90-a.patch
  0004-amixer-Fix-the-hctl-elem-search-bug.patch
  0005-amixer-fix-print_dB-for-0.99-.-0.01-range.patch
  0006-amixer-Print-TLV-of-channel-map-controls.patch
  0007-speaker-test-Fix-wrong-wave-file-played-back-in-chma.patch
  alsa-utils-1.0.27.1.tar.bz2
  ca0106

New:

  0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
  alsa-utils-1.0.27.2.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.LkMh0V/_old  2013-07-20 09:03:08.0 +0200
+++ /var/tmp/diff_new_pack.LkMh0V/_new  2013-07-20 09:03:08.0 +0200
@@ -44,7 +44,7 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
-%define package_version1.0.27.1
+%define package_version1.0.27.2
 Provides:   alsa-conf
 Requires:   alsa
 Requires:   dialog
@@ -52,21 +52,13 @@
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
-Version:1.0.27.1
+Version:1.0.27.2
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
-# missing in 1.0.27.1 tarball
-Source99:   ca0106
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
-Patch1: 0001-Require-alsa-lib-1.0.27.patch
-Patch2: 0002-alsactl-init-ca0106-file-was-omitted.patch 
-Patch3: 
0003-alsactl-return-back-the-udevrules_DATA-rule-for-90-a.patch 
-Patch4: 0004-amixer-Fix-the-hctl-elem-search-bug.patch
-Patch5: 0005-amixer-fix-print_dB-for-0.99-.-0.01-range.patch
-Patch6: 0006-amixer-Print-TLV-of-channel-map-controls.patch
-Patch7: 0007-speaker-test-Fix-wrong-wave-file-played-back-in-chma.patch
+Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -83,13 +75,6 @@
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-cp %{S:99} alsactl/init
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch ++
>From dda4392cd5e87270db044e2838b17e2edc034dc3 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Fri, 19 Jul 2013 14:36:52 +0200
Subject: [PATCH] alsactl: alsa-state.service - fix typo (rkill -> kill)

Signed-off-by: Jaroslav Kysela 
---
 alsactl/alsa-state.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsactl/alsa-state.service.in b/alsactl/alsa-state.service.in
index 768c5a8..56c12c1 100644
--- a/alsactl/alsa-state.service.in
+++ b/alsactl/alsa-state.service.in
@@ -14,4 +14,4 @@ Conflicts=shutdown.target
 [Service]
 Type=simple
 ExecStart=-@sbindir@/alsactl -s -n 19 -c rdaemon
-ExecStop=-@sbindir@/alsactl -s rkill save_and_quit
+ExecStop=-@sbindir@/alsactl -s kill save_and_quit
-- 
1.8.3.1

++ alsa-utils-1.0.27.1.tar.bz2 -> alsa-utils-1.0.27.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-utils-1.0.27.1/alsactl/Makefile.am 
new/alsa-utils-1.0.27.2/alsactl/Makefile.am
--- old/alsa-utils-1.0.27.1/alsactl/Makefile.am 2013-05-21 10:48:28.0 
+0200
+++ new/alsa-utils-1.0.27.2/alsactl/Makefile.am 2013-07-09 17:28:37.0 
+0200
@@ -11,6 +11,9 @@
 alsactl_CFLAGS=$(AM_CFLAGS) -D__USE_GNU 
-DSYS_ASOUNDRC=\"$(ASOUND_STATE_DIR)/asound.state\" 
-DSYS_PIDFILE=\"$(ALSACTL_PIDFILE_DIR)/alsactl.pid\"
 no

commit alsa-utils for openSUSE:Factory

2013-06-18 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-06-18 09:58:06

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-05-28 
07:26:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-06-18 09:58:07.0 +0200
@@ -1,0 +2,14 @@
+Mon Jun 17 10:14:18 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes wrt chmap handling:
+  0006-amixer-Print-TLV-of-channel-map-controls.patch
+  0007-speaker-test-Fix-wrong-wave-file-played-back-in-chma.patch
+
+---
+Wed May 29 11:03:43 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes wrt amixer:
+  0004-amixer-Fix-the-hctl-elem-search-bug.patch
+  0005-amixer-fix-print_dB-for-0.99-.-0.01-range.patch
+
+---

New:

  0004-amixer-Fix-the-hctl-elem-search-bug.patch
  0005-amixer-fix-print_dB-for-0.99-.-0.01-range.patch
  0006-amixer-Print-TLV-of-channel-map-controls.patch
  0007-speaker-test-Fix-wrong-wave-file-played-back-in-chma.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.aj34K8/_old  2013-06-18 09:58:07.0 +0200
+++ /var/tmp/diff_new_pack.aj34K8/_new  2013-06-18 09:58:07.0 +0200
@@ -63,6 +63,10 @@
 Patch1: 0001-Require-alsa-lib-1.0.27.patch
 Patch2: 0002-alsactl-init-ca0106-file-was-omitted.patch 
 Patch3: 
0003-alsactl-return-back-the-udevrules_DATA-rule-for-90-a.patch 
+Patch4: 0004-amixer-Fix-the-hctl-elem-search-bug.patch
+Patch5: 0005-amixer-fix-print_dB-for-0.99-.-0.01-range.patch
+Patch6: 0006-amixer-Print-TLV-of-channel-map-controls.patch
+Patch7: 0007-speaker-test-Fix-wrong-wave-file-played-back-in-chma.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -81,6 +85,10 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 cp %{S:99} alsactl/init
 #
 %if %suse_version < 1020

++ 0004-amixer-Fix-the-hctl-elem-search-bug.patch ++
>From d61924fd247c2cf0280391e076c439c9427732aa Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Mon, 27 May 2013 16:40:26 +0200
Subject: [PATCH] amixer: Fix the hctl elem search bug

Signed-off-by: Jaroslav Kysela 
---
 amixer/amixer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index 2f1521b..92b0f83 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -1105,6 +1105,7 @@ static int cset(int argc, char *argv[], int roflag, int 
keep_handle)
}
return err;
}
+   snd_ctl_elem_info_get_id(info, id); /* FIXME: Remove it when hctl 
find works ok !!! */
if (!roflag) {
snd_ctl_elem_value_set_id(control, id);
if ((err = snd_ctl_elem_read(handle, control)) < 0) {
-- 
1.8.2.3

++ 0005-amixer-fix-print_dB-for-0.99-.-0.01-range.patch ++
>From c80a38dbf53531d57c9bd4ccdc05553bd7fb79a1 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Tue, 28 May 2013 08:43:30 +0200
Subject: [PATCH] amixer: fix print_dB for -0.99 .. -0.01 range

The first number is 0 when input dB (hundreds) is in range -99 .. -1 .
The printed number was positive in this case. This patch fixes this issue.

Reported-by: Tom Becker 
Signed-off-by: Jaroslav Kysela 
---
 amixer/amixer.c | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index 92b0f83..fe83b49 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -431,7 +431,11 @@ static void print_spaces(unsigned int spaces)
 
 static void print_dB(long dB)
 {
-   printf("%li.%02lidB", dB / 100, (dB < 0 ? -dB : dB) % 100);
+   if (dB < 0) {
+   printf("-%li.%02lidB", -dB / 100, -dB % 100);
+   } else {
+   printf("%li.%02lidB", dB / 100, dB % 100);
+   }
 }
 
 static void decode_tlv(unsigned int spaces, unsigned int *tlv, unsigned int 
tlv_size)
-- 
1.8.2.3

++ 0006-amixer-Print-TLV-of-channel-map-controls.patch ++
>From 9fe90a020ccd2662120b498e9a5cdd4ea1b959ba Mon Sep 17 00:00:00 2001
From: David Henningsson 
Date: Fri, 14 Jun 2013 11:41:01 +0200
Subject: [PATCH] amixer: Print TLV of channel map controls

Previously these were written as "unk-25..." which wasn't very user friendly.

Signed-off-by: David Henningsson 
Signed-off-by: Jaroslav Kysela 
---
 amixer/amixer.c | 22 ++
 1 file changed, 22 insertions(+)

dif

commit alsa-utils for openSUSE:Factory

2013-05-27 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-05-28 07:26:42

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-04-19 
09:43:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-05-28 07:26:43.0 +0200
@@ -1,0 +2,18 @@
+Mon May 27 09:42:39 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes:
+  0002-alsactl-init-ca0106-file-was-omitted.patch 
+  0003-alsactl-return-back-the-udevrules_DATA-rule-for-90-a.patch 
+- Add missing ca0106 alsactl init file
+- Revert the udev file drop in the previous commit
+
+---
+Thu May 23 15:44:23 CEST 2013 - ti...@suse.de
+
+- Bump to version 1.0.27.1, including previous fixes
+- Removed requirement of libudev-devel, as the superfluous rules
+  file is dropped in 1.0.27.1.
+- Backport upstream fix:
+  0001-Release-v1.0.27.1.patch
+
+---

Old:

  0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
  0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
  0003-arecord-add-a-missing-break-to-the-capture-loop.patch
  alsa-utils-1.0.27.tar.bz2

New:

  0001-Require-alsa-lib-1.0.27.patch
  0002-alsactl-init-ca0106-file-was-omitted.patch
  0003-alsactl-return-back-the-udevrules_DATA-rule-for-90-a.patch
  alsa-utils-1.0.27.1.tar.bz2
  ca0106



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.3Torwj/_old  2013-05-28 07:26:44.0 +0200
+++ /var/tmp/diff_new_pack.3Torwj/_new  2013-05-28 07:26:44.0 +0200
@@ -44,7 +44,7 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
-%define package_version1.0.27
+%define package_version1.0.27.1
 Provides:   alsa-conf
 Requires:   alsa
 Requires:   dialog
@@ -52,15 +52,17 @@
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
-Version:1.0.27
+Version:1.0.27.1
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
+# missing in 1.0.27.1 tarball
+Source99:   ca0106
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
-Patch1: 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
-Patch2: 
0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
-Patch3: 0003-arecord-add-a-missing-break-to-the-capture-loop.patch
+Patch1: 0001-Require-alsa-lib-1.0.27.patch
+Patch2: 0002-alsactl-init-ca0106-file-was-omitted.patch 
+Patch3: 
0003-alsactl-return-back-the-udevrules_DATA-rule-for-90-a.patch 
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -79,6 +81,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+cp %{S:99} alsactl/init
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0001-Require-alsa-lib-1.0.27.patch ++
>From 2f2576518c8336f5d64ff2a1a0abeda54a1f Mon Sep 17 00:00:00 2001
From: Jordi Mallach 
Date: Fri, 17 May 2013 14:30:46 +0200
Subject: [PATCH] Require alsa-lib 1.0.27.

Both aplay and speaker-test use the new snd_pcm_abort() function, which was
introduced in alsa-lib 1.0.27.

Signed-off-by: Jordi Mallach 
Signed-off-by: Takashi Iwai 
---
 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index 39f2d0d..0e43327 100644
--- a/configure.in
+++ b/configure.in
@@ -32,7 +32,7 @@ AC_PROG_MKDIR_P
 AC_PROG_LN_S
 AC_PROG_SED
 PKG_PROG_PKG_CONFIG
-AM_PATH_ALSA(1.0.24)
+AM_PATH_ALSA(1.0.27)
 if test "x$enable_alsatest" = "xyes"; then
 AC_CHECK_FUNC([snd_ctl_elem_add_enumerated],
  , [AC_ERROR([No user enum control support in alsa-lib])])
-- 
1.8.2.3

++ 0002-alsactl-init-ca0106-file-was-omitted.patch ++
>From 121df3694970d7eded56432c9baa24b8ccd122b1 Mon Sep 17 00:00:00 2001
From: "Gabriel M. Beddingfield" 
Date: Sun, 26 May 2013 15:54:44 -0700
Subject: [PATCH] alsactl init: ca0106 file was omitted

The file alsactl/init/00main includes the line:

CARDINFO{driver}=="CA0106", INCLUDE="ca0106", GOTO="init_end"

However, the file alsactl/init/ca0106 is not making it into the
release tarballs (nor to user installations).

This patch adds the ca0106 file to the build.

Signed-off-by: Gabriel M. Beddingfield 
Signed-off-by: Takashi Iwai 
---
 alsactl/init/Makefile.am | 2 +-
 1 file ch

commit alsa-utils for openSUSE:Factory

2013-04-19 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-04-19 09:43:01

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-04-17 
18:22:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-04-19 09:43:04.0 +0200
@@ -1,0 +2,6 @@
+Thu Apr 18 18:39:38 CEST 2013 - ti...@suse.de
+
+- Upstream fix: arecord: add a missing break to the capture loop
+  0003-arecord-add-a-missing-break-to-the-capture-loop.patch
+
+---

New:

  0003-arecord-add-a-missing-break-to-the-capture-loop.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.FBfvYa/_old  2013-04-19 09:43:05.0 +0200
+++ /var/tmp/diff_new_pack.FBfvYa/_new  2013-04-19 09:43:05.0 +0200
@@ -60,6 +60,7 @@
 # upstream fix patches
 Patch1: 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
 Patch2: 
0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
+Patch3: 0003-arecord-add-a-missing-break-to-the-capture-loop.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -77,6 +78,7 @@
 # patch -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0003-arecord-add-a-missing-break-to-the-capture-loop.patch ++
>From b4f34ac26037c10ac51c4bb29203500165848977 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 17 Apr 2013 08:34:34 +0200
Subject: [PATCH] arecord: add a missing break to the capture loop

Signed-off-by: Jaroslav Kysela 
---
 aplay/aplay.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index 5bdc39c..000d25b 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -3021,6 +3021,9 @@ static void capture(char *orig_name)
fd = -1;
}
 
+   if (in_aborting)
+   break;
+
/* repeat the loop when format is raw without timelimit or
 * requested counts of data are recorded
 */
-- 
1.8.2.1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2013-04-17 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-04-17 17:35:58

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-04-16 
06:43:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-04-17 17:35:59.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 15 18:31:29 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Added patch from upstream, which fixes buffer overflow,
+  0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
+
+---

New:

  0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.vHGe10/_old  2013-04-17 17:36:01.0 +0200
+++ /var/tmp/diff_new_pack.vHGe10/_new  2013-04-17 17:36:01.0 +0200
@@ -59,6 +59,7 @@
 # Patch:  alsa-utils-git-fixes.diff
 # upstream fix patches
 Patch1: 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
+Patch2: 
0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -75,6 +76,7 @@
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
 %patch1 -p1
+%patch2 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++ 0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch ++
>From 95788fea25c1a59985828d4b91af0772d077600b Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Mon, 15 Apr 2013 14:44:13 +0200
Subject: [PATCH 1/1] alsactl: Fix the string size for the lock file contents

The string length is 10 characters + LF + '\0' = 12 characters.

Signed-off-by: Jaroslav Kysela 
---
 alsactl/lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsactl/lock.c b/alsactl/lock.c
index d34d013..fce208b 100644
--- a/alsactl/lock.c
+++ b/alsactl/lock.c
@@ -35,7 +35,7 @@ static int state_lock_(const char *file, int lock, int 
timeout)
int fd = -1, err = 0;
struct flock lck;
struct stat st;
-   char lcktxt[11];
+   char lcktxt[12];
char *nfile;
 
if (!do_lock)
-- 
1.7.11.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2013-04-15 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-04-16 06:43:00

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-04-14 
10:12:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-04-16 06:43:02.0 +0200
@@ -1,0 +2,5 @@
+Mon Apr 15 11:26:41 CEST 2013 - ti...@suse.de
+
+- Replace the previous fix with the upstream patch
+
+---

Old:

  service_typo.patch

New:

  0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.5hjNTp/_old  2013-04-16 06:43:04.0 +0200
+++ /var/tmp/diff_new_pack.5hjNTp/_new  2013-04-16 06:43:04.0 +0200
@@ -57,8 +57,9 @@
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
-# PATCH-FIX-OPENSUSE service_typo.patch -- Fixes the typo in systemd service
-Patch0: service_typo.patch
+# upstream fix patches
+Patch1: 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
+#
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -73,7 +74,8 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
-%patch0 -p1
+%patch1 -p1
+#
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch ++
>From 3616b1fe3ca603832b2f88abeb722cba2f0dde7e Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Mon, 15 Apr 2013 11:20:41 +0200
Subject: [PATCH] alsactl: Fix a typo in systemd alsa-restore.service

Signed-off-by: Takashi Iwai 
---
 alsactl/alsa-restore.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsactl/alsa-restore.service.in b/alsactl/alsa-restore.service.in
index ab3c30d..245a439 100644
--- a/alsactl/alsa-restore.service.in
+++ b/alsactl/alsa-restore.service.in
@@ -12,6 +12,6 @@ Before=shutdown.target
 Conflicts=shutdown.target
 
 [Service]
-Type=oneshop
+Type=oneshot
 ExecStart=-@sbindir@/alsactl restore
 StandardOutput=syslog
-- 
1.8.2.1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-04-14 10:12:13

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2013-02-04 
19:02:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-04-14 10:12:14.0 +0200
@@ -1,0 +2,13 @@
+Sat Apr 13 15:39:49 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Added service_typo.patch, fixes alsa-restore service not starting
+
+---
+Fri Apr 12 15:28:31 CEST 2013 - ti...@suse.de
+
+- Update to version 1.0.27:
+  including all previous fixes; all 00*-* patches dropped
+  * Add support for alsactl daemon mode
+  * Add snd_pcm_abort() support in aplay
+
+---

Old:

  0001-speaker-test-Add-support-for-channel-mapping-API.patch
  0002-aplay-Add-support-for-channel-mapping.patch
  0003-aplay-More-support-for-channel-map-option.patch
  0004-speaker-test-Update-man-page-for-chmap-option.patch
  0005-aplay-fix-typo-silence-warning.patch
  0006-alsamixer-fix-handling-of-removed-controls.patch
  0007-aplay-Show-usage-if-no-parameter-is-passed.patch
  0008-amixer-fix-rounding-of-relative-changes.patch
  0009-amixer-Fix-parsing-container-TLV-entries.patch
  0010-alsaloop-Make-alsaloop-working-without-libsamplerate.patch
  0011-alsaloop-Fix-missing-endif.patch
  0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch
  0013-configure-Fix-obsolete-AM_CONFIG_HEADER-macro.patch
  0014-speaker-test-increase-the-maximum-supported-rate-to-.patch
  0015-amixer-Fix-dB-value-outputs-in-amixer-contents.patch
  alsa-utils-1.0.26.tar.bz2

New:

  alsa-utils-1.0.27.tar.bz2
  service_typo.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.9smpZY/_old  2013-04-14 10:12:15.0 +0200
+++ /var/tmp/diff_new_pack.9smpZY/_new  2013-04-14 10:12:15.0 +0200
@@ -44,7 +44,7 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
-%define package_version1.0.26
+%define package_version1.0.27
 Provides:   alsa-conf
 Requires:   alsa
 Requires:   dialog
@@ -52,27 +52,13 @@
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
-Version:1.0.26
+Version:1.0.27
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
-Patch1: 0001-speaker-test-Add-support-for-channel-mapping-API.patch
-Patch2: 0002-aplay-Add-support-for-channel-mapping.patch
-Patch3: 0003-aplay-More-support-for-channel-map-option.patch
-Patch4: 0004-speaker-test-Update-man-page-for-chmap-option.patch
-Patch5: 0005-aplay-fix-typo-silence-warning.patch
-Patch6: 0006-alsamixer-fix-handling-of-removed-controls.patch
-Patch7: 0007-aplay-Show-usage-if-no-parameter-is-passed.patch
-Patch8: 0008-amixer-fix-rounding-of-relative-changes.patch
-Patch9: 0009-amixer-Fix-parsing-container-TLV-entries.patch
-Patch10:0010-alsaloop-Make-alsaloop-working-without-libsamplerate.patch
-Patch11:0011-alsaloop-Fix-missing-endif.patch
-Patch12:0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch
-Patch13:0013-configure-Fix-obsolete-AM_CONFIG_HEADER-macro.patch
-Patch14:0014-speaker-test-increase-the-maximum-supported-rate-to-.patch
-Patch15:0015-amixer-Fix-dB-value-outputs-in-amixer-contents.patch
-#
+# PATCH-FIX-OPENSUSE service_typo.patch -- Fixes the typo in systemd service
+Patch0: service_typo.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -87,21 +73,7 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
+%patch0 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif
@@ -155,6 +127,7 @@
 %{_udevdir}
 %if %use_systemd
 %{_unitdir}/*.service
+%{_unitdir}/basic.target.wants/alsa-state.service
 %{_unitdir}/basic.target.wants/alsa-res

commit alsa-utils for openSUSE:Factory

2013-02-04 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-02-04 19:02:39

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-12-03 
09:28:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2013-02-04 19:02:43.0 +0100
@@ -1,0 +2,9 @@
+Fri Feb  1 08:04:39 CET 2013 - ti...@suse.de
+
+- Backport a few fix patches from upstream git tree:
+  0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch
+  0013-configure-Fix-obsolete-AM_CONFIG_HEADER-macro.patch
+  0014-speaker-test-increase-the-maximum-supported-rate-to-.patch
+  0015-amixer-Fix-dB-value-outputs-in-amixer-contents.patch
+
+---

New:

  0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch
  0013-configure-Fix-obsolete-AM_CONFIG_HEADER-macro.patch
  0014-speaker-test-increase-the-maximum-supported-rate-to-.patch
  0015-amixer-Fix-dB-value-outputs-in-amixer-contents.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.l0dFBV/_old  2013-02-04 19:02:44.0 +0100
+++ /var/tmp/diff_new_pack.l0dFBV/_new  2013-02-04 19:02:44.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -68,6 +68,10 @@
 Patch9: 0009-amixer-Fix-parsing-container-TLV-entries.patch
 Patch10:0010-alsaloop-Make-alsaloop-working-without-libsamplerate.patch
 Patch11:0011-alsaloop-Fix-missing-endif.patch
+Patch12:0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch
+Patch13:0013-configure-Fix-obsolete-AM_CONFIG_HEADER-macro.patch
+Patch14:0014-speaker-test-increase-the-maximum-supported-rate-to-.patch
+Patch15:0015-amixer-Fix-dB-value-outputs-in-amixer-contents.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -94,6 +98,10 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch ++
>From de61ec66fe303888bc5db49b5989e37bb1ddfca5 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Thu, 13 Dec 2012 10:53:19 +0100
Subject: [PATCH 12/15] aplay: Add the support for big-endian WAV format (RIFX)

Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c   |   95 ++--
 aplay/formats.h |7 
 2 files changed, 73 insertions(+), 29 deletions(-)

--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -892,11 +892,20 @@ static ssize_t test_wavefile(int fd, u_c
WaveFmtBody *f;
WaveChunkHeader *c;
u_int type, len;
+   unsigned short format, channels;
+   int big_endian, native_format;
 
if (size < sizeof(WaveHeader))
return -1;
-   if (h->magic != WAV_RIFF || h->type != WAV_WAVE)
+   if (h->magic == WAV_RIFF)
+   big_endian = 0;
+   else if (h->magic == WAV_RIFX)
+   big_endian = 1;
+   else
return -1;
+   if (h->type != WAV_WAVE)
+   return -1;
+
if (size > sizeof(WaveHeader)) {
check_wavefile_space(buffer, size - sizeof(WaveHeader), blimit);
memcpy(buffer, _buffer + sizeof(WaveHeader), size - 
sizeof(WaveHeader));
@@ -907,7 +916,7 @@ static ssize_t test_wavefile(int fd, u_c
test_wavefile_read(fd, buffer, &size, sizeof(WaveChunkHeader), 
__LINE__);
c = (WaveChunkHeader*)buffer;
type = c->type;
-   len = LE_INT(c->length);
+   len = TO_CPU_INT(c->length, big_endian);
len += len % 2;
if (size > sizeof(WaveChunkHeader))
memmove(buffer, buffer + sizeof(WaveChunkHeader), size 
- sizeof(WaveChunkHeader));
@@ -929,7 +938,8 @@ static ssize_t test_wavefile(int fd, u_c
check_wavefile_space(buffer, len, blimit);
test_wavefile_read(fd, buffer, &size, len, __LINE__);
f = (WaveFmtBody*) buffer;
-   if (LE_SHORT(f->format) == WAV_FMT_EXTENSIBLE) {
+   format = TO_CPU_SHORT(f->format, big_endian);
+   if (

commit alsa-utils for openSUSE:Factory

2012-12-03 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-12-03 09:28:21

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-11-13 
09:52:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-12-03 09:28:22.0 +0100
@@ -1,0 +2,24 @@
+Sat Dec  1 11:14:26 CET 2012 - ti...@suse.de
+
+- Add libsamplerate-devel to buildrequires for alsaloop
+  (bnc#792173)
+
+---
+Fri Nov 30 14:38:07 CET 2012 - ti...@suse.de
+
+- Build with libsamplerate for aloop (bnc#792173)
+- Add a patch to handle alsaloop properly without libsamplerate
+  (bnc#792173):
+  0010-alsaloop-Make-alsaloop-working-without-libsamplerate.patch
+  0011-alsaloop-Fix-missing-endif.patch
+
+---
+Thu Nov 29 18:41:34 CET 2012 - ti...@suse.de
+
+- Backport fixes from upstream
+  0006-alsamixer-fix-handling-of-removed-controls.patch
+  0007-aplay-Show-usage-if-no-parameter-is-passed.patch
+  0008-amixer-fix-rounding-of-relative-changes.patch
+  0009-amixer-Fix-parsing-container-TLV-entries.patch
+
+---

New:

  0006-alsamixer-fix-handling-of-removed-controls.patch
  0007-aplay-Show-usage-if-no-parameter-is-passed.patch
  0008-amixer-fix-rounding-of-relative-changes.patch
  0009-amixer-Fix-parsing-container-TLV-entries.patch
  0010-alsaloop-Make-alsaloop-working-without-libsamplerate.patch
  0011-alsaloop-Fix-missing-endif.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.A6fxJs/_old  2012-12-03 09:28:24.0 +0100
+++ /var/tmp/diff_new_pack.A6fxJs/_new  2012-12-03 09:28:24.0 +0100
@@ -37,6 +37,7 @@
 Name:   alsa-utils
 BuildRequires:  alsa-devel
 BuildRequires:  automake
+BuildRequires:  libsamplerate-devel
 %if %suse_version > 1200
 BuildRequires:  libudev-devel
 %endif
@@ -61,6 +62,12 @@
 Patch3: 0003-aplay-More-support-for-channel-map-option.patch
 Patch4: 0004-speaker-test-Update-man-page-for-chmap-option.patch
 Patch5: 0005-aplay-fix-typo-silence-warning.patch
+Patch6: 0006-alsamixer-fix-handling-of-removed-controls.patch
+Patch7: 0007-aplay-Show-usage-if-no-parameter-is-passed.patch
+Patch8: 0008-amixer-fix-rounding-of-relative-changes.patch
+Patch9: 0009-amixer-Fix-parsing-container-TLV-entries.patch
+Patch10:0010-alsaloop-Make-alsaloop-working-without-libsamplerate.patch
+Patch11:0011-alsaloop-Fix-missing-endif.patch
 #
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
@@ -81,6 +88,12 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0006-alsamixer-fix-handling-of-removed-controls.patch ++
>From f2826072732951b1d4e1bacd8115f9e6a98932d5 Mon Sep 17 00:00:00 2001
From: Clemens Ladisch 
Date: Fri, 19 Oct 2012 12:16:33 +0200
Subject: [PATCH 6/9] alsamixer: fix handling of removed controls

When we get a notification that an element has been removed, we have to
recreate our internal control representation to avoid accessing freed
memory.  (And the checking for SND_CTL_EVENT_MASK_REMOVE should actually
be done correctly while we're at it.)

Signed-off-by: Clemens Ladisch 
---
 alsamixer/mainloop.c  |  9 -
 alsamixer/mixer_display.c |  1 -
 alsamixer/mixer_widget.c  | 20 
 alsamixer/mixer_widget.h  |  1 +
 4 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/alsamixer/mainloop.c b/alsamixer/mainloop.c
index dbfef9b..351f57f 100644
--- a/alsamixer/mainloop.c
+++ b/alsamixer/mainloop.c
@@ -128,8 +128,15 @@ void mainloop(void)
}
if (!active_widget)
break;
-   if (controls_changed)
+   if (controls_changed) {
+   controls_changed = FALSE;
+   create_controls();
+   control_values_changed = FALSE;
display_controls();
+   } else if (control_values_changed) {
+   control_values_changed = FALSE;
+   display_controls();
+   }
}
free(pollfds);
 }
diff --git a/alsamixer/mixer_display.c b/alsamixer/mixer_display.c
index 8ba396a..b1f79d0 100644
--- a

commit alsa-utils for openSUSE:Factory

2012-11-13 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-11-13 09:52:26

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-11-05 
06:30:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-11-13 09:52:26.0 +0100
@@ -1,0 +2,6 @@
+Mon Nov 12 16:37:20 CET 2012 - ti...@suse.de
+
+- Fix build breakage on 11.4
+- Correct udev rules path (the recent udev places /usr/lib/udev)
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.3WvWzk/_old  2012-11-13 09:52:28.0 +0100
+++ /var/tmp/diff_new_pack.3WvWzk/_new  2012-11-13 09:52:28.0 +0100
@@ -21,14 +21,25 @@
 %define use_systemd1
 BuildRequires:  systemd
 %define use_varlib 1
+%if %suse_version == 1140
+%define _unitdir /lib/systemd/system
+%endif
 %else
 %define use_systemd0
 %define use_varlib 0
 %endif
+%if %suse_version > 1200
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%else
+%define _udevdir /lib/udev
+%endif
 
 Name:   alsa-utils
 BuildRequires:  alsa-devel
 BuildRequires:  automake
+%if %suse_version > 1200
+BuildRequires:  libudev-devel
+%endif
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
@@ -90,6 +101,7 @@
 %if %suse_version < 1030
 opts="$opts --disable-xmlto"
 %endif
+opts="$opts --with-udev-rules-dir=%{_udevdir}/rules.d"
 %configure --with-curses=ncursesw $opts
 make %{?_smp_mflags}
 
@@ -119,7 +131,7 @@
 %{_sbindir}/*
 %{_datadir}/sounds/alsa
 %{_datadir}/alsa
-/lib/udev
+%{_udevdir}
 %if %use_systemd
 %{_unitdir}/*.service
 %{_unitdir}/basic.target.wants/alsa-restore.service

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2012-11-04 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-11-05 06:30:30

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-10-18 
15:19:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-11-05 06:30:33.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov  3 17:18:45 UTC 2012 - crrodrig...@opensuse.org
+
+- Fix systemd units location in factory. 
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.9uMiUb/_old  2012-11-05 06:30:35.0 +0100
+++ /var/tmp/diff_new_pack.9uMiUb/_new  2012-11-05 06:30:35.0 +0100
@@ -19,6 +19,7 @@
 #
 %if %suse_version > 1130
 %define use_systemd1
+BuildRequires:  systemd
 %define use_varlib 1
 %else
 %define use_systemd0
@@ -81,7 +82,7 @@
 autoreconf -fi
 opts=""
 %if %use_systemd
-opts="$opts --with-systemdsystemunitdir=/lib/systemd/system"
+opts="$opts --with-systemdsystemunitdir=%{_unitdir}"
 %endif
 %if ! %use_varlib
 opts="$opts --with-asound-state-dir=/etc"
@@ -101,7 +102,7 @@
 done
 %find_lang %{name} --all-name
 %if %use_systemd
-ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service
+ln -s alsa-restore.service %{buildroot}%{_unitdir}/alsasound.service
 %endif
 %if %use_varlib
 mkdir -p $RPM_BUILD_ROOT/var/lib/alsa
@@ -120,7 +121,9 @@
 %{_datadir}/alsa
 /lib/udev
 %if %use_systemd
-/lib/systemd
+%{_unitdir}/*.service
+%{_unitdir}/basic.target.wants/alsa-restore.service
+%{_unitdir}/shutdown.target.wants/alsa-store.service
 %endif
 %if %use_varlib
 /var/lib/alsa

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2012-10-18 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-10-18 15:19:08

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-09-11 
09:03:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-10-18 15:19:10.0 +0200
@@ -1,0 +2,6 @@
+Wed Oct 17 10:10:38 CEST 2012 - ti...@suse.de
+
+- backport from upstream tree:
+  * add support for the new chmap API
+
+---

New:

  0001-speaker-test-Add-support-for-channel-mapping-API.patch
  0002-aplay-Add-support-for-channel-mapping.patch
  0003-aplay-More-support-for-channel-map-option.patch
  0004-speaker-test-Update-man-page-for-chmap-option.patch
  0005-aplay-fix-typo-silence-warning.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.gN59uT/_old  2012-10-18 15:19:11.0 +0200
+++ /var/tmp/diff_new_pack.gN59uT/_new  2012-10-18 15:19:11.0 +0200
@@ -44,6 +44,12 @@
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
+Patch1: 0001-speaker-test-Add-support-for-channel-mapping-API.patch
+Patch2: 0002-aplay-Add-support-for-channel-mapping.patch
+Patch3: 0003-aplay-More-support-for-channel-map-option.patch
+Patch4: 0004-speaker-test-Update-man-page-for-chmap-option.patch
+Patch5: 0005-aplay-fix-typo-silence-warning.patch
+#
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -58,6 +64,11 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0001-speaker-test-Add-support-for-channel-mapping-API.patch ++
>From 951cb2c2974293db6e12ef067ae7001074887932 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Tue, 11 Sep 2012 11:36:45 +0200
Subject: [PATCH 1/5] speaker-test: Add support for channel mapping API

The surround channel map follows the given channel map from the
driver if available.

Also, the channels can be specified manually via -m option.
Pass the channel map like "FL,FR,FC,LFE".

Signed-off-by: Takashi Iwai 
---
 speaker-test/speaker-test.c |  139 +++-
 1 file changed, 124 insertions(+), 15 deletions(-)

--- a/speaker-test/speaker-test.c
+++ b/speaker-test/speaker-test.c
@@ -60,6 +60,10 @@
 #include 
 #endif
 
+#ifdef SND_CHMAP_API_VERSION
+#define CONFIG_SUPPORT_CHMAP   1
+#endif
+
 enum {
   TEST_PINK_NOISE = 1,
   TEST_SINE,
@@ -100,6 +104,11 @@ static const char *given_test_wav_file =
 static char *wav_file_dir = SOUNDSDIR;
 static int debug = 0;
 
+#ifdef CONFIG_SUPPORT_CHMAP
+static snd_pcm_chmap_t *channel_map;
+static int channel_map_set;
+#endif
+
 static const char *const channel_name[MAX_CHANNELS] = {
   /*  0 */ N_("Front Left"),
   /*  1 */ N_("Front Right"),
@@ -143,6 +152,65 @@ static const int   channels8[] = {
   6, /* Side Left   */
   5, /* LFE */
 };
+
+static int get_mapped_channel(int chn)
+{
+#ifdef CONFIG_SUPPORT_CHMAP
+  static const int maps[MAX_CHANNELS] = {
+SND_CHMAP_FL,
+SND_CHMAP_FR,
+SND_CHMAP_RL,
+SND_CHMAP_RR,
+SND_CHMAP_FC,
+SND_CHMAP_LFE,
+SND_CHMAP_SL,
+SND_CHMAP_SR,
+  };
+
+  if (channel_map && maps[chn]) {
+int i;
+for (i = 0; i < channel_map->channels; i++) {
+  if (channel_map->pos[i] == maps[chn])
+   return i;
+}
+  }
+#endif
+  return chn;
+}
+
+static int get_speaker_channel(int chn)
+{
+#ifdef CONFIG_SUPPORT_CHMAP
+  if (channel_map_set)
+return chn;
+#endif
+
+  switch (channels) {
+  case 4:
+chn = channels4[chn];
+break;
+  case 6:
+chn = channels6[chn];
+break;
+  case 8:
+chn = channels8[chn];
+break;
+  }
+
+  return get_mapped_channel(chn);
+}
+
+static const char *get_channel_name(int chn)
+{
+#ifdef CONFIG_SUPPORT_CHMAP
+  if (channel_map_set && chn < channel_map->channels) {
+const char *name = snd_pcm_chmap_long_name(channel_map->pos[chn]);
+return name ? name : "Unknown";
+  }
+#endif
+  return gettext(channel_name[chn]);
+}
+
 static const int   supported_formats[] = {
   SND_PCM_FORMAT_S8,
   SND_PCM_FORMAT_S16_LE,
@@ -519,6 +587,31 @@ static int set_sw

commit alsa-utils for openSUSE:Factory

2012-09-11 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-09-11 09:03:53

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-06-25 
12:20:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-09-11 09:03:54.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 10 15:24:42 CEST 2012 - ti...@suse.de
+
+- Updated to version 1.0.26; including previous fixes
+
+---

Old:

  0001-Fix-the-examples-in-aplay.1.patch
  0002-Trivial-fixes-in-INSTALL-file.patch
  0004-alsaloop-Improve-xrun_sync-fill-missing-playback-sam.patch
  0005-aplay-option-to-dump-HW-parameters.patch
  0006-amixer-Add-the-support-for-mapped-volumes-like-alsam.patch
  0007-aplay-arecord-option-to-treat-any-xrun-as-fatal.patch
  0008-amixer-alsamixer-Add-description-of-volume-mapping.patch
  0009-configure.in-look-for-ncurses-pkg-config-first.patch
  0010-configure.in-use-AS_HELP_STRING-everywhere.patch
  0011-alsactl-Do-not-access-other-cards-than-specified-for.patch
  0012-aplay-print-vu-meter-to-stderr-not-stdout.patch
  0013-alsaloop-fix-the-avail_min-setup.patch
  0014-alsactl-Read-only-.conf-files-when-a-directory-is-pa.patch
  0015-alsactl-Add-reference-to-alsactl_init-7-in-alsactl-m.patch
  0016-aseqnet-Remove-obsoleted-.LO-entry-from-man-page.patch
  alsa-utils-1.0.25.tar.bz2

New:

  alsa-utils-1.0.26.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.tESBYm/_old  2012-09-11 09:03:58.0 +0200
+++ /var/tmp/diff_new_pack.tESBYm/_new  2012-09-11 09:03:58.0 +0200
@@ -31,7 +31,7 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
-%define package_version1.0.25
+%define package_version1.0.26
 Provides:   alsa-conf
 Requires:   alsa
 Requires:   dialog
@@ -39,26 +39,11 @@
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
-Version:1.0.25
+Version:1.0.26
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
-Patch1: 0001-Fix-the-examples-in-aplay.1.patch
-Patch2: 0002-Trivial-fixes-in-INSTALL-file.patch
-Patch4: 0004-alsaloop-Improve-xrun_sync-fill-missing-playback-sam.patch
-Patch5: 0005-aplay-option-to-dump-HW-parameters.patch
-Patch6: 0006-amixer-Add-the-support-for-mapped-volumes-like-alsam.patch
-Patch7: 0007-aplay-arecord-option-to-treat-any-xrun-as-fatal.patch
-Patch8: 0008-amixer-alsamixer-Add-description-of-volume-mapping.patch
-Patch9: 0009-configure.in-look-for-ncurses-pkg-config-first.patch
-Patch10:0010-configure.in-use-AS_HELP_STRING-everywhere.patch
-Patch11:0011-alsactl-Do-not-access-other-cards-than-specified-for.patch
-Patch12:0012-aplay-print-vu-meter-to-stderr-not-stdout.patch
-Patch13:0013-alsaloop-fix-the-avail_min-setup.patch
-Patch14:0014-alsactl-Read-only-.conf-files-when-a-directory-is-pa.patch
-Patch15:0015-alsactl-Add-reference-to-alsactl_init-7-in-alsactl-m.patch
-Patch16:0016-aseqnet-Remove-obsoleted-.LO-entry-from-man-page.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -73,21 +58,6 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ alsa-utils-1.0.25.tar.bz2 -> alsa-utils-1.0.26.tar.bz2 ++
 15914 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2012-06-25 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-06-25 12:20:45

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-06-01 
07:19:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-06-25 12:20:47.0 +0200
@@ -1,0 +2,13 @@
+Wed Jun 20 18:19:21 CEST 2012 - ti...@suse.de
+
+- Fix the installation of postinit rules
+- Add (empty) preinit directory for alsactl init as a placeholder
+
+---
+Fri Jun 15 15:41:10 CEST 2012 - ti...@suse.de
+
+- Make beep silent as default (bnc#767270)
+- Backport fixes for alsactl init
+- Fix invalid .LO entry in man page
+
+---

New:

  0014-alsactl-Read-only-.conf-files-when-a-directory-is-pa.patch
  0015-alsactl-Add-reference-to-alsactl_init-7-in-alsactl-m.patch
  0016-aseqnet-Remove-obsoleted-.LO-entry-from-man-page.patch
  01beep.conf



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.LWnGVd/_old  2012-06-25 12:20:48.0 +0200
+++ /var/tmp/diff_new_pack.LWnGVd/_new  2012-06-25 12:20:48.0 +0200
@@ -42,6 +42,7 @@
 Version:1.0.25
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
+Source1:01beep.conf
 # Patch:  alsa-utils-git-fixes.diff
 Patch1: 0001-Fix-the-examples-in-aplay.1.patch
 Patch2: 0002-Trivial-fixes-in-INSTALL-file.patch
@@ -55,6 +56,9 @@
 Patch11:0011-alsactl-Do-not-access-other-cards-than-specified-for.patch
 Patch12:0012-aplay-print-vu-meter-to-stderr-not-stdout.patch
 Patch13:0013-alsaloop-fix-the-avail_min-setup.patch
+Patch14:0014-alsactl-Read-only-.conf-files-when-a-directory-is-pa.patch
+Patch15:0015-alsactl-Add-reference-to-alsactl_init-7-in-alsactl-m.patch
+Patch16:0016-aseqnet-Remove-obsoleted-.LO-entry-from-man-page.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -81,6 +85,9 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif
@@ -106,6 +113,11 @@
 
 %install
 %makeinstall
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/alsa/init/preinit
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/alsa/init/postinit
+for i in %{_sourcedir}/[0-9]*.conf; do
+  install -c -m 0644 $i $RPM_BUILD_ROOT%{_datadir}/alsa/init/postinit
+done
 %find_lang %{name} --all-name
 %if %use_systemd
 ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service

++ 0014-alsactl-Read-only-.conf-files-when-a-directory-is-pa.patch ++
>From c68a3d02d161ccb6358620fb6442bc5c194f20f1 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Thu, 14 Jun 2012 13:14:48 +0200
Subject: [PATCH 14/15] alsactl: Read only *.conf files when a directory is
 passed via INCLUDE

When alsactl init is invoked and a directory path is passed to INCLUDE
command in the config file, read only *.conf files in that directory.
This will avoid reading backup files or invalid files that have been
created accidentally.

Also by using scandir() with alphasort(), alsactl reads the files in
alphabetical order.  Thus it's highly recommended to use some number
prefix to the file name for assuring the order.

Signed-off-by: Takashi Iwai 
---
 alsactl/alsactl_init.xml |   10 +-
 alsactl/init_parse.c |   35 +--
 2 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/alsactl/alsactl_init.xml b/alsactl/alsactl_init.xml
index eefe9ef..bce26f5 100644
--- a/alsactl/alsactl_init.xml
+++ b/alsactl/alsactl_init.xml
@@ -474,7 +474,15 @@
 
   INCLUDE
   
-Include specified filename or all files in specified 
directory
+Include the specified filename or files in specified 
directory.
+   
+   
+   When a directory is specified, only the files with the
+   extension ".conf" are read.
+   Also they are read in the alphabetical order.
+   Thus it's highly recommended to use some number prefix
+   (e.g. "01-something.conf") to assure the order of execucions.
+   
   
 
 
diff --git a/alsactl/init_parse.c b/alsactl/init_parse.c
index 51b515c..8a7173b 

commit alsa-utils for openSUSE:Factory

2012-05-31 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-06-01 07:19:27

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2012-01-27 
15:16:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-06-01 07:19:37.0 +0200
@@ -1,0 +2,14 @@
+Tue May 29 11:25:14 CEST 2012 - ti...@suse.de
+
+- backport fix patches from upstream:
+  * Some document fixes
+  * Improve xrun_sync in alsaloop
+  * Add option to dump HW parameters to aplay
+  * Add the support for mapped volumes to amixer
+  * Add option to tread any xrun as fatal to aplay/arecord
+  * configure.in fixes
+  * alsactl: Don't access other cards than specified
+  * aplay prints Vu-meter to stderr now
+  * fix the avail_min setup in alsaloop
+
+---

New:

  0001-Fix-the-examples-in-aplay.1.patch
  0002-Trivial-fixes-in-INSTALL-file.patch
  0004-alsaloop-Improve-xrun_sync-fill-missing-playback-sam.patch
  0005-aplay-option-to-dump-HW-parameters.patch
  0006-amixer-Add-the-support-for-mapped-volumes-like-alsam.patch
  0007-aplay-arecord-option-to-treat-any-xrun-as-fatal.patch
  0008-amixer-alsamixer-Add-description-of-volume-mapping.patch
  0009-configure.in-look-for-ncurses-pkg-config-first.patch
  0010-configure.in-use-AS_HELP_STRING-everywhere.patch
  0011-alsactl-Do-not-access-other-cards-than-specified-for.patch
  0012-aplay-print-vu-meter-to-stderr-not-stdout.patch
  0013-alsaloop-fix-the-avail_min-setup.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.1iQV1K/_old  2012-06-01 07:19:38.0 +0200
+++ /var/tmp/diff_new_pack.1iQV1K/_new  2012-06-01 07:19:38.0 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 #
 %if %suse_version > 1130
 %define use_systemd1
@@ -32,7 +33,9 @@
 BuildRequires:  xmlto
 %define package_version1.0.25
 Provides:   alsa-conf
-Requires:   dialog pciutils alsa
+Requires:   alsa
+Requires:   dialog
+Requires:   pciutils
 Summary:Advanced Linux Sound Architecture Utilities
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
@@ -40,6 +43,18 @@
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 # Patch:  alsa-utils-git-fixes.diff
+Patch1: 0001-Fix-the-examples-in-aplay.1.patch
+Patch2: 0002-Trivial-fixes-in-INSTALL-file.patch
+Patch4: 0004-alsaloop-Improve-xrun_sync-fill-missing-playback-sam.patch
+Patch5: 0005-aplay-option-to-dump-HW-parameters.patch
+Patch6: 0006-amixer-Add-the-support-for-mapped-volumes-like-alsam.patch
+Patch7: 0007-aplay-arecord-option-to-treat-any-xrun-as-fatal.patch
+Patch8: 0008-amixer-alsamixer-Add-description-of-volume-mapping.patch
+Patch9: 0009-configure.in-look-for-ncurses-pkg-config-first.patch
+Patch10:0010-configure.in-use-AS_HELP_STRING-everywhere.patch
+Patch11:0011-alsactl-Do-not-access-other-cards-than-specified-for.patch
+Patch12:0012-aplay-print-vu-meter-to-stderr-not-stdout.patch
+Patch13:0013-alsaloop-fix-the-avail_min-setup.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -54,6 +69,18 @@
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0001-Fix-the-examples-in-aplay.1.patch ++
>From 5b91ee7f61d9d743bb30b3dc0d98422bb0cd3092 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Mon, 6 Feb 2012 14:58:03 +0100
Subject: [PATCH 01/13] Fix the examples in aplay.1

Signed-off-by: Jaroslav Kysela 
---
 aplay/aplay.1 |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aplay/aplay.1 b/aplay/aplay.1
index 8ccf556..2acaed5 100644
--- a/aplay/aplay.1
+++ b/aplay/aplay.1
@@ -213,14 +213,14 @@ pcm.copy {
 .fi
 
 .TP
-\fBarecord \-t wav \-max-file_time 30 mon.wav\fP
+\fBarecord \-t wav \-\-max-file-time 30 mon.wav\fP
 Record from the default audio source in monaural, 8,000 samples
 per second, 8 bits per sample.  Start a new file every
 30

commit alsa-utils for openSUSE:Factory

2012-01-27 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2012-01-27 15:16:36

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2011-12-25 
17:33:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2012-01-27 15:16:40.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 25 11:12:10 CET 2012 - ti...@suse.de
+
+- updated to version 1.0.25; including all previous fixes
+
+---

Old:

  0001-alsamixer-fix-display-of-active-inactive-controls.patch
  0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
  0003-alsaloop-another-try-to-force-correct-formats-for-li.patch
  0004-alsamixer-fix-build-on-uClibc.patch
  0005-alsactl-init-Mute-CD-Playback-volume-by-default.patch
  0006-Revert-alsactl-Display-help-for-names-command.patch
  0007-alsaucm-Add-list1-command-for-non-tuple-lists.patch
  0008-alsaucm-Don-t-double-free-empty-lists.patch
  0009-aplay-Add-i-option-for-interactive-mode.patch
  0010-aplay-Avoid-recursive-signal-handling.patch
  0012-alsaloop-Use-AM_CFLAGS-in-Makefile.am.patch
  0013-Updated-COPYING-with-the-recent-FSF-address.patch
  0014-alsamixer-Fix-64bit-issues.patch
  0015-aplay-Add-include-files-for-mkdir.patch
  0016-aplay-Use-standard-endian-convesions.patch
  0017-speaker-test.1-Clarify-man-page-by-giving-examples.patch
  0018-alsa-utils-amixer-Fix-SND_CTL_TLVT_DB_RANGE-handling.patch
  0019-aplay-increase-channel-limit-to-256.patch
  0020-fix-use-of-SED.patch
  0021-alsamixer-Fix-X-win-related-crash-for-PulseAudio-plu.patch
  0022-alsactl-Initialize-Front-Speaker-etc.patch
  alsa-utils-1.0.24.2.tar.bz2

New:

  alsa-utils-1.0.25.tar.bz2



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.nPbIeD/_old  2012-01-27 15:16:42.0 +0100
+++ /var/tmp/diff_new_pack.nPbIeD/_new  2012-01-27 15:16:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-utils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 #
 %if %suse_version > 1130
 %define use_systemd1
@@ -31,37 +30,16 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
-%define package_version1.0.24.2
-License:GPL-2.0+
-Group:  Productivity/Multimedia/Sound/Players
+%define package_version1.0.25
 Provides:   alsa-conf
 Requires:   dialog pciutils alsa
 Summary:Advanced Linux Sound Architecture Utilities
-Version:1.0.24.2
+License:GPL-2.0+
+Group:  Productivity/Multimedia/Sound/Players
+Version:1.0.25
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 # Patch:  alsa-utils-git-fixes.diff
-Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch
-Patch2: 0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
-Patch3: 0003-alsaloop-another-try-to-force-correct-formats-for-li.patch
-Patch4: 0004-alsamixer-fix-build-on-uClibc.patch
-Patch5: 0005-alsactl-init-Mute-CD-Playback-volume-by-default.patch
-Patch6: 0006-Revert-alsactl-Display-help-for-names-command.patch
-Patch7: 0007-alsaucm-Add-list1-command-for-non-tuple-lists.patch
-Patch8: 0008-alsaucm-Don-t-double-free-empty-lists.patch
-Patch9: 0009-aplay-Add-i-option-for-interactive-mode.patch
-Patch10:0010-aplay-Avoid-recursive-signal-handling.patch
-Patch12:0012-alsaloop-Use-AM_CFLAGS-in-Makefile.am.patch
-Patch13:0013-Updated-COPYING-with-the-recent-FSF-address.patch
-Patch14:0014-alsamixer-Fix-64bit-issues.patch
-Patch15:0015-aplay-Add-include-files-for-mkdir.patch
-Patch16:0016-aplay-Use-standard-endian-convesions.patch
-Patch17:0017-speaker-test.1-Clarify-man-page-by-giving-examples.patch
-Patch18:0018-alsa-utils-amixer-Fix-SND_CTL_TLVT_DB_RANGE-handling.patch
-Patch19:0019-aplay-increase-channel-limit-to-256.patch
-Patch20:0020-fix-use-of-SED.patch
-Patch21:0021-alsamixer-Fix-X-win-related-crash-for-PulseAudio-plu.patch
-Patch22:0022-alsactl-Initialize-Front-Speaker-e

commit alsa-utils for openSUSE:Factory

2011-12-25 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2011-12-25 17:32:54

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2011-12-08 
11:27:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2011-12-25 17:33:00.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec 22 16:22:19 UTC 2011 - crrodrig...@opensuse.org
+
+- alsa-utils is of no use without alsa, add requires 
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.7tT9ZP/_old  2011-12-25 17:33:01.0 +0100
+++ /var/tmp/diff_new_pack.7tT9ZP/_new  2011-12-25 17:33:01.0 +0100
@@ -14,6 +14,8 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 #
 %if %suse_version > 1130
 %define use_systemd1
@@ -33,7 +35,7 @@
 License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
 Provides:   alsa-conf
-Requires:   dialog pciutils
+Requires:   dialog pciutils alsa
 Summary:Advanced Linux Sound Architecture Utilities
 Version:1.0.24.2
 Release:0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2011-12-08 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2011-12-08 11:27:20

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2011-11-07 
14:06:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2011-12-08 11:27:22.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec  2 06:22:42 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.3pu7Lb/_old  2011-12-08 11:27:23.0 +0100
+++ /var/tmp/diff_new_pack.3pu7Lb/_new  2011-12-08 11:27:23.0 +0100
@@ -14,8 +14,7 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-
-
+#
 %if %suse_version > 1130
 %define use_systemd1
 %define use_varlib 1
@@ -25,15 +24,19 @@
 %endif
 
 Name:   alsa-utils
-BuildRequires:  alsa-devel ncurses-devel pkgconfig xmlto
+BuildRequires:  alsa-devel
+BuildRequires:  automake
+BuildRequires:  ncurses-devel
+BuildRequires:  pkgconfig
+BuildRequires:  xmlto
 %define package_version1.0.24.2
-License:GPLv2+
+License:GPL-2.0+
 Group:  Productivity/Multimedia/Sound/Players
 Provides:   alsa-conf
 Requires:   dialog pciutils
 Summary:Advanced Linux Sound Architecture Utilities
 Version:1.0.24.2
-Release:8
+Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 # Patch:  alsa-utils-git-fixes.diff
 Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2011-11-07 Thread h_root
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2011-11-07 14:06:32

Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and  /work/SRC/openSUSE:Factory/.alsa-utils.new (New)


Package is "alsa-utils", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes2011-10-18 
14:08:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes   
2011-11-07 14:06:34.0 +0100
@@ -1,0 +2,12 @@
+Fri Nov  4 17:27:05 CET 2011 - ti...@suse.de
+
+- Fix missing initialization of Surround, etc, as well as Front
+  Speaker, etc mixer elements in alsactl init
+
+---
+Wed Nov  2 17:38:32 CET 2011 - ti...@suse.de
+
+- Backport upstream fix:
+  - fix a crash of alsamixer with pulse plugin
+
+---

New:

  0021-alsamixer-Fix-X-win-related-crash-for-PulseAudio-plu.patch
  0022-alsactl-Initialize-Front-Speaker-etc.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.Am7EBb/_old  2011-11-07 14:06:36.0 +0100
+++ /var/tmp/diff_new_pack.Am7EBb/_new  2011-11-07 14:06:36.0 +0100
@@ -55,6 +55,8 @@
 Patch18:0018-alsa-utils-amixer-Fix-SND_CTL_TLVT_DB_RANGE-handling.patch
 Patch19:0019-aplay-increase-channel-limit-to-256.patch
 Patch20:0020-fix-use-of-SED.patch
+Patch21:0021-alsamixer-Fix-X-win-related-crash-for-PulseAudio-plu.patch
+Patch22:0022-alsactl-Initialize-Front-Speaker-etc.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -88,6 +90,8 @@
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%patch21 -p1
+%patch22 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0021-alsamixer-Fix-X-win-related-crash-for-PulseAudio-plu.patch ++
>From 4c09aaa5c13c2260fea57a89c47f88252da8a692 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Wed, 2 Nov 2011 17:27:47 +0100
Subject: [PATCH] alsamixer: Fix X-win related crash for PulseAudio plugin
 (bad linking)

A lot of reports that alsamixer crashes in X terminal when the PulseAudio
CTL plugin is activated were entered to the tracking systems.

I figured that there is a linking clash for the shutdown() function.
The shutdown() function in glibc is socket related, but the alsamixer code
redefines this function and appearently that under some linking
circumstances - which PA client invokes during the runtime dynamic linking
- the wrong function is called.

This patch, for safety, renames the shutdown() function from alsamixer
to app_shutdown(), but it might make sense to figure the real linking
culprit to avoid future surprises.

Signed-off-by: Jaroslav Kysela 
---
 alsamixer/cli.c  |2 +-
 alsamixer/die.c  |4 ++--
 alsamixer/mainloop.c |2 +-
 alsamixer/mainloop.h |2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/alsamixer/cli.c b/alsamixer/cli.c
index 3898196..bb4f030 100644
--- a/alsamixer/cli.c
+++ b/alsamixer/cli.c
@@ -130,6 +130,6 @@ int main(int argc, char *argv[])
 
mainloop();
 
-   shutdown();
+   app_shutdown();
return 0;
 }
diff --git a/alsamixer/die.c b/alsamixer/die.c
index dcd8536..899a501 100644
--- a/alsamixer/die.c
+++ b/alsamixer/die.c
@@ -26,14 +26,14 @@
 
 void fatal_error(const char *msg)
 {
-   shutdown();
+   app_shutdown();
fprintf(stderr, "%s\n", msg);
exit(EXIT_FAILURE);
 }
 
 void fatal_alsa_error(const char *msg, int err)
 {
-   shutdown();
+   app_shutdown();
fprintf(stderr, _("%s: %s\n"), msg, snd_strerror(err));
exit(EXIT_FAILURE);
 }
diff --git a/alsamixer/mainloop.c b/alsamixer/mainloop.c
index eddaf3b..dbfef9b 100644
--- a/alsamixer/mainloop.c
+++ b/alsamixer/mainloop.c
@@ -52,7 +52,7 @@ void initialize_curses(bool use_color)
snd_lib_error_set_handler(black_hole_error_handler);
 }
 
-void shutdown(void)
+void app_shutdown(void)
 {
if (curses_initialized) {
clear();
diff --git a/alsamixer/mainloop.h b/alsamixer/mainloop.h
index 0cfc989..22317be 100644
--- a/alsamixer/mainloop.h
+++ b/alsamixer/mainloop.h
@@ -5,6 +5,6 @@
 
 void initialize_curses(bool use_color);
 void mainloop(void);
-void shutdown(void);
+void app_shutdown(void);
 
 #endif
-- 
1.7.7

++ 0022-alsactl-Initialize-Front-Speaker-etc.patch ++
>From 9fa7cd2176a6be077f61c0f050f257beedf8b0c0 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Fri, 4 Nov 2011 17:01:57 +0100
Subject: [PATCH] alsactl: Initialize Front Speaker, etc

Add missi

commit alsa-utils for openSUSE:Factory

2011-10-18 Thread h_root

Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory
checked in at Tue Oct 18 13:56:43 CEST 2011.




--- openSUSE:Factory/alsa-utils/alsa-utils.changes  2011-09-23 
01:51:41.0 +0200
+++ /mounts/work_src_done/STABLE/alsa-utils/alsa-utils.changes  2011-09-20 
09:58:25.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 20 09:47:45 CEST 2011 - ti...@suse.de
+
+- Backport upstream fixes
+  - Increase the max channels of aplay to 256.
+  - Fix sed usage in Makefile.am
+
+---

calling whatdependson for head-i586


New:

  0019-aplay-increase-channel-limit-to-256.patch
  0020-fix-use-of-SED.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.4kPZXp/_old  2011-10-18 13:56:39.0 +0200
+++ /var/tmp/diff_new_pack.4kPZXp/_new  2011-10-18 13:56:39.0 +0200
@@ -53,8 +53,9 @@
 Patch16:0016-aplay-Use-standard-endian-convesions.patch
 Patch17:0017-speaker-test.1-Clarify-man-page-by-giving-examples.patch
 Patch18:0018-alsa-utils-amixer-Fix-SND_CTL_TLVT_DB_RANGE-handling.patch
+Patch19:0019-aplay-increase-channel-limit-to-256.patch
+Patch20:0020-fix-use-of-SED.patch
 Patch99:alsa-utils-gettext-version-removal.diff
-# Patch100:   alsa-utils-po-pre-patch.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -66,10 +67,8 @@
 %setup -q -n %{name}-%{package_version}
 # fix stupid automake's automatic action
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
-# fix po changes in tarball first
-# %%patch100 -p1
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
-# %%patch -p1
+# patch -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -87,6 +86,8 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
+%patch20 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0019-aplay-increase-channel-limit-to-256.patch ++
>From 0131ab6a67e18ae3c30b7b3fabc2fdf1592f075c Mon Sep 17 00:00:00 2001
From: Tim Blechmann 
Date: Wed, 29 Jun 2011 09:44:06 +0200
Subject: [PATCH] aplay: increase channel limit to 256

aplay is limited to 32 channels, which makes it impossible to use it for
testing devices with more channels. here we increase the limit to 256,
which should be sufficient for a virtual device made of 4 64-channel
soundcards.

Signed-off-by: Tim Blechmann 
Signed-off-by: Jaroslav Kysela 
---
 aplay/aplay.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index 50e01ef..07e6bc0 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -526,7 +526,7 @@ int main(int argc, char *argv[])
break;
case 'c':
rhwparams.channels = strtol(optarg, NULL, 0);
-   if (rhwparams.channels < 1 || rhwparams.channels > 32) {
+   if (rhwparams.channels < 1 || rhwparams.channels > 256) 
{
error(_("value %i for channels is invalid"), 
rhwparams.channels);
return 1;
}
@@ -1015,7 +1015,7 @@ static int test_au(int fd, void *buffer)
if (hwparams.rate < 2000 || hwparams.rate > 256000)
return -1;
hwparams.channels = BE_INT(ap->channels);
-   if (hwparams.channels < 1 || hwparams.channels > 128)
+   if (hwparams.channels < 1 || hwparams.channels > 256)
return -1;
if ((size_t)safe_read(fd, buffer + sizeof(AuHeader), 
BE_INT(ap->hdr_size) - sizeof(AuHeader)) != BE_INT(ap->hdr_size) - 
sizeof(AuHeader)) {
error(_("read error"));
-- 
1.7.6.1

++ 0020-fix-use-of-SED.patch ++
>From e80b015689ce7a632c8cf57a29bd703eef4edbbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
Date: Wed, 31 Aug 2011 22:27:10 +0200
Subject: [PATCH] fix use of $(SED)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The alsactl Makefile used 'sed $(SED)' which is going to failed when SED
is actually set. Replaced that with '$(SED)', and a few 'sed' calls in
alsaconf Makefile as well. Added AC_PROG_SED to configure to have it
set.

Fixes: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5363
Fixes: http://bugs.gentoo.org/show_bug.cgi?id=366587
Signed-off-by: Michał Górny 
Signed-off-by: Clemens Ladisch 
---
 alsaconf/Makefile.am |   16 
 alsactl/Makefile.am  |2 +-
 configure.in |1 +
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/alsaconf/Makefile.am b/alsaconf/Makefile.am
index a11ecc5..a4f5e4a 100644
--- a/alsaconf/Makefile.am
+++ b/alsaconf/Makefile.am
@@ -5,13 +5,13 @@ SUBDIRS = po
 
 install-man8:
@for i in $(man_MANS); do \
- ext=`echo $$i | sed -e 's/^.*

commit alsa-utils for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory
checked in at Mon Sep 19 15:35:50 CEST 2011.




--- alsa-utils/alsa-utils.changes   2011-06-28 15:54:09.0 +0200
+++ /mounts/work_src_done/STABLE/alsa-utils/alsa-utils.changes  2011-09-17 
14:06:56.0 +0200
@@ -1,0 +2,6 @@
+Sat Sep 17 10:58:04 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---

calling whatdependson for head-i586




Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.4RxGvG/_old  2011-09-19 15:35:46.0 +0200
+++ /var/tmp/diff_new_pack.4RxGvG/_new  2011-09-19 15:35:46.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %if %suse_version > 1130
 %define use_systemd1
@@ -32,11 +31,10 @@
 Group:  Productivity/Multimedia/Sound/Players
 Provides:   alsa-conf
 Requires:   dialog pciutils
-AutoReqProv:on
 Summary:Advanced Linux Sound Architecture Utilities
 Version:1.0.24.2
 Release:8
-Source: 
ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
+Source: 
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
 # Patch:  alsa-utils-git-fixes.diff
 Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch
 Patch2: 0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
@@ -64,13 +62,6 @@
 This package contains utility programs supporting ALSA, Advanced Linux
 Sound Architecture.
 
-
-
-Authors:
-
-Jaroslav Kysela 
-Takashi Iwai 
-
 %prep
 %setup -q -n %{name}-%{package_version}
 # fix stupid automake's automatic action
@@ -101,7 +92,7 @@
 %endif
 
 %build
-export AUTOMAKE_JOBS=%{?jobs:%jobs}
+export AUTOMAKE_JOBS="%{?_smp_mflags}"
 %if %suse_version < 1020
 gettextize -f
 %endif
@@ -117,7 +108,7 @@
 opts="$opts --disable-xmlto"
 %endif
 %configure --with-curses=ncursesw $opts
-make %{?jobs:-j %jobs}
+make %{?_smp_mflags}
 
 %install
 %makeinstall
@@ -129,9 +120,6 @@
 mkdir -p $RPM_BUILD_ROOT/var/lib/alsa
 %endif
 
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(-, root, root)
 %doc COPYING ChangeLog INSTALL README TODO






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa-utils for openSUSE:Factory

2011-09-11 Thread h_root

Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory
checked in at Sun Sep 11 19:04:03 CEST 2011.




--- alsa-utils/alsa-utils.changes   2011-06-03 14:50:47.0 +0200
+++ /mounts/work_src_done/STABLE/alsa-utils/alsa-utils.changes  2011-06-28 
15:54:09.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun 28 15:53:16 CEST 2011 - ti...@suse.de
+
+- Improved speaker-test man page
+- Fix DB_RANGE TLV type handling in amixer
+
+---

calling whatdependson for head-i586


New:

  0017-speaker-test.1-Clarify-man-page-by-giving-examples.patch
  0018-alsa-utils-amixer-Fix-SND_CTL_TLVT_DB_RANGE-handling.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.pJ3XPg/_old  2011-09-11 19:03:54.0 +0200
+++ /var/tmp/diff_new_pack.pJ3XPg/_new  2011-09-11 19:03:54.0 +0200
@@ -35,7 +35,7 @@
 AutoReqProv:on
 Summary:Advanced Linux Sound Architecture Utilities
 Version:1.0.24.2
-Release:6
+Release:8
 Source: 
ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
 # Patch:  alsa-utils-git-fixes.diff
 Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch
@@ -53,6 +53,8 @@
 Patch14:0014-alsamixer-Fix-64bit-issues.patch
 Patch15:0015-aplay-Add-include-files-for-mkdir.patch
 Patch16:0016-aplay-Use-standard-endian-convesions.patch
+Patch17:0017-speaker-test.1-Clarify-man-page-by-giving-examples.patch
+Patch18:0018-alsa-utils-amixer-Fix-SND_CTL_TLVT_DB_RANGE-handling.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 # Patch100:   alsa-utils-po-pre-patch.diff
 Url:http://www.alsa-project.org/
@@ -92,6 +94,8 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
+%patch18 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0017-speaker-test.1-Clarify-man-page-by-giving-examples.patch ++
>From 471191abe59cce84b104fc6f601cbb852a8d07e7 Mon Sep 17 00:00:00 2001
From: Daniel T Chen 
Date: Sat, 4 Jun 2011 17:44:43 -0400
Subject: [PATCH] speaker-test.1: Clarify man page by giving examples
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

BugLink: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620513

>From the Debian bug report:
"The speaker-test manpage could be improved somewhat by helping a
little bit the user determine how to find out the devices he can test.

Based on http://alsa.opensrc.org/Speaker-test I have make some changes
to the manpage (diff attached) to describe a little bit more how
speaker-test can be used alongside 'aplay'.

Please consider the following patch for
alsa-utils-1.0.23/speaker-test/speaker-test.1"

Signed-off-by: Javier Fernández-Sanguino Peña 
Signed-off-by: Takashi Iwai 
---
 speaker-test/speaker-test.1 |   46 ++-
 1 files changed, 45 insertions(+), 1 deletions(-)

diff --git a/speaker-test/speaker-test.1 b/speaker-test/speaker-test.1
index f0948a6..6ef0814 100644
--- a/speaker-test/speaker-test.1
+++ b/speaker-test/speaker-test.1
@@ -11,7 +11,7 @@
 .  fi
 .  PP
 ..
-.TH SPEAKER\-TEST 1 "20 September 2004" speaker-test
+.TH SPEAKER\-TEST 1 "April 2nd, 2011" speaker-test
 .SH NAME
 speaker\-test \- command-line speaker test tone generator for ALSA 
 .SH SYNOPSIS
@@ -20,6 +20,41 @@ speaker\-test \- command-line speaker test tone generator 
for ALSA
 .SH DESCRIPTION
 \fBspeaker\-test\fP generates a tone that can be used to test the speakers of 
a computer.
 
+\fBspeaker-test\fP by default will test the \fIdefault\fP device. If you
+want to test another sound device you will have first to get a list of
+all of the sound cards in your system and the devices associated with
+those cards. Notice that there might be for example, one device for
+analog sound, one for digital sound and one for HDMI sound.
+To get the list of available cards and devices you can run \fBaplay -L\fR.
+
+.P \fBaplay\fR's output will be similar to this one:
+
+.nf
+$ aplay -L
+null
+Discard all samples (playback) or generate zero samples (capture)
+default:CARD=ICH5
+Intel ICH5, Intel ICH5
+Default Audio Device
+front:CARD=ICH5,DEV=0
+Intel ICH5, Intel ICH5
+Front speakers
+surround40:CARD=ICH5,DEV=0
+Intel ICH5, Intel ICH5
+4.0 Surround output to Front and Rear speakers
+(...)
+.fi
+
+.P Each of the devices is listed in the beginning of the definition so,
+in the above example, there are four devices listed: null, default, front
+and surround40. So, if you want to test the last device you can 
+run \fBspeaker-test -Dsurround40:ICH5 -c 6\fR. The \fB-c\fR option will
+indicate that the six audio channels in the device have to be tested.
+
+
+
+
+
 .SH OPTIONS
 
 .TP
@@ -119,6 +154,15 @@ To send a nice low 75Hz t

commit alsa-utils for openSUSE:Factory

2011-06-06 Thread h_root

Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory
checked in at Mon Jun 6 16:46:32 CEST 2011.




--- alsa-utils/alsa-utils.changes   2011-01-31 17:22:15.0 +0100
+++ /mounts/work_src_done/STABLE/alsa-utils/alsa-utils.changes  2011-06-03 
14:50:47.0 +0200
@@ -1,0 +2,20 @@
+Fri Jun  3 14:50:00 CEST 2011 - ti...@suse.de
+
+- Backport alsa-utils fixes from upstream:
+  0001-alsamixer-fix-display-of-active-inactive-controls.patch
+  0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
+  0003-alsaloop-another-try-to-force-correct-formats-for-li.patch
+  0004-alsamixer-fix-build-on-uClibc.patch
+  0005-alsactl-init-Mute-CD-Playback-volume-by-default.patch
+  0006-Revert-alsactl-Display-help-for-names-command.patch
+  0007-alsaucm-Add-list1-command-for-non-tuple-lists.patch
+  0008-alsaucm-Don-t-double-free-empty-lists.patch
+  0009-aplay-Add-i-option-for-interactive-mode.patch
+  0010-aplay-Avoid-recursive-signal-handling.patch
+  0012-alsaloop-Use-AM_CFLAGS-in-Makefile.am.patch
+  0013-Updated-COPYING-with-the-recent-FSF-address.patch
+  0014-alsamixer-Fix-64bit-issues.patch
+  0015-aplay-Add-include-files-for-mkdir.patch
+  0016-aplay-Use-standard-endian-convesions.patch
+
+---

calling whatdependson for head-i586


New:

  0001-alsamixer-fix-display-of-active-inactive-controls.patch
  0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
  0003-alsaloop-another-try-to-force-correct-formats-for-li.patch
  0004-alsamixer-fix-build-on-uClibc.patch
  0005-alsactl-init-Mute-CD-Playback-volume-by-default.patch
  0006-Revert-alsactl-Display-help-for-names-command.patch
  0007-alsaucm-Add-list1-command-for-non-tuple-lists.patch
  0008-alsaucm-Don-t-double-free-empty-lists.patch
  0009-aplay-Add-i-option-for-interactive-mode.patch
  0010-aplay-Avoid-recursive-signal-handling.patch
  0012-alsaloop-Use-AM_CFLAGS-in-Makefile.am.patch
  0013-Updated-COPYING-with-the-recent-FSF-address.patch
  0014-alsamixer-Fix-64bit-issues.patch
  0015-aplay-Add-include-files-for-mkdir.patch
  0016-aplay-Use-standard-endian-convesions.patch



Other differences:
--
++ alsa-utils.spec ++
--- /var/tmp/diff_new_pack.g6DaDq/_old  2011-06-06 16:45:34.0 +0200
+++ /var/tmp/diff_new_pack.g6DaDq/_new  2011-06-06 16:45:34.0 +0200
@@ -35,9 +35,24 @@
 AutoReqProv:on
 Summary:Advanced Linux Sound Architecture Utilities
 Version:1.0.24.2
-Release:1
+Release:6
 Source: 
ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
 # Patch:  alsa-utils-git-fixes.diff
+Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch
+Patch2: 0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
+Patch3: 0003-alsaloop-another-try-to-force-correct-formats-for-li.patch
+Patch4: 0004-alsamixer-fix-build-on-uClibc.patch
+Patch5: 0005-alsactl-init-Mute-CD-Playback-volume-by-default.patch
+Patch6: 0006-Revert-alsactl-Display-help-for-names-command.patch
+Patch7: 0007-alsaucm-Add-list1-command-for-non-tuple-lists.patch
+Patch8: 0008-alsaucm-Don-t-double-free-empty-lists.patch
+Patch9: 0009-aplay-Add-i-option-for-interactive-mode.patch
+Patch10:0010-aplay-Avoid-recursive-signal-handling.patch
+Patch12:0012-alsaloop-Use-AM_CFLAGS-in-Makefile.am.patch
+Patch13:0013-Updated-COPYING-with-the-recent-FSF-address.patch
+Patch14:0014-alsamixer-Fix-64bit-issues.patch
+Patch15:0015-aplay-Add-include-files-for-mkdir.patch
+Patch16:0016-aplay-Use-standard-endian-convesions.patch
 Patch99:alsa-utils-gettext-version-removal.diff
 # Patch100:   alsa-utils-po-pre-patch.diff
 Url:http://www.alsa-project.org/
@@ -59,9 +74,24 @@
 # fix stupid automake's automatic action
 sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
 # fix po changes in tarball first
-# %patch100 -p1
+# %%patch100 -p1
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # %%patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 %if %suse_version < 1020
 %patch99 -p1
 %endif

++ 0001-alsamixer-fix-display-of-active-inactive-controls.patch ++
>From cd26f244e7f2648a63411741552c658ca67334e9 Mon Sep 17 00:00:00 2001
From: Raymond Yau 
Date: Mon, 28 Feb 2011 15:36:36 +0100
Subject: [PATCH 01/16] alsamixer: fix display of active/inactive controls

Signed-off-by: Raymond Yau 
Signed-off-by: Clemens Ladisch 
---
 alsamixer/mixer_widget.c |   11 +++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/alsamixer/mixer_widget.c b/