Mailinglist Archive: opensuse-commit (1194 mails)

< Previous Next >
commit yast2
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 05 Mar 2008 22:11:51 +0100
  • Message-id: <20080305211151.943E8678168@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2
checked in at Wed Mar 5 22:11:51 CET 2008.

--------
--- yast2/yast2.changes 2008-02-27 14:38:49.000000000 +0100
+++ yast2/yast2.changes 2008-03-05 17:45:43.841071000 +0100
@@ -1,0 +2,25 @@
+Wed Mar 5 17:37:15 CET 2008 - lslezak@xxxxxxx
+
+- register Refresh callbacks (required for FATE #30962, bnc #231745)
+- 2.16.33
+
+-------------------------------------------------------------------
+Wed Mar 05 16:39:25 CET 2008 - aschnell@xxxxxxx
+
+- set Qt style during installation
+
+-------------------------------------------------------------------
+Wed Mar 5 15:37:35 CET 2008 - locilka@xxxxxxx
+
+- Do not try to change the Wizard widget if no such widget exists
+ (ncurses) reuse the Back button instead (bnc #367213).
+- 2.16.31
+
+-------------------------------------------------------------------
+Tue Mar 4 13:53:43 CET 2008 - locilka@xxxxxxx
+
+- Replacing obsolete ag_background with new ag_process in Service
+ YCP module.
+- Adjusted RPM dependencies.
+
+-------------------------------------------------------------------
@@ -17 +42 @@
-- V 2.16.29
+- V 2.16.29
@@ -45 +70 @@
-- 2.16.27
+- 2.16.27
@@ -76 +101 @@
- whether some progress is running (querying progress counter is not
+ whether some progress is running (querying progress counter is not

Old:
----
yast2-2.16.30.tar.bz2

New:
----
yast2-2.16.33.tar.bz2

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

Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.kie523/_old 2008-03-05 22:05:10.000000000 +0100
+++ /var/tmp/diff_new_pack.kie523/_new 2008-03-05 22:05:10.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.16.30)
+# spec file for package yast2 (Version 2.16.33)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,24 +12,25 @@


Name: yast2
-Version: 2.16.30
+Version: 2.16.33
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.16.30.tar.bz2
+Source0: yast2-2.16.33.tar.bz2
Prefix: /usr
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools
yast2-perl-bindings yast2-testsuite
# Needed already in build time
-BuildRequires: yast2-pkg-bindings >= 2.16.5
+BuildRequires: yast2-pkg-bindings >= 2.16.16
# pre-requires for filling the sysconfig template (sysconfig.yast2)
PreReq: %fillup_prereq
+# ag_process
+Requires: yast2-core >= 2.16.37
# Mod_UI
-Requires: yast2-core >= 2.16.6
Requires: yast2-ycp-ui-bindings >= 2.16.37
-# Pkg::CallbackProcess*() functions
-Requires: yast2-pkg-bindings >= 2.16.5
+# Pkg::CallbackRefresh*() functions
+Requires: yast2-pkg-bindings >= 2.16.16
Requires: yast2_ui yast2_theme
# For Cron Agent, Module
Requires: perl-Config-Crontab
@@ -131,7 +132,7 @@
Steffen Winterfeldt <snwint@xxxxxxx>

%prep
-%setup -n yast2-2.16.30
+%setup -n yast2-2.16.33

%build
%{prefix}/bin/y2tool y2autoconf
@@ -235,6 +236,19 @@
%doc %{prefix}/share/doc/packages/yast2/types
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Wed Mar 05 2008 lslezak@xxxxxxx
+- register Refresh callbacks (required for FATE #30962, bnc #231745)
+- 2.16.33
+* Wed Mar 05 2008 aschnell@xxxxxxx
+- set Qt style during installation
+* Wed Mar 05 2008 locilka@xxxxxxx
+- Do not try to change the Wizard widget if no such widget exists
+ (ncurses) reuse the Back button instead (bnc #367213).
+- 2.16.31
+* Tue Mar 04 2008 locilka@xxxxxxx
+- Replacing obsolete ag_background with new ag_process in Service
+ YCP module.
+- Adjusted RPM dependencies.
* Wed Feb 27 2008 coolo@xxxxxxx
- new version
- V 2.16.30

++++++ yast2-2.16.30.tar.bz2 -> yast2-2.16.33.tar.bz2 ++++++
++++ 3958 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.30/configure.in new/yast2-2.16.33/configure.in
--- old/yast2-2.16.30/configure.in 2008-02-14 17:13:55.000000000 +0100
+++ new/yast2-2.16.33/configure.in 2008-03-05 17:44:41.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2
dnl
-dnl -- This file is generated by y2autoconf 2.16.4 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.16.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)

-AC_INIT(yast2, 2.16.26, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.16.33, 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.26"
+VERSION="2.16.33"
RPMNAME="yast2"
MAINTAINER="Jiri Srain <jsrain@xxxxxxx>"

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.30/library/modules/Arch.ycp
new/yast2-2.16.33/library/modules/Arch.ycp
--- old/yast2-2.16.30/library/modules/Arch.ycp 2007-12-05 10:05:41.000000000
+0100
+++ new/yast2-2.16.33/library/modules/Arch.ycp 2008-03-05 16:25:20.000000000
+0100
@@ -5,7 +5,7 @@
* Authors: Klaus Kaempf <kkaempf@xxxxxxx>
* Flags: Stable
*
- * $Id: Arch.ycp 38053 2007-05-21 07:47:25Z jsrain $
+ * $Id: Arch.ycp 45143 2008-02-29 16:28:24Z olh $
*/

{
@@ -276,7 +276,7 @@
}

/**
- * true for all "NewWorld" power macs
+ * true for all "NewWorld" PowerMacs
*/
global boolean board_mac_new () {
// board_mac calls board_compatible which initializes _checkgeneration
@@ -284,7 +284,7 @@
}

/**
- * true for all "OldWorld" power macs
+ * true for all "OldWorld" powermacs
*/
global boolean board_mac_old () {
// board_mac calls board_compatible which initializes _checkgeneration
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.30/library/modules/Version.ycp
new/yast2-2.16.33/library/modules/Version.ycp
--- old/yast2-2.16.30/library/modules/Version.ycp 2008-02-27
14:38:58.000000000 +0100
+++ new/yast2-2.16.33/library/modules/Version.ycp 2008-03-05
17:44:55.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.16.30";
+global string yast2 = "2.16.33";

/* 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.30/library/network/src/yast2-services-translations.ycp
new/yast2-2.16.33/library/network/src/yast2-services-translations.ycp
--- old/yast2-2.16.30/library/network/src/yast2-services-translations.ycp
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.16.33/library/network/src/yast2-services-translations.ycp
2007-11-20 13:15:59.000000000 +0100
@@ -0,0 +1,226 @@
+{
+ /**
+ * 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 (rpm: apache2), can be used as check box,
item in multiple selection box...
+ tmpstring = _("Apache 2");
+
+ // TRANSLATORS: Description of a Service (rpm: apache2), used as a common
label or an item in table
+ tmpstring = _("Opens ports for Apache Web Server.");
+
+ // TRANSLATORS: Name of Service (rpm: apache2-ssl), can be used as check
box, item in multiple selection box...
+ tmpstring = _("Apache 2");
+
+ // TRANSLATORS: Description of a Service (rpm: apache2-ssl), used as a
common label or an item in table
+ tmpstring = _("Opens ports for Apache Web Server.");
+
+ // TRANSLATORS: Name of Service (rpm: avahi), can be used as check box, item
in multiple selection box...
+ tmpstring = _("Zeroconf/Bonjour Multicast DNS");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: bacula-dir), used as a common
label or an item in table
+ tmpstring = _("Bacula Director ");
+
+ // TRANSLATORS: Description of a Service (rpm: bacula-fd), used as a common
label or an item in table
+ tmpstring = _("Bacula File Daemon ");
+
+ // TRANSLATORS: Description of a Service (rpm: bacula-sd), used as a common
label or an item in table
+ tmpstring = _("Bacula Storage Daemon ");
+
+ // TRANSLATORS: Name of Service (rpm: bind), can be used as check box, item
in multiple selection box...
+ tmpstring = _("bind DNS server");
+
+ // TRANSLATORS: Description of a Service (rpm: bind), used as a common label
or an item in table
+ tmpstring = _("Open ports for the bind DNS server");
+
+ // TRANSLATORS: Name of Service (rpm: courier-imap), can be used as check
box, item in multiple selection box...
+ tmpstring = _("courier-imapd");
+
+ // TRANSLATORS: Description of a Service (rpm: courier-imap), used as a
common label or an item in table
+ tmpstring = _("Opens ports for courier-imapd.");
+
+ // TRANSLATORS: Name of Service (rpm: courier-imap-ssl), can be used as
check box, item in multiple selection box...
+ tmpstring = _("courier-imapd");
+
+ // TRANSLATORS: Description of a Service (rpm: courier-imap-ssl), used as a
common label or an item in table
+ tmpstring = _("Opens ports for courier-imapd.");
+
+ // TRANSLATORS: Name of Service (rpm: cups), can be used as check box, item
in multiple selection box...
+ tmpstring = _("cups");
+
+ // TRANSLATORS: Description of a Service (rpm: cups), used as a common label
or an item in table
+ tmpstring = _("Firewall Configuration file for printing service CUPS");
+
+ // TRANSLATORS: Name of Service (rpm: cyrus-imapd), can be used as check
box, item in multiple selection box...
+ tmpstring = _("cyrus-imapd Server");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: dhcp-server), can be used as check
box, item in multiple selection box...
+ tmpstring = _("DHCP Server");
+
+ // TRANSLATORS: Description of a Service (rpm: dhcp-server), used as a
common label or an item in table
+ tmpstring = _("Opens ports for ISC DHCP Server.");
+
+ // TRANSLATORS: Name of Service (rpm: dnsmasq-dhcp), can be used as check
box, item in multiple selection box...
+ tmpstring = _("dnsmasq");
+
+ // TRANSLATORS: Description of a Service (rpm: dnsmasq-dhcp), used as a
common label or an item in table
+ tmpstring = _("Open ports for the dnsmasq DNS/DHCP server");
+
+ // TRANSLATORS: Name of Service (rpm: dnsmasq-dns), can be used as check
box, item in multiple selection box...
+ tmpstring = _("dnsmasq");
+
+ // TRANSLATORS: Description of a Service (rpm: dnsmasq-dns), used as a
common label or an item in table
+ tmpstring = _("Open ports for the dnsmasq DNS/DHCP server");
+
+ // TRANSLATORS: Name of Service (rpm: iscsitarget), can be used as check
box, item in multiple selection box...
+ tmpstring = _("iSCSI Target Daemon");
+
+ // TRANSLATORS: Description of a Service (rpm: iscsitarget), used as a
common label or an item in table
+ tmpstring = _("Opens ports for iSCSI Target Daemon with broadcast allowed.");
+
+ // TRANSLATORS: Name of Service (rpm: isns), can be used as check box, item
in multiple selection box...
+ tmpstring = _("iSNS Daemon");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: kadmind), can be used as check box,
item in multiple selection box...
+ tmpstring = _("Kerberos Admin Server");
+
+ // TRANSLATORS: Description of a Service (rpm: kadmind), used as a common
label or an item in table
+ tmpstring = _("Open ports for kadmind Server");
+
+ // TRANSLATORS: Name of Service (rpm: kdc), can be used as check box, item
in multiple selection box...
+ tmpstring = _("Key Distribution Center");
+
+ // TRANSLATORS: Description of a Service (rpm: kdc), used as a common label
or an item in table
+ tmpstring = _("Open ports for the Key Distribution Center");
+
+ // TRANSLATORS: Name of Service (rpm: lighttpd), can be used as check box,
item in multiple selection box...
+ tmpstring = _("lighttpd");
+
+ // TRANSLATORS: Description of a Service (rpm: lighttpd), used as a common
label or an item in table
+ tmpstring = _("Open the http port for lighttpd.");
+
+ // TRANSLATORS: Name of Service (rpm: lighttpd-ssl), can be used as check
box, item in multiple selection box...
+ tmpstring = _("lighttpd");
+
+ // TRANSLATORS: Description of a Service (rpm: lighttpd-ssl), used as a
common label or an item in table
+ tmpstring = _("Open the https port for lighttpd.");
+
+ // TRANSLATORS: Name of Service (rpm: mysql), can be used as check box, item
in multiple selection box...
+ tmpstring = _("MySQL server");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: nut), can be used as check box, item
in multiple selection box...
+ tmpstring = _("Network UPS Tools");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: openldap), can be used as check box,
item in multiple selection box...
+ tmpstring = _("OpenLDAP Server");
+
+ // TRANSLATORS: Description of a Service (rpm: openldap), used as a common
label or an item in table
+ tmpstring = _("Opens ports for the OpenLDAP Server (slapd).");
+
+ // TRANSLATORS: Description of a Service (rpm: postfix), used as a common
label or an item in table
+ tmpstring = _("Firewall Configuration file for postfix");
+
+ // TRANSLATORS: Name of Service (rpm: postgresql), can be used as check box,
item in multiple selection box...
+ tmpstring = _("PostgreSQL Server");
+
+ // TRANSLATORS: Description of a Service (rpm: postgresql), 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 (rpm: pure-ftpd), can be used as check box,
item in multiple selection box...
+ tmpstring = _("pureftpd");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: sendmail), used as a common
label or an item in table
+ tmpstring = _("Firewall Configuration file for postfix");
+
+ // TRANSLATORS: Name of Service (rpm: squid), can be used as check box, item
in multiple selection box...
+ tmpstring = _("Squid Service");
+
+ // TRANSLATORS: Description of a Service (rpm: squid), used as a common
label or an item in table
+ tmpstring = _("Opens ports for Squid");
+
+ // TRANSLATORS: Name of Service (rpm: sshd), can be used as check box, item
in multiple selection box...
+ tmpstring = _("Secure Shell Server");
+
+ // TRANSLATORS: Description of a Service (rpm: sshd), used as a common label
or an item in table
+ tmpstring = _("Open ports for Secure Shell Server");
+
+ // TRANSLATORS: Name of Service (rpm: svnserve), can be used as check box,
item in multiple selection box...
+ tmpstring = _("svnserve");
+
+ // TRANSLATORS: Description of a Service (rpm: svnserve), used as a common
label or an item in table
+ tmpstring = _("Open ports for svnserve");
+
+ // TRANSLATORS: Name of Service (rpm: talkd), can be used as check box, item
in multiple selection box...
+ tmpstring = _("Talk Server");
+
+ // TRANSLATORS: Description of a Service (rpm: talkd), used as a common
label or an item in table
+ tmpstring = _("Open ports for Talk Server");
+
+ // TRANSLATORS: Name of Service (rpm: tetrinet-server), can be used as check
box, item in multiple selection box...
+ tmpstring = _("Tetrinet Server");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: vnc-httpd), can be used as check box,
item in multiple selection box...
+ tmpstring = _("VNC mini-HTTP server");
+
+ // TRANSLATORS: Description of a Service (rpm: vnc-httpd), 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 (rpm: vnc-server), can be used as check box,
item in multiple selection box...
+ tmpstring = _("VNC");
+
+ // TRANSLATORS: Description of a Service (rpm: vnc-server), used as a common
label or an item in table
+ tmpstring = _("Opens VNC server ports so that viewers can connect.");
+
+ // TRANSLATORS: Name of Service (rpm: vsftpd), can be used as check box,
item in multiple selection box...
+ tmpstring = _("vsftpd Server");
+
+ // TRANSLATORS: Description of a Service (rpm: vsftpd), used as a common
label or an item in table
+ tmpstring = _("Opens ports for vsftpd Server.");
+
+ // TRANSLATORS: Name of Service (rpm: xntp), can be used as check box, item
in multiple selection box...
+ tmpstring = _("xntp Server");
+
+ // TRANSLATORS: Description of a Service (rpm: xntp), used as a common label
or an item in table
+ tmpstring = _("Opens ports for xntp.");
+
+ // TRANSLATORS: Name of Service (rpm: ypbind), can be used as check box,
item in multiple selection box...
+ tmpstring = _("NIS Client");
+
+ // TRANSLATORS: Description of a Service (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 (rpm: ypserv), can be used as check box,
item in multiple selection box...
+ tmpstring = _("NIS Server");
+
+ // TRANSLATORS: Description of a Service (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.30/library/packages/src/PackageCallbacksInit.ycp
new/yast2-2.16.33/library/packages/src/PackageCallbacksInit.ycp
--- old/yast2-2.16.30/library/packages/src/PackageCallbacksInit.ycp
2008-01-27 21:23:30.000000000 +0100
+++ new/yast2-2.16.33/library/packages/src/PackageCallbacksInit.ycp
2008-03-05 17:43:11.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Initialize packager callbacks
* Authors: Jiri Srain <jsrain@xxxxxxx>
*
- * $Id: PackageCallbacksInit.ycp 43711 2008-01-17 12:38:28Z lslezak $
+ * $Id: PackageCallbacksInit.ycp 45238 2008-03-05 16:43:10Z lslezak $
*
* This module is used to initialize package manager callbacks
*/
@@ -57,6 +57,8 @@
Pkg::CallbackProgressDownload ("PackageCallbacks::ProgressDownload");
Pkg::CallbackDoneDownload ("PackageCallbacks::DoneDownload");
Pkg::CallbackDestDownload ("PackageCallbacks::DestDownload");
+ Pkg::CallbackStartRefresh("PackageCallbacks::RefreshStarted");
+ Pkg::CallbackDoneRefresh("PackageCallbacks::RefreshDone");
}

global void ResetDownloadCallbacks ()
@@ -66,6 +68,8 @@
Pkg::CallbackProgressDownload ("");
Pkg::CallbackDoneDownload ("");
Pkg::CallbackDestDownload ("");
+ Pkg::CallbackStartRefresh("");
+ Pkg::CallbackDoneRefresh("");
}


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.30/library/runlevel/src/Service.ycp
new/yast2-2.16.33/library/runlevel/src/Service.ycp
--- old/yast2-2.16.30/library/runlevel/src/Service.ycp 2007-12-05
10:05:40.000000000 +0100
+++ new/yast2-2.16.33/library/runlevel/src/Service.ycp 2008-03-05
16:25:20.000000000 +0100
@@ -8,7 +8,7 @@
* Lukas Ocilka <locilka@xxxxxxx>
* Flags: Stable
*
- * $Id: Service.ycp 39308 2007-07-11 06:54:30Z locilka $
+ * $Id: Service.ycp 45182 2008-03-04 12:54:51Z locilka $
*
* Functions for service (init script) handling used by other modules.
*/
@@ -301,9 +301,9 @@
integer return_code = nil;

// starting the process
- boolean started = (boolean)SCR::Execute(.background.run_output_err,
command);
- if (!started) {
- y2error("Cannot run '%1'", command);
+ integer process_pid = (integer) SCR::Execute(.process.start_shell,
command);
+ if (process_pid == nil || process_pid <= 0) {
+ y2error("Cannot run '%1' -> %2", command, process_pid);
return return_code;
}
y2debug("Running: %1", command);
@@ -313,7 +313,7 @@
boolean cont_loop = true;

// while continuing is needed and while it is possible
- while (cont_loop && ((boolean) SCR::Read(.background.output_open) ||
(boolean) SCR::Read(.background.output_open_err))) {
+ while (cont_loop && ((boolean) SCR::Read (.process.running, process_pid)))
{
if (time_spent >= script_time_out) {
y2error("Command '%1' timed-out after %2 mces", command,
time_spent);
cont_loop = false;
@@ -326,13 +326,15 @@

// fetching the return code if not timed-out
if (cont_loop) {
- return_code = (integer) SCR::Read(.background.status);
+ return_code = (integer) SCR::Read(.process.status, process_pid);
}

y2milestone("Time spent: %1 msecs, retcode: %2", time_spent, return_code);

// killing the process (if it still runs)
- SCR::Execute(.background.kill, "");
+ if ((boolean) SCR::Read (.process.running, process_pid)) {
+ SCR::Execute(.process.kill, process_pid);
+ }

return return_code;
}
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.30/library/system/src/test_kernel.ycp
new/yast2-2.16.33/library/system/src/test_kernel.ycp
--- old/yast2-2.16.30/library/system/src/test_kernel.ycp 1970-01-01
01:00:00.000000000 +0100
+++ new/yast2-2.16.33/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.30/library/wizard/src/Wizard.ycp
new/yast2-2.16.33/library/wizard/src/Wizard.ycp
--- old/yast2-2.16.30/library/wizard/src/Wizard.ycp 2008-02-14
17:12:26.000000000 +0100
+++ new/yast2-2.16.33/library/wizard/src/Wizard.ycp 2008-03-05
16:25:20.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Wizard dialog
* Authors: Stefan Hundhammer <sh@xxxxxxx>
*
- * $Id: Wizard.ycp 44388 2008-02-12 13:48:35Z sh-sh-sh $
+ * $Id: Wizard.ycp 45222 2008-03-05 15:03:55Z locilka $
*
* Provides the wizard dialog (common screen for all YaST2 installation
* modules) and functions to set the contents, to replace and restore
@@ -1078,16 +1078,35 @@
}

/**
+ * Returns whether the `Wizard widget is available.
+ *
+ * @see bnc #367213.
+ * @return boolean available
+ */
+ boolean HasWidgetWizard () {
+ if (! UI::HasSpecialWidget(`Wizard)) {
+ y2milestone ("no Wizard available");
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
* Show a "Release Notes" button with the specified label and ID if there
is a "steps" panel
**/
global void ShowReleaseNotesButton( string label, string id )
{
- if ( UI::WizardCommand(`ShowReleaseNotesButton( label, id ) ) == false )
- {
+ // has wizard? continue
+ // otherwise reuse the back button
+ // show-releasenotes-button failed? continue
+ // reuse the back button
+ if ((HasWidgetWizard() == false) || (UI::WizardCommand
(`ShowReleaseNotesButton (label, id)) == false)) {
+ // Reuse Back button
if (UI::WidgetExists (`id (`back_rep))) {
UI::ReplaceWidget (`id (`back_rep), `PushButton (`id (id),
label));
} else {
- y2error ("Widget `back_rep does not exist");
+ y2warning ("Widget `back_rep does not exist");
}
}
}
@@ -1098,9 +1117,14 @@
**/
global void HideReleaseNotesButton()
{
- if ( UI::WizardCommand(`HideReleaseNotesButton() ) == false )
- {
- UI::ReplaceWidget (`id (`back_rep), `Empty ());
+ // has wizard? continue
+ // otherwise reuse the back button
+ // hide-releasenotes-button failed? continue
+ // reuse the back button
+ if ((HasWidgetWizard() == false) || (UI::WizardCommand
(`HideReleaseNotesButton()) == false)) {
+ if (UI::WidgetExists (`id (`back_rep))) {
+ UI::ReplaceWidget (`id (`back_rep), `Empty ());
+ }
}
}

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.30/scripts/yast2-funcs new/yast2-2.16.33/scripts/yast2-funcs
--- old/yast2-2.16.30/scripts/yast2-funcs 2008-02-14 17:12:27.000000000
+0100
+++ new/yast2-2.16.33/scripts/yast2-funcs 2008-03-05 17:37:06.000000000
+0100
@@ -3,7 +3,7 @@
# Summary: Common functions for YaST2 start scripts
# Authors: Arvin Schnell <arvin@xxxxxxx>
#
-# $Id: yast2-funcs 43940 2008-01-28 12:05:29Z aschnell $
+# $Id: yast2-funcs 45226 2008-03-05 15:53:07Z aschnell $

# allow for a different prefix
: ${YAST_PREFIX=/usr}
@@ -111,6 +111,7 @@
function set_inst_qt_env()
{
export XCURSOR_THEME="DMZ"
+ export Y2STYLE="installation.qss"
export QT_HOME_DIR="/tmp/.qt/"
mkdir -p /tmp/.qt
[ -e /usr/share/desktop-data/qtrc ] && cp /usr/share/desktop-data/qtrc
/tmp/.qt/
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.30/VERSION new/yast2-2.16.33/VERSION
--- old/yast2-2.16.30/VERSION 2008-02-27 14:37:55.000000000 +0100
+++ new/yast2-2.16.33/VERSION 2008-03-05 17:43:34.000000000 +0100
@@ -1 +1 @@
-2.16.30
+2.16.33



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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >