Hello community,
here is the log from the commit of package yast2-sound
checked in at Thu Feb 22 15:03:08 CET 2007.
--------
--- yast2-sound/yast2-sound.changes 2007-02-12 16:22:11.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-sound/yast2-sound.changes 2007-02-21 07:46:33.434617000 +0100
@@ -1,0 +2,6 @@
+Wed Feb 21 07:32:44 CET 2007 - lslezak@suse.cz
+
+- added "Play Test Sound" item to the main menu (#244905)
+- 2.15.4
+
+-------------------------------------------------------------------
Old:
----
yast2-sound-2.15.3.tar.bz2
New:
----
yast2-sound-2.15.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-sound.spec ++++++
--- /var/tmp/diff_new_pack.c19068/_old 2007-02-22 15:02:41.000000000 +0100
+++ /var/tmp/diff_new_pack.c19068/_new 2007-02-22 15:02:41.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-sound (Version 2.15.3)
+# spec file for package yast2-sound (Version 2.15.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-sound
-Version: 2.15.3
+Version: 2.15.4
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-sound-2.15.3.tar.bz2
+Source0: yast2-sound-2.15.4.tar.bz2
prefix: /usr
BuildRequires: alsa-devel doxygen gcc-c++ perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite
Requires: yast2 alsa
@@ -38,7 +38,7 @@
Dan Meszaros
%prep
-%setup -n yast2-sound-2.15.3
+%setup -n yast2-sound-2.15.4
%build
%{prefix}/bin/y2tool y2autoconf
@@ -82,7 +82,10 @@
/usr/share/YaST2/scrconf/*.scr
%doc %{prefix}/share/doc/packages/yast2-sound
-%changelog -n yast2-sound
+%changelog
+* Wed Feb 21 2007 - lslezak@suse.cz
+- added "Play Test Sound" item to the main menu (#244905)
+- 2.15.4
* Mon Feb 12 2007 - lslezak@suse.cz
- use the driver provided by hwinfo if the card is not in the yast
sound card DB (#105754)
++++++ yast2-sound-2.15.3.tar.bz2 -> yast2-sound-2.15.4.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sound-2.15.3/VERSION new/yast2-sound-2.15.4/VERSION
--- old/yast2-sound-2.15.3/VERSION 2007-02-12 16:15:28.000000000 +0100
+++ new/yast2-sound-2.15.4/VERSION 2007-02-21 07:40:40.000000000 +0100
@@ -1 +1 @@
-2.15.3
+2.15.4
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sound-2.15.3/configure new/yast2-sound-2.15.4/configure
--- old/yast2-sound-2.15.3/configure 2007-02-12 16:20:38.000000000 +0100
+++ new/yast2-sound-2.15.4/configure 2007-02-21 07:45:47.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-sound 2.15.3.
+# Generated by GNU Autoconf 2.60 for yast2-sound 2.15.4.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -713,8 +713,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-sound'
PACKAGE_TARNAME='yast2-sound'
-PACKAGE_VERSION='2.15.3'
-PACKAGE_STRING='yast2-sound 2.15.3'
+PACKAGE_VERSION='2.15.4'
+PACKAGE_STRING='yast2-sound 2.15.4'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1420,7 +1420,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-sound 2.15.3 to adapt to many kinds of systems.
+\`configure' configures yast2-sound 2.15.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1491,7 +1491,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-sound 2.15.3:";;
+ short | recursive ) echo "Configuration of yast2-sound 2.15.4:";;
esac
cat <<\_ACEOF
@@ -1599,7 +1599,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-sound configure 2.15.3
+yast2-sound configure 2.15.4
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1613,7 +1613,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-sound $as_me 2.15.3, which was
+It was created by yast2-sound $as_me 2.15.4, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2414,7 +2414,7 @@
# Define the identity of the package.
PACKAGE='yast2-sound'
- VERSION='2.15.3'
+ VERSION='2.15.4'
cat >>confdefs.h <<_ACEOF
@@ -2641,7 +2641,7 @@
-VERSION="2.15.3"
+VERSION="2.15.4"
RPMNAME="yast2-sound"
MAINTAINER="Ladislav Slezak "
@@ -21717,7 +21717,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-sound $as_me 2.15.3, which was
+This file was extended by yast2-sound $as_me 2.15.4, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21770,7 +21770,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-sound config.status 2.15.3
+yast2-sound config.status 2.15.4
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sound-2.15.3/configure.in new/yast2-sound-2.15.4/configure.in
--- old/yast2-sound-2.15.3/configure.in 2007-02-12 16:20:26.000000000 +0100
+++ new/yast2-sound-2.15.4/configure.in 2007-02-21 07:45:34.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-sound, 2.15.3, http://bugs.opensuse.org/, yast2-sound)
+AC_INIT(yast2-sound, 2.15.4, http://bugs.opensuse.org/, yast2-sound)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.15.3"
+VERSION="2.15.4"
RPMNAME="yast2-sound"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sound-2.15.3/data/addons/id_addons.ycp new/yast2-sound-2.15.4/data/addons/id_addons.ycp
--- old/yast2-sound-2.15.3/data/addons/id_addons.ycp 2006-12-05 13:32:33.000000000 +0100
+++ new/yast2-sound-2.15.4/data/addons/id_addons.ycp 2007-02-12 16:42:31.000000000 +0100
@@ -2,5 +2,6 @@
// id's for powermacs:
["snd-powermac", "0x30401", "0x30010"],
["snd-powermac", "0x30401", "0x30011"],
- ["snd-powermac", "0x30401", "0x30012"]
+ ["snd-powermac", "0x30401", "0x30012"],
+ ["snd-powermac", "0x30401", "0x30013"]
]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sound-2.15.3/sound/src/complex.ycp new/yast2-sound-2.15.4/sound/src/complex.ycp
--- old/yast2-sound-2.15.3/sound/src/complex.ycp 2007-01-29 13:46:10.000000000 +0100
+++ new/yast2-sound-2.15.4/sound/src/complex.ycp 2007-02-21 07:41:14.000000000 +0100
@@ -16,7 +16,7 @@
* String corrections by Christian Steinruecken , 2001/08/01
*
*
- * $Id: complex.ycp 35421 2007-01-17 09:40:05Z lslezak $
+ * $Id: complex.ycp 36329 2007-02-21 06:41:10Z lslezak $
*
*/
@@ -35,6 +35,7 @@
include "sound/mixer.ycp";
include "sound/options.ycp"; // sound_options
include "sound/volume.ycp"; // VolumeDialog
+ include "sound/volume_routines.ycp"; // PlayTest()
/**
* creates summary table with card labels and thier states
@@ -397,6 +398,8 @@
// menu item
[`mixer, _("&Volume...")],
// menu item
+ [`play_test, _("Play &Test Sound")],
+ // menu item
[`seq, _("&Start Sequencer")],
// menu item
[`primary, _("Set as the &Primary Card")]
@@ -512,6 +515,27 @@
SetPrimaryCard(idx, idx2);
}
}
+ else if (ui == `play_test)
+ {
+ string uniq = WizardHW::SelectedItem();
+ // alsa index (snd-card-X)
+ integer card_id = getCardIndex((list