Hello community,

here is the log from the commit of package libyui-ncurses for openSUSE:Factory 
checked in at 2014-03-01 14:38:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-ncurses (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-ncurses.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-ncurses"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-ncurses/libyui-ncurses.changes    
2014-02-03 11:40:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libyui-ncurses.new/libyui-ncurses.changes       
2014-03-01 14:38:33.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Feb 28 12:35:39 CET 2014 - [email protected]
+
+- fixed segfault in tree widget (bnc #866145)
+- 2.46.3
+
+-------------------------------------------------------------------

Old:
----
  libyui-ncurses-2.46.2.tar.bz2

New:
----
  libyui-ncurses-2.46.3.tar.bz2

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

Other differences:
------------------
++++++ libyui-ncurses-doc.spec ++++++
--- /var/tmp/diff_new_pack.4BBaJb/_old  2014-03-01 14:38:33.000000000 +0100
+++ /var/tmp/diff_new_pack.4BBaJb/_new  2014-03-01 14:38:33.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-ncurses-doc
-Version:        2.46.2
+Version:        2.46.3
 Release:        0
 Source:         libyui-ncurses-%{version}.tar.bz2
 

++++++ libyui-ncurses.spec ++++++
--- /var/tmp/diff_new_pack.4BBaJb/_old  2014-03-01 14:38:33.000000000 +0100
+++ /var/tmp/diff_new_pack.4BBaJb/_new  2014-03-01 14:38:33.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-ncurses
-Version:        2.46.2
+Version:        2.46.3
 Release:        0
 Source:         libyui-ncurses-%{version}.tar.bz2
 

++++++ libyui-ncurses-2.46.2.tar.bz2 -> libyui-ncurses-2.46.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/CMakeLists.txt 
new/libyui-ncurses-2.46.3/CMakeLists.txt
--- old/libyui-ncurses-2.46.2/CMakeLists.txt    2014-03-01 14:38:34.000000000 
+0100
+++ new/libyui-ncurses-2.46.3/CMakeLists.txt    2014-03-01 14:38:34.000000000 
+0100
@@ -1 +1 @@
-symbolic link to /usr/share/libyui/buildtools/CMakeLists.common
+symbolic link to ../libyui-master/buildtools/CMakeLists.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/ChangeLog 
new/libyui-ncurses-2.46.3/ChangeLog
--- old/libyui-ncurses-2.46.2/ChangeLog 2014-01-29 16:06:30.000000000 +0100
+++ new/libyui-ncurses-2.46.3/ChangeLog 2014-02-28 13:31:51.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Feb 28 12:35:39 CET 2014 - [email protected]
+
+- fixed segfault in tree widget (bnc #866145)
+- 2.46.3
+
+-------------------------------------------------------------------
 Wed Jan 29 15:08:55 CET 2014 - [email protected]
 
 - code cleanup concerning text domain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/VERSION.cmake 
new/libyui-ncurses-2.46.3/VERSION.cmake
--- old/libyui-ncurses-2.46.2/VERSION.cmake     2014-01-29 16:06:30.000000000 
+0100
+++ new/libyui-ncurses-2.46.3/VERSION.cmake     2014-02-28 13:31:51.000000000 
+0100
@@ -1,6 +1,6 @@
 SET( VERSION_MAJOR "2" )
 SET( VERSION_MINOR "46" )
-SET( VERSION_PATCH "2" )
+SET( VERSION_PATCH "3" )
 SET( VERSION 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libyui-ncurses-2.46.2/cmake/Modules/FindCurses6.cmake 
new/libyui-ncurses-2.46.3/cmake/Modules/FindCurses6.cmake
--- old/libyui-ncurses-2.46.2/cmake/Modules/FindCurses6.cmake   2012-12-17 
16:33:01.000000000 +0100
+++ new/libyui-ncurses-2.46.3/cmake/Modules/FindCurses6.cmake   2014-02-21 
11:37:26.000000000 +0100
@@ -5,7 +5,7 @@
 #  CURSES6_LIBRARIES - The libraries needed to use Curses6
 #  CURSES6_DEFINITIONS - Compiler switches required for using Curses6
 
-FOREACH(path ${CMAKE_LIBRARY_PATH})
+FOREACH(path ${CMAKE_LIBRARY_PATH} /usr/${LIB_DIR})
   FIND_LIBRARY(CURSES6_NCURSESW_LIBRARY NAMES ncursesw PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
   FIND_LIBRARY(CURSES6_PANELW_LIBRARY NAMES panelw PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
   FIND_LIBRARY(CURSES6_TINFO_LIBRARY NAMES tinfo PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/libyui-ncurses.spec.in 
new/libyui-ncurses-2.46.3/libyui-ncurses.spec.in
--- old/libyui-ncurses-2.46.2/libyui-ncurses.spec.in    2013-12-05 
18:44:45.000000000 +0100
+++ new/libyui-ncurses-2.46.3/libyui-ncurses.spec.in    2014-02-24 
11:24:45.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package @PROJECTNAME@ (Version @VERSION@)
+# spec file for package @PROJECTNAME@
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -11,46 +11,45 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-# norootforbuild
 
-Name:          @PROJECTNAME@
-Version:       @VERSION@
-Release:       0
-License:       LGPL-2.1 or LGPL-3.0
-Source:                @PROJECTNAME@-%{version}.tar.bz2
-Group:         System/Libraries
-
-BuildRequires: boost-devel
-BuildRequires: cmake >= 2.8
-BuildRequires: gcc-c++
-BuildRequires: pkg-config
+
+Name:           @PROJECTNAME@
+Version:        @VERSION@
+Release:        0
+Source:         @PROJECTNAME@-%{version}.tar.bz2
+
+BuildRequires:  boost-devel
+BuildRequires:  cmake >= 2.8
+BuildRequires:  gcc-c++
+BuildRequires:  pkg-config
 
 %define libyui_devel_version libyui-devel >= 3.0.4
-BuildRequires: %{libyui_devel_version}
-BuildRequires: ncurses-devel
+BuildRequires:  %{libyui_devel_version}
+BuildRequires:  ncurses-devel
 
-URL:           @URL@
-Summary:       @SUMMARY@
+Url:            @URL@
+Summary:        @SUMMARY@
+License:        LGPL-2.1 or LGPL-3.0
+Group:          System/Libraries
 
 %description
 @DESCRIPTION@
 
 %package -n @PROJECTNAME@@SONAME_MAJOR@
 
-Group:         System/Libraries
-
-Requires:      lib@BASELIB@@SONAME_MAJOR@
 Requires:       glibc-locale
-Provides:      lib@BASELIB@-ncurses = %{version}
-Provides:      yast2-ncurses = 2.42.0
-Obsoletes:     yast2-ncurses < 2.42.0
-Provides:      yui_backend = @SONAME_MAJOR@
-
-URL:           @URL@
-Summary:       @SUMMARY@
+Requires:       lib@BASELIB@@SONAME_MAJOR@
+Provides:       lib@BASELIB@-ncurses = %{version}
+Provides:       yast2-ncurses = 2.42.0
+Obsoletes:      yast2-ncurses < 2.42.0
+Provides:       yui_backend = @SONAME_MAJOR@
+
+Url:            @URL@
+Summary:        @SUMMARY@
+Group:          System/Libraries
 
 %description -n @PROJECTNAME@@SONAME_MAJOR@
 @DESCRIPTION@
@@ -58,17 +57,16 @@
 
 %package devel
 
-Group:         Development/Languages/C and C++
-
-Requires:      @PROJECTNAME@@SONAME_MAJOR@ = %{version}
-Requires:      glibc-devel
-Requires:      libstdc++-devel
-Requires:      boost-devel
-Requires:      %{libyui_devel_version}
-Requires:      ncurses-devel
-
-URL:           @URL@
-Summary:       @PROJECTNAME_UC@ header files
+Requires:       %{libyui_devel_version}
+Requires:       boost-devel
+Requires:       glibc-devel
+Requires:       libstdc++-devel
+Requires:       @PROJECTNAME@@SONAME_MAJOR@ = %{version}
+Requires:       ncurses-devel
+
+Url:            @URL@
+Summary:        @PROJECTNAME_UC@ header files
+Group:          Development/Languages/C and C++
 
 %description devel
 @DESCRIPTION@
@@ -80,7 +78,6 @@
 %prep
 %setup -q -n @PROJECTNAME@-%{version}
 
-
 %build
 
 export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
@@ -93,21 +90,20 @@
 
 %if %{?_with_debug:1}%{!?_with_debug:0}
 cmake .. \
-       -DPREFIX=%{_prefix} \
-       -DDOC_DIR=%{_docdir} \
-       -DLIB_DIR=%{_lib} \
-       -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
+        -DPREFIX=%{_prefix} \
+        -DDOC_DIR=%{_docdir} \
+        -DLIB_DIR=%{_lib} \
+        -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
 %else
 cmake .. \
-       -DPREFIX=%{_prefix} \
-       -DDOC_DIR=%{_docdir} \
-       -DLIB_DIR=%{_lib} \
-       -DCMAKE_BUILD_TYPE=RELEASE
+        -DPREFIX=%{_prefix} \
+        -DDOC_DIR=%{_docdir} \
+        -DLIB_DIR=%{_lib} \
+        -DCMAKE_BUILD_TYPE=RELEASE
 %endif
 
 make %{?jobs:-j%jobs}
 
-
 %install
 cd build
 make install DESTDIR="$RPM_BUILD_ROOT"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/src/NCTree.cc 
new/libyui-ncurses-2.46.3/src/NCTree.cc
--- old/libyui-ncurses-2.46.2/src/NCTree.cc     2014-01-29 15:51:31.000000000 
+0100
+++ new/libyui-ncurses-2.46.3/src/NCTree.cc     2014-02-28 13:31:51.000000000 
+0100
@@ -343,7 +343,7 @@
 {
     YTreeItem * yitem = 0;
 
-    if ( myPad() )
+    if ( myPad() && myPad()->GetCurrentLine() )
     {
        const NCTreeLine * cline = dynamic_cast<const NCTreeLine *>( 
myPad()->GetCurrentLine() );
 
@@ -489,9 +489,6 @@
     NCTreeLine * line = new NCTreeLine( parentLine, treeItem, multiSel );
     pad->Append( line );
 
-    if (item->selected())
-      selectItem( item, true );
-    
     // iterate over children
 
     for ( YItemIterator it = item->childrenBegin();  it < item->childrenEnd(); 
++it )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/src/NCstyle.highcontrast.h 
new/libyui-ncurses-2.46.3/src/NCstyle.highcontrast.h
--- old/libyui-ncurses-2.46.2/src/NCstyle.highcontrast.h        2012-12-17 
16:33:01.000000000 +0100
+++ new/libyui-ncurses-2.46.3/src/NCstyle.highcontrast.h        2014-02-21 
14:46:48.000000000 +0100
@@ -1,14 +1,20 @@
-/*---------------------------------------------------------------------\
-|                                                                      |
-|                      __   __    ____ _____ ____                      |
-|                      \ \ / /_ _/ ___|_   _|___ \                     |
-|                       \ V / _` \___ \ | |   __) |                    |
-|                        | | (_| |___) || |  / __/                     |
-|                        |_|\__,_|____/ |_| |_____|                    |
-|                                                                      |
-|                               core system                            |
-|                                                        (C) SuSE GmbH |
-\----------------------------------------------------------------------/
+/*
+  Copyright (C) 2000-2012 Novell, Inc
+  This library is free software; you can redistribute it and/or modify
+  it under the terms of the GNU Lesser General Public License as
+  published by the Free Software Foundation; either version 2.1 of the
+  License, or (at your option) version 3.0 of the License. This library
+  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 Lesser General Public
+  License for more details. You should have received a copy of the GNU
+  Lesser General Public License along with this library; if not, write
+  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+  Floor, Boston, MA 02110-1301 USA
+*/
+
+
+/*-/
 
    File:       NCstyle.highcontrast.h
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-ncurses-2.46.2/src/NCstyle.inverted.h 
new/libyui-ncurses-2.46.3/src/NCstyle.inverted.h
--- old/libyui-ncurses-2.46.2/src/NCstyle.inverted.h    2012-12-17 
16:33:01.000000000 +0100
+++ new/libyui-ncurses-2.46.3/src/NCstyle.inverted.h    2014-02-21 
14:46:48.000000000 +0100
@@ -1,14 +1,20 @@
-/*---------------------------------------------------------------------\
-|                                                                     |
-|                     __   __    ____ _____ ____                      |
-|                     \ \ / /_ _/ ___|_   _|___ \                     |
-|                      \ V / _` \___ \ | |   __) |                    |
-|                       | | (_| |___) || |  / __/                     |
-|                       |_|\__,_|____/ |_| |_____|                    |
-|                                                                     |
-|                              core system                            |
-|                                                       (C) SuSE GmbH |
-\----------------------------------------------------------------------/
+/*
+  Copyright (C) 2000-2012 Novell, Inc
+  This library is free software; you can redistribute it and/or modify
+  it under the terms of the GNU Lesser General Public License as
+  published by the Free Software Foundation; either version 2.1 of the
+  License, or (at your option) version 3.0 of the License. This library
+  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 Lesser General Public
+  License for more details. You should have received a copy of the GNU
+  Lesser General Public License along with this library; if not, write
+  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+  Floor, Boston, MA 02110-1301 USA
+*/
+
+
+/*-/
 
    File:       NCstyle.inverted.h
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to