Hello community,
here is the log from the commit of package yast2-irda for openSUSE:Factory
checked in at Wed Dec 2 12:50:54 CET 2009.
--------
--- yast2-irda/yast2-irda.changes 2009-09-04 12:30:53.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-irda/yast2-irda.changes 2009-11-30 10:04:43.000000000 +0100
@@ -1,0 +2,12 @@
+Fri Nov 27 08:28:57 CET 2009 - jsuchome@suse.cz
+
+- save baud rate (bnc#558525)
+- 2.19.1
+
+-------------------------------------------------------------------
+Thu Nov 26 16:20:52 CET 2009 - jsuchome@suse.cz
+
+- check for `ok dialog return value (bnc#558525)
+- 2.19.0
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-irda-2.18.1.tar.bz2
New:
----
yast2-irda-2.19.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-irda.spec ++++++
--- /var/tmp/diff_new_pack.6Sqcsl/_old 2009-12-02 12:43:58.000000000 +0100
+++ /var/tmp/diff_new_pack.6Sqcsl/_new 2009-12-02 12:43:58.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-irda (Version 2.18.1)
+# spec file for package yast2-irda (Version 2.19.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,13 +19,13 @@
Name: yast2-irda
-Version: 2.18.1
+Version: 2.19.1
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-irda-2.18.1.tar.bz2
+Source0: yast2-irda-2.19.1.tar.bz2
Prefix: /usr
Group: System/YaST
-License: GPL v2 or later
+License: GPLv2+
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-devtools yast2-testsuite
Requires: yast2
BuildArch: noarch
@@ -36,7 +36,7 @@
stack.
%prep
-%setup -n yast2-irda-2.18.1
+%setup -n yast2-irda-2.19.1
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-irda-2.18.1.tar.bz2 -> yast2-irda-2.19.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-irda-2.18.1/configure new/yast2-irda-2.19.1/configure
--- old/yast2-irda-2.18.1/configure 2009-09-04 12:28:25.000000000 +0200
+++ new/yast2-irda-2.19.1/configure 2009-09-03 14:21:31.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-irda 2.18.1.
+# Generated by GNU Autoconf 2.63 for yast2-irda 2.18.0.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -596,8 +596,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-irda'
PACKAGE_TARNAME='yast2-irda'
-PACKAGE_VERSION='2.18.1'
-PACKAGE_STRING='yast2-irda 2.18.1'
+PACKAGE_VERSION='2.18.0'
+PACKAGE_STRING='yast2-irda 2.18.0'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1274,7 +1274,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-irda 2.18.1 to adapt to many kinds of systems.
+\`configure' configures yast2-irda 2.18.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1345,7 +1345,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-irda 2.18.1:";;
+ short | recursive ) echo "Configuration of yast2-irda 2.18.0:";;
esac
cat <<\_ACEOF
@@ -1425,7 +1425,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-irda configure 2.18.1
+yast2-irda configure 2.18.0
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1439,7 +1439,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-irda $as_me 2.18.1, which was
+It was created by yast2-irda $as_me 2.18.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2286,7 +2286,7 @@
# Define the identity of the package.
PACKAGE='yast2-irda'
- VERSION='2.18.1'
+ VERSION='2.18.0'
cat >>confdefs.h <<_ACEOF
@@ -2510,7 +2510,7 @@
-VERSION="2.18.1"
+VERSION="2.18.0"
RPMNAME="yast2-irda"
MAINTAINER="Jiri Suchomel "
@@ -3451,7 +3451,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-irda $as_me 2.18.1, which was
+This file was extended by yast2-irda $as_me 2.18.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3501,7 +3501,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-irda config.status 2.18.1
+yast2-irda config.status 2.18.0
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-irda-2.18.1/configure.in new/yast2-irda-2.19.1/configure.in
--- old/yast2-irda-2.18.1/configure.in 2009-09-04 12:28:22.000000000 +0200
+++ new/yast2-irda-2.19.1/configure.in 2009-09-03 14:21:28.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.9 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-irda, 2.18.1, http://bugs.opensuse.org/, yast2-irda)
+AC_INIT(yast2-irda, 2.18.0, http://bugs.opensuse.org/, yast2-irda)
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="2.18.1"
+VERSION="2.18.0"
RPMNAME="yast2-irda"
MAINTAINER="Jiri Suchomel "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-irda-2.18.1/src/Irda.ycp new/yast2-irda-2.19.1/src/Irda.ycp
--- old/yast2-irda-2.18.1/src/Irda.ycp 2008-10-20 13:51:11.000000000 +0200
+++ new/yast2-irda-2.19.1/src/Irda.ycp 2009-11-27 08:11:27.000000000 +0100
@@ -107,8 +107,12 @@
if (port != "")
{
SCR::Write (.sysconfig.irda.IRDA_PORT, port);
- SCR::Write (.sysconfig.irda, nil);
}
+ if (max_baud_rate != nil)
+ {
+ SCR::Write (.sysconfig.irda.IRDA_MAX_BAUD_RATE, max_baud_rate);
+ }
+ SCR::Write (.sysconfig.irda, nil);
Progress::NextStage ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-irda-2.18.1/src/ui.ycp new/yast2-irda-2.19.1/src/ui.ycp
--- old/yast2-irda-2.18.1/src/ui.ycp 2008-10-20 13:51:11.000000000 +0200
+++ new/yast2-irda-2.19.1/src/ui.ycp 2009-11-27 08:27:41.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Dialogs definitions
* Authors: Jiri Suchomel
*
- * $Id: ui.ycp 52287 2008-10-16 11:07:14Z jsuchome $
+ * $Id: ui.ycp 59797 2009-11-26 15:26:34Z jsuchome $
*/
{
@@ -25,9 +25,9 @@
* @param port the serial port use for IrDA
* (to see if it was changed and service needs to be restarted)
*/
-define boolean TestPopup (string port) {
+define boolean TestPopup (string port, string baud_rate) {
- boolean modified = port != Irda::port;
+ boolean modified = port != Irda::port || baud_rate != Irda::max_baud_rate;
// if service was originaly started
boolean orig_start = false;
@@ -44,15 +44,16 @@
{
// 1. save new configuration
SCR::Write (.sysconfig.irda.IRDA_PORT, port);
+ SCR::Write (.sysconfig.irda.IRDA_MAX_BAUD_RATE, baud_rate);
SCR::Write (.sysconfig.irda, nil);
}
// 2. start/restart the service
// when module cannot be loaded, Runlevel returns 0 -> use target.bash
if (!orig_start)
- out = (map) SCR::Execute (.target.bash_output, "rcirda start");
+ out = Service::RunInitScriptOutput ("irda", "start");
else if (modified)
- out = (map) SCR::Execute (.target.bash_output, "rcirda restart");
+ out = Service::RunInitScriptOutput ("irda", "restart");
return out["stderr"]:"";
}
@@ -66,6 +67,7 @@
if (modified)
{
SCR::Write (.sysconfig.irda.IRDA_PORT, Irda::port);
+ SCR::Write (.sysconfig.irda.IRDA_MAX_BAUD_RATE, Irda::max_baud_rate);
SCR::Write (.sysconfig.irda, nil);
}
@@ -308,12 +310,12 @@
}
if (ret == `test)
{
- TestPopup (port);
+ TestPopup (port, baud_rate);
}
} while (!contains ([`back, `abort, `cancel, `next, `ok], ret));
- if (ret == `next &&
+ if ((ret == `next || ret == `ok) &&
(start != Irda::start || port != Irda::port ||
baud_rate != Irda::max_baud_rate))
{
@@ -336,7 +338,7 @@
Irda::Read ();
symbol ret = IrDADialog ();
- if (ret == `next || ret == `finish)
+ if (ret == `next || ret == `finish || ret == `ok)
{
Irda::Write ();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-irda-2.18.1/testsuite/tests/Write.out new/yast2-irda-2.19.1/testsuite/tests/Write.out
--- old/yast2-irda-2.18.1/testsuite/tests/Write.out 2008-10-20 13:51:11.000000000 +0200
+++ new/yast2-irda-2.19.1/testsuite/tests/Write.out 2009-11-27 08:28:30.000000000 +0100
@@ -1,6 +1,8 @@
Dump ==== nothing modified: =====================
Return true
Dump ==== stop irda: ============================
+Write .sysconfig.irda.IRDA_MAX_BAUD_RATE "0" true
+Write .sysconfig.irda nil true
Read .init.scripts.exists "irda" true
Execute .target.bash_output "/etc/init.d/irda stop" $["TERM":"raw"] $["exit":0]
Read .init.scripts.exists "irda" true
@@ -12,6 +14,7 @@
Return true
Dump ==== start irda, create link: ==============
Write .sysconfig.irda.IRDA_PORT "new_port" true
+Write .sysconfig.irda.IRDA_MAX_BAUD_RATE "0" true
Write .sysconfig.irda nil true
Read .init.scripts.exists "irda" true
Execute .target.bash_output "/etc/init.d/irda stop" $["TERM":"raw"] $["exit":0]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-irda-2.18.1/VERSION new/yast2-irda-2.19.1/VERSION
--- old/yast2-irda-2.18.1/VERSION 2009-09-04 12:26:20.000000000 +0200
+++ new/yast2-irda-2.19.1/VERSION 2009-11-30 10:04:10.000000000 +0100
@@ -1 +1 @@
-2.18.1
+2.19.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org