Hello community,
here is the log from the commit of package yast2-packager
checked in at Mon Feb 5 12:48:54 CET 2007.
--------
--- yast2-packager/yast2-packager.changes 2007-01-31 16:46:36.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes 2007-02-05 09:27:43.730777000 +0100
@@ -1,0 +2,27 @@
+Mon Feb 5 07:39:41 CET 2007 - lslezak@suse.cz
+
+- dirinstall - properly initialize Slideshow module, supress
+ an invalid warning during initialization (#187352)
+- slideshow - display sw_single icon in the dialog
+- 2.15.7
+
+-------------------------------------------------------------------
+Fri Feb 2 15:21:29 CET 2007 - locilka@suse.cz
+
+- Separating SLP-related functions to the SourceManagerSLP module.
+- Creating new add_inst_source_slptype client.
+- Handling not installed yast2-slp package in inst_source client.
+- All to make system without yast2-slp package installed possible
+ (#238680).
+
+-------------------------------------------------------------------
+Thu Feb 1 08:56:33 CET 2007 - lslezak@suse.cz
+
+- inst_source - "Synchronize with ZENworks" setting is persistent
+ now (#230727)
+- dirinstall - recheck disk space when the target directory
+ is changed (#224150), properly initialize partitioning
+ (use the mount points only below the target)
+- dirinstall - display a progress dialog at start/finish
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.15.6.tar.bz2
New:
----
yast2-packager-2.15.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.Q32585/_old 2007-02-05 12:31:30.000000000 +0100
+++ /var/tmp/diff_new_pack.Q32585/_new 2007-02-05 12:31:30.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.15.6)
+# spec file for package yast2-packager (Version 2.15.7)
#
# 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-packager
-Version: 2.15.6
+Version: 2.15.7
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.15.6.tar.bz2
+Source0: yast2-packager-2.15.7.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-slp yast2-testsuite yast2-xml
Requires: yast2-country
@@ -46,7 +46,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.15.6
+%setup -n yast2-packager-2.15.7
%build
%{prefix}/bin/y2tool y2autoconf
@@ -84,6 +84,24 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog -n yast2-packager
+* Mon Feb 05 2007 - lslezak@suse.cz
+- dirinstall - properly initialize Slideshow module, supress
+ an invalid warning during initialization (#187352)
+- slideshow - display sw_single icon in the dialog
+- 2.15.7
+* Fri Feb 02 2007 - locilka@suse.cz
+- Separating SLP-related functions to the SourceManagerSLP module.
+- Creating new add_inst_source_slptype client.
+- Handling not installed yast2-slp package in inst_source client.
+- All to make system without yast2-slp package installed possible
+ (#238680).
+* Thu Feb 01 2007 - lslezak@suse.cz
+- inst_source - "Synchronize with ZENworks" setting is persistent
+ now (#230727)
+- dirinstall - recheck disk space when the target directory
+ is changed (#224150), properly initialize partitioning
+ (use the mount points only below the target)
+- dirinstall - display a progress dialog at start/finish
* Wed Jan 31 2007 - lslezak@suse.cz
- inst_source: disable autorefresh for a new ISO image based
source (#223585)
++++++ yast2-packager-2.15.6.tar.bz2 -> yast2-packager-2.15.7.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.6/configure new/yast2-packager-2.15.7/configure
--- old/yast2-packager-2.15.6/configure 2007-01-31 16:44:13.000000000 +0100
+++ new/yast2-packager-2.15.7/configure 2007-02-05 09:15:05.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-packager 2.15.6.
+# Generated by GNU Autoconf 2.60 for yast2-packager 2.15.7.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-packager'
PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.15.6'
-PACKAGE_STRING='yast2-packager 2.15.6'
+PACKAGE_VERSION='2.15.7'
+PACKAGE_STRING='yast2-packager 2.15.7'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,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.15.6 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.15.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-packager 2.15.6:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.15.7:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-packager configure 2.15.6
+yast2-packager configure 2.15.7
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,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.15.6, which was
+It was created by yast2-packager $as_me 2.15.7, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-packager'
- VERSION='2.15.6'
+ VERSION='2.15.7'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.6"
+VERSION="2.15.7"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
@@ -3260,7 +3260,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.15.6, which was
+This file was extended by yast2-packager $as_me 2.15.7, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3303,7 +3303,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.15.6
+yast2-packager config.status 2.15.7
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-packager-2.15.6/configure.in new/yast2-packager-2.15.7/configure.in
--- old/yast2-packager-2.15.6/configure.in 2007-01-31 16:44:07.000000000 +0100
+++ new/yast2-packager-2.15.7/configure.in 2007-02-05 09:14:59.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-packager, 2.15.6, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.15.7, 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.15.6"
+VERSION="2.15.7"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.6/src/clients/add_inst_source_slptype.ycp new/yast2-packager-2.15.7/src/clients/add_inst_source_slptype.ycp
--- old/yast2-packager-2.15.6/src/clients/add_inst_source_slptype.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-packager-2.15.7/src/clients/add_inst_source_slptype.ycp 2007-02-02 16:27:43.000000000 +0100
@@ -0,0 +1,33 @@
+/**
+ * File:
+ * add_inst_source_slptype.ycp
+ *
+ * Module:
+ * Client for searching for and adding SLP installation sources.
+ * The purpose is to make yast2-installation independent on yast-slp
+ * as described in bugzilla #238680.
+ *
+ * Authors:
+ * Lukas Ocilka
+ *
+ * $Id: $
+ *
+ */
+{
+ import "SourceManager";
+ import "SourceManagerSLP";
+
+ string service = SourceManagerSLP::AddSourceTypeSLP ();
+ if (service == nil) {
+ y2milestone("No service selected, returning back...");
+
+ return `back;
+ }
+
+ y2milestone ("Trying to add source '%1'", service);
+ // add the installation source
+ symbol createResult = SourceManager::createSource(service);
+ y2milestone ("Adding source result: %1", createResult);
+
+ return `next;
+}
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.6/src/clients/dirinstall_options_proposal.ycp new/yast2-packager-2.15.7/src/clients/dirinstall_options_proposal.ycp
--- old/yast2-packager-2.15.6/src/clients/dirinstall_options_proposal.ycp 2005-02-10 13:55:21.000000000 +0100
+++ new/yast2-packager-2.15.7/src/clients/dirinstall_options_proposal.ycp 2007-02-01 14:03:01.000000000 +0100
@@ -27,7 +27,7 @@
if (force_reset)
{
- DirInstall::target = "";
+ DirInstall::SetTarget("/var/tmp/dirinstall");
DirInstall::runme_at_boot = false;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.6/src/clients/dirinstall_options.ycp new/yast2-packager-2.15.7/src/clients/dirinstall_options.ycp
--- old/yast2-packager-2.15.6/src/clients/dirinstall_options.ycp 2005-08-15 16:16:16.000000000 +0200
+++ new/yast2-packager-2.15.7/src/clients/dirinstall_options.ycp 2007-02-02 07:03:30.000000000 +0100
@@ -4,7 +4,7 @@
* Authors: Anas Nashif
*
* Purpose: Ask the user for various options for dir install.
- * $Id: dirinstall_options.ycp 24834 2005-08-12 07:28:27Z jsrain $
+ * $Id: dirinstall_options.ycp 35816 2007-02-02 06:03:27Z lslezak $
*/
{
@@ -25,7 +25,7 @@
term contents = `HVSquash(
`VBox(
// text entry
- `Left(`TextEntry(`id(`target), _("&Root Directory (not \"/\"):"), DirInstall::target)),
+ `Left(`TextEntry(`id(`target), _("&Root Directory (not \"/\"):"), DirInstall::GetTarget())),
// check box
`Left(`CheckBox(`id(`suseconfig), _("Run &YaST and SuSEconfig on First Boot"), DirInstall::runme_at_boot)),
// check box
@@ -108,10 +108,10 @@
continue;
}
-
- DirInstall::target = target;
+ DirInstall::SetTarget(target);
Installation::destdir = target;
DirInstall::runme_at_boot = runme_at_boot;
+
break;
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.6/src/clients/dirinstall.ycp new/yast2-packager-2.15.7/src/clients/dirinstall.ycp
--- old/yast2-packager-2.15.6/src/clients/dirinstall.ycp 2006-06-02 08:17:55.000000000 +0200
+++ new/yast2-packager-2.15.7/src/clients/dirinstall.ycp 2007-02-02 16:23:42.000000000 +0100
@@ -9,10 +9,18 @@
{
textdomain "packager";
+ import "Wizard";
+ // open the dialog
+ Wizard::CreateDialog();
+ Wizard::SetDesktopIcon("sw_single");
+ Wizard::SetContents(_("Initializing..."), `Empty (), "", false, true);
+
import "DirInstall";
import "PackageLock";
import "Product";
import "Report";
+ import "Progress";
+ import "Popup";
include "dirinstall/ui.ycp";
@@ -20,14 +28,44 @@
if (! PackageLock::Check ())
return `abort;
+
+ list<string> stages =
+ [
+ // progress bar item
+ _("Initialize the Package Manager"),
+ // progress bar item
+ _("Select Software"),
+ // progress bar item
+ _("Initialize the Target System")
+ ];
+
+ list<string> stages2 =
+ [
+ // progress bar item
+ _("Initializing the Package Manager..."),
+ // progress bar item
+ _("Selecting Software..."),
+ // progress bar item
+ _("Initializing the Target System...")
+ ];
+
+ // progres bar label
+ Progress::New (_("Initializing..."), " ", size(stages) - 1,
+ // progres bar label
+ stages, stages2, _("Please wait..."));
+
+
// install package callbacks
import "PackageCallbacksInit";
PackageCallbacksInit::InitPackageCallbacks();
+ Progress::NextStage();
+
// initializa the package manager
integer old_src = -1;
integer new_src = -1;
boolean using_patterns = false;
+
Pkg::TargetFinish ();
Pkg::SourceStartManager(true);
boolean have_patterns
@@ -35,9 +73,13 @@
boolean have_selections
= size (Pkg::GetSelections (`available, "base")) > 0;
have_patterns = have_patterns && ! have_selections;
+
+ Progress::NextStage();
+
if (have_patterns)
{
y2milestone ("Host system is using patterns");
+
Pkg::TargetInit ("/", false);
list