Hello community,
here is the log from the commit of package yast2-packager
checked in at Tue Apr 18 16:13:37 CEST 2006.
--------
--- yast2-packager/yast2-packager.changes 2006-04-18 10:19:41.000000000 +0200
+++ STABLE/yast2-packager/yast2-packager.changes 2006-04-18 15:15:02.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Apr 18 15:11:09 CEST 2006 - lslezak@suse.cz
+
+- DirInstall - don't initialize the sources in the constructor,
+ install the package callbacks in the dirinstall mode (#167281)
+- 2.13.85
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.13.84.tar.bz2
New:
----
yast2-packager-2.13.85.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.UYQQiV/_old 2006-04-18 16:13:27.000000000 +0200
+++ /var/tmp/diff_new_pack.UYQQiV/_new 2006-04-18 16:13:27.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.13.84)
+# spec file for package yast2-packager (Version 2.13.85)
#
# Copyright (c) 2006 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.13.84
+Version: 2.13.85
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.13.84.tar.bz2
+Source0: yast2-packager-2.13.85.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-installation yast2-testsuite yast2-xml
Requires: yast2 yast2-installation checkmedia yast2-country
@@ -41,7 +41,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.13.84
+%setup -n yast2-packager-2.13.85
%build
%{prefix}/bin/y2tool y2autoconf
@@ -78,6 +78,10 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog -n yast2-packager
+* Tue Apr 18 2006 - lslezak@suse.cz
+- DirInstall - don't initialize the sources in the constructor,
+ install the package callbacks in the dirinstall mode (#167281)
+- 2.13.85
* Fri Apr 14 2006 - jsrain@suse.de
- reverted displaying selected patterns in simple proposal (#162281)
- 2.13.84
++++++ yast2-packager-2.13.84.tar.bz2 -> yast2-packager-2.13.85.tar.bz2 ++++++
++++ 2748 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.84/Makefile.am new/yast2-packager-2.13.85/Makefile.am
--- old/yast2-packager-2.13.84/Makefile.am 2006-04-18 10:22:50.000000000 +0200
+++ new/yast2-packager-2.13.85/Makefile.am 2006-03-06 14:16:53.000000000 +0100
@@ -8,7 +8,6 @@
#where devtools are
PREFIX := $(shell pkg-config --print-errors --variable=prefix yast2-devtools)
-Y2TOOL = $(PREFIX)/bin/y2tool
VERSION = $(shell cat $(srcdir)/VERSION)
RPMNAME = $(shell cat $(srcdir)/RPMNAME)
@@ -96,7 +95,7 @@
done
pot:
- $(Y2TOOL) y2makepot -s $(srcdir)
+ y2tool y2makepot -s $(srcdir)
install-pot: pot
@POT_DST=`find -type d -name testsuite -prune , \
@@ -117,7 +116,7 @@
fi
spellcheck: pot
- $(Y2TOOL) pot-spellcheck
+ y2tool pot-spellcheck
# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
@@ -144,20 +143,20 @@
rm -f package/*.bak
rm -f package/*.auto
mv $(RPMNAME)-$(VERSION).tar.bz2 package/
- if ! test -x $(Y2TOOL); then \
- echo "$(Y2TOOL): not found."; \
+ if ! test -x $(PREFIX)/bin/y2tool; then \
+ echo "$(PREFIX)/bin/y2tool: not found."; \
echo "You have to install yast2-devtools to making a package"; \
false; \
fi
here=`pwd`; \
cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
- $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ $(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
done
package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
-TAGVERSION = $(Y2TOOL) tagversion
+TAGVERSION = $(PREFIX)/bin/y2tool tagversion
check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
if [ -d $(srcdir)/CVS ]; then \
@@ -201,12 +200,12 @@
fi
check-textdomain:
- $(Y2TOOL) check-textdomain $(srcdir)
+ $(PREFIX)/bin/y2tool check-textdomain $(srcdir)
stable: checkin-stable
checkin-stable: package
- $(Y2TOOL) checkin-stable
+ $(PREFIX)/bin/y2tool checkin-stable
# For po/ modules
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.84/VERSION new/yast2-packager-2.13.85/VERSION
--- old/yast2-packager-2.13.84/VERSION 2006-04-18 10:19:23.000000000 +0200
+++ new/yast2-packager-2.13.85/VERSION 2006-04-18 14:52:21.000000000 +0200
@@ -1 +1 @@
-2.13.84
+2.13.85
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.84/configure.in new/yast2-packager-2.13.85/configure.in
--- old/yast2-packager-2.13.84/configure.in 2006-04-18 10:22:50.000000000 +0200
+++ new/yast2-packager-2.13.85/configure.in 2006-03-06 14:16:53.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-packager
dnl
-dnl -- This file is generated by y2autoconf 2.13.16 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.13.84, http://www.suse.de/feedback, yast2-packager)
+AC_INIT(yast2-packager, 2.13.39, http://www.suse.de/feedback, 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.13.84"
+VERSION="2.13.39"
RPMNAME="yast2-packager"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.84/src/clients/dirinstall.ycp new/yast2-packager-2.13.85/src/clients/dirinstall.ycp
--- old/yast2-packager-2.13.84/src/clients/dirinstall.ycp 2006-03-29 13:38:43.000000000 +0200
+++ new/yast2-packager-2.13.85/src/clients/dirinstall.ycp 2006-04-18 14:04:31.000000000 +0200
@@ -14,7 +14,13 @@
if (! PackageLock::Check ())
return `abort;
- // constructor calls Pkg::
+ // install package callbacks
+ import "PackageCallbacksInit";
+ PackageCallbacksInit::InitPackageCallbacks();
+
+ // initializa the package manager
+ Pkg::SourceStartManager(true);
+
import "DirInstall";
include "dirinstall/ui.ycp";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.84/src/modules/DirInstall.ycp new/yast2-packager-2.13.85/src/modules/DirInstall.ycp
--- old/yast2-packager-2.13.84/src/modules/DirInstall.ycp 2006-03-14 17:25:55.000000000 +0100
+++ new/yast2-packager-2.13.85/src/modules/DirInstall.ycp 2006-04-18 15:17:32.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Instalation into a Directory settings, input and output functions
* Authors: Anas Nashif
*
- * $Id: DirInstall.ycp 28816 2006-03-10 13:38:01Z lslezak $
+ * $Id: DirInstall.ycp 30174 2006-04-18 13:13:12Z lslezak $
*
*/
{
@@ -55,7 +55,6 @@
global void DirInstall()
{
InitProductControl ();
- Pkg::SourceStartManager(true);
}
global string Propose()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.84/src/modules/test.ycp new/yast2-packager-2.13.85/src/modules/test.ycp
--- old/yast2-packager-2.13.84/src/modules/test.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-packager-2.13.85/src/modules/test.ycp 2005-11-02 13:29:02.000000000 +0100
@@ -0,0 +1,58 @@
+
+{
+ import "Package";
+ import "CommandLine";
+
+ textdomain "test";
+
+ boolean startHandler(map opts) {
+ Package::InstallAll(["samba-doc", "qt3-devel-doc"]);
+// Package::InstallAll(["sambadocdfdfdf"]);
+
+ return true;
+ }
+
+ symbol GUIhandler() {
+ y2milestone("GUIhandler");
+ return `next;
+ }
+
+ boolean Read() {
+ return true;
+ }
+
+ boolean Write() {
+ return true;
+ }
+
+ map cmdline = $[
+ // help text
+ "help" : _("Start installation in a virtual machine"),
+ "id" : "vm",
+ "guihandler": GUIhandler,
+ "initialize": Read,
+ "finish" : Write,
+ "actions" : $[
+ "start" : $[
+ // command description
+ "help" : _("Start installation"),
+ "handler" : startHandler
+ ]
+ ],
+ "options" : $[
+ "configured" : $[
+ // option description
+ "help" : _("List only configured devices")
+ ],
+ "all" : $[
+ // option description
+ "help" : _("List all detected IDE devices")
+ ]
+ ],
+ "mappings" : $[
+ "start" : ["configured", "all"],
+ ]
+ ];
+
+ any ret = CommandLine::Run(cmdline);
+}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...