Hello community,
here is the log from the commit of package yast2
checked in at Thu Dec 7 21:40:31 CET 2006.
--------
--- yast2/yast2.changes 2006-11-28 09:42:35.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2006-12-06 16:31:35.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Dec 5 11:20:10 CET 2006 - kmachalkova@suse.cz
+
+- Adapt ncurses menu.ycp for running yast modules as separate
+ processes (#148683, #221254, #222547)
+- Do not change LANG and LC_CTYPE when stdin does not support
+ utf8 (testutf8 returns 0) (partly #179989)
+- 2.15.0
+
+-------------------------------------------------------------------
Old:
----
yast2-2.14.15.tar.bz2
New:
----
yast2-2.15.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.MCXKuL/_old 2006-12-07 21:39:59.000000000 +0100
+++ /var/tmp/diff_new_pack.MCXKuL/_new 2006-12-07 21:39:59.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.14.15)
+# spec file for package yast2 (Version 2.15.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,16 +11,16 @@
# norootforbuild
Name: yast2
-Version: 2.14.15
+Version: 2.15.0
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.14.15.tar.bz2
+Source0: yast2-2.15.0.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite
-# Need the new file popups
-Requires: yast2-core >= 2.7.1
+# UI::RunInTerminal builtin
+Requires: yast2-core >= 2.15.1
# Script callbacks
Requires: yast2-pkg-bindings >= 2.13.99
Requires: yast2_ui yast2_theme
@@ -97,7 +97,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.14.15
+%setup -n yast2-2.15.0
%build
%{prefix}/bin/y2tool y2autoconf
@@ -197,6 +197,12 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog -n yast2
+* Tue Dec 05 2006 - kmachalkova@suse.cz
+- Adapt ncurses menu.ycp for running yast modules as separate
+ processes (#148683, #221254, #222547)
+- Do not change LANG and LC_CTYPE when stdin does not support
+ utf8 (testutf8 returns 0) (partly #179989)
+- 2.15.0
* Tue Nov 28 2006 - jsrain@suse.cz
- fixed board detection on PPC (#223872)
- 2.14.15
++++++ yast2-2.14.15.tar.bz2 -> yast2-2.15.0.tar.bz2 ++++++
++++ 2539 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.14.15/VERSION new/yast2-2.15.0/VERSION
--- old/yast2-2.14.15/VERSION 2006-11-28 09:40:18.000000000 +0100
+++ new/yast2-2.15.0/VERSION 2006-12-05 11:19:58.000000000 +0100
@@ -1 +1 @@
-2.14.15
+2.15.0
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.14.15/configure.in new/yast2-2.15.0/configure.in
--- old/yast2-2.14.15/configure.in 2006-11-28 09:40:45.000000000 +0100
+++ new/yast2-2.15.0/configure.in 2006-12-06 16:00:49.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2
dnl
-dnl -- This file is generated by y2autoconf 2.13.29 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.14.15, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.15.0, http://bugs.opensuse.org/, yast2)
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.14.15"
+VERSION="2.15.0"
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.14.15/library/desktop/src/menu.ycp new/yast2-2.15.0/library/desktop/src/menu.ycp
--- old/yast2-2.14.15/library/desktop/src/menu.ycp 2006-05-03 11:03:53.000000000 +0200
+++ new/yast2-2.15.0/library/desktop/src/menu.ycp 2006-12-06 16:26:40.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: NCurses Control Center
* Authors: Michal Svec
*
- * $Id: menu.ycp 30245 2006-04-19 13:11:14Z jsuchome $
+ * $Id: menu.ycp 34812 2006-12-06 15:26:38Z kmachalkova $
*
* Provides a list of available yast2 modules. This module is inteded for use
* with ncurses, for X the yast2 control center should be used.
@@ -84,13 +84,15 @@
*/
define boolean Launch(string modul) {
string function = Modules[modul, "X-SuSE-YaST-Call"]:"";
- list arguments = splitstring(Modules[modul, "X-SuSE-YaST-Argument"]:"", " ");
- y2debug("Calling: %1 (%2)", function, arguments);
+ string argument = Modules[modul, "X-SuSE-YaST-Argument"]:"";
+ y2debug("Calling: %1 (%2)", function, argument);
if(function != "") {
- any ret = WFM::CallFunction (function, arguments);
- y2debug("WFM::CallFunction (%1, %2) returns: %3", function, arguments, ret);
+ string cmd = sformat ("/sbin/yast %1 %2 >&2", function, argument);
+ any ret = UI::RunInTerminal(cmd);
+ y2milestone ("Got %1 from %2", ret, cmd);
+
if ((function == "online_update" && ret == -42) || ret == `restart_menu)
{
y2milestone ("yast needs to be restarted - exiting...");
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.14.15/library/modules/Version.ycp new/yast2-2.15.0/library/modules/Version.ycp
--- old/yast2-2.14.15/library/modules/Version.ycp 2006-11-28 09:41:22.000000000 +0100
+++ new/yast2-2.15.0/library/modules/Version.ycp 2006-12-06 16:01:08.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.14.15";
+global string yast2 = "2.15.0";
/* 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.14.15/scripts/yast2 new/yast2-2.15.0/scripts/yast2
--- old/yast2-2.14.15/scripts/yast2 2006-11-28 09:14:40.000000000 +0100
+++ new/yast2-2.15.0/scripts/yast2 2006-12-06 15:56:01.000000000 +0100
@@ -166,7 +166,7 @@
export LC_CTYPE=${LANG%%[.@]*}.UTF-8
;;
esac
- if /bin/testutf8 ; [ $? -ne 2 ] ; then
+ if /bin/testutf8 ; [ $? -eq 1 ] ; then
/usr/bin/test -x /bin/unicode_start && /bin/unicode_start
uc_started=1
fi
@@ -177,18 +177,23 @@
UTF8TESTED=0
# binary /bin/testutf8 is missing at least on s390x, #158001
/usr/bin/test -x /bin/testutf8 && UTF8TESTED=1 && /bin/testutf8
- # return code of the /bin/testutf8
- # 0=utf-unknown, 1=utf-ok, 2=utf-err
+ # return code of the /bin/testutf8 (more info in bug #179989)
+ # 0=stdin does not support utf8, 1=not utf8, 2=utf8
+
UTF8STATUS=$?
- # not tested or not working UTF-8 support
- if [ "$UTF8TESTED" == "1" ] && [ $UTF8STATUS -ne 2 ] ; then
+ # the terminal supports utf8, but it's not currently set
+ # so strip .UTF-8 suffix from locale
+ if [ "$UTF8TESTED" == "1" ] && [ $UTF8STATUS -eq 1 ] ; then
/usr/bin/test -n "$LANG" && LANG=${LANG%.UTF-8}
/usr/bin/test -n "$LC_CTYPE" && LC_CTYPE=${LC_CTYPE%.UTF-8}
- else
+ # the terminal supports utf8 and it is currently set
+ # so strip any possible suffix from locale and append .UTF-8
+ elif [ "$UTF8TESTED" == "1" ] && [ $UTF8STATUS -eq 2 ]; then
/usr/bin/test -n "$LANG" && LANG=${LANG%%[.@]*}.UTF-8
/usr/bin/test -n "$LC_CTYPE" && LC_CTYPE=${LC_CTYPE%%[.@]*}.UTF-8
fi
+ #default: do nothing, keep locale untouched
;;
esac
fi
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org