Hello community,
here is the log from the commit of package yast2
checked in at Fri Feb 16 08:30:05 CET 2007.
--------
--- yast2/yast2.changes 2007-02-12 13:18:18.000000000 +0100
+++ yast2/yast2.changes 2007-02-16 08:01:54.861182000 +0100
@@ -1,0 +2,15 @@
+Thu Feb 15 07:31:47 CET 2007 - lslezak@suse.cz
+
+- register ScanDB callbacks (#219953)
+- String.ycp - functions for formatting dowload rate string
+ (required for #168935)
+- /sbin/yast2 - added control center switching, configurable via
+ sysconfig (fate #301082) (mmeeks)
+- 2.15.9
+
+-------------------------------------------------------------------
+Tue Feb 13 17:17:43 CET 2007 - mvidner@suse.cz
+
+- ModulesConf::RunDepmod: do it also on s390 (#192120).
+
+-------------------------------------------------------------------
Old:
----
yast2-2.15.8.tar.bz2
New:
----
yast2-2.15.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.m20922/_old 2007-02-16 08:29:14.000000000 +0100
+++ /var/tmp/diff_new_pack.m20922/_new 2007-02-16 08:29:14.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.15.8)
+# spec file for package yast2 (Version 2.15.9)
#
# 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
-Version: 2.15.8
+Version: 2.15.9
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.15.8.tar.bz2
+Source0: yast2-2.15.9.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite
# UI::RunInTerminal builtin
@@ -97,7 +97,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.15.8
+%setup -n yast2-2.15.9
%build
%{prefix}/bin/y2tool y2autoconf
@@ -202,6 +202,15 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog -n yast2
+* Thu Feb 15 2007 - lslezak@suse.cz
+- register ScanDB callbacks (#219953)
+- String.ycp - functions for formatting dowload rate string
+ (required for #168935)
+- /sbin/yast2 - added control center switching, configurable via
+ sysconfig (fate #301082) (mmeeks)
+- 2.15.9
+* Tue Feb 13 2007 - mvidner@suse.cz
+- ModulesConf::RunDepmod: do it also on s390 (#192120).
* Mon Feb 12 2007 - lslezak@suse.cz
- register TrustGpgKey() callback handler (#242087, #240771)
- 2.15.8
++++++ yast2-2.15.8.tar.bz2 -> yast2-2.15.9.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/configure new/yast2-2.15.9/configure
--- old/yast2-2.15.8/configure 2007-02-12 13:09:38.000000000 +0100
+++ new/yast2-2.15.9/configure 2007-02-15 07:48:28.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 2.15.8.
+# Generated by GNU Autoconf 2.60 for yast2 2.15.9.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.15.8'
-PACKAGE_STRING='yast2 2.15.8'
+PACKAGE_VERSION='2.15.9'
+PACKAGE_STRING='yast2 2.15.9'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1183,7 +1183,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.15.8 to adapt to many kinds of systems.
+\`configure' configures yast2 2.15.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1254,7 +1254,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.15.8:";;
+ short | recursive ) echo "Configuration of yast2 2.15.9:";;
esac
cat <<\_ACEOF
@@ -1332,7 +1332,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.15.8
+yast2 configure 2.15.9
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1346,7 +1346,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.15.8, which was
+It was created by yast2 $as_me 2.15.9, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2147,7 +2147,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.15.8'
+ VERSION='2.15.9'
cat >>confdefs.h <<_ACEOF
@@ -2374,7 +2374,7 @@
-VERSION="2.15.8"
+VERSION="2.15.9"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
@@ -3366,7 +3366,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.15.8, which was
+This file was extended by yast2 $as_me 2.15.9, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3409,7 +3409,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.15.8
+yast2 config.status 2.15.9
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-2.15.8/configure.in new/yast2-2.15.9/configure.in
--- old/yast2-2.15.8/configure.in 2007-02-12 13:09:33.000000000 +0100
+++ new/yast2-2.15.9/configure.in 2007-02-15 07:48:24.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, 2.15.8, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.15.9, http://bugs.opensuse.org/, yast2)
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.8"
+VERSION="2.15.9"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/library/modules/Version.ycp new/yast2-2.15.9/library/modules/Version.ycp
--- old/yast2-2.15.8/library/modules/Version.ycp 2007-02-12 13:09:57.000000000 +0100
+++ new/yast2-2.15.9/library/modules/Version.ycp 2007-02-15 07:48:46.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.15.8";
+global string yast2 = "2.15.9";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/library/packages/src/PackageCallbacksInit.ycp new/yast2-2.15.9/library/packages/src/PackageCallbacksInit.ycp
--- old/yast2-2.15.8/library/packages/src/PackageCallbacksInit.ycp 2007-02-12 13:16:16.000000000 +0100
+++ new/yast2-2.15.9/library/packages/src/PackageCallbacksInit.ycp 2007-02-15 07:48:12.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Initialize packager callbacks
* Authors: Jiri Srain
*
- * $Id: PackageCallbacksInit.ycp 36036 2007-02-12 12:16:13Z lslezak $
+ * $Id: PackageCallbacksInit.ycp 36165 2007-02-15 06:48:08Z lslezak $
*
* This module is used to initialize package manager callbacks
*/
@@ -34,6 +34,23 @@
Pkg::CallbackMessage("PackageCallbacks::Message");
}
+global void SetScanDBCallbacks ()
+{
+ Pkg::CallbackStartScanDb ("PackageCallbacks::StartScanDb");
+ Pkg::CallbackProgressScanDb ("PackageCallbacks::ProgressScanDb");
+ Pkg::CallbackErrorScanDb ("PackageCallbacks::ErrorScanDb");
+ Pkg::CallbackDoneScanDb ("PackageCallbacks::DoneScanDb");
+}
+
+global void ResetScanDBCallbacks ()
+{
+ Pkg::CallbackStartScanDb ("");
+ Pkg::CallbackProgressScanDb ("");
+ Pkg::CallbackErrorScanDb ("");
+ Pkg::CallbackDoneScanDb ("");
+}
+
+
/**
* Register package manager callbacks
*/
@@ -98,6 +115,8 @@
SetMediaCallbacks ();
SetScriptCallbacks();
+
+ SetScanDBCallbacks();
}
/* EOF */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/library/system/src/ModulesConf.ycp new/yast2-2.15.9/library/system/src/ModulesConf.ycp
--- old/yast2-2.15.8/library/system/src/ModulesConf.ycp 2007-01-05 15:34:55.000000000 +0100
+++ new/yast2-2.15.9/library/system/src/ModulesConf.ycp 2007-02-15 07:43:17.000000000 +0100
@@ -11,7 +11,7 @@
* Summary:
* All modules.conf related functions are here
*
- * $Id: ModulesConf.ycp 20655 2005-01-05 15:53:09Z jsrain $
+ * $Id: ModulesConf.ycp 36105 2007-02-13 16:18:25Z mvidner $
*/
{
module "ModulesConf";
@@ -54,9 +54,6 @@
*/
global define void RunDepmod (boolean force)
``{
- if (Arch::s390 ())
- return;
-
import "Kernel";
string kernel_version = (string) SCR::Read (.boot.vmlinuz_version, ["/boot/" + Kernel::GetBinary ()]);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/library/types/src/String.ycp new/yast2-2.15.9/library/types/src/String.ycp
--- old/yast2-2.15.8/library/types/src/String.ycp 2007-01-05 15:35:10.000000000 +0100
+++ new/yast2-2.15.9/library/types/src/String.ycp 2007-02-15 07:48:12.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: String manipulation routines
* Authors: Michal Svec
*
- * $Id: String.ycp 28838 2006-03-10 16:11:58Z mvidner $
+ * $Id: String.ycp 36165 2007-02-15 06:48:08Z lslezak $
*/
{
@@ -134,6 +134,47 @@
}
/**
+ * Return a pretty description of a download rate
+ *
+ * Return a pretty description of a download rate, with two fraction digits
+ * and using KB/s, MB/s or GB/s as unit as appropriate.
+ *
+ * @param bytes_per_second download rate (in B/s)
+ * @return formatted string
+ *
+ * @example FormatRate(6780) -> ""
+ * @example FormatRate(0) -> ""
+ * @example FormatRate(895321) -> ""
+ */
+global string FormatRate(integer bytes_per_second)
+{
+ // covert a number to download rate string
+ // %1 is string - size in bytes, kB, MB or GB
+ return sformat(_("%1/s"), FormatSize(bytes_per_second));
+}
+
+/**
+ * Add a download rate status to a message.
+ *
+ * Add the current and the average download rate to the message.
+ *
+ * @param text the message
+ * @param avg_bps average download rate (in B/s)
+ * @param curr_bps current download rate (in B/s)
+ *
+ * @return string formatted message
+ */
+global string FormatRateMessage(string text, integer avg_bps, integer curr_bps)
+{
+ // format download rate message
+ // %1 - input message (e.g. "Downloading Package")
+ // %2 - current download rate in B/s, KB/s...
+ // %3 - average download rate since start
+ // example - "Downloading Package - 237.34 KB/s (avg. 243.21 KB/s)"
+ return sformat(_("%1 - %2 (avg. %3)"), text, FormatRate(curr_bps), FormatRate(avg_bps));
+}
+
+/**
* Remove blanks at begin and end of input string.
* @param input string to be stripped
* @return stripped string
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/scripts/yast2 new/yast2-2.15.9/scripts/yast2
--- old/yast2-2.15.8/scripts/yast2 2007-02-12 13:08:12.000000000 +0100
+++ new/yast2-2.15.9/scripts/yast2 2007-02-15 07:43:17.000000000 +0100
@@ -79,14 +79,6 @@
# Select which control center shell we want to use
select_control_center()
{
- WANTED_SHELL="auto"
- # check override config file
- if [ -f $HOME/.yast2/shell ]; then
- read WANTED_SHELL < $HOME/.yast2/shell
- elif [ -f /etc/YaST2/shell ]; then
- read WANTED_SHELL < /etc/YaST2/shell
- fi
-
# 'auto' detects desktop
if [ "$WANTED_SHELL" = "auto" ]; then
probe_desktop_gui
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.8/VERSION new/yast2-2.15.9/VERSION
--- old/yast2-2.15.8/VERSION 2007-02-12 13:07:38.000000000 +0100
+++ new/yast2-2.15.9/VERSION 2007-02-15 07:47:35.000000000 +0100
@@ -1 +1 @@
-2.15.8
+2.15.9
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org