Hello community, here is the log from the commit of package libyui-ncurses for openSUSE:Factory checked in at 2015-08-05 06:48:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-07-16 17:14:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-ncurses.new/libyui-ncurses.changes 2015-08-05 06:48:40.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jul 21 14:57:46 UTC 2015 - mvidner@suse.com + +- Added a libyui-terminal helper script (boo#937026). +- 2.47.1 + +------------------------------------------------------------------- Old: ---- libyui-ncurses-2.47.0.tar.bz2 New: ---- libyui-ncurses-2.47.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-ncurses-doc.spec ++++++ --- /var/tmp/diff_new_pack.kVzCfG/_old 2015-08-05 06:48:41.000000000 +0200 +++ /var/tmp/diff_new_pack.kVzCfG/_new 2015-08-05 06:48:41.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-ncurses-doc -Version: 2.47.0 +Version: 2.47.1 Release: 0 Source: libyui-ncurses-%{version}.tar.bz2 ++++++ libyui-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.kVzCfG/_old 2015-08-05 06:48:41.000000000 +0200 +++ /var/tmp/diff_new_pack.kVzCfG/_new 2015-08-05 06:48:41.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-ncurses -Version: 2.47.0 +Version: 2.47.1 Release: 0 Source: libyui-ncurses-%{version}.tar.bz2 @@ -126,6 +126,7 @@ %files -n libyui-ncurses6 %defattr(-,root,root) +%{_bindir}/libyui-terminal %dir %{_libdir}/yui %{_libdir}/yui/lib*.so.* %doc %dir %{_docdir}/libyui-ncurses6 ++++++ libyui-ncurses-2.47.0.tar.bz2 -> libyui-ncurses-2.47.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.0/ChangeLog new/libyui-ncurses-2.47.1/ChangeLog --- old/libyui-ncurses-2.47.0/ChangeLog 2015-07-08 17:30:40.000000000 +0200 +++ new/libyui-ncurses-2.47.1/ChangeLog 2015-07-31 12:30:08.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jul 21 14:57:46 UTC 2015 - mvidner@suse.com + +- Added a libyui-terminal helper script (boo#937026). +- 2.47.1 + +------------------------------------------------------------------- Wed Jul 8 12:17:12 UTC 2015 - mvidner@suse.com - Added NCApplication::openUI/closeUI (boo#937026). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.0/VERSION.cmake new/libyui-ncurses-2.47.1/VERSION.cmake --- old/libyui-ncurses-2.47.0/VERSION.cmake 2015-07-08 17:30:40.000000000 +0200 +++ new/libyui-ncurses-2.47.1/VERSION.cmake 2015-07-31 12:30:08.000000000 +0200 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "2" ) SET( VERSION_MINOR "47" ) -SET( VERSION_PATCH "0" ) +SET( VERSION_PATCH "1" ) 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.47.0/libyui-ncurses.spec.in new/libyui-ncurses-2.47.1/libyui-ncurses.spec.in --- old/libyui-ncurses-2.47.0/libyui-ncurses.spec.in 2015-01-20 17:15:11.000000000 +0100 +++ new/libyui-ncurses-2.47.1/libyui-ncurses.spec.in 2015-07-31 12:30:08.000000000 +0200 @@ -120,6 +120,7 @@ %files -n @PROJECTNAME@@SONAME_MAJOR@ %defattr(-,root,root) +%{_bindir}/libyui-terminal %dir %{_libdir}/@BASELIB@ %{_libdir}/@BASELIB@/lib*.so.* %doc %dir %{_docdir}/@PROJECTNAME@@SONAME_MAJOR@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.0/src/CMakeLists.txt new/libyui-ncurses-2.47.1/src/CMakeLists.txt --- old/libyui-ncurses-2.47.0/src/CMakeLists.txt 2014-02-21 11:37:26.000000000 +0100 +++ new/libyui-ncurses-2.47.1/src/CMakeLists.txt 2015-07-31 12:30:08.000000000 +0200 @@ -1 +1,3 @@ PROCESS_SOURCES() + +INSTALL(PROGRAMS libyui-terminal DESTINATION "${YPREFIX}/bin") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.0/src/libyui-terminal new/libyui-ncurses-2.47.1/src/libyui-terminal --- old/libyui-ncurses-2.47.0/src/libyui-terminal 1970-01-01 01:00:00.000000000 +0100 +++ new/libyui-ncurses-2.47.1/src/libyui-terminal 2015-07-31 12:30:08.000000000 +0200 @@ -0,0 +1,44 @@ +#!/bin/sh +## +# Copyright (C) 2015 SUSE, LLC. +# 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 +## +# libyui-terminal +# +if [ $# = 0 -o "$1" = "-h" -o "$1" = "--help" ]; then + echo "Usage: $0 COMMAND [arguments...]" + echo " Runs COMMAND within a new terminal" + echo " which is useful for running tests on headless machines." + exit 0 +fi + +# We need the exit code and the output of "$@". Screen eats the exit +# code and hides the output. So let's use temporary files. +EXIT=`mktemp` +OUT=`mktemp` + +echo "Using `basename $0` to run \"$@\"" +# escape for embedding to "sh -c" +quoted=$(printf "%q " "$@") +# -D -m This also starts screen in "detached" mode, but doesn't fork +# a new process. The command exits if the session +# terminates. +screen -D -m sh -c "$quoted > $OUT 2>&1; echo \$? > $EXIT" + +RET=`cat $EXIT` +rm -f $EXIT +cat $OUT +rm -f $OUT + +echo "`basename $0` finished" +exit $RET