Mailinglist Archive: opensuse-commit (1206 mails)

< Previous Next >
commit yast2-qt
  • From: root@xxxxxxx (h_root)
  • Date: Wed, 10 May 2006 18:45:36 +0200 (CEST)
  • Message-id: <20060510164536.5576A8D6B4@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-qt
checked in at Wed May 10 18:45:36 CEST 2006.

--------
--- yast2-qt/yast2-qt.changes 2006-05-09 16:17:24.000000000 +0200
+++ STABLE/yast2-qt/yast2-qt.changes 2006-05-10 15:55:35.000000000 +0200
@@ -1,0 +2,8 @@
+Wed May 10 15:05:21 CEST 2006 - sh@xxxxxxx
+
+- Set package to "update" or "install" if user selects a different
+ version in the "Versions" tab of the package selector
+ (workaround for bug #164487: can't downgrade using a patch)
+- V 2.13.57
+
+-------------------------------------------------------------------

Old:
----
yast2-qt-2.13.56.tar.bz2

New:
----
yast2-qt-2.13.57.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-qt.spec ++++++
--- /var/tmp/diff_new_pack.Xx5uZb/_old 2006-05-10 18:45:19.000000000 +0200
+++ /var/tmp/diff_new_pack.Xx5uZb/_new 2006-05-10 18:45:19.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-qt (Version 2.13.56)
+# spec file for package yast2-qt (Version 2.13.57)
#
# 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-qt
-Version: 2.13.56
+Version: 2.13.57
Release: 2
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-qt-2.13.56.tar.bz2
+Source0: yast2-qt-2.13.57.tar.bz2
prefix: /usr
BuildRequires: boost-devel curl-devel dbus-1-devel docbook-xsl-stylesheets doxygen hal-devel libdrm-devel libjpeg-devel libxcrypt-devel libxslt libzypp-devel perl-XML-Writer qt3-devel rpm-devel sgml-skel update-desktop-files yast2-core-devel yast2-devtools
Summary: YaST2 - Graphical User Interface
@@ -42,7 +42,7 @@
Stefan Hundhammer <sh@xxxxxxx>

%prep
-%setup -n yast2-qt-2.13.56
+%setup -n yast2-qt-2.13.57

%build
%{prefix}/bin/y2tool y2autoconf
@@ -80,6 +80,11 @@
%doc %{prefix}/share/doc/packages/yast2-qt

%changelog -n yast2-qt
+* Wed May 10 2006 - sh@xxxxxxx
+- Set package to "update" or "install" if user selects a different
+ version in the "Versions" tab of the package selector
+ (workaround for bug #164487: can't downgrade using a patch)
+- V 2.13.57
* Tue May 09 2006 - sh@xxxxxxx
- Fixed bug #173122: Easter egg crashes the installation
- V 2.13.56

++++++ yast2-qt-2.13.56.tar.bz2 -> yast2-qt-2.13.57.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.56/VERSION new/yast2-qt-2.13.57/VERSION
--- old/yast2-qt-2.13.56/VERSION 2006-05-09 16:15:02.000000000 +0200
+++ new/yast2-qt-2.13.57/VERSION 2006-05-10 15:05:17.000000000 +0200
@@ -1 +1 @@
-2.13.56
+2.13.57
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.56/src/YQPkgVersionsView.cc new/yast2-qt-2.13.57/src/YQPkgVersionsView.cc
--- old/yast2-qt-2.13.56/src/YQPkgVersionsView.cc 2006-03-22 11:37:51.000000000 +0100
+++ new/yast2-qt-2.13.57/src/YQPkgVersionsView.cc 2006-05-10 15:00:43.000000000 +0200
@@ -165,6 +165,46 @@
if ( newCandidate != _selectable->candidateObj() )
{
y2milestone( "Candidate changed" );
+
+ // Change status of selectable
+
+ ZyppStatus status = _selectable->status();
+
+ if ( _selectable->installedObj() &&
+ _selectable->installedObj()->edition() == newCandidate->edition() )
+ {
+ // Switch back to the original instance -
+ // the version that was previously installed
+ status = S_KeepInstalled;
+ }
+ else
+ {
+ switch ( status )
+ {
+ case S_KeepInstalled:
+ case S_Protected:
+ case S_AutoDel:
+ case S_AutoUpdate:
+ case S_Del:
+ case S_Update:
+
+ status = S_Update;
+ break;
+
+ case S_NoInst:
+ case S_Taboo:
+ case S_Install:
+ case S_AutoInstall:
+ status = S_Install;
+ break;
+ }
+ }
+
+ _selectable->set_status( status );
+
+
+ // Set candidate
+
_selectable->setCandidate( newCandidate );
emit candidateChanged( newCandidate );
return;


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...


< Previous Next >
This Thread