Hello community, here is the log from the commit of package yast2-sound for openSUSE:13.1 checked in at 2013-10-21 12:27:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1/yast2-sound (Old) and /work/SRC/openSUSE:13.1/.yast2-sound.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-sound" Changes: -------- --- /work/SRC/openSUSE:13.1/yast2-sound/yast2-sound.changes 2013-09-27 19:43:42.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.yast2-sound.new/yast2-sound.changes 2013-10-21 12:27:02.000000000 +0200 @@ -1,0 +2,10 @@ +Thu Oct 17 14:17:11 UTC 2013 - lsle...@suse.cz + +- do not crash during sound card removal (bnc#845928) + (workaround for Ops.is() not working properly with typed maps + and arrays) +- add deep_copy calls missing because of a Y2R bug (gh#yast/y2r#47) + (by dmajda) +- 3.0.3 + +------------------------------------------------------------------- Old: ---- yast2-sound-3.0.2.tar.bz2 New: ---- yast2-sound-3.0.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-sound.spec ++++++ --- /var/tmp/diff_new_pack.rVKBQq/_old 2013-10-21 12:27:02.000000000 +0200 +++ /var/tmp/diff_new_pack.rVKBQq/_new 2013-10-21 12:27:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2-sound # -# Copyright (c) 2013 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 @@ -17,60 +17,32 @@ Name: yast2-sound -Version: 3.0.2 +Version: 3.0.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-sound-%{version}.tar.bz2 -BuildRequires: alsa-devel -BuildRequires: doxygen -BuildRequires: gcc-c++ -BuildRequires: kernel-default -BuildRequires: libtool -BuildRequires: perl-XML-Writer -BuildRequires: ruby -BuildRequires: update-desktop-files -BuildRequires: yast2 -BuildRequires: yast2-core-devel -BuildRequires: yast2-devtools -BuildRequires: yast2-testsuite + +Group: System/YaST +License: GPL-2.0+ +BuildRequires: alsa-devel gcc-c++ doxygen perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite kernel-default ruby libtool # GetInstArgs::automatic_configuration # Wizard::SetDesktopTitleAndIcon -Requires: alsa Requires: yast2 >= 2.21.22 +Requires: alsa -Provides: yast2-agent-audio -Provides: yast2-agent-audio-devel -Provides: yast2-config-sound -Obsoletes: yast2-agent-audio -Obsoletes: yast2-agent-audio-devel -Obsoletes: yast2-config-sound -Provides: y2c_snd -Provides: y2t_snd -Provides: y2t_sndd -Provides: yast2-trans-sound -Provides: yast2-trans-soundd -Obsoletes: y2c_snd -Obsoletes: y2t_snd -Obsoletes: y2t_sndd -Obsoletes: yast2-trans-sound -Obsoletes: yast2-trans-soundd -Provides: y2c_sparc -Provides: y2c_sprc -Provides: y2d_snd -Provides: yast2-db-sound -Obsoletes: y2c_sparc -Obsoletes: y2c_sprc -Obsoletes: y2d_snd -Obsoletes: yast2-db-sound +Provides: yast2-config-sound yast2-agent-audio yast2-agent-audio-devel +Obsoletes: yast2-config-sound yast2-agent-audio yast2-agent-audio-devel +Provides: yast2-trans-sound yast2-trans-soundd y2c_snd y2t_snd y2t_sndd +Obsoletes: yast2-trans-sound yast2-trans-soundd y2c_snd y2t_snd y2t_sndd +Provides: y2c_sparc y2c_sprc yast2-db-sound y2d_snd +Obsoletes: y2c_sparc y2c_sprc yast2-db-sound y2d_snd Requires: yast2-ruby-bindings >= 1.0.0 Summary: YaST2 - Sound Configuration -License: GPL-2.0+ -Group: System/YaST %description This package contains the YaST2 component for sound card configuration. @@ -78,8 +50,8 @@ %package devel-doc Requires: yast2-sound = %version -Summary: YaST2 - Sound Configuration - Development Documentation Group: System/YaST +Summary: YaST2 - Sound Configuration - Development Documentation %description devel-doc This package contains development documentation for using the API @@ -157,4 +129,3 @@ %doc %{_prefix}/share/doc/packages/yast2-sound/joystick-db.txt %doc %{_prefix}/share/doc/packages/yast2-sound/sound_db.md -%changelog ++++++ yast2-sound-3.0.2.tar.bz2 -> yast2-sound-3.0.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/Makefile.in new/yast2-sound-3.0.3/Makefile.in --- old/yast2-sound-3.0.2/Makefile.in 2013-09-03 10:42:09.000000000 +0200 +++ new/yast2-sound-3.0.3/Makefile.in 2013-10-21 11:16:41.000000000 +0200 @@ -767,7 +767,7 @@ *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod u+w $(distdir) + chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/VERSION new/yast2-sound-3.0.3/VERSION --- old/yast2-sound-3.0.2/VERSION 2013-09-03 10:41:49.000000000 +0200 +++ new/yast2-sound-3.0.3/VERSION 2013-10-21 11:14:31.000000000 +0200 @@ -1 +1 @@ -3.0.2 +3.0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/aclocal.m4 new/yast2-sound-3.0.3/aclocal.m4 --- old/yast2-sound-3.0.2/aclocal.m4 2013-09-03 10:42:06.000000000 +0200 +++ new/yast2-sound-3.0.3/aclocal.m4 2013-10-21 11:16:39.000000000 +0200 @@ -1107,6 +1107,7 @@ AC_MSG_RESULT($ALSA_LIBS) dnl Check for a working version of libasound that is of the right version. +if test "x$enable_alsatest" = "xyes"; then min_alsa_version=ifelse([$1], ,0.1.1,$1) AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) no_alsa="" @@ -1160,6 +1161,7 @@ alsa_found=no] ) AC_LANG_RESTORE +fi dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. if test "x$enable_alsatest" = "xyes"; then @@ -1218,7 +1220,8 @@ # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) @@ -1264,7 +1267,8 @@ pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried @@ -1312,9 +1316,9 @@ AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -1348,6 +1352,46 @@ fi[]dnl ])# PKG_CHECK_MODULES + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + m4_include([libtool.m4]) m4_include([ltoptions.m4]) m4_include([ltsugar.m4]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/configure new/yast2-sound-3.0.3/configure --- old/yast2-sound-3.0.2/configure 2013-09-03 10:42:07.000000000 +0200 +++ new/yast2-sound-3.0.3/configure 2013-10-21 11:16:40.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2-sound 3.0.2. +# Generated by GNU Autoconf 2.69 for yast2-sound 3.0.3. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='yast2-sound' PACKAGE_TARNAME='yast2-sound' -PACKAGE_VERSION='3.0.2' -PACKAGE_STRING='yast2-sound 3.0.2' +PACKAGE_VERSION='3.0.3' +PACKAGE_STRING='yast2-sound 3.0.3' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1382,7 +1382,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 3.0.2 to adapt to many kinds of systems. +\`configure' configures yast2-sound 3.0.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1453,7 +1453,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-sound 3.0.2:";; + short | recursive ) echo "Configuration of yast2-sound 3.0.3:";; esac cat <<\_ACEOF @@ -1574,7 +1574,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-sound configure 3.0.2 +yast2-sound configure 3.0.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2027,7 +2027,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 3.0.2, which was +It was created by yast2-sound $as_me 3.0.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2966,7 +2966,7 @@ # Define the identity of the package. PACKAGE='yast2-sound' - VERSION='3.0.2' + VERSION='3.0.3' cat >>confdefs.h <<_ACEOF @@ -3089,7 +3089,7 @@ -VERSION="3.0.2" +VERSION="3.0.3" RPMNAME="yast2-sound" MAINTAINER="Ladislav Slezak <lsle...@suse.cz>" @@ -5115,6 +5115,7 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. @@ -5250,6 +5251,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Y2CORE_CFLAGS=`$PKG_CONFIG --cflags "yast2-core" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -5266,6 +5268,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Y2CORE_LIBS=`$PKG_CONFIG --libs "yast2-core" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -5285,9 +5288,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - Y2CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "yast2-core" 2>&1` + Y2CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "yast2-core" 2>&1` else - Y2CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "yast2-core" 2>&1` + Y2CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "yast2-core" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$Y2CORE_PKG_ERRORS" >&5 @@ -16262,6 +16265,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 $as_echo "$ALSA_LIBS" >&6; } +if test "x$enable_alsatest" = "xyes"; then min_alsa_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; } @@ -16342,6 +16346,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +fi if test "x$enable_alsatest" = "xyes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5 @@ -16962,7 +16967,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 3.0.2, which was +This file was extended by yast2-sound $as_me 3.0.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17028,7 +17033,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-sound config.status 3.0.2 +yast2-sound config.status 3.0.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/configure.ac new/yast2-sound-3.0.3/configure.ac --- old/yast2-sound-3.0.2/configure.ac 2013-09-03 10:41:56.000000000 +0200 +++ new/yast2-sound-3.0.3/configure.ac 2013-10-21 11:16:35.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.ac for yast2-sound dnl -dnl -- This file is generated by y2autoconf 3.0.4 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- dnl (edit configure.ac.in or configure.in.in instead) -AC_INIT(yast2-sound, 3.0.2, http://bugs.opensuse.org/, yast2-sound) +AC_INIT(yast2-sound, 3.0.3, http://bugs.opensuse.org/, yast2-sound) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="3.0.2" +VERSION="3.0.3" RPMNAME="yast2-sound" MAINTAINER="Ladislav Slezak <lsle...@suse.cz>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/src/include/sound/manual.rb new/yast2-sound-3.0.3/src/include/sound/manual.rb --- old/yast2-sound-3.0.2/src/include/sound/manual.rb 2013-07-30 13:43:49.000000000 +0200 +++ new/yast2-sound-3.0.3/src/include/sound/manual.rb 2013-10-21 11:14:49.000000000 +0200 @@ -267,7 +267,9 @@ next end - keys_names = keys == "vendors" ? vendor_names : module_names + keys_names = keys == "vendors" ? + deep_copy(vendor_names) : + deep_copy(module_names) UI.ChangeWidget(Id(:sel_keys), :Items, keys_names) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/src/include/sound/routines.rb new/yast2-sound-3.0.3/src/include/sound/routines.rb --- old/yast2-sound-3.0.2/src/include/sound/routines.rb 2013-08-07 11:41:06.000000000 +0200 +++ new/yast2-sound-3.0.3/src/include/sound/routines.rb 2013-10-21 11:14:31.000000000 +0200 @@ -447,7 +447,7 @@ end if Mode.autoinst( ) - if Ops.is(vol_settings, "list <list <map>>") + if vol_settings.is_a?(Array) && vol_settings.first.is_a?(Array) && vol_settings.first.first.is_a?(Hash) Builtins.y2milestone("AutoYast data detected, converting...") # convert # [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-3.0.2/src/include/sound/volume.rb new/yast2-sound-3.0.3/src/include/sound/volume.rb --- old/yast2-sound-3.0.2/src/include/sound/volume.rb 2013-07-30 13:43:49.000000000 +0200 +++ new/yast2-sound-3.0.3/src/include/sound/volume.rb 2013-10-21 11:14:49.000000000 +0200 @@ -278,7 +278,7 @@ Convert.convert(save_info, :from => "list", :to => "list <map>") ) do |card| pos = Ops.add(pos, 1) - pos == card_id ? save_entry : card + pos == card_id ? deep_copy(save_entry) : deep_copy(card) end end -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org