Hello community,
here is the log from the commit of package yast2
checked in at Fri Apr 25 15:25:15 CEST 2008.
--------
--- yast2/yast2.changes 2008-04-23 15:47:52.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2008-04-25 11:31:39.220378000 +0200
@@ -1,0 +2,13 @@
+Fri Apr 25 11:18:24 CEST 2008 - lslezak@suse.cz
+
+- do not use UI:: call while importing PackageCallbaks module
+ (initializes UI even in command line mode) (bnc#374259)
+- 2.16.58
+
+-------------------------------------------------------------------
+Thu Apr 24 09:55:15 CEST 2008 - jsuchome@suse.cz
+
+- added missing anyxml.scr
+- 2.16.57
+
+-------------------------------------------------------------------
Old:
----
yast2-2.16.56.tar.bz2
New:
----
yast2-2.16.58.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.W30998/_old 2008-04-25 15:25:04.000000000 +0200
+++ /var/tmp/diff_new_pack.W30998/_new 2008-04-25 15:25:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.16.56)
+# spec file for package yast2 (Version 2.16.58)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2
-Version: 2.16.56
+Version: 2.16.58
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.16.56.tar.bz2
+Source0: yast2-2.16.58.tar.bz2
Prefix: /usr
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite
@@ -136,7 +136,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.16.56
+%setup -n yast2-2.16.58
%build
%{prefix}/bin/y2tool y2autoconf
@@ -240,6 +240,13 @@
%doc %{prefix}/share/doc/packages/yast2/types
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Fri Apr 25 2008 lslezak@suse.cz
+- do not use UI:: call while importing PackageCallbaks module
+ (initializes UI even in command line mode) (bnc#374259)
+- 2.16.58
+* Thu Apr 24 2008 jsuchome@suse.cz
+- added missing anyxml.scr
+- 2.16.57
* Wed Apr 23 2008 locilka@suse.cz
- Fixing CWMFirewallInterfaces to appropriately handle interfaces
in unprotected internal zone (bnc #382686).
++++++ yast2-2.16.56.tar.bz2 -> yast2-2.16.58.tar.bz2 ++++++
++++ 3887 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-2.16.56/configure.in new/yast2-2.16.58/configure.in
--- old/yast2-2.16.56/configure.in 2008-04-23 15:51:20.000000000 +0200
+++ new/yast2-2.16.58/configure.in 2008-04-25 11:29:27.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2
dnl
-dnl -- This file is generated by y2autoconf 2.16.7 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.16.56, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.16.58, http://bugs.opensuse.org/, yast2)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.16.56"
+VERSION="2.16.58"
RPMNAME="yast2"
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-2.16.56/library/agents/anyxml.scr new/yast2-2.16.58/library/agents/anyxml.scr
--- old/yast2-2.16.56/library/agents/anyxml.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.16.58/library/agents/anyxml.scr 2008-04-25 09:44:59.000000000 +0200
@@ -0,0 +1,15 @@
+/**
+ * File: anyxml.scr
+ *
+ * Summary: Agent for reading any XML files.
+ *
+ * Authors: Jiri Suchomel
+ *
+ * Example: SCR::Read (.anyxml, "/root/some_file.xml")
+ *
+ * $Id:$
+ */
+
+.anyxml
+
+`ag_anyxml ()
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-2.16.56/library/modules/Version.ycp new/yast2-2.16.58/library/modules/Version.ycp
--- old/yast2-2.16.56/library/modules/Version.ycp 2008-04-23 15:51:35.000000000 +0200
+++ new/yast2-2.16.58/library/modules/Version.ycp 2008-04-25 11:29:40.000000000 +0200
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.16.56";
+global string yast2 = "2.16.58";
/* EOF */
}
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-2.16.56/library/network/src/yast2-services-translations.ycp new/yast2-2.16.58/library/network/src/yast2-services-translations.ycp
--- old/yast2-2.16.56/library/network/src/yast2-services-translations.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.16.58/library/network/src/yast2-services-translations.ycp 2008-04-14 13:27:47.000000000 +0200
@@ -0,0 +1,274 @@
+{
+ /**
+ * This file contains only translations for
+ * FATE #300687: Ports for SuSEfirewall added via packages
+ *
+ * Translations are grabbed when 'make pot' is called.
+ */
+
+ textdomain "firewall-services";
+
+ string tmpstring = nil;
+
+ // TRANSLATORS: Name of Service (File name: apache2, RPM: apache2), can be used as check box, item in multiple selection box...
+ tmpstring = _("Apache 2");
+
+ // TRANSLATORS: Description of a Service (File name: apache2, RPM: apache2), used as a common label or an item in table
+ tmpstring = _("Opens ports for Apache Web Server.");
+
+ // TRANSLATORS: Name of Service (File name: apache2-ssl, RPM: apache2), can be used as check box, item in multiple selection box...
+ tmpstring = _("Apache 2");
+
+ // TRANSLATORS: Description of a Service (File name: apache2-ssl, RPM: apache2), used as a common label or an item in table
+ tmpstring = _("Opens ports for Apache Web Server.");
+
+ // TRANSLATORS: Name of Service (File name: avahi, RPM: avahi), can be used as check box, item in multiple selection box...
+ tmpstring = _("Zeroconf/Bonjour Multicast DNS");
+
+ // TRANSLATORS: Description of a Service (File name: avahi, RPM: avahi), used as a common label or an item in table
+ tmpstring = _("Zeroconf/Bonjour Multicast DNS (mDNS) ports for Service Discovery (DNS-SD)");
+
+ // TRANSLATORS: Description of a Service (File name: bacula-dir, RPM: bacula-server), used as a common label or an item in table
+ tmpstring = _("Bacula Director ");
+
+ // TRANSLATORS: Description of a Service (File name: bacula-fd, RPM: bacula), used as a common label or an item in table
+ tmpstring = _("Bacula File Daemon ");
+
+ // TRANSLATORS: Description of a Service (File name: bacula-sd, RPM: bacula-server), used as a common label or an item in table
+ tmpstring = _("Bacula Storage Daemon ");
+
+ // TRANSLATORS: Name of Service (File name: bind, RPM: bind ypbind), can be used as check box, item in multiple selection box...
+ tmpstring = _("bind DNS server");
+
+ // TRANSLATORS: Description of a Service (File name: bind, RPM: bind ypbind), used as a common label or an item in table
+ tmpstring = _("Open ports for the bind DNS server");
+
+ // TRANSLATORS: Name of Service (File name: courier-imap, RPM: courier-imap), can be used as check box, item in multiple selection box...
+ tmpstring = _("courier-imapd");
+
+ // TRANSLATORS: Description of a Service (File name: courier-imap, RPM: courier-imap), used as a common label or an item in table
+ tmpstring = _("Opens ports for courier-imapd.");
+
+ // TRANSLATORS: Name of Service (File name: courier-imap-ssl, RPM: courier-imap), can be used as check box, item in multiple selection box...
+ tmpstring = _("courier-imapd");
+
+ // TRANSLATORS: Description of a Service (File name: courier-imap-ssl, RPM: courier-imap), used as a common label or an item in table
+ tmpstring = _("Opens ports for courier-imapd.");
+
+ // TRANSLATORS: Name of Service (File name: cups, RPM: cups-libs), can be used as check box, item in multiple selection box...
+ tmpstring = _("cups");
+
+ // TRANSLATORS: Description of a Service (File name: cups, RPM: cups-libs), used as a common label or an item in table
+ tmpstring = _("Firewall Configuration file for printing service CUPS");
+
+ // TRANSLATORS: Name of Service (File name: cyrus-imapd, RPM: cyrus-imapd), can be used as check box, item in multiple selection box...
+ tmpstring = _("cyrus-imapd Server");
+
+ // TRANSLATORS: Description of a Service (File name: cyrus-imapd, RPM: cyrus-imapd), used as a common label or an item in table
+ tmpstring = _("Opens ports for the cyrus-imapd Server.");
+
+ // TRANSLATORS: Name of Service (File name: dhcp-server, RPM: dhcp), can be used as check box, item in multiple selection box...
+ tmpstring = _("DHCP Server");
+
+ // TRANSLATORS: Description of a Service (File name: dhcp-server, RPM: dhcp), used as a common label or an item in table
+ tmpstring = _("Opens ports for ISC DHCP Server.");
+
+ // TRANSLATORS: Name of Service (File name: dnsmasq-dhcp, RPM: dnsmasq), can be used as check box, item in multiple selection box...
+ tmpstring = _("dnsmasq");
+
+ // TRANSLATORS: Description of a Service (File name: dnsmasq-dhcp, RPM: dnsmasq), used as a common label or an item in table
+ tmpstring = _("Open ports for the dnsmasq DNS/DHCP server");
+
+ // TRANSLATORS: Name of Service (File name: dnsmasq-dns, RPM: dnsmasq), can be used as check box, item in multiple selection box...
+ tmpstring = _("dnsmasq");
+
+ // TRANSLATORS: Description of a Service (File name: dnsmasq-dns, RPM: dnsmasq), used as a common label or an item in table
+ tmpstring = _("Open ports for the dnsmasq DNS/DHCP server");
+
+ // TRANSLATORS: Name of Service (File name: finger-server, RPM: finger-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("Finger Server");
+
+ // TRANSLATORS: Description of a Service (File name: finger-server, RPM: finger-server), used as a common label or an item in table
+ tmpstring = _("Opens ports for Finger Server.");
+
+ // TRANSLATORS: Name of Service (File name: iceccd, RPM: icecream), can be used as check box, item in multiple selection box...
+ tmpstring = _("icecream daemon");
+
+ // TRANSLATORS: Description of a Service (File name: iceccd, RPM: icecream), used as a common label or an item in table
+ tmpstring = _("opens socket for the icecream compilation daemon");
+
+ // TRANSLATORS: Name of Service (File name: icecream-scheduler, RPM: icecream), can be used as check box, item in multiple selection box...
+ tmpstring = _("icecream scheduler");
+
+ // TRANSLATORS: Description of a Service (File name: icecream-scheduler, RPM: icecream), used as a common label or an item in table
+ tmpstring = _("opens ports for the Icecream scheduler");
+
+ // TRANSLATORS: Name of Service (File name: imap, RPM: courier-imap imap-lib), can be used as check box, item in multiple selection box...
+ tmpstring = _("imap Server");
+
+ // TRANSLATORS: Description of a Service (File name: imap, RPM: courier-imap imap-lib), used as a common label or an item in table
+ tmpstring = _("Opens ports for imap Server.");
+
+ // TRANSLATORS: Name of Service (File name: iscsitarget, RPM: tgt), can be used as check box, item in multiple selection box...
+ tmpstring = _("iSCSI Target Daemon");
+
+ // TRANSLATORS: Description of a Service (File name: iscsitarget, RPM: tgt), used as a common label or an item in table
+ tmpstring = _("Opens ports for iSCSI Target Daemon with broadcast allowed.");
+
+ // TRANSLATORS: Name of Service (File name: isns, RPM: isns), can be used as check box, item in multiple selection box...
+ tmpstring = _("iSNS Daemon");
+
+ // TRANSLATORS: Description of a Service (File name: isns, RPM: isns), used as a common label or an item in table
+ tmpstring = _("Opens ports for iSNS daemon with broadcast allowed.");
+
+ // TRANSLATORS: Name of Service (File name: kadmind, RPM: krb5-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("Kerberos Admin Server");
+
+ // TRANSLATORS: Description of a Service (File name: kadmind, RPM: krb5-server), used as a common label or an item in table
+ tmpstring = _("Open ports for kadmind Server");
+
+ // TRANSLATORS: Name of Service (File name: kdc, RPM: krb5-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("Key Distribution Center");
+
+ // TRANSLATORS: Description of a Service (File name: kdc, RPM: krb5-server), used as a common label or an item in table
+ tmpstring = _("Open ports for the Key Distribution Center");
+
+ // TRANSLATORS: Name of Service (File name: lighttpd, RPM: lighttpd), can be used as check box, item in multiple selection box...
+ tmpstring = _("lighttpd");
+
+ // TRANSLATORS: Description of a Service (File name: lighttpd, RPM: lighttpd), used as a common label or an item in table
+ tmpstring = _("Open the http port for lighttpd.");
+
+ // TRANSLATORS: Name of Service (File name: lighttpd-ssl, RPM: lighttpd), can be used as check box, item in multiple selection box...
+ tmpstring = _("lighttpd");
+
+ // TRANSLATORS: Description of a Service (File name: lighttpd-ssl, RPM: lighttpd), used as a common label or an item in table
+ tmpstring = _("Open the https port for lighttpd.");
+
+ // TRANSLATORS: Name of Service (File name: mysql, RPM: mysql), can be used as check box, item in multiple selection box...
+ tmpstring = _("MySQL server");
+
+ // TRANSLATORS: Description of a Service (File name: mysql, RPM: mysql), used as a common label or an item in table
+ tmpstring = _("opens ports for MySQL in order to allow other hosts connect to it");
+
+ // TRANSLATORS: Name of Service (File name: nfs-client, RPM: nfs-client), can be used as check box, item in multiple selection box...
+ tmpstring = _("NFS Client");
+
+ // TRANSLATORS: Description of a Service (File name: nfs-client, RPM: nfs-client), used as a common label or an item in table
+ tmpstring = _("Firewall Configuration for nfs client. opens ports for NFS client in order to allow to connect to a NFS server");
+
+ // TRANSLATORS: Name of Service (File name: nfs-kernel-server, RPM: nfs-kernel-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("NFS Server Service");
+
+ // TRANSLATORS: Description of a Service (File name: nfs-kernel-server, RPM: nfs-kernel-server), used as a common label or an item in table
+ tmpstring = _("Firewall Configuration for nfs kernel server. opens ports for NFS in order to allow other hosts connect to it");
+
+ // TRANSLATORS: Name of Service (File name: ntp, RPM: ntp), can be used as check box, item in multiple selection box...
+ tmpstring = _("xntp Server");
+
+ // TRANSLATORS: Description of a Service (File name: ntp, RPM: ntp), used as a common label or an item in table
+ tmpstring = _("Opens ports for xntp.");
+
+ // TRANSLATORS: Name of Service (File name: nut, RPM: nut), can be used as check box, item in multiple selection box...
+ tmpstring = _("Network UPS Tools");
+
+ // TRANSLATORS: Description of a Service (File name: nut, RPM: nut), used as a common label or an item in table
+ tmpstring = _("Opens ports for remote UPS signalling for Network UPS Tools.");
+
+ // TRANSLATORS: Name of Service (File name: openldap, RPM: openldap2), can be used as check box, item in multiple selection box...
+ tmpstring = _("OpenLDAP Server");
+
+ // TRANSLATORS: Description of a Service (File name: openldap, RPM: openldap2), used as a common label or an item in table
+ tmpstring = _("Opens ports for the OpenLDAP Server (slapd).");
+
+ // TRANSLATORS: Description of a Service (File name: postfix, RPM: postfix), used as a common label or an item in table
+ tmpstring = _("Firewall Configuration file for postfix");
+
+ // TRANSLATORS: Name of Service (File name: postgresql, RPM: postgresql-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("PostgreSQL Server");
+
+ // TRANSLATORS: Description of a Service (File name: postgresql, RPM: postgresql-server), used as a common label or an item in table
+ tmpstring = _("Opens TCP port 5432 to allow remote connections to the PostgreSQL server.");
+
+ // TRANSLATORS: Name of Service (File name: pure-ftpd, RPM: pure-ftpd), can be used as check box, item in multiple selection box...
+ tmpstring = _("pureftpd");
+
+ // TRANSLATORS: Description of a Service (File name: pure-ftpd, RPM: pure-ftpd), used as a common label or an item in table
+ tmpstring = _("Opens ports for pureftpd with broadcast allowed.");
+
+ // TRANSLATORS: Description of a Service (File name: sendmail, RPM: sendmail), used as a common label or an item in table
+ tmpstring = _("Firewall Configuration file for postfix");
+
+ // TRANSLATORS: Name of Service (File name: squid, RPM: yast2-squid), can be used as check box, item in multiple selection box...
+ tmpstring = _("Squid Service");
+
+ // TRANSLATORS: Description of a Service (File name: squid, RPM: yast2-squid), used as a common label or an item in table
+ tmpstring = _("Opens ports for Squid");
+
+ // TRANSLATORS: Name of Service (File name: sshd, RPM: openssh), can be used as check box, item in multiple selection box...
+ tmpstring = _("Secure Shell Server");
+
+ // TRANSLATORS: Description of a Service (File name: sshd, RPM: openssh), used as a common label or an item in table
+ tmpstring = _("Open ports for Secure Shell Server");
+
+ // TRANSLATORS: Name of Service (File name: svnserve, RPM: subversion), can be used as check box, item in multiple selection box...
+ tmpstring = _("svnserve");
+
+ // TRANSLATORS: Description of a Service (File name: svnserve, RPM: subversion), used as a common label or an item in table
+ tmpstring = _("Open ports for svnserve");
+
+ // TRANSLATORS: Name of Service (File name: talkd, RPM: talk-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("Talk Server");
+
+ // TRANSLATORS: Description of a Service (File name: talkd, RPM: talk-server), used as a common label or an item in table
+ tmpstring = _("Open ports for Talk Server");
+
+ // TRANSLATORS: Name of Service (File name: telnet-server, RPM: telnet-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("Telnet Server");
+
+ // TRANSLATORS: Description of a Service (File name: telnet-server, RPM: telnet-server), used as a common label or an item in table
+ tmpstring = _("Opens ports for Telnet Server.");
+
+ // TRANSLATORS: Name of Service (File name: tetrinet-server, RPM: tetrinet-server), can be used as check box, item in multiple selection box...
+ tmpstring = _("Tetrinet Server");
+
+ // TRANSLATORS: Description of a Service (File name: tetrinet-server, RPM: tetrinet-server), used as a common label or an item in table
+ tmpstring = _("Opens ports in firewall to make possible to connect clients to your server. ");
+
+ // TRANSLATORS: Name of Service (File name: vnc-httpd, RPM: tightvnc), can be used as check box, item in multiple selection box...
+ tmpstring = _("VNC mini-HTTP server");
+
+ // TRANSLATORS: Description of a Service (File name: vnc-httpd, RPM: tightvnc), used as a common label or an item in table
+ tmpstring = _("Opens the VNC HTTP ports so that browsers can connect.");
+
+ // TRANSLATORS: Name of Service (File name: vnc-server, RPM: tightvnc), can be used as check box, item in multiple selection box...
+ tmpstring = _("VNC");
+
+ // TRANSLATORS: Description of a Service (File name: vnc-server, RPM: tightvnc), used as a common label or an item in table
+ tmpstring = _("Opens VNC server ports so that viewers can connect.");
+
+ // TRANSLATORS: Name of Service (File name: vsftpd, RPM: vsftpd), can be used as check box, item in multiple selection box...
+ tmpstring = _("vsftpd Server");
+
+ // TRANSLATORS: Description of a Service (File name: vsftpd, RPM: vsftpd), used as a common label or an item in table
+ tmpstring = _("Opens ports for vsftpd Server.");
+
+ // TRANSLATORS: Name of Service (File name: xdmcp, RPM: xorg-x11), can be used as check box, item in multiple selection box...
+ tmpstring = _("xdmcp");
+
+ // TRANSLATORS: Description of a Service (File name: xdmcp, RPM: xorg-x11), used as a common label or an item in table
+ tmpstring = _("allow other hosts to access your display manager via XDMCP");
+
+ // TRANSLATORS: Name of Service (File name: ypbind, RPM: ypbind), can be used as check box, item in multiple selection box...
+ tmpstring = _("NIS Client");
+
+ // TRANSLATORS: Description of a Service (File name: ypbind, RPM: ypbind), used as a common label or an item in table
+ tmpstring = _("The ypbind daemon binds NIS clients to an NIS domain");
+
+ // TRANSLATORS: Name of Service (File name: ypserv, RPM: ypserv), can be used as check box, item in multiple selection box...
+ tmpstring = _("NIS Server");
+
+ // TRANSLATORS: Description of a Service (File name: ypserv, RPM: ypserv), used as a common label or an item in table
+ tmpstring = _("Configuration for a NIS master/slave server");
+
+}
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-2.16.56/library/packages/src/PackageCallbacks.ycp new/yast2-2.16.58/library/packages/src/PackageCallbacks.ycp
--- old/yast2-2.16.56/library/packages/src/PackageCallbacks.ycp 2008-04-17 20:46:55.000000000 +0200
+++ new/yast2-2.16.58/library/packages/src/PackageCallbacks.ycp 2008-04-25 11:29:23.000000000 +0200
@@ -7,7 +7,7 @@
*
* Purpose: provides the default Callbacks for Pkg::
*
- * $Id: PackageCallbacks.ycp 46648 2008-04-15 09:31:46Z lslezak $
+ * $Id: PackageCallbacks.ycp 47054 2008-04-25 09:29:22Z lslezak $
*
*/
@@ -61,8 +61,15 @@
boolean autorefreshing = false;
boolean autorefreshing_aborted = false;
- boolean textmode = UI::GetDisplayInfo()["TextMode"]:false;
- integer display_width = UI::GetDisplayInfo()["Width"]:0;
+ boolean textmode()
+ {
+ return UI::GetDisplayInfo()["TextMode"]:false;
+ }
+
+ integer display_width()
+ {
+ return UI::GetDisplayInfo()["Width"]:0;
+ }
/* Location of the persistent storage */
const string conf_file = Directory::vardir + "/package_callbacks.conf";
@@ -1130,7 +1137,7 @@
void SetHeaderSourcePopup(string text)
{
// Qt UI uses bold font, the string must be shortened even more
- integer ui_adjustment = textmode ? 0 : 5;
+ integer ui_adjustment = textmode() ? 0 : 5;
if (size(text) > max_size - ui_adjustment)
{
@@ -1144,7 +1151,7 @@
void SetLabelSourcePopup(string text)
{
// Qt uses proportional font, the string might be longer
- integer ui_adjustment = textmode ? 0 : 6;
+ integer ui_adjustment = textmode() ? 0 : 6;
if (size(text) > max_size + ui_adjustment)
{
@@ -1897,12 +1904,12 @@
if (bps_current > 0)
{
// do not show the average download rate if the space is limited
- if (textmode && display_width < 100)
+ if (textmode() && display_width() < 100)
{
bps_avg = -1;
}
- string format = textmode ? ("%1 - " + download_file) : (download_file + " - %1");
+ string format = textmode() ? ("%1 - " + download_file) : (download_file + " - %1");
// progress bar label, %1 is URL with optional download rate
msg_rate = sformat(_("Downloading: %1"), String::FormatRateMessage(format, bps_avg, bps_current));
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-2.16.56/library/system/src/test_kernel.ycp new/yast2-2.16.58/library/system/src/test_kernel.ycp
--- old/yast2-2.16.56/library/system/src/test_kernel.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.16.58/library/system/src/test_kernel.ycp 2007-08-30 11:13:45.000000000 +0200
@@ -0,0 +1,11 @@
+{
+
+ import "Kernel";
+ import "PackageSystem";
+ import "Mode";
+
+ PackageSystem::EnsureTargetInit();
+ PackageSystem::EnsureSourceInit();
+
+ y2internal("Kernel packages: %1", Kernel::GetPackages());
+}
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-2.16.56/VERSION new/yast2-2.16.58/VERSION
--- old/yast2-2.16.56/VERSION 2008-04-23 15:47:38.000000000 +0200
+++ new/yast2-2.16.58/VERSION 2008-04-25 11:27:32.000000000 +0200
@@ -1 +1 @@
-2.16.56
+2.16.58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org