Hello community, here is the log from the commit of package libyui-ncurses for openSUSE:Factory checked in at 2013-05-13 20:22:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-03-26 16:13:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libyui-ncurses.new/libyui-ncurses.changes 2013-05-13 20:22:56.000000000 +0200 @@ -1,0 +2,32 @@ +Fri May 10 10:40:00 UTC 2013 - [email protected] + +- use a common toplevel CMakeLists.txt +- fix building *-doc pkgs +- introduce bootstrap.sh +- Version 2.43.9 + +------------------------------------------------------------------- +Mon May 6 13:30:00 UTC 2013 - [email protected] + +- fix build issues +- V 2.43.8 + +------------------------------------------------------------------- +Mon May 6 11:38:32 UTC 2013 - [email protected] + +- use SONAME from libyui instead of VERSION.cmake +- V 2.43.7 + +------------------------------------------------------------------- +Mon May 6 10:08:01 CEST 2013 - [email protected] + +- fixed so version +- V 2.43.6 + +------------------------------------------------------------------- +Tue Apr 30 12:49:20 CEST 2013 - [email protected] + +- Use YSettings::localeDir() instead of LOCALEDIR (bnc #817588) +- V 2.43.5 + +------------------------------------------------------------------- Old: ---- libyui-ncurses-2.43.4.tar.bz2 New: ---- libyui-ncurses-2.43.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-ncurses-doc.spec ++++++ --- /var/tmp/diff_new_pack.E4rQzt/_old 2013-05-13 20:22:57.000000000 +0200 +++ /var/tmp/diff_new_pack.E4rQzt/_new 2013-05-13 20:22:57.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libyui-ncurses (Version 2.43.4) +# spec file for package libyui-ncurses (Version 2.43.9) # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -16,7 +16,7 @@ # Name: libyui-ncurses-doc -Version: 2.43.4 +Version: 2.43.9 Release: 0 License: LGPL-2.1 or LGPL-3.0 Source: libyui-ncurses-%{version}.tar.bz2 @@ -30,7 +30,7 @@ BuildRequires: texlive-latex BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ -BuildRequires: libyui-devel +BuildRequires: libyui-devel >= 3.0.4 URL: http://github.com/libyui/ @@ -55,6 +55,8 @@ export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +./bootstrap.sh %{_prefix} + mkdir build cd build cmake .. \ @@ -68,7 +70,7 @@ cd build make install DESTDIR="$RPM_BUILD_ROOT" -%fdupes -s $RPM_BUILD_ROOT/%_docdir/libyui-ncurses4 +%fdupes -s $RPM_BUILD_ROOT/%_docdir/libyui-ncurses5 %clean @@ -77,6 +79,6 @@ %files %defattr(-,root,root) -%doc %{_docdir}/libyui-ncurses4 +%doc %{_docdir}/libyui-ncurses5 %changelog ++++++ libyui-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.E4rQzt/_old 2013-05-13 20:22:57.000000000 +0200 +++ /var/tmp/diff_new_pack.E4rQzt/_new 2013-05-13 20:22:57.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libyui-ncurses (Version 2.43.4) +# spec file for package libyui-ncurses (Version 2.43.9) # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ # norootforbuild Name: libyui-ncurses -Version: 2.43.4 +Version: 2.43.9 Release: 0 License: LGPL-2.1 or LGPL-3.0 Source: libyui-ncurses-%{version}.tar.bz2 @@ -28,7 +28,7 @@ BuildRequires: gcc-c++ BuildRequires: pkg-config -%define libyui_devel_version libyui-devel >= 2.42.3 +%define libyui_devel_version libyui-devel >= 3.0.4 BuildRequires: %{libyui_devel_version} BuildRequires: ncurses-devel @@ -40,11 +40,12 @@ component for libYUI. -%package -n libyui-ncurses4 +%package -n libyui-ncurses5 Group: System/Libraries -Requires: libyui4 +Requires: libyui5 +Provides: libyui-ncurses = %{version} Provides: yast2-ncurses = 2.42.0 Obsoletes: yast2-ncurses < 2.42.0 Provides: yui_backend @@ -52,7 +53,7 @@ URL: http://github.com/libyui/ Summary: Libyui - Character Based User Interface -%description -n libyui-ncurses4 +%description -n libyui-ncurses5 This package contains the character based (ncurses) user interface component for libYUI. @@ -62,7 +63,7 @@ Group: Development/Languages/C and C++ -Requires: libyui-ncurses4 = %{version} +Requires: libyui-ncurses5 = %{version} Requires: glibc-devel Requires: libstdc++-devel Requires: boost-devel @@ -90,6 +91,8 @@ export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +./bootstrap.sh %{_prefix} + mkdir build cd build @@ -113,27 +116,27 @@ %install cd build make install DESTDIR="$RPM_BUILD_ROOT" -install -m0755 -d $RPM_BUILD_ROOT/%{_docdir}/libyui-ncurses4/ +install -m0755 -d $RPM_BUILD_ROOT/%{_docdir}/libyui-ncurses5/ install -m0755 -d $RPM_BUILD_ROOT/%{_libdir}/yui -install -m0644 ../COPYING* $RPM_BUILD_ROOT/%{_docdir}/libyui-ncurses4/ +install -m0644 ../COPYING* $RPM_BUILD_ROOT/%{_docdir}/libyui-ncurses5/ %clean rm -rf "$RPM_BUILD_ROOT" -%post -n libyui-ncurses4 -p /sbin/ldconfig +%post -n libyui-ncurses5 -p /sbin/ldconfig -%postun -n libyui-ncurses4 -p /sbin/ldconfig +%postun -n libyui-ncurses5 -p /sbin/ldconfig -%files -n libyui-ncurses4 +%files -n libyui-ncurses5 %defattr(-,root,root) %dir %{_libdir}/yui %{_libdir}/yui/lib*.so.* -%doc %dir %{_docdir}/libyui-ncurses4 -%doc %{_docdir}/libyui-ncurses4/COPYING* +%doc %dir %{_docdir}/libyui-ncurses5 +%doc %{_docdir}/libyui-ncurses5/COPYING* %files devel %defattr(-,root,root) -%dir %{_docdir}/libyui-ncurses4 +%dir %{_docdir}/libyui-ncurses5 %{_libdir}/yui/lib*.so %{_prefix}/include/yui %{_libdir}/pkgconfig/libyui-ncurses.pc ++++++ libyui-ncurses-2.43.4.tar.bz2 -> libyui-ncurses-2.43.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/.gitignore new/libyui-ncurses-2.43.9/.gitignore --- old/libyui-ncurses-2.43.4/.gitignore 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/.gitignore 2013-05-10 15:34:33.000000000 +0200 @@ -39,6 +39,7 @@ # CMake CMakeCache.txt CMakeFiles +CMakeLists.txt Makefile cmake_install.cmake install_manifest.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/CMakeLists.txt new/libyui-ncurses-2.43.9/CMakeLists.txt --- old/libyui-ncurses-2.43.4/CMakeLists.txt 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/CMakeLists.txt 2013-05-13 20:22:57.000000000 +0200 @@ -1,67 +1 @@ -CMAKE_MINIMUM_REQUIRED( VERSION 2.8 ) - -INCLUDE( "${CMAKE_SOURCE_DIR}/PROJECTINFO.cmake" ) - -SET( BUILDTOOLS_DIR "buildtools/" ) - -IF( NOT PREFIX ) - SET( PREFIX "/usr" ) -ENDIF( NOT PREFIX ) - -IF( PLUGINNAME ) - SET( BUILDTOOLS_DIR "${PREFIX}/share/lib${BASELIB}/${BUILDTOOLS_DIR}" ) -ELSE( PLUGINNAME ) - SET( BUILDTOOLS_DIR "${CMAKE_SOURCE_DIR}/${BUILDTOOLS_DIR}" ) -ENDIF( PLUGINNAME ) - -SET( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules" "${BUILDTOOLS_DIR}" "${CMAKE_MODULE_PATH}" ) - -INCLUDE( LibyuiCommon ) - -#if you need to get a git versioned package you can use cmake -DGIT_VERSION=on -if (GIT_VERSION) - FIND_PACKAGE(Git) - if(GIT_FOUND) - exec_program( - "${GIT_EXECUTABLE}" - ${CMAKE_CURRENT_SOURCE_DIR} - ARGS "describe --tags" - OUTPUT_VARIABLE GIT_VERSION ) - - string( REGEX MATCH "-g[0-9|a-f]+$" VERSION_SHA1 ${GIT_VERSION} ) - string( REGEX REPLACE "[g]" "" VERSION_SHA1 ${VERSION_SHA1} ) - set (GIT_SHA1_VERSION "${VERSION_SHA1}") - else() - message (STATUS "GIT_VERSION option needs git installed") - set (GIT_SHA1_VERSION "") - endif() -else() - set (GIT_SHA1_VERSION "") -endif() - -INCLUDE( "${CMAKE_CURRENT_SOURCE_DIR}/VERSION.cmake" ) - -INITIALIZE() - -PROJECT( "${PROJECTNAME}" ) - -INCLUDE( "${CMAKE_CURRENT_SOURCE_DIR}/SOURCECONF.cmake" ) - -SET_OPTIONS() -SET_ENVIRONMENT() -SET_BUILD_FLAGS() -SET_AUTODOCS() - -IF( NOT DOCS_ONLY ) - FIND_LIB_DEPENDENCIES() - FIND_LINKER_LIBS() - CHECK_PREFIX() - SET_SUBDIRS() - GEN_EXPORTS() - GEN_FILES() - PREP_SPEC_FILES() - SET_INSTALL_TARGET() - PREP_OBS_TARBALL() -ENDIF( NOT DOCS_ONLY ) - -SUMMARY() +symbolic link to /usr/share/libyui/buildtools/CMakeLists.common diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/ChangeLog new/libyui-ncurses-2.43.9/ChangeLog --- old/libyui-ncurses-2.43.4/ChangeLog 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/ChangeLog 2013-05-10 15:34:33.000000000 +0200 @@ -1,4 +1,36 @@ ------------------------------------------------------------------- +Fri May 10 10:40:00 UTC 2013 - [email protected] + +- use a common toplevel CMakeLists.txt +- fix building *-doc pkgs +- introduce bootstrap.sh +- Version 2.43.9 + +------------------------------------------------------------------- +Mon May 6 13:30:00 UTC 2013 - [email protected] + +- fix build issues +- V 2.43.8 + +------------------------------------------------------------------- +Mon May 6 11:38:32 UTC 2013 - [email protected] + +- use SONAME from libyui instead of VERSION.cmake +- V 2.43.7 + +------------------------------------------------------------------- +Mon May 6 10:08:01 CEST 2013 - [email protected] + +- fixed so version +- V 2.43.6 + +------------------------------------------------------------------- +Tue Apr 30 12:49:20 CEST 2013 - [email protected] + +- Use YSettings::localeDir() instead of LOCALEDIR (bnc #817588) +- V 2.43.5 + +------------------------------------------------------------------- Tue Mar 26 14:39:09 CET 2013 - [email protected] - NCCheckBoxFrame: handle option `invertAutoEnable correctly, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/Makefile.cvs new/libyui-ncurses-2.43.9/Makefile.cvs --- old/libyui-ncurses-2.43.4/Makefile.cvs 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/Makefile.cvs 2013-05-10 15:34:33.000000000 +0200 @@ -5,6 +5,7 @@ all: configure configure: clean + ./bootstrap.sh ; \ mkdir build ; \ cd build ; \ cmake -DCMAKE_BUILD_TYPE=RELEASE .. @@ -18,4 +19,5 @@ cmake rebuild_cache clean: - rm -rf build + rm -rf build \ + CMakeLists.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/VERSION.cmake new/libyui-ncurses-2.43.9/VERSION.cmake --- old/libyui-ncurses-2.43.4/VERSION.cmake 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/VERSION.cmake 2013-05-10 15:34:33.000000000 +0200 @@ -1,11 +1,11 @@ SET( VERSION_MAJOR "2" ) SET( VERSION_MINOR "43" ) -SET( VERSION_PATCH "4" ) +SET( VERSION_PATCH "9" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. ##### These will be overridden from exports in LibyuiConfig.cmake -SET( SONAME_MAJOR "4" ) +SET( SONAME_MAJOR "5" ) SET( SONAME_MINOR "0" ) SET( SONAME_PATCH "0" ) SET( SONAME "${SONAME_MAJOR}.${SONAME_MINOR}.${SONAME_PATCH}" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/bootstrap.sh new/libyui-ncurses-2.43.9/bootstrap.sh --- old/libyui-ncurses-2.43.4/bootstrap.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/libyui-ncurses-2.43.9/bootstrap.sh 2013-05-10 15:34:33.000000000 +0200 @@ -0,0 +1,26 @@ +#!/bin/sh +set -e + +prefix="/usr" + +if [ ! -z $1 ] +then + prefix="$1" +fi + +cmake_common="$prefix/share/libyui/buildtools/CMakeLists.common" +cmake_target="./CMakeLists.txt" + +echo "checking for $cmake_common..." + +if [ -f "$cmake_common" ] +then + ln -fs "$cmake_common" "$cmake_target" + echo "OK: linked to `pwd`/$cmake_target." +else + echo " Use must have libyui(-devel) >= 3.0.4 installed" + echo " in \"$prefix\" first !!!" + exit 1 +fi + +exit 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/libyui-ncurses.spec.in new/libyui-ncurses-2.43.9/libyui-ncurses.spec.in --- old/libyui-ncurses-2.43.4/libyui-ncurses.spec.in 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/libyui-ncurses.spec.in 2013-05-10 15:34:33.000000000 +0200 @@ -28,7 +28,7 @@ BuildRequires: gcc-c++ BuildRequires: pkg-config -%define libyui_devel_version libyui-devel >= 2.42.3 +%define libyui_devel_version libyui-devel >= 3.0.4 BuildRequires: %{libyui_devel_version} BuildRequires: ncurses-devel @@ -43,6 +43,7 @@ Group: System/Libraries 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 @@ -84,6 +85,8 @@ export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +./bootstrap.sh %{_prefix} + mkdir build cd build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.4/src/NCi18n.h new/libyui-ncurses-2.43.9/src/NCi18n.h --- old/libyui-ncurses-2.43.4/src/NCi18n.h 2013-03-26 14:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.9/src/NCi18n.h 2013-05-10 15:34:33.000000000 +0200 @@ -27,6 +27,7 @@ #include <libintl.h> +#include <yui/YSettings.h> #include <yui/Libyui_config.h> @@ -55,7 +56,7 @@ inline void setTextdomain( const char * domain ) { - bindtextdomain( domain, LOCALEDIR ); + bindtextdomain( domain, YSettings::localeDir().c_str() ); bind_textdomain_codeset( domain, "utf8" ); textdomain( domain ); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
