Hello community, here is the log from the commit of package libcec for openSUSE:Factory checked in at 2017-02-24 02:54:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-02-01 19:55:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libcec.new/libcec.changes 2017-02-24 02:54:57.867670352 +0100 @@ -1,0 +2,34 @@ +Sun Feb 19 19:38:54 UTC 2017 - sagi...@gmail.com + +- Rebase libcec-cmake_install_lib_dir.patch + +------------------------------------------------------------------- +Sun Feb 19 19:27:21 UTC 2017 - mplus...@suse.com + +- Update to version 4.0.2: + * don't automatically assume that an AVR is active in some + situations + * don't take Panasonic's vendor id when emulating an AVR + * drm EDID parser not compiled in. + * python: have Swig generate Python threading support + * python: only pass unsigned + * python: allow empty callback parameters + * python: install demo app as executable + * python: correct install path. + * python: possible crash when passing an invalid callback + * TransmitVolumeDown to use CEC_USER_CONTROL_CODE_VOLUME_DOWN. + * HAVE_AOCEC_API missing in if in AdapterFactory. + * env.h had 'ON' instead of '1' for some values + * bAutoWakeAVR entry in libcec_configuration, which controls + whether to automatically power on the avr or not when the + source is activated. + * iDoubleTapTimeoutMs replacing iDoubleTapTimeout50Ms. time is + now in milliseconds + * new AO CEC adapter. + * compilation with full debugging enabled + * handling of LG vendor command 0x0B. + * return value wasn't checked correctly in + CLibCEC::RegisterClient() + * Raspberry Pi fixes for issues #252 and #191 + +------------------------------------------------------------------- Old: ---- libcec-3.1.0.tar.gz New: ---- libcec-4.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcec.spec ++++++ --- /var/tmp/diff_new_pack.rOa3Xn/_old 2017-02-24 02:54:58.435582501 +0100 +++ /var/tmp/diff_new_pack.rOa3Xn/_new 2017-02-24 02:54:58.439581881 +0100 @@ -1,7 +1,7 @@ # # spec file for package libcec # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Guillaume GARDET <guilla...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -17,29 +17,30 @@ # -%define lname libcec3 +%define sover 4 +%define libname %{name}%{sover} %bcond_with enable_rpi_build Name: libcec -Version: 3.1.0 +Version: 4.0.2 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 +Patch1: libcec-cmake_install_lib_dir.patch Patch123: libcec-build-compare.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: libXrandr-devel -BuildRequires: libudev-devel -BuildRequires: lockdev-devel BuildRequires: ncurses-devel -BuildRequires: p8-platform-devel -BuildRequires: pkg-config -BuildRequires: python-devel +BuildRequires: pkgconfig BuildRequires: swig -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(lockdev) +BuildRequires: pkgconfig(p8-platform) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(xrandr) %ifarch armv6l armv6hl %if %{with enable_rpi_build} BuildRequires: raspberrypi-gfx-devel @@ -59,7 +60,7 @@ %package -n cec-client Summary: Control your device with your TV remote control via HDMI Group: Hardware/TV -Requires: %{lname} = %{version}-%{release} +Requires: %{libname} = %{version} %description -n cec-client libCEC allows you, in combination with the right hardware, to control @@ -90,11 +91,11 @@ This package contains python bindings -%package -n %{lname} +%package -n %{libname} Summary: USB CEC adapter communication library Group: System/Libraries -%description -n %{lname} +%description -n %{libname} libCEC allows you, in combination with the right hardware, to control your device with your TV remote control utilizing your existing HDMI cabling. @@ -102,7 +103,7 @@ %package devel Summary: Development files for the USB CEC adapter communication library Group: Development/Libraries/C and C++ -Requires: %{lname} = %{version} +Requires: %{libname} = %{version} %description devel libCEC is an enabling platform for the CEC bus in HDMI, it allows @@ -113,7 +114,7 @@ This subpackage contains the headers for libcec. %prep -%setup -q -n libcec-libcec-%{version} +%setup -q -n %{name}-%{name}-%{version} %patch1 %patch123 -p1 @@ -123,13 +124,9 @@ %install %cmake_install -# dist-packages is debian specific location, we don't want to use it -install -d %{buildroot}%{python_sitearch} -mv %{buildroot}%{_libdir}/python2.7/dist-packages %{buildroot}%{python_sitearch} -%post -n %{lname} -p /sbin/ldconfig - -%postun -n %{lname} -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files -n cec-client %defattr(755,root,root) @@ -140,12 +137,12 @@ %files -n python-%{name} %defattr(-,root,root) -%attr(755,root,root) %{_bindir}/pyCecClient.py +%{_bindir}/pyCecClient %{python_sitearch}/* -%files -n %{lname} +%files -n %{libname} %defattr(-,root,root) -%{_libdir}/libcec.so.3* +%{_libdir}/libcec.so.%{sover}* %files devel %defattr(-,root,root) ++++++ libcec-3.1.0.tar.gz -> libcec-4.0.2.tar.gz ++++++ ++++ 40757 lines of diff (skipped) ++++++ libcec-cmake_install_lib_dir.patch ++++++ --- /var/tmp/diff_new_pack.rOa3Xn/_old 2017-02-24 02:54:58.639550948 +0100 +++ /var/tmp/diff_new_pack.rOa3Xn/_new 2017-02-24 02:54:58.639550948 +0100 @@ -1,30 +1,14 @@ ---- 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() +--- src/libcec/cmake/CheckPlatformSupport.cmake.orig 2017-02-19 21:27:50.404349730 +0200 ++++ src/libcec/cmake/CheckPlatformSupport.cmake 2017-02-19 21:29:06.395003035 +0200 +@@ -200,9 +200,9 @@ + SET(PYTHON_PKG_DIR "site-packages") + endif() 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) +- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/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 +- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/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