Hello community,
here is the log from the commit of package yast2-ncurses for openSUSE:Factory
checked in at Fri Jan 14 15:07:35 CET 2011.
--------
--- yast2-ncurses/yast2-ncurses.changes 2010-11-25 16:48:20.000000000 +0100
+++ yast2-ncurses/yast2-ncurses.changes 2011-01-11 17:01:47.000000000 +0100
@@ -1,0 +2,13 @@
+Tue Jan 11 16:45:33 CET 2011 - jengelh@medozas.de
+
+- Do away with the unnatural brown color in the progressbar and
+ use a SUSE-typical green instead
+- V 2.20.3
+
+-------------------------------------------------------------------
+Wed Jan 5 15:08:58 CET 2011 - tgoettlicher@suse.de
+
+- Fixed incompatibilities causes by checkboxes for treewidgeet
+- V 2.20.2
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-ncurses-2.20.1.tar.bz2
New:
----
yast2-ncurses-2.20.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ncurses.spec ++++++
--- /var/tmp/diff_new_pack.3NDdmV/_old 2011-01-14 15:05:53.000000000 +0100
+++ /var/tmp/diff_new_pack.3NDdmV/_new 2011-01-14 15:05:53.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-ncurses (Version 2.20.1)
+# spec file for package yast2-ncurses
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,11 @@
Name: yast2-ncurses
-Version: 2.20.1
+Version: 2.20.3
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ncurses-2.20.1.tar.bz2
+Source0: yast2-ncurses-2.20.3.tar.bz2
Prefix: /usr
@@ -35,8 +35,8 @@
Summary: YaST2 - Character Based User Interface
Provides: yast2_ui
Requires: glibc-locale
-BuildRequires: yast2-libyui-devel >= 2.18.4
-Requires: yast2-libyui >= 2.18.4
+BuildRequires: yast2-libyui-devel >= 2.19.2
+Requires: yast2-libyui >= 2.19.2
Recommends: yast2-ncurses-pkg
%description
@@ -56,7 +56,7 @@
component for YaST2.
%prep
-%setup -n yast2-ncurses-2.20.1
+%setup -n yast2-ncurses-2.20.3
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-ncurses-2.20.1.tar.bz2 -> yast2-ncurses-2.20.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/VERSION new/yast2-ncurses-2.20.3/VERSION
--- old/yast2-ncurses-2.20.1/VERSION 2010-11-25 16:36:55.000000000 +0100
+++ new/yast2-ncurses-2.20.3/VERSION 2011-01-11 16:47:00.000000000 +0100
@@ -1 +1 @@
-2.20.1
+2.20.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/aclocal.m4 new/yast2-ncurses-2.20.3/aclocal.m4
--- old/yast2-ncurses-2.20.1/aclocal.m4 2010-11-23 11:25:05.000000000 +0100
+++ new/yast2-ncurses-2.20.3/aclocal.m4 2011-01-11 16:53:47.000000000 +0100
@@ -19,6 +19,162 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant .
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
+# this or PKG_CHECK_MODULES is called, or make sure to call
+# PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$4], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $4])
+elif test $pkg_failed = untried; then
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see http://pkg-config.freedesktop.org/.])],
+ [$4])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$3], , :, [$3])
+fi[]dnl
+])# PKG_CHECK_MODULES
+
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -993,162 +1149,6 @@
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
-# Copyright © 2004 Scott James Remnant .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
- _pkg_min_version=m4_default([$1], [0.9.0])
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
-
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists. Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
- $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$$1"; then
- pkg_cv_[]$1="$$1"
- elif test -n "$PKG_CONFIG"; then
- PKG_CHECK_EXISTS([$3],
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- [pkg_failed=yes])
- else
- pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
- [AC_MSG_RESULT([no])
- $4])
-elif test $pkg_failed = untried; then
- ifelse([$4], , [AC_MSG_FAILURE(dnl
-[The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-_PKG_TEXT
-
-To get pkg-config, see http://pkg-config.freedesktop.org/.])],
- [$4])
-else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
m4_include([libtool.m4])
m4_include([ltoptions.m4])
m4_include([ltsugar.m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/configure new/yast2-ncurses-2.20.3/configure
--- old/yast2-ncurses-2.20.1/configure 2010-11-23 11:25:06.000000000 +0100
+++ new/yast2-ncurses-2.20.3/configure 2011-01-11 16:53:49.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for yast2-ncurses 2.20.0.
+# Generated by GNU Autoconf 2.65 for yast2-ncurses 2.20.3.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -701,8 +701,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-ncurses'
PACKAGE_TARNAME='yast2-ncurses'
-PACKAGE_VERSION='2.20.0'
-PACKAGE_STRING='yast2-ncurses 2.20.0'
+PACKAGE_VERSION='2.20.3'
+PACKAGE_STRING='yast2-ncurses 2.20.3'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1477,7 +1477,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-ncurses 2.20.0 to adapt to many kinds of systems.
+\`configure' configures yast2-ncurses 2.20.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1548,7 +1548,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-ncurses 2.20.0:";;
+ short | recursive ) echo "Configuration of yast2-ncurses 2.20.3:";;
esac
cat <<\_ACEOF
@@ -1660,7 +1660,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-ncurses configure 2.20.0
+yast2-ncurses configure 2.20.3
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2245,7 +2245,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-ncurses $as_me 2.20.0, which was
+It was created by yast2-ncurses $as_me 2.20.3, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
@@ -3168,7 +3168,7 @@
# Define the identity of the package.
PACKAGE='yast2-ncurses'
- VERSION='2.20.0'
+ VERSION='2.20.3'
cat >>confdefs.h <<_ACEOF
@@ -3290,7 +3290,7 @@
-VERSION="2.20.0"
+VERSION="2.20.3"
RPMNAME="yast2-ncurses"
MAINTAINER="Gabriele Mohr "
@@ -16003,7 +16003,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-ncurses $as_me 2.20.0, which was
+This file was extended by yast2-ncurses $as_me 2.20.3, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16069,7 +16069,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-yast2-ncurses config.status 2.20.0
+yast2-ncurses config.status 2.20.3
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/configure.in new/yast2-ncurses-2.20.3/configure.in
--- old/yast2-ncurses-2.20.1/configure.in 2010-11-23 11:24:58.000000000 +0100
+++ new/yast2-ncurses-2.20.3/configure.in 2011-01-11 16:53:35.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ncurses, 2.20.0, http://bugs.opensuse.org/, yast2-ncurses)
+AC_INIT(yast2-ncurses, 2.20.3, http://bugs.opensuse.org/, yast2-ncurses)
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.20.0"
+VERSION="2.20.3"
RPMNAME="yast2-ncurses"
MAINTAINER="Gabriele Mohr "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCTree.cc new/yast2-ncurses-2.20.3/src/NCTree.cc
--- old/yast2-ncurses-2.20.1/src/NCTree.cc 2010-10-21 14:00:23.000000000 +0200
+++ new/yast2-ncurses-2.20.3/src/NCTree.cc 2011-01-11 16:33:10.000000000 +0100
@@ -235,8 +235,8 @@
-NCTree::NCTree( YWidget * parent, const string & nlabel )
- : YTree( parent, nlabel )
+NCTree::NCTree( YWidget * parent, const string & nlabel, bool multiselection )
+ : YTree( parent, nlabel, multiselection )
, NCPadWidget( parent )
{
yuiDebug() << endl;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCTree.h new/yast2-ncurses-2.20.3/src/NCTree.h
--- old/yast2-ncurses-2.20.1/src/NCTree.h 2010-10-21 14:00:23.000000000 +0200
+++ new/yast2-ncurses-2.20.3/src/NCTree.h 2011-01-11 16:33:10.000000000 +0100
@@ -57,7 +57,7 @@
public:
- NCTree( YWidget * parent, const string & label );
+ NCTree( YWidget * parent, const string & label, bool multiselection );
virtual ~NCTree();
virtual int preferredWidth();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCWidgetFactory.cc new/yast2-ncurses-2.20.3/src/NCWidgetFactory.cc
--- old/yast2-ncurses-2.20.1/src/NCWidgetFactory.cc 2010-10-21 14:00:23.000000000 +0200
+++ new/yast2-ncurses-2.20.3/src/NCWidgetFactory.cc 2011-01-11 16:33:10.000000000 +0100
@@ -153,9 +153,9 @@
NCTree *
-NCWidgetFactory::createTree( YWidget * parent, const string & label )
+NCWidgetFactory::createTree( YWidget * parent, const string & label, bool multiselection )
{
- NCTree * tree = new NCTree( parent, label );
+ NCTree * tree = new NCTree( parent, label, multiselection );
YUI_CHECK_NEW( tree );
return tree;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCWidgetFactory.h new/yast2-ncurses-2.20.3/src/NCWidgetFactory.h
--- old/yast2-ncurses-2.20.1/src/NCWidgetFactory.h 2010-10-21 14:00:23.000000000 +0200
+++ new/yast2-ncurses-2.20.3/src/NCWidgetFactory.h 2011-01-11 16:33:10.000000000 +0100
@@ -93,7 +93,7 @@
virtual NCRadioButton * createRadioButton ( YWidget * parent, const string & label, bool isChecked = false );
virtual NCComboBox * createComboBox ( YWidget * parent, const string & label, bool editable = false );
virtual NCSelectionBox * createSelectionBox ( YWidget * parent, const string & label );
- virtual NCTree * createTree ( YWidget * parent, const string & label );
+ virtual NCTree * createTree ( YWidget * parent, const string & label, bool multiselection = false );
virtual NCTable * createTable ( YWidget * parent, YTableHeader * tableHeader, bool multiSelection = false );
virtual NCProgressBar * createProgressBar ( YWidget * parent, const string & label, int maxValue = 100 );
virtual NCRichText * createRichText ( YWidget * parent, const string & text = string(), bool plainTextMode = false );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCstyle.linux.h new/yast2-ncurses-2.20.3/src/NCstyle.linux.h
--- old/yast2-ncurses-2.20.1/src/NCstyle.linux.h 2010-10-21 14:00:23.000000000 +0200
+++ new/yast2-ncurses-2.20.3/src/NCstyle.linux.h 2011-01-11 16:42:52.000000000 +0100
@@ -92,7 +92,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 15872 );
attrset->setAttr( NCstyle::RichTextBIT, 14848 );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// InfoStyle
@@ -155,7 +155,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 14592 );
attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// WarnStyle
@@ -218,7 +218,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 14592 );
attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// PopupStyle
@@ -281,7 +281,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 14592 );
attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 | A_BOLD );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCstyle.rxvt.h new/yast2-ncurses-2.20.3/src/NCstyle.rxvt.h
--- old/yast2-ncurses-2.20.1/src/NCstyle.rxvt.h 2010-10-21 14:00:23.000000000 +0200
+++ new/yast2-ncurses-2.20.3/src/NCstyle.rxvt.h 2011-01-11 16:42:52.000000000 +0100
@@ -160,7 +160,7 @@
attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 256 );
attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// WarnStyle
@@ -224,7 +224,7 @@
attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 256 );
attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// PopupStyle
@@ -288,7 +288,7 @@
attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 256 );
attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/NCstyle.xterm.h new/yast2-ncurses-2.20.3/src/NCstyle.xterm.h
--- old/yast2-ncurses-2.20.1/src/NCstyle.xterm.h 2010-11-17 11:33:32.000000000 +0100
+++ new/yast2-ncurses-2.20.3/src/NCstyle.xterm.h 2011-01-11 16:42:52.000000000 +0100
@@ -92,7 +92,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 15872 );
attrset->setAttr( NCstyle::RichTextBIT, 14848 );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// InfoStyle
@@ -155,7 +155,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 14592 );
attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// WarnStyle
@@ -218,7 +218,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 14592 );
attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
// PopupStyle
@@ -281,7 +281,7 @@
attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
attrset->setAttr( NCstyle::RichTextIT, 14592 );
attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
- attrset->setAttr( NCstyle::ProgbarCh, 7968 );
+ attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ncurses-2.20.1/src/lang2encoding.cc new/yast2-ncurses-2.20.3/src/lang2encoding.cc
--- old/yast2-ncurses-2.20.1/src/lang2encoding.cc 2010-11-11 13:46:13.000000000 +0100
+++ new/yast2-ncurses-2.20.3/src/lang2encoding.cc 2011-01-11 16:33:10.000000000 +0100
@@ -5,27 +5,24 @@
std::string language2encoding( std::string lang )
{
- using std::string;
- lang = ":" + lang + ":";
-
- if ( string( ":ca:da:de:en:es:fi:fr:gl:is:it:nl:no:pt:sv:" ).find( lang ) != string::npos )
- return "ISO-8859-1";
- else if ( string( ":lt:" ).find( lang ) != string::npos )
- return "ISO-8859-13";
- else if ( string( ":cs:hr:hu:pl:ro:sk:sl:" ).find( lang ) != string::npos )
- return "ISO-8859-2";
- else if ( string( ":ru:" ).find( lang ) != string::npos )
- return "ISO-8859-5";
- else if ( string( ":el:" ).find( lang ) != string::npos )
- return "ISO-8859-7";
- else if ( string( ":iw:" ).find( lang ) != string::npos )
- return "ISO-8859-8";
- else if ( string( ":tr:" ).find( lang ) != string::npos )
- return "ISO-8859-9";
- else if ( string( ":ja:" ).find( lang ) != string::npos )
- return "eucJP";
-
- return "";
+ using std::string;
+ lang = ":" + lang + ":";
+ if ( string( ":ca:da:de:en:es:fi:fr:gl:is:it:nl:no:pt:sv:" ).find( lang ) != string::npos )
+ return "ISO-8859-1";
+ else if ( string( ":lt:" ).find( lang ) != string::npos )
+ return "ISO-8859-13";
+ else if ( string( ":cs:hr:hu:pl:ro:sk:sl:" ).find( lang ) != string::npos )
+ return "ISO-8859-2";
+ else if ( string( ":ru:" ).find( lang ) != string::npos )
+ return "ISO-8859-5";
+ else if ( string( ":el:" ).find( lang ) != string::npos )
+ return "ISO-8859-7";
+ else if ( string( ":iw:" ).find( lang ) != string::npos )
+ return "ISO-8859-8";
+ else if ( string( ":tr:" ).find( lang ) != string::npos )
+ return "ISO-8859-9";
+ else if ( string( ":ja:" ).find( lang ) != string::npos )
+ return "eucJP";
+ return "";
}
-
//-----------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org