Hello community,
here is the log from the commit of package yast2-qt
checked in at Tue May 9 19:15:43 CEST 2006.
--------
--- yast2-qt/yast2-qt.changes 2006-05-04 12:35:56.000000000 +0200
+++ STABLE/yast2-qt/yast2-qt.changes 2006-05-09 16:17:24.000000000 +0200
@@ -1,0 +2,13 @@
+Tue May 9 16:15:03 CEST 2006 - sh@suse.de
+
+- Fixed bug #173122: Easter egg crashes the installation
+- V 2.13.56
+
+-------------------------------------------------------------------
+Tue May 9 14:36:44 CEST 2006 - sh@suse.de
+
+- Fixed bug #173865: No "automatic changes" dialog upon "Accept"
+ in Qt package selector
+- V 2.13.55
+
+-------------------------------------------------------------------
Old:
----
yast2-qt-2.13.54.tar.bz2
New:
----
yast2-qt-2.13.56.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-qt.spec ++++++
--- /var/tmp/diff_new_pack.BM5OGB/_old 2006-05-09 19:15:34.000000000 +0200
+++ /var/tmp/diff_new_pack.BM5OGB/_new 2006-05-09 19:15:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-qt (Version 2.13.54)
+# spec file for package yast2-qt (Version 2.13.56)
#
# 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.54
+Version: 2.13.56
Release: 2
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-qt-2.13.54.tar.bz2
+Source0: yast2-qt-2.13.56.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
%prep
-%setup -n yast2-qt-2.13.54
+%setup -n yast2-qt-2.13.56
%build
%{prefix}/bin/y2tool y2autoconf
@@ -80,6 +80,13 @@
%doc %{prefix}/share/doc/packages/yast2-qt
%changelog -n yast2-qt
+* Tue May 09 2006 - sh@suse.de
+- Fixed bug #173122: Easter egg crashes the installation
+- V 2.13.56
+* Tue May 09 2006 - sh@suse.de
+- Fixed bug #173865: No "automatic changes" dialog upon "Accept"
+ in Qt package selector
+- V 2.13.55
* Thu May 04 2006 - sh@suse.de
- V 2.13.54
- Messages back from proofreading
++++++ yast2-qt-2.13.54.tar.bz2 -> yast2-qt-2.13.56.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.54/VERSION new/yast2-qt-2.13.56/VERSION
--- old/yast2-qt-2.13.54/VERSION 2006-05-04 12:32:34.000000000 +0200
+++ new/yast2-qt-2.13.56/VERSION 2006-05-09 16:15:02.000000000 +0200
@@ -1 +1 @@
-2.13.54
+2.13.56
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.54/configure new/yast2-qt-2.13.56/configure
--- old/yast2-qt-2.13.54/configure 2006-05-04 12:34:29.000000000 +0200
+++ new/yast2-qt-2.13.56/configure 2006-05-09 14:58:45.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-qt 2.13.54.
+# Generated by GNU Autoconf 2.59 for yast2-qt 2.13.55.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-qt'
PACKAGE_TARNAME='yast2-qt'
-PACKAGE_VERSION='2.13.54'
-PACKAGE_STRING='yast2-qt 2.13.54'
+PACKAGE_VERSION='2.13.55'
+PACKAGE_STRING='yast2-qt 2.13.55'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
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-qt 2.13.54 to adapt to many kinds of systems.
+\`configure' configures yast2-qt 2.13.55 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1030,7 +1030,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-qt 2.13.54:";;
+ short | recursive ) echo "Configuration of yast2-qt 2.13.55:";;
esac
cat <<\_ACEOF
@@ -1176,7 +1176,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-qt configure 2.13.54
+yast2-qt configure 2.13.55
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1190,7 +1190,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-qt $as_me 2.13.54, which was
+It was created by yast2-qt $as_me 2.13.55, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1920,7 +1920,7 @@
# Define the identity of the package.
PACKAGE='yast2-qt'
- VERSION='2.13.54'
+ VERSION='2.13.55'
cat >>confdefs.h <<_ACEOF
@@ -2131,7 +2131,7 @@
-VERSION="2.13.54"
+VERSION="2.13.55"
RPMNAME="yast2-qt"
MAINTAINER="Stefan Hundhammer "
@@ -21309,7 +21309,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-qt $as_me 2.13.54, which was
+This file was extended by yast2-qt $as_me 2.13.55, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21372,7 +21372,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-qt config.status 2.13.54
+yast2-qt config.status 2.13.55
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-qt-2.13.54/configure.in new/yast2-qt-2.13.56/configure.in
--- old/yast2-qt-2.13.54/configure.in 2006-05-04 12:34:13.000000000 +0200
+++ new/yast2-qt-2.13.56/configure.in 2006-05-09 14:58:29.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-qt, 2.13.54, http://bugs.opensuse.org/, yast2-qt)
+AC_INIT(yast2-qt, 2.13.55, http://bugs.opensuse.org/, yast2-qt)
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.54"
+VERSION="2.13.55"
RPMNAME="yast2-qt"
MAINTAINER="Stefan Hundhammer "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.54/packages-qt.pot new/yast2-qt-2.13.56/packages-qt.pot
--- old/yast2-qt-2.13.54/packages-qt.pot 2006-05-02 16:09:25.000000000 +0200
+++ new/yast2-qt-2.13.56/packages-qt.pot 2006-05-04 15:29:01.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-05-02 16:09+0200\n"
+"POT-Creation-Date: 2006-05-04 15:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -413,7 +413,7 @@
#. affect the amount of visible packages in the package list and "details views" ( below the package list )
#. that show details about the ( one ) currently selected package in the package list.
#: src/YQPackageSelectorHelp.cc:65 src/YQPackageSelectorHelp.cc:65
-msgid "In addition to \"patches\", you can also select one of the other filter views from the <b>Filter</b> combo-box at the upper left:"
+msgid "In addition to <b>Patches</b>, you can also select one of the other filter views from <b>Filter</b> at the upper left:"
msgstr ""
#. Help specific to normal (non-online-update) mode
@@ -1264,7 +1264,7 @@
msgstr ""
#: src/YQPkgChangeLogView.cc:66 src/YQPkgFileListView.cc:68
-msgid "Information only available for installed packages"
+msgid "Information only available for installed packages."
msgstr ""
#. %1 is the total number of files in a file list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.54/src/YQEBunny.cc new/yast2-qt-2.13.56/src/YQEBunny.cc
--- old/yast2-qt-2.13.54/src/YQEBunny.cc 2006-03-09 14:38:36.000000000 +0100
+++ new/yast2-qt-2.13.56/src/YQEBunny.cc 2006-05-09 16:09:36.000000000 +0200
@@ -33,18 +33,10 @@
#include "YQEBunny.h"
-struct q
-{
- int x; // center coordiantes
- int y; // center coordiantes
- int rx; // radius-x
- int ry; // radius-y
- int state; // a random value, used for varous decisions.
-};
-
void
YQEasterBunny::layEgg()
{
+#if 0
const char * display = getenv( "DISPLAY" );
if ( ! display )
@@ -66,175 +58,14 @@
YFrameBuffer fb( width, height, screen->x11AppDepth() );
draw(&fb, width, height);
-}
-
-// in_corner returns true, if we are in a rounded corner of the rectangle
-static int in_corner(int x, int y, int xmin, int ymin, int xmax, int ymax)
-{
- int dx1 = x - xmin;
- int dx2 = xmax - x;
- int dy1 = y - ymin;
- int dy2 = ymax - y;
- int dx = (dx1 > dx2) ? dx2 : dx1;
- int dy = (dy1 > dy2) ? dy2 : dy1;
-
- int d = (dx < dy) ? dx : dy; // okay, not really a radius, but close enough ...
-
- if (d + dx + dy < 10) return 1;
- return 0;
-}
-
-// clip variable inside a range.
-#define RANGE(var, min, max) (((var) < (min)) ? (min) : (((var) > (max)) ? (max) : (var)))
-
-// return a random integer [0..range]
-#define MY_RAND(range) ((int)(1.0*(range)*rand()/(RAND_MAX+1.0)))
-
-static void draw_one (YFrameBuffer *fb, int sw, int sh, struct q *a)
-{
- int xmin = RANGE(a->x - a->rx, 0, sw-1);
- int xmax = RANGE(a->x + a->rx, 0, sw-1);
- int ymin = RANGE(a->y - a->ry, 0, sh-1);
- int ymax = RANGE(a->y + a->ry, 0, sh-1);
- int xstep = (a->state & 0x400) ? 1 : 2;
- int ystep = (a->state & 0x800) ? 1 : 2;
-
- // flip the rectangle 180 degrees around.
- // FIXME: horizontal center line of the rectangle is not
- // handled correctly.
- // Our rectangles have an even width and height unless
- // they hit borders. jw.
- //
- for ( int y = (ymax-ymin)/2; y >0; y -= ystep )
- {
- for ( int x = xmax-xmin; x>0; x -= xstep )
- {
- if (in_corner(x+xmin, y+ymin, xmin, ymin, xmax, ymax))
- continue;
-
- YFrameBuffer::FBPixel p1, p2;
-
- p1 = fb->pixel( xmin+x, ymin+y );
- p2 = fb->pixel( xmax-x, ymax-y );
-
- // some rectangles are even color-inverted
- if (a->state & 1)
- {
- if (a->state & 2)
- {
- // this is greenish.
- p1 ^= 0xAA55AA55;
- p2 ^= 0xAA55AA55;
- }
- else
- {
- // this is random
- p1 ^= a->state;
- p2 ^= a->state;
- }
- }
-
- fb->setPixel( xmin+x, ymin+y, p2 );
- fb->setPixel( xmax-x, ymax-y, p1 );
- }
- }
-}
-
-static void draw_all(YFrameBuffer *fb, int sw, int sh, struct q *a, int n)
-{
- for (int i = 0; i < n; i++)
- {
- draw_one(fb, sw, sh, a++);
- }
+#else
+ y2warning( "Easter egg disabled" );
+#endif
}
void
YQEasterBunny::draw(YFrameBuffer *fb, int sw, int sh)
{
-// int n = sizeof(a) / sizeof (struct q);
- int n = sw/2;
-
- struct q *a = (struct q *)malloc(sizeof(struct q) * n);
- struct q *b = (struct q *)malloc(sizeof(struct q) * n);
-
-#if 0
- for (int i = 0; i < n; i++)
- {
- a[i].x += sw/2;
- a[i].y += sh/2;
- *(b+n-1-i) = a[i];
- }
-#endif
-
- srand(getpid() ^ time(0));
-
- // to find, where the center of rectangle nr. i is, we draw an invisible square of
- // 'radius' i+50 around the center of the screen. the random generator selects a position
- // on the border of that square.
- // this has the effect that rectangles drawn later are fürther away from the center.
- // an undesired sideeffect is, that at an earlier stage,
- // all rectangles are cuddled towards the center.
- // dx and dy introduce a special case for the first few (one eight of all) rectangles.
- // for them we shift the center-square towards one of the four corners of the screen.
-
- for (int i = 0; i < n; i++)
- {
- int t = i+50;
- int r = -t + MY_RAND(2*t);
- int x = sw/2;
- int y = sh/2;
-
- int dx = (n-8*i);
- if (dx < 0) dx = 0;
- int dy = dx * sh / sw;
-
- int state = rand();
- if (state & 0x100)
- {
- if (state & 0x200)
- {
- // top row
- x += r - dx;
- y += -t - dy;
- }
- else
- {
- // left col
- x += -t - dx;
- y += r + dy;
- }
- }
- else
- {
- if (state & 0x200)
- {
- // bottom row
- x += r + dx;
- y += t - dy;
- }
- else
- {
- // right col
- x += t + dx;
- y += r + dy;
- }
- }
-
- (a+i)->x = x;
- (a+i)->y = y;
- (a+i)->state = state;
-
- // most of the recangles are in a fairly small size.
- // but a few of them are huge.
- // note, that only semi-transparent rctangles can become huge :-)
- // jw.
-
- (a+i)->rx = (20 + MY_RAND(80)) * ((state & 0x3f00) ? 1 : 4);
- (a+i)->ry = (15 + MY_RAND(60)) * ((state & 0x3f00) ? 1 : 4);
- *(b+n-1-i) = *(a+i);
- }
-
- draw_all(fb, sw, sh, a, n);
- draw_all(fb, sw, sh, b, n);
+ // NOP
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.54/src/YQPackageSelector.cc new/yast2-qt-2.13.56/src/YQPackageSelector.cc
--- old/yast2-qt-2.13.54/src/YQPackageSelector.cc 2006-04-28 12:28:52.000000000 +0200
+++ new/yast2-qt-2.13.56/src/YQPackageSelector.cc 2006-05-09 14:34:42.000000000 +0200
@@ -94,6 +94,7 @@
: YQPackageSelectorBase( parent, opt )
, _floppyDevice( floppyDevice->value().c_str() )
{
+ _showChangesDialog = true;
_autoDependenciesCheckBox = 0;
_detailsViews = 0;
_diskUsageList = 0;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.54/src/YQUI_core.cc new/yast2-qt-2.13.56/src/YQUI_core.cc
--- old/yast2-qt-2.13.54/src/YQUI_core.cc 2006-03-29 21:18:14.000000000 +0200
+++ new/yast2-qt-2.13.56/src/YQUI_core.cc 2006-05-09 16:12:38.000000000 +0200
@@ -601,16 +601,13 @@
y2milestone( "Starting easter egg..." );
-#if 0
- system( "sudo dd if=/dev/urandom bs=1024 count=1024 of=/dev/fb0" );
- sleep( 2 );
-#endif
-
YQEasterBunny::layEgg();
y2milestone( "Done." );
+#if 0
// desktop()->repaint() has no effect - we need to do it the hard way.
system( "/usr/X11R6/bin/xrefresh" );
+#endif
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...