Mailinglist Archive: opensuse-commit (1059 mails)

< Previous Next >
commit yast2-packager
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 07 Jan 2008 02:55:25 +0100
  • Message-id: <20080107015525.CB561678337@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-packager
checked in at Mon Jan 7 02:55:25 CET 2008.

--------
--- yast2-packager/yast2-packager.changes 2007-12-12 16:47:02.000000000
+0100
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes
2008-01-04 13:09:07.987581000 +0100
@@ -1,0 +2,9 @@
+Fri Jan 4 10:51:33 CET 2008 - lslezak@xxxxxxx
+
+- PackageCallbacks: do not remove the subprogress widget, try to
+ reuse it later if possible (#350584)
+- do not call Pkg::SaveState() and Pkg::RestoreState(), the state
+ is saved/restored by the package selector widget
+- 2.16.13
+
+-------------------------------------------------------------------

Old:
----
yast2-packager-2.16.12.tar.bz2

New:
----
yast2-packager-2.16.13.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.I19200/_old 2008-01-07 02:55:08.000000000 +0100
+++ /var/tmp/diff_new_pack.I19200/_new 2008-01-07 02:55:08.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-packager (Version 2.16.12)
+# spec file for package yast2-packager (Version 2.16.13)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,12 +11,12 @@
# norootforbuild

Name: yast2-packager
-Version: 2.16.12
+Version: 2.16.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.16.12.tar.bz2
+Source0: yast2-packager-2.16.13.tar.bz2
Prefix: /usr
BuildRequires: gcc-c++ libxcrypt-devel perl-XML-Writer update-desktop-files
yast2-country-data yast2-devtools yast2-slp yast2-testsuite yast2-xml
# Progress::Subprogress*()
@@ -63,7 +63,7 @@
Arvin Schnell <arvin@xxxxxxx>

%prep
-%setup -n yast2-packager-2.16.12
+%setup -n yast2-packager-2.16.13

%build
%{prefix}/bin/y2tool y2autoconf
@@ -99,6 +99,12 @@
%{prefix}/lib/YaST2/servers_non_y2/ag_*
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog
+* Fri Jan 04 2008 - lslezak@xxxxxxx
+- PackageCallbacks: do not remove the subprogress widget, try to
+ reuse it later if possible (#350584)
+- do not call Pkg::SaveState() and Pkg::RestoreState(), the state
+ is saved/restored by the package selector widget
+- 2.16.13
* Wed Dec 12 2007 - lslezak@xxxxxxx
- bug fixes in the new callbacks
- 2.16.12

++++++ yast2-packager-2.16.12.tar.bz2 -> yast2-packager-2.16.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-packager-2.16.12/configure
new/yast2-packager-2.16.13/configure
--- old/yast2-packager-2.16.12/configure 2007-12-12 16:45:59.000000000
+0100
+++ new/yast2-packager-2.16.13/configure 2008-01-04 13:08:29.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-packager 2.16.12.
+# Generated by GNU Autoconf 2.61 for yast2-packager 2.16.13.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-packager'
PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.16.12'
-PACKAGE_STRING='yast2-packager 2.16.12'
+PACKAGE_VERSION='2.16.13'
+PACKAGE_STRING='yast2-packager 2.16.13'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'

ac_unique_file="RPMNAME"
@@ -1197,7 +1197,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-packager 2.16.12 to adapt to many kinds of
systems.
+\`configure' configures yast2-packager 2.16.13 to adapt to many kinds of
systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

@@ -1268,7 +1268,7 @@

if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-packager 2.16.12:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.16.13:";;
esac
cat <<\_ACEOF

@@ -1346,7 +1346,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-packager configure 2.16.12
+yast2-packager configure 2.16.13
generated by GNU Autoconf 2.61

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1360,7 +1360,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-packager $as_me 2.16.12, which was
+It was created by yast2-packager $as_me 2.16.13, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ $0 $@
@@ -2181,7 +2181,7 @@

# Define the identity of the package.
PACKAGE='yast2-packager'
- VERSION='2.16.12'
+ VERSION='2.16.13'


cat >>confdefs.h <<_ACEOF
@@ -2408,7 +2408,7 @@



-VERSION="2.16.12"
+VERSION="2.16.13"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak <lslezak@xxxxxxx>"

@@ -3303,7 +3303,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-packager $as_me 2.16.12, which was
+This file was extended by yast2-packager $as_me 2.16.13, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
@@ -3346,7 +3346,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.16.12
+yast2-packager config.status 2.16.13
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-packager-2.16.12/configure.in
new/yast2-packager-2.16.13/configure.in
--- old/yast2-packager-2.16.12/configure.in 2007-12-12 16:45:55.000000000
+0100
+++ new/yast2-packager-2.16.13/configure.in 2008-01-04 13:08:24.000000000
+0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.15.9 - DO NOT EDIT! --
dnl (edit configure.in.in instead)

-AC_INIT(yast2-packager, 2.16.12, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.16.13, http://bugs.opensuse.org/, yast2-packager)
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.16.12"
+VERSION="2.16.13"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak <lslezak@xxxxxxx>"

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-packager-2.16.12/src/clients/inst_packages.ycp
new/yast2-packager-2.16.13/src/clients/inst_packages.ycp
--- old/yast2-packager-2.16.12/src/clients/inst_packages.ycp 2007-08-22
15:24:59.000000000 +0200
+++ new/yast2-packager-2.16.13/src/clients/inst_packages.ycp 2008-01-04
13:08:13.000000000 +0100
@@ -3,7 +3,7 @@
* Authors: Stefan Hundhammer <sh@xxxxxxx>
* Purpose: Show the package installation dialog
*
- * $Id: inst_packages.ycp 40393 2007-08-22 09:28:49Z locilka $
+ * $Id: inst_packages.ycp 43271 2008-01-04 12:08:13Z lslezak $
*
*/

@@ -24,10 +24,7 @@
**/
symbol detailedSelection( symbol mode )
{
- Pkg::SaveState();
-
- // Open empty dialog for instant feedback
-
+ // Open an empty dialog for immediate feedback
UI::OpenDialog(`opt(`defaultsize),
`ReplacePoint(`id( `rep),
`Label( _("Reading package database...") )
@@ -46,11 +43,6 @@
UI::CloseDialog();
y2milestone( "Package selector returned %1", result );

- if (result == `accept)
- Pkg::ClearSaveState();
- else
- Pkg::RestoreState(false);
-
return result;
}

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-packager-2.16.12/src/clients/inst_sw_select.ycp
new/yast2-packager-2.16.13/src/clients/inst_sw_select.ycp
--- old/yast2-packager-2.16.12/src/clients/inst_sw_select.ycp 2007-07-19
13:46:48.000000000 +0200
+++ new/yast2-packager-2.16.13/src/clients/inst_sw_select.ycp 2008-01-04
13:08:13.000000000 +0100
@@ -12,7 +12,7 @@
*
* Packages module write:
*
- * $Id: inst_sw_select.ycp 39526 2007-07-19 11:46:47Z lslezak $
+ * $Id: inst_sw_select.ycp 43271 2008-01-04 12:08:13Z lslezak $
*
*/

@@ -36,9 +36,6 @@

symbol ret = `again;

- boolean retval = Pkg::SaveState();
- y2milestone ("Save pkg state retval: %1", retval);
-
while (ret == `again)
{

@@ -61,14 +58,5 @@
}
}

- if ( ret == `back || ret == `cancel )
- {
- boolean ret = Pkg::RestoreState( false );
- y2milestone( "RESET to software selection return: %1", ret );
- }
- else
- {
- Pkg::ClearSaveState();
- }
- return `ret;
+ return ret;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore
old/yast2-packager-2.16.12/src/modules/PackageCallbacks.ycp
new/yast2-packager-2.16.13/src/modules/PackageCallbacks.ycp
--- old/yast2-packager-2.16.12/src/modules/PackageCallbacks.ycp 2007-12-12
16:24:25.000000000 +0100
+++ new/yast2-packager-2.16.13/src/modules/PackageCallbacks.ycp 2008-01-04
11:18:20.000000000 +0100
@@ -7,7 +7,7 @@
*
* Purpose: provides the default Callbacks for Pkg::
*
- * $Id: PackageCallbacks.ycp 43024 2007-12-12 15:24:24Z lslezak $
+ * $Id: PackageCallbacks.ycp 43268 2008-01-04 10:18:20Z lslezak $
*
*/

@@ -117,9 +117,8 @@

if (FullScreen())
{
- //FIXME
- Progress::SubprogressType(`progress, archivesize);
- Progress::SubprogressTitle("");
+ Progress::SubprogressType(`progress, 100);
+ Progress::SubprogressTitle(sformat(_("Downloading package
%1 (%2)..."), name, sz));
}
else
{
@@ -1616,7 +1615,6 @@
{
Progress::SubprogressType(`progress, 100);
Progress::SubprogressTitle(message);
- Progress::SubprogressValue(0);
}
}
}
@@ -2201,17 +2199,12 @@
}
else if (FullScreen())
{
- symbol progress_type = `none;
- if (size(progress_stack) > 0)
- {
- progress_type = progress_stack[size(progress_stack) - 1,
"type"]:`none;
- }
-
- Progress::SubprogressType(progress_type, 100);
-
if (size(progress_stack) > 0)
{
+ symbol progress_type = progress_stack[size(progress_stack) - 1,
"type"]:`none;
string task = progress_stack[size(progress_stack) - 1, "task"]:"";
+
+ Progress::SubprogressType(progress_type, 100);
Progress::SubprogressTitle(task);
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-packager-2.16.12/VERSION
new/yast2-packager-2.16.13/VERSION
--- old/yast2-packager-2.16.12/VERSION 2007-12-12 16:23:08.000000000 +0100
+++ new/yast2-packager-2.16.13/VERSION 2008-01-04 13:07:05.000000000 +0100
@@ -1 +1 @@
-2.16.12
+2.16.13


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >