Hello community,
here is the log from the commit of package yast2
checked in at Thu Jan 24 12:53:50 CET 2008.
--------
--- yast2/yast2.changes 2008-01-22 15:11:50.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2008-01-24 11:11:38.362730000 +0100
@@ -1,0 +2,9 @@
+Thu Jan 24 10:09:37 CET 2008 - lslezak@suse.cz
+
+- Fixed testing UI::WidgetExists() call result (it can return nil,
+ it must be explicitly compared to true)
+- Added pre-requires for fillup into .spec file (for filling up
+ sysconfig.yast2 template)
+- 2.16.23
+
+-------------------------------------------------------------------
Old:
----
yast2-2.16.22.tar.bz2
New:
----
yast2-2.16.23.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.Ha7595/_old 2008-01-24 12:53:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ha7595/_new 2008-01-24 12:53:04.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.16.22)
+# spec file for package yast2 (Version 2.16.23)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,17 +11,19 @@
# norootforbuild
Name: yast2
-Version: 2.16.22
+Version: 2.16.23
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.16.22.tar.bz2
+Source0: yast2-2.16.23.tar.bz2
Prefix: /usr
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite
# Needed already in build time
BuildRequires: yast2-pkg-bindings >= 2.16.5
+# pre-requires for filling the sysconfig template (sysconfig.yast2)
+PreReq: %fillup_prereq
# Mod_UI
Requires: yast2-core >= 2.16.6
# Pkg::CallbackProcess*() functions
@@ -127,7 +129,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.16.22
+%setup -n yast2-2.16.23
%build
%{prefix}/bin/y2tool y2autoconf
@@ -231,6 +233,12 @@
%doc %{prefix}/share/doc/packages/yast2/types
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Thu Jan 24 2008 lslezak@suse.cz
+- Fixed testing UI::WidgetExists() call result (it can return nil,
+ it must be explicitly compared to true)
+- Added pre-requires for fillup into .spec file (for filling up
+ sysconfig.yast2 template)
+- 2.16.23
* Tue Jan 22 2008 lslezak@suse.cz
- Progress::New() can be called recursively - a nested progress
can run inside the main progress (part of bug #352007)
++++++ yast2-2.16.22.tar.bz2 -> yast2-2.16.23.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.22/configure new/yast2-2.16.23/configure
--- old/yast2-2.16.22/configure 2008-01-22 15:07:33.000000000 +0100
+++ new/yast2-2.16.23/configure 2008-01-24 11:10:50.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2 2.16.22.
+# Generated by GNU Autoconf 2.61 for yast2 2.16.23.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.16.22'
-PACKAGE_STRING='yast2 2.16.22'
+PACKAGE_VERSION='2.16.23'
+PACKAGE_STRING='yast2 2.16.23'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1199,7 +1199,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 2.16.22 to adapt to many kinds of systems.
+\`configure' configures yast2 2.16.23 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1270,7 +1270,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.16.22:";;
+ short | recursive ) echo "Configuration of yast2 2.16.23:";;
esac
cat <<\_ACEOF
@@ -1348,7 +1348,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.16.22
+yast2 configure 2.16.23
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1362,7 +1362,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 $as_me 2.16.22, which was
+It was created by yast2 $as_me 2.16.23, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2183,7 +2183,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.16.22'
+ VERSION='2.16.23'
cat >>confdefs.h <<_ACEOF
@@ -2411,7 +2411,7 @@
-VERSION="2.16.22"
+VERSION="2.16.23"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
@@ -3412,7 +3412,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2 $as_me 2.16.22, which was
+This file was extended by yast2 $as_me 2.16.23, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3455,7 +3455,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.16.22
+yast2 config.status 2.16.23
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.22/configure.in new/yast2-2.16.23/configure.in
--- old/yast2-2.16.22/configure.in 2008-01-22 15:07:29.000000000 +0100
+++ new/yast2-2.16.23/configure.in 2008-01-24 11:10:46.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.3 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.16.22, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.16.23, http://bugs.opensuse.org/, yast2)
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.16.22"
+VERSION="2.16.23"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.22/library/modules/Version.ycp new/yast2-2.16.23/library/modules/Version.ycp
--- old/yast2-2.16.22/library/modules/Version.ycp 2008-01-22 15:07:42.000000000 +0100
+++ new/yast2-2.16.23/library/modules/Version.ycp 2008-01-24 11:10:59.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.16.22";
+global string yast2 = "2.16.23";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.22/library/wizard/src/Progress.ycp new/yast2-2.16.23/library/wizard/src/Progress.ycp
--- old/yast2-2.16.22/library/wizard/src/Progress.ycp 2008-01-22 14:50:38.000000000 +0100
+++ new/yast2-2.16.23/library/wizard/src/Progress.ycp 2008-01-24 11:10:38.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Progress bar
* Authors: Petr Blahos
*
- * $Id: Progress.ycp 43820 2008-01-22 13:50:38Z lslezak $
+ * $Id: Progress.ycp 43859 2008-01-24 10:10:38Z lslezak $
*
* Functions for progress bar.<br>
* <pre>
@@ -188,10 +188,13 @@
progress_max = state["progress_max"]:0;
progress_val = state["progress_val"]:0;
+ integer pb_value = state["progress_value"]:0;
+ pb_value = (pb_value == nil) ? 0 : pb_value + 1;
+
// refresh the progress widget, add one step for the embedded progress
UI::ReplaceWidget(`id(`progress_replace_point),
- `ProgressBar(`id(`pb), state["progress_label"]:"",
- steps, state["progress_value"]:0 + 1));
+ `ProgressBar(`id(`pb), state["progress_label"]:"", steps, pb_value)
+ );
symbol type = state["subprogress_type"]:`none;
SubprogressType(type, last_subprogress_max);
@@ -505,12 +508,12 @@
}
// is there the subprogress progress widget?
- if (UI::WidgetExists(`subprogress_progress))
+ if (UI::WidgetExists(`subprogress_progress) == true)
{
ret = `progress;
}
// or is there the tick subprogress widget?
- else if (UI::WidgetExists(`subprogress_tick))
+ else if (UI::WidgetExists(`subprogress_tick) == true)
{
ret = `tick;
}
@@ -705,7 +708,7 @@
string icon_id = IconId (last_highlighted_icon);
- if (UI::WidgetExists (`id (icon_id))) {
+ if (UI::WidgetExists (`id (icon_id)) == true) {
UI::ChangeWidget (`id (icon_id), `Enabled, true);
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.22/VERSION new/yast2-2.16.23/VERSION
--- old/yast2-2.16.22/VERSION 2008-01-22 15:06:50.000000000 +0100
+++ new/yast2-2.16.23/VERSION 2008-01-24 10:15:06.000000000 +0100
@@ -1 +1 @@
-2.16.22
+2.16.23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org