forked from pool/alsa-utils
Accepting request 239189 from home:tiwai:branches:multimedia:libs
- 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 OBS-URL: https://build.opensuse.org/request/show/239189 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=102
This commit is contained in:
parent
5ab04e6e73
commit
d9e5db30ae
26
0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
Normal file
26
0001-alsactl-save-state-do-not-call-rename-for-stdio.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 03a652e18ddc2eaad9b6ff3653515d54bd273d75 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
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 <perex@perex.cz>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
24
0002-alsamixer-include-missing-mixer_controls.h.patch
Normal file
24
0002-alsamixer-include-missing-mixer_controls.h.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From c788ce9b6088e2c937f77231eab520c3d16e0c76 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
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
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 1 16:42:31 CEST 2014 - tiwai@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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 18 13:10:03 CEST 2014 - tiwai@suse.de
|
Wed Jun 18 13:10:03 CEST 2014 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -43,11 +43,10 @@ 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-%{package_version}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
|
||||||
Source1: 01beep.conf
|
Source1: 01beep.conf
|
||||||
Source10: de.po
|
|
||||||
Source11: fr.po
|
|
||||||
Source12: ja.po
|
|
||||||
# Patch: alsa-utils-git-fixes.diff
|
# Patch: alsa-utils-git-fixes.diff
|
||||||
# upstream fix patches
|
# 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
|
Patch99: alsa-utils-gettext-version-removal.diff
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
@ -74,11 +73,9 @@ Sound Architecture.
|
|||||||
# fix stupid automake's automatic action
|
# fix stupid automake's automatic action
|
||||||
sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
||||||
# rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
|
# 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
|
# patch -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
#
|
#
|
||||||
%if 0%{?suse_version} < 1020
|
%if 0%{?suse_version} < 1020
|
||||||
%patch99 -p1
|
%patch99 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user