Hello community,
here is the log from the commit of package yast2
checked in at Fri Jan 18 01:33:57 CET 2008.
--------
--- yast2/yast2.changes 2008-01-11 13:16:19.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2008-01-17 13:41:57.533091000 +0100
@@ -1,0 +2,8 @@
+Thu Jan 17 13:15:45 CET 2008 - lslezak@suse.cz
+
+- use `BusyIndicator widget for `tick subprogress in Progress::
+ (#351933)
+- register AcceptWrongDigest AcceptUnknownDigest callbacks
+- 2.16.21
+
+-------------------------------------------------------------------
Old:
----
yast2-2.16.20.tar.bz2
New:
----
yast2-2.16.21.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
++++ 6901 lines (skipped)
++++ between yast2/yast2.spec
++++ and /mounts/work_src_done/STABLE/yast2/yast2.spec
++++++ yast2-2.16.20.tar.bz2 -> yast2-2.16.21.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/configure new/yast2-2.16.21/configure
--- old/yast2-2.16.20/configure 2008-01-11 14:02:00.000000000 +0100
+++ new/yast2-2.16.21/configure 2008-01-17 13:39:20.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.20.
+# Generated by GNU Autoconf 2.61 for yast2 2.16.21.
#
# 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.20'
-PACKAGE_STRING='yast2 2.16.20'
+PACKAGE_VERSION='2.16.21'
+PACKAGE_STRING='yast2 2.16.21'
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.20 to adapt to many kinds of systems.
+\`configure' configures yast2 2.16.21 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.20:";;
+ short | recursive ) echo "Configuration of yast2 2.16.21:";;
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.20
+yast2 configure 2.16.21
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.20, which was
+It was created by yast2 $as_me 2.16.21, 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.20'
+ VERSION='2.16.21'
cat >>confdefs.h <<_ACEOF
@@ -2411,7 +2411,7 @@
-VERSION="2.16.20"
+VERSION="2.16.21"
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.20, which was
+This file was extended by yast2 $as_me 2.16.21, 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.20
+yast2 config.status 2.16.21
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.20/configure.in new/yast2-2.16.21/configure.in
--- old/yast2-2.16.20/configure.in 2008-01-11 14:01:48.000000000 +0100
+++ new/yast2-2.16.21/configure.in 2008-01-17 13:39:15.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.20, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.16.21, 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.20"
+VERSION="2.16.21"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/library/modules/Version.ycp new/yast2-2.16.21/library/modules/Version.ycp
--- old/yast2-2.16.20/library/modules/Version.ycp 2008-01-11 14:02:27.000000000 +0100
+++ new/yast2-2.16.21/library/modules/Version.ycp 2008-01-17 13:39:30.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.16.20";
+global string yast2 = "2.16.21";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/library/packages/src/PackageCallbacksInit.ycp new/yast2-2.16.21/library/packages/src/PackageCallbacksInit.ycp
--- old/yast2-2.16.20/library/packages/src/PackageCallbacksInit.ycp 2007-12-10 12:17:23.000000000 +0100
+++ new/yast2-2.16.21/library/packages/src/PackageCallbacksInit.ycp 2008-01-17 13:38:29.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Initialize packager callbacks
* Authors: Jiri Srain
*
- * $Id: PackageCallbacksInit.ycp 42793 2007-12-07 12:40:37Z lslezak $
+ * $Id: PackageCallbacksInit.ycp 43711 2008-01-17 12:38:28Z lslezak $
*
* This module is used to initialize package manager callbacks
*/
@@ -144,6 +144,8 @@
Pkg::CallbackTrustedKeyAdded ("SignatureCheckCallbacks::TrustedKeyAdded");
Pkg::CallbackTrustedKeyRemoved ("SignatureCheckCallbacks::TrustedKeyRemoved");
Pkg::CallbackAcceptFileWithoutChecksum ("SignatureCheckCallbacks::AcceptFileWithoutChecksum");
+ Pkg::CallbackAcceptWrongDigest ("SignatureCheckCallbacks::AcceptWrongDigest");
+ Pkg::CallbackAcceptUnknownDigest ("SignatureCheckCallbacks::AcceptUnknownDigest");
}
SetMediaCallbacks ();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/library/system/src/test_kernel.ycp new/yast2-2.16.21/library/system/src/test_kernel.ycp
--- old/yast2-2.16.20/library/system/src/test_kernel.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.16.21/library/system/src/test_kernel.ycp 2007-08-30 11:13:45.000000000 +0200
@@ -0,0 +1,11 @@
+{
+
+ import "Kernel";
+ import "PackageSystem";
+ import "Mode";
+
+ PackageSystem::EnsureTargetInit();
+ PackageSystem::EnsureSourceInit();
+
+ y2internal("Kernel packages: %1", Kernel::GetPackages());
+}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/library/wizard/src/Progress.ycp new/yast2-2.16.21/library/wizard/src/Progress.ycp
--- old/yast2-2.16.20/library/wizard/src/Progress.ycp 2007-12-13 22:56:34.000000000 +0100
+++ new/yast2-2.16.21/library/wizard/src/Progress.ycp 2008-01-17 13:38:29.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Progress bar
* Authors: Petr Blahos
*
- * $Id: Progress.ycp 43265 2008-01-04 10:11:43Z lslezak $
+ * $Id: Progress.ycp 43711 2008-01-17 12:38:28Z lslezak $
*
* Functions for progress bar.<br>
* <pre>
@@ -327,31 +327,6 @@
Wizard::DisableNextButton ();
}
- // definition of the animated progress icon
- string _tick_movie = "/usr/share/YaST2/theme/current/animations/ticks-loop3.gif";
- integer _tick_movie_x = 7;
- integer _tick_movie_y = 1;
-
- // fallback for text based UI
- list<string> tick_labels = [ "/", "-", "\\", "|" ];
- integer current_tick = 0;
- integer tick_time = 0;
-
- /**
- * Returns next tick character from the sequence
- * @return string Next tick character from sequence "/", "-", "\", "|"
- */
- string NextTick()
- {
- current_tick = current_tick + 1;
- if (current_tick >= size(tick_labels))
- {
- current_tick = 0;
- }
-
- return tick_labels[current_tick]:"/";
- }
-
/**
* Get current subprogress type
* @return symbol Current type of the subprogress widget - can be `progress, `tick or `none
@@ -360,6 +335,11 @@
{
symbol ret = `none;
+ if (!visible || Mode::commandline())
+ {
+ return ret;
+ }
+
// is there the subprogress progress widget?
if (UI::WidgetExists(`subprogress_progress))
{
@@ -395,30 +375,7 @@
// tick progress
else if (current_type == `tick)
{
- if ( UI::GetDisplayInfo()["HasAnimationSupport"]:false )
- {
- // restart the animation
- term widget = `Image(`id (`subprogress_tick), `opt(`animated), _tick_movie, "progress_widget");
-
- // restart the animation only when at least 4 seconds elapsed,
- // don't restart it too often
- integer tm = time();
- y2debug("Time elapsed since the last tick callback: %1", tm - tick_time);
- if (tm - tick_time > 4)
- {
- UI::ReplaceWidget (`id(`rp_progress), widget);
- UI::RecalcLayout();
- tick_time = tm;
- }
- else
- {
- y2debug("Ignoring the tick callback");
- }
- }
- else
- {
- UI::ChangeWidget (`id(`subprogress_tick), `Value, NextTick());
- }
+ UI::ChangeWidget(`id(`subprogress_tick), `Alive, true);
}
else
{
@@ -443,7 +400,6 @@
if (type == CurrentSubprogressType())
{
-
if (type == `progress)
{
// just reset the current value of the progress bar if the requested progress is the same
@@ -454,6 +410,11 @@
return;
}
}
+ else if (type == `tick)
+ {
+ // just restart the animation
+ UI::ChangeWidget(`id(`subprogress_tick), `Alive, true);
+ }
else
{
y2milestone("Subprogress initialization skipped");
@@ -469,23 +430,7 @@
}
else if (type == `tick)
{
- if ( UI::GetDisplayInfo()["HasAnimationSupport"]:false )
- {
- widget = `VBox(
- `Label(`id(`subprogress_title), `opt(`hstretch), ""),
- `HCenter(`MinSize( _tick_movie_x, _tick_movie_y, `ReplacePoint(`id(`rp_progress), `Image(`id (`subprogress_tick), `opt(`animated), _tick_movie, "progress_widget" ))))
- );
- }
- else
- {
- string label = NextTick();
- widget = `VBox(
- `Label(`id(`subprogress_title), `opt(`hstretch), ""),
- `HCenter(`Label(`id(`subprogress_tick), label))
- );
- }
-
- tick_time = time();
+ widget = `BusyIndicator(`id(`subprogress_tick), " ", 3000);
}
else if (type == `none)
{
@@ -499,12 +444,6 @@
y2debug("widget: %1", widget);
UI::ReplaceWidget(`id(`subprogress_replace_point), widget);
- // recalc is not needed in ncurses (?)
- if (!UI::GetDisplayInfo()["TextMode"]:false)
- {
- UI::RecalcLayout();
- }
-
// remember the max. value
last_subprogress_max = max_value;
}
@@ -528,7 +467,7 @@
}
else if (current_type == `tick)
{
- UI::ChangeWidget (`id(`subprogress_title), `Value, title);
+ UI::ChangeWidget (`id(`subprogress_tick), `Label, title);
}
else
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/Makefile.in new/yast2-2.16.21/Makefile.in
--- old/yast2-2.16.20/Makefile.in 2008-01-11 14:02:19.000000000 +0100
+++ new/yast2-2.16.21/Makefile.in 2008-01-17 13:39:28.000000000 +0100
@@ -511,10 +511,6 @@
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
-dist-lzma: distdir
- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- $(am__remove_distdir)
-
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
@@ -541,8 +537,6 @@
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
- *.tar.lzma*) \
- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
@@ -699,10 +693,10 @@
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am am--refresh check check-am clean clean-generic \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-hook dist-lzma dist-shar dist-tarZ dist-zip distcheck \
- distclean distclean-generic distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
+ dist-hook dist-shar dist-tarZ dist-zip distcheck distclean \
+ distclean-generic distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am \
install-data-local install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.16.20/VERSION new/yast2-2.16.21/VERSION
--- old/yast2-2.16.20/VERSION 2007-12-14 17:20:24.000000000 +0100
+++ new/yast2-2.16.21/VERSION 2008-01-17 13:38:05.000000000 +0100
@@ -1 +1 @@
-2.16.20
+2.16.21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org