Hello community,
here is the log from the commit of package yast2-packager
checked in at Mon May 5 01:15:00 CEST 2008.
--------
--- yast2-packager/yast2-packager.changes 2008-04-30 15:29:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes 2008-05-02 17:42:33.090996000 +0200
@@ -1,0 +2,8 @@
+Fri May 2 17:38:32 CEST 2008 - lslezak@suse.cz
+
+- repositories.ycp - do not disable Progress:: when started from
+ sw_single (bnc#381673)
+- fixed command line mode init
+- 2.16.44
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.16.43.tar.bz2
New:
----
yast2-packager-2.16.44.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.Qk5596/_old 2008-05-05 01:14:52.000000000 +0200
+++ /var/tmp/diff_new_pack.Qk5596/_new 2008-05-05 01:14:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.16.43)
+# spec file for package yast2-packager (Version 2.16.44)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-packager
-Version: 2.16.43
+Version: 2.16.44
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.16.43.tar.bz2
+Source0: yast2-packager-2.16.44.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
# empty package callbacks
@@ -72,7 +72,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.16.43
+%setup -n yast2-packager-2.16.44
%build
%{prefix}/bin/y2tool y2autoconf
@@ -107,8 +107,12 @@
/usr/share/YaST2/scrconf/*
%{prefix}/lib/YaST2/servers_non_y2/ag_*
%doc %{prefix}/share/doc/packages/yast2-packager
-
%changelog
+* Fri May 02 2008 lslezak@suse.cz
+- repositories.ycp - do not disable Progress:: when started from
+ sw_single (bnc#381673)
+- fixed command line mode init
+- 2.16.44
* Wed Apr 30 2008 lslezak@suse.cz
- don't show "Repository" menu in the package manager during
installation (bnc#381956)
++++++ yast2-packager-2.16.43.tar.bz2 -> yast2-packager-2.16.44.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.16.43/configure new/yast2-packager-2.16.44/configure
--- old/yast2-packager-2.16.43/configure 2008-04-30 15:28:28.000000000 +0200
+++ new/yast2-packager-2.16.44/configure 2008-05-02 17:41:08.000000000 +0200
@@ -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.43.
+# Generated by GNU Autoconf 2.61 for yast2-packager 2.16.44.
#
# 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.43'
-PACKAGE_STRING='yast2-packager 2.16.43'
+PACKAGE_VERSION='2.16.44'
+PACKAGE_STRING='yast2-packager 2.16.44'
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.43 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.16.44 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.43:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.16.44:";;
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.43
+yast2-packager configure 2.16.44
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.43, which was
+It was created by yast2-packager $as_me 2.16.44, 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.43'
+ VERSION='2.16.44'
cat >>confdefs.h <<_ACEOF
@@ -2409,7 +2409,7 @@
-VERSION="2.16.43"
+VERSION="2.16.44"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
@@ -3304,7 +3304,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.43, which was
+This file was extended by yast2-packager $as_me 2.16.44, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3347,7 +3347,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.16.43
+yast2-packager config.status 2.16.44
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.43/configure.in new/yast2-packager-2.16.44/configure.in
--- old/yast2-packager-2.16.43/configure.in 2008-04-30 15:28:24.000000000 +0200
+++ new/yast2-packager-2.16.44/configure.in 2008-05-02 17:41:04.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.16.43, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.16.44, http://bugs.opensuse.org/, yast2-packager)
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.43"
+VERSION="2.16.44"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.16.43/src/clients/repositories.ycp new/yast2-packager-2.16.44/src/clients/repositories.ycp
--- old/yast2-packager-2.16.43/src/clients/repositories.ycp 2008-04-29 13:43:43.000000000 +0200
+++ new/yast2-packager-2.16.44/src/clients/repositories.ycp 2008-05-02 17:40:45.000000000 +0200
@@ -7,7 +7,7 @@
* Purpose:
* Adding, removing and prioritizing of repositories for packagemanager.
*
- * $Id: repositories.ycp 46337 2008-04-10 11:38:09Z lslezak $
+ * $Id: repositories.ycp 47256 2008-05-02 15:40:44Z lslezak $
*
*/
@@ -41,7 +41,10 @@
boolean full_mode = false;
- boolean textmode = UI::GetDisplayInfo()["TextMode"]:false;
+ boolean textmode()
+ {
+ return Mode::commandline() ? true : UI::GetDisplayInfo()["TextMode"]:false;
+ }
integer numSources = 0;
@@ -204,7 +207,7 @@
term repoInfoTerm(string name, string url, string category)
{
- return textmode ?
+ return textmode() ?
`VBox (
`Left(`Heading(`id(`name), `opt(`hstretch), name)),
`Left(`Label(`id(`url), `opt(`hstretch), url)),
@@ -226,7 +229,7 @@
// label, %1 is repo category (eg. YUM)
string category = sformat (_("Category: %1"), info["type"]:_("Unknown"));
- if (textmode)
+ if (textmode())
{
UI::ChangeWidget(`id(`name), `Label, name);
UI::ChangeWidget(`id(`url), `Label, url);
@@ -907,7 +910,8 @@
if (to_refresh > 0)
{
Wizard::CreateDialog ();
- Progress::New("Refreshing Repositories", "", to_refresh + 1, [ "Refresh Repositories" ], [], "TODO HELP");
+ // TODO: add help text
+ Progress::New(_("Refreshing Repositories"), "", to_refresh + 1, [ _("Refresh Repositories") ], [], "");
foreach(map src_state, sourceStatesOut,
{
@@ -1219,18 +1223,26 @@
y2internal("Started from sw_single, switching the mode");
full_mode = true;
- boolean progress_state = Progress::set(false);
any ret = StartInstSource();
// load objects from the new repositories
- Pkg::SourceLoad();
- Progress::set(progress_state);
+ if (ret != `abort)
+ {
+ Pkg::SourceLoad();
+ }
return ret;
}
else
{
y2milestone("Initializing the target...");
+
+ // disable callbasks in command line mode
+ if (size(WFM::Args()) > 0)
+ {
+ Mode::SetUI ("commandline");
+ }
+
Pkg::TargetInit("/", true);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.16.43/VERSION new/yast2-packager-2.16.44/VERSION
--- old/yast2-packager-2.16.43/VERSION 2008-04-30 15:23:11.000000000 +0200
+++ new/yast2-packager-2.16.44/VERSION 2008-05-02 17:38:27.000000000 +0200
@@ -1 +1 @@
-2.16.43
+2.16.44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org