Hello community,
here is the log from the commit of package yast2-ncurses
checked in at Wed Apr 19 15:54:57 CEST 2006.
--------
--- yast2-ncurses/yast2-ncurses.changes 2006-04-12 12:21:43.000000000 +0200
+++ STABLE/yast2-ncurses/yast2-ncurses.changes 2006-04-19 14:20:23.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Apr 19 12:38:55 CEST 2006 - gs@suse.de
+
+- set status of packages correctly (Bug 164365)
+- do an initial solver run also in YOU mode
+- sort the list of patches, show edition of patch packages
+- 2.13.21
+
+-------------------------------------------------------------------
Old:
----
yast2-ncurses-2.13.20.tar.bz2
New:
----
yast2-ncurses-2.13.21.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ncurses.spec ++++++
--- /var/tmp/diff_new_pack.fXGAoq/_old 2006-04-19 15:54:46.000000000 +0200
+++ /var/tmp/diff_new_pack.fXGAoq/_new 2006-04-19 15:54:46.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ncurses (Version 2.13.20)
+# spec file for package yast2-ncurses (Version 2.13.21)
#
# 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-ncurses
-Version: 2.13.20
+Version: 2.13.21
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ncurses-2.13.20.tar.bz2
+Source0: yast2-ncurses-2.13.21.tar.bz2
prefix: /usr
BuildRequires: doxygen gcc-c++ libzypp-devel yast2-core-devel yast2-devtools
BuildRequires: blocxx-devel libxcrypt-devel
@@ -40,7 +40,7 @@
%prep
-%setup -n yast2-ncurses-2.13.20
+%setup -n yast2-ncurses-2.13.21
%build
%{prefix}/bin/y2tool y2autoconf
@@ -73,6 +73,11 @@
%doc %{prefix}/share/doc/packages/yast2-ncurses
%changelog -n yast2-ncurses
+* Wed Apr 19 2006 - gs@suse.de
+- set status of packages correctly (Bug 164365)
+- do an initial solver run also in YOU mode
+- sort the list of patches, show edition of patch packages
+- 2.13.21
* Wed Apr 12 2006 - gs@suse.de
- also set status to Taboo in case of AutoInstall and to Protected
in case of AutoUpdate (bugfix for bugfix bug #163827)
++++++ yast2-ncurses-2.13.20.tar.bz2 -> yast2-ncurses-2.13.21.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/VERSION new/yast2-ncurses-2.13.21/VERSION
--- old/yast2-ncurses-2.13.20/VERSION 2006-04-12 11:02:13.000000000 +0200
+++ new/yast2-ncurses-2.13.21/VERSION 2006-04-19 10:54:21.000000000 +0200
@@ -1 +1 @@
-2.13.20
+2.13.21
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/configure new/yast2-ncurses-2.13.21/configure
--- old/yast2-ncurses-2.13.20/configure 2006-04-05 10:48:25.000000000 +0200
+++ new/yast2-ncurses-2.13.21/configure 2006-04-19 12:18:00.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-ncurses 2.13.16.
+# Generated by GNU Autoconf 2.59 for yast2-ncurses 2.13.21.
#
# Report bugs to http://www.suse.de/feedback.
#
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-ncurses'
PACKAGE_TARNAME='yast2-ncurses'
-PACKAGE_VERSION='2.13.16'
-PACKAGE_STRING='yast2-ncurses 2.13.16'
+PACKAGE_VERSION='2.13.21'
+PACKAGE_STRING='yast2-ncurses 2.13.21'
PACKAGE_BUGREPORT='http://www.suse.de/feedback'
ac_unique_file="RPMNAME"
@@ -959,7 +959,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-ncurses 2.13.16 to adapt to many kinds of systems.
+\`configure' configures yast2-ncurses 2.13.21 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1026,7 +1026,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-ncurses 2.13.16:";;
+ short | recursive ) echo "Configuration of yast2-ncurses 2.13.21:";;
esac
cat <<\_ACEOF
@@ -1169,7 +1169,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-ncurses configure 2.13.16
+yast2-ncurses configure 2.13.21
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1183,7 +1183,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-ncurses $as_me 2.13.16, which was
+It was created by yast2-ncurses $as_me 2.13.21, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1913,7 +1913,7 @@
# Define the identity of the package.
PACKAGE='yast2-ncurses'
- VERSION='2.13.16'
+ VERSION='2.13.21'
cat >>confdefs.h <<_ACEOF
@@ -2124,7 +2124,7 @@
-VERSION="2.13.16"
+VERSION="2.13.21"
RPMNAME="yast2-ncurses"
MAINTAINER="Martin Lazar "
@@ -19928,7 +19928,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-ncurses $as_me 2.13.16, which was
+This file was extended by yast2-ncurses $as_me 2.13.21, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19991,7 +19991,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-ncurses config.status 2.13.16
+yast2-ncurses config.status 2.13.21
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/configure.in new/yast2-ncurses-2.13.21/configure.in
--- old/yast2-ncurses-2.13.20/configure.in 2006-04-05 10:48:12.000000000 +0200
+++ new/yast2-ncurses-2.13.21/configure.in 2006-04-19 12:17:47.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ncurses, 2.13.16, http://www.suse.de/feedback, yast2-ncurses)
+AC_INIT(yast2-ncurses, 2.13.21, http://www.suse.de/feedback, yast2-ncurses)
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.16"
+VERSION="2.13.21"
RPMNAME="yast2-ncurses"
MAINTAINER="Martin Lazar "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/src/NCPackageSelector.cc new/yast2-ncurses-2.13.21/src/NCPackageSelector.cc
--- old/yast2-ncurses-2.13.20/src/NCPackageSelector.cc 2006-04-10 13:39:56.000000000 +0200
+++ new/yast2-ncurses-2.13.21/src/NCPackageSelector.cc 2006-04-19 13:53:12.000000000 +0200
@@ -180,16 +180,17 @@
pkgList->setKeyboardFocus();
- if ( !youMode && packager )
+ if ( packager )
{
- // do an initial dependency solving in 'normal' and 'update' mode
+ // always do an initial dependency solving
packager->showPackageDependencies( true );
- // show the required diskspace
- packager->showDiskSpace();
- }
- if ( youMode && packager )
- {
- packager->showDownloadSize();
+
+ if ( youMode )
+ // show download size
+ packager->showDownloadSize();
+ else
+ // show the required diskspace
+ packager->showDiskSpace();
}
}
else
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/src/NCPkgTable.cc new/yast2-ncurses-2.13.21/src/NCPkgTable.cc
--- old/yast2-ncurses-2.13.20/src/NCPkgTable.cc 2006-04-12 10:20:36.000000000 +0200
+++ new/yast2-ncurses-2.13.21/src/NCPkgTable.cc 2006-04-19 13:37:40.000000000 +0200
@@ -647,12 +647,12 @@
case T_PatchPkgs: {
if ( slbPtr->hasInstalledObj() )
{
- instVersion = slbPtr->installedObj()->edition().version();
+ instVersion = slbPtr->installedObj()->edition().asString();
}
// in case of YOU patches: show the version of the package which
// is contained in the patch
- version = pkgPtr->edition().version();
+ version = pkgPtr->edition().asString();
pkgLine.push_back( version );
// if ( Y2PM::instTarget().numPackages() > 0 )
@@ -663,7 +663,7 @@
pkgLine.push_back( pkgPtr->summary() ); // short description
status = slbPtr->status(); // the package status
-
+ NCMIL << "Status of " << slbPtr->name() << ": " << status << endl;
zypp::ByteCount size = pkgPtr->size(); // installed size
pkgLine.push_back( size.asString( 8 ) ); // format size
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/src/ObjectStatStrategy.cc new/yast2-ncurses-2.13.21/src/ObjectStatStrategy.cc
--- old/yast2-ncurses-2.13.20/src/ObjectStatStrategy.cc 2006-04-10 14:42:42.000000000 +0200
+++ new/yast2-ncurses-2.13.21/src/ObjectStatStrategy.cc 2006-04-19 12:04:55.000000000 +0200
@@ -279,7 +279,7 @@
{
zypp::Resolver_Ptr resolver = zypp::getZYpp()->resolver();
- resolver->transactReset( zypp::ResStatus::SOLVER );
+ resolver->transactReset( zypp::ResStatus::APPL_LOW );
resolver->transactResKind( zypp::ResTraitszypp::Selection::kind );
resolver->transactResKind( zypp::ResTraits::kind );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.20/src/PackageSelector.cc new/yast2-ncurses-2.13.21/src/PackageSelector.cc
--- old/yast2-ncurses-2.13.20/src/PackageSelector.cc 2006-04-11 12:00:51.000000000 +0200
+++ new/yast2-ncurses-2.13.21/src/PackageSelector.cc 2006-04-19 11:44:26.000000000 +0200
@@ -649,16 +649,12 @@
// clear list of patches
packageList->itemsCleared ();
-#ifdef FIXME
// get the patch list and sort it
list<ZyppSel> patchList( zyppPatchesBegin (), zyppPatchesEnd () );
patchList.sort( sortByName );
list<ZyppSel>::iterator listIt = patchList.begin();
-#endif
-
- for ( ZyppPoolIterator listIt = zyppPatchesBegin();
- listIt != zyppPatchesEnd();
- ++listIt )
+
+ while ( listIt != patchList.end() )
{
ZyppPatch patchPtr = tryCastToZyppPatch( ( *listIt)->theObj() );
@@ -666,7 +662,7 @@
{
checkPatch( patchPtr, *listIt, filter );
}
-
+ ++listIt;
}
if ( filter == "installable"
@@ -788,7 +784,7 @@
if ( pkg )
{
- NCDBG << "Patch package found: " << (*it)->name().c_str() << endl;
+ NCMIL << "Patch package found: " << (*it)->name().c_str() << endl;
ZyppSel sel = selMapper.findZyppSel( pkg );
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...