Hello community, here is the log from the commit of package libcec for openSUSE:Factory checked in at 2016-02-01 19:55:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcec (Old) and /work/SRC/openSUSE:Factory/.libcec.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcec" Changes: -------- --- /work/SRC/openSUSE:Factory/libcec/libcec.changes 2016-01-03 13:27:45.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libcec.new/libcec.changes 2016-02-01 19:55:41.000000000 +0100 @@ -1,0 +2,20 @@ +Mon Jan 25 12:59:21 UTC 2016 - o...@aepfle.de + +- Reduce build-compare noise + libcec-build-compare.patch + +------------------------------------------------------------------- +Sat Jan 23 19:27:14 UTC 2016 - mplus...@suse.com + +- Rename cmake_install_lib_dir.patch to + libcec-cmake_install_lib_dir.patch + +------------------------------------------------------------------- +Sat Jan 23 09:04:35 UTC 2016 - sagi...@gmail.com + +- Update to v3.1.0 +- Add cmake_install_lib_dir.patch patch for better handling + of libdir in .pc file and python packge installation path +- Update dependency to libp8-platform + +------------------------------------------------------------------- Old: ---- libcec-3.0.1.tar.gz New: ---- libcec-3.1.0.tar.gz libcec-build-compare.patch libcec-cmake_install_lib_dir.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcec.spec ++++++ --- /var/tmp/diff_new_pack.MC13RG/_old 2016-02-01 19:55:42.000000000 +0100 +++ /var/tmp/diff_new_pack.MC13RG/_new 2016-02-01 19:55:42.000000000 +0100 @@ -17,23 +17,25 @@ # -%define lname libcec3_0 +%define lname libcec3 %bcond_with enable_rpi_build Name: libcec -Version: 3.0.1 +Version: 3.1.0 Release: 0 Summary: Control your device with your TV remote control via HDMI License: GPL-2.0+ Group: Hardware/TV Url: https://github.com/Pulse-Eight/libcec Source: https://github.com/Pulse-Eight/libcec/archive/libcec-%{version}.tar.gz +Patch1: %{name}-cmake_install_lib_dir.patch +Patch123: libcec-build-compare.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libXrandr-devel -BuildRequires: libplatform-devel BuildRequires: libudev-devel BuildRequires: lockdev-devel BuildRequires: ncurses-devel +BuildRequires: p8-platform-devel BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: swig @@ -112,6 +114,8 @@ %prep %setup -q -n libcec-libcec-%{version} +%patch1 +%patch123 -p1 %build %cmake @@ -121,9 +125,7 @@ %cmake_install # dist-packages is debian specific location, we don't want to use it install -d %{buildroot}%{python_sitearch} -mv %{buildroot}%{_libexecdir}/python2.7/dist-packages %{buildroot}%{python_sitearch} -# use correct path to libdir -sed -i 's|/usr//usr/|/usr/|g' %{buildroot}%{_libdir}/pkgconfig/libcec.pc +mv %{buildroot}%{_libdir}/python2.7/dist-packages %{buildroot}%{python_sitearch} %post -n %{lname} -p /sbin/ldconfig ++++++ libcec-3.0.1.tar.gz -> libcec-3.1.0.tar.gz ++++++ ++++ 5514 lines of diff (skipped) ++++++ libcec-build-compare.patch ++++++ --- src/libcec/cmake/SetBuildInfo.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: libcec-libcec-3.1.0/src/libcec/cmake/SetBuildInfo.cmake =================================================================== --- libcec-libcec-3.1.0.orig/src/libcec/cmake/SetBuildInfo.cmake +++ libcec-libcec-3.1.0/src/libcec/cmake/SetBuildInfo.cmake @@ -27,7 +27,7 @@ else() find_program(HAVE_DATE_BIN date /bin /usr/bin /usr/local/bin) if(HAVE_DATE_BIN) exec_program(date ARGS -u OUTPUT_VARIABLE BUILD_DATE) - set(LIB_INFO "${LIB_INFO} compiled on ${BUILD_DATE}") + set(LIB_INFO "${LIB_INFO} compiled on request") else() set(LIB_INFO "${LIB_INFO} compiled on (unknown date)") endif() @@ -46,7 +46,7 @@ else() find_program(HAVE_HOSTNAME_BIN hostname /bin /usr/bin /usr/local/bin) if(HAVE_HOSTNAME_BIN) exec_program(hostname ARGS -f OUTPUT_VARIABLE BUILD_HOST) - set(LIB_INFO "${LIB_INFO}@${BUILD_HOST}") + set(LIB_INFO "${LIB_INFO}@buildhost") endif() # add host info on which this was built to compile info @@ -56,7 +56,7 @@ else() exec_program(uname ARGS -r OUTPUT_VARIABLE BUILD_SYSVER) exec_program(uname ARGS -m OUTPUT_VARIABLE BUILD_SYSARCH) - set(LIB_INFO "${LIB_INFO} on ${BUILD_SYSNAME} ${BUILD_SYSVER} (${BUILD_SYSARCH})") + set(LIB_INFO "${LIB_INFO} on ${BUILD_SYSNAME} 4.3.2.1 (${BUILD_SYSARCH})") endif() endif() ++++++ libcec-cmake_install_lib_dir.patch ++++++ --- src/libcec/cmake/CheckPlatformSupport.cmake.orig 2016-01-23 10:36:06.011004015 +0200 +++ src/libcec/cmake/CheckPlatformSupport.cmake 2016-01-23 10:38:00.195077327 +0200 @@ -179,9 +179,9 @@ RENAME __init__.py) else() install(TARGETS ${SWIG_MODULE_cec_REAL_NAME} - DESTINATION lib/python${PYTHON_VERSION}/dist-packages/cec) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/dist-packages/cec) install(FILES ${CMAKE_BINARY_DIR}/src/libcec/cec.py - DESTINATION lib/python${PYTHON_VERSION}/dist-packages/cec + DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/dist-packages/cec RENAME __init__.py) endif() endif() --- src/libcec/CMakeLists.txt.orig 2016-01-23 10:56:39.059544553 +0200 +++ src/libcec/CMakeLists.txt 2016-01-23 10:54:43.901514784 +0200 @@ -157,11 +157,11 @@ configure_pc_file(cec ${CMAKE_CURRENT_SOURCE_DIR}/libcec.pc.in ${CMAKE_CURRENT_SOURCE_DIR}/libcec.pc ${CMAKE_INSTALL_PREFIX} - ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} + ${CMAKE_INSTALL_LIBDIR} ${CMAKE_INSTALL_PREFIX}/include) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/libcec.pc - DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) endif() # install headers