Hello community,
here is the log from the commit of package yast2-packager
checked in at Fri May 4 11:25:19 CEST 2007.
--------
--- yast2-packager/yast2-packager.changes 2007-05-02 17:04:51.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes 2007-05-04 08:28:19.481124000 +0200
@@ -1,0 +2,13 @@
+Fri May 4 07:57:56 CEST 2007 - lslezak@suse.cz
+
+- close the "Initializing catalogs..." popup before opening
+ another one (#269920)
+- 2.15.38
+
+-------------------------------------------------------------------
+Thu May 3 14:45:14 CEST 2007 - lslezak@suse.cz
+
+- basic command line support for dirinstall (#269889), sw_single
+ (#269908) and inst_source (#269893)
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.15.37.tar.bz2
New:
----
yast2-packager-2.15.38.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.C29394/_old 2007-05-04 11:25:00.000000000 +0200
+++ /var/tmp/diff_new_pack.C29394/_new 2007-05-04 11:25:00.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.15.37)
+# spec file for package yast2-packager (Version 2.15.38)
#
# 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.37
+Version: 2.15.38
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.15.37.tar.bz2
+Source0: yast2-packager-2.15.38.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-country yast2-devtools yast2-slp yast2-testsuite yast2-xml
BuildRequires: yast2 >= 2.15.22
@@ -49,7 +49,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.15.37
+%setup -n yast2-packager-2.15.38
%build
%{prefix}/bin/y2tool y2autoconf
@@ -88,6 +88,13 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog
+* Fri May 04 2007 - lslezak@suse.cz
+- close the "Initializing catalogs..." popup before opening
+ another one (#269920)
+- 2.15.38
+* Thu May 03 2007 - lslezak@suse.cz
+- basic command line support for dirinstall (#269889), sw_single
+ (#269908) and inst_source (#269893)
* Wed May 02 2007 - lslezak@suse.cz
- inst_source - display the current alias when the table content
is refreshed (#258776)
++++++ yast2-packager-2.15.37.tar.bz2 -> yast2-packager-2.15.38.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.37/configure new/yast2-packager-2.15.38/configure
--- old/yast2-packager-2.15.37/configure 2007-05-02 17:03:09.000000000 +0200
+++ new/yast2-packager-2.15.38/configure 2007-05-04 08:28:01.000000000 +0200
@@ -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.37.
+# Generated by GNU Autoconf 2.60 for yast2-packager 2.15.38.
#
# 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.37'
-PACKAGE_STRING='yast2-packager 2.15.37'
+PACKAGE_VERSION='2.15.38'
+PACKAGE_STRING='yast2-packager 2.15.38'
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.37 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.15.38 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.37:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.15.38:";;
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.37
+yast2-packager configure 2.15.38
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.37, which was
+It was created by yast2-packager $as_me 2.15.38, 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.37'
+ VERSION='2.15.38'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.37"
+VERSION="2.15.38"
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.37, which was
+This file was extended by yast2-packager $as_me 2.15.38, 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.37
+yast2-packager config.status 2.15.38
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.37/configure.in new/yast2-packager-2.15.38/configure.in
--- old/yast2-packager-2.15.37/configure.in 2007-05-02 17:03:04.000000000 +0200
+++ new/yast2-packager-2.15.38/configure.in 2007-05-04 08:27:56.000000000 +0200
@@ -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.37, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.15.38, 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.37"
+VERSION="2.15.38"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.37/src/clients/dirinstall.ycp new/yast2-packager-2.15.38/src/clients/dirinstall.ycp
--- old/yast2-packager-2.15.37/src/clients/dirinstall.ycp 2007-02-19 15:04:22.000000000 +0100
+++ new/yast2-packager-2.15.38/src/clients/dirinstall.ycp 2007-05-03 14:46:59.000000000 +0200
@@ -4,13 +4,17 @@
* Summary: Installation into a directory
* Authors: Anas Nashif
*
- * $Id: dirinstall.ycp 36265 2007-02-19 14:04:18Z lslezak $
+ * $Id: dirinstall.ycp 37804 2007-05-03 12:46:57Z lslezak $
*
*/
{
textdomain "packager";
+ import "CommandLine";
+
+symbol StartDirInstall()
+{
import "Wizard";
// open the dialog
Wizard::CreateDialog();
@@ -159,3 +163,14 @@
Wizard::CloseDialog();
return ret;
}
+
+map cmdline_description = $[
+ "id" : "dirinstall",
+ /* Command line help text for the dirinstall module */
+ "help" : _("Installation into Directory"),
+ "guihandler" : StartDirInstall,
+];
+
+return CommandLine::Run(cmdline_description);
+
+}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.37/src/clients/inst_source.ycp new/yast2-packager-2.15.38/src/clients/inst_source.ycp
--- old/yast2-packager-2.15.37/src/clients/inst_source.ycp 2007-05-02 17:02:14.000000000 +0200
+++ new/yast2-packager-2.15.38/src/clients/inst_source.ycp 2007-05-03 14:46:59.000000000 +0200
@@ -6,7 +6,7 @@
* Purpose:
* Adding, removing and prioritizing of installation sources for packagemanager.
*
- * $Id: inst_source.ycp 37788 2007-05-02 15:02:12Z lslezak $
+ * $Id: inst_source.ycp 37804 2007-05-03 12:46:57Z lslezak $
*
*/
@@ -31,29 +31,7 @@
import "Popup";
import "AddOnProduct";
import "Sequencer";
-
- // Do not sync the changes to ZENworks even if rug is present
- // This is handy for repairing an already out-of-sync situation
- boolean have_rug = (integer)SCR::Read (.target.size, "/usr/bin/rug") >= 0;
- boolean norug = !have_rug || (size(WFM::Args()) > 0 && WFM::Args(0) == "norug");
-
- // constant Plaindir
- string plaindir_type = "Plaindir";
-
- Wizard::CreateDialog();
- Wizard::SetDesktopIcon("sw_source");
- // dialog caption
- Wizard::SetContents(_("Initializing..."), `Empty (), "", false, true);
-
- // check whether running as root
- if (! Confirm::MustBeRoot () || ! PackageLock::Check ())
- {
- UI::CloseDialog ();
- return (any)`abort;
- }
-
- PackageCallbacksInit::InitPackageCallbacks ();
-
+ import "CommandLine";
// constructor of Product is needed in order to initialize the product
// macro. Takes a lot of time because whole package manager target
// is initialized
@@ -67,6 +45,15 @@
list