Hello community, here is the log from the commit of package p8-platform for openSUSE:Factory checked in at 2017-01-31 12:43:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/p8-platform (Old) and /work/SRC/openSUSE:Factory/.p8-platform.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "p8-platform" Changes: -------- --- /work/SRC/openSUSE:Factory/p8-platform/p8-platform.changes 2016-02-01 19:55:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.p8-platform.new/p8-platform.changes 2017-02-03 17:52:45.145065023 +0100 @@ -1,0 +2,7 @@ +Sun Jan 29 12:41:56 UTC 2017 - [email protected] + +- Update to version 2.1.0.1 + * No upstream changelog provided +- Drop no longer needed p8-platform-install_noarch.patch + +------------------------------------------------------------------- Old: ---- p8-platform-2.0.1.tar.gz p8-platform-install_noarch.patch New: ---- p8-platform-2.1.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ p8-platform.spec ++++++ --- /var/tmp/diff_new_pack.3JFv20/_old 2017-02-03 17:52:45.573004683 +0100 +++ /var/tmp/diff_new_pack.3JFv20/_new 2017-02-03 17:52:45.573004683 +0100 @@ -1,7 +1,7 @@ # # spec file for package p8-platform # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,18 @@ # -%define _SO_nr 2_0 +%define _SO_nr 2 Name: p8-platform -Version: 2.0.1 +Version: 2.1.0.1 Release: 0 Summary: Platform support library used by libCEC and binary add-ons for Kodi License: GPL-2.0+ Group: Hardware/TV Url: https://github.com/Pulse-Eight/platform Source: https://github.com/Pulse-Eight/platform/archive/%{name}-%{version}.tar.gz -Patch1: %{name}-install_noarch.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description Platform support library used by libCEC and binary add-ons for Kodi. @@ -51,7 +49,6 @@ %prep %setup -q -n platform-%{name}-%{version} -%patch1 %build %cmake @@ -61,12 +58,11 @@ %cmake_install %post -n lib%{name}%{_SO_nr} -p /sbin/ldconfig - %postun -n lib%{name}%{_SO_nr} -p /sbin/ldconfig %files -n lib%{name}%{_SO_nr} %defattr(-,root,root) -%{_libdir}/lib%{name}.so.2.* +%{_libdir}/lib%{name}.so.%{_SO_nr}* %files devel %defattr(-,root,root) ++++++ p8-platform-2.0.1.tar.gz -> p8-platform-2.1.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/.gitmodules new/platform-p8-platform-2.1.0.1/.gitmodules --- old/platform-p8-platform-2.0.1/.gitmodules 1970-01-01 01:00:00.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/.gitmodules 2016-10-26 12:51:27.000000000 +0200 @@ -0,0 +1,3 @@ +[submodule "support"] + path = support + url = [email protected]:Pulse-Eight/libcec-support.git diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/CMakeLists.txt new/platform-p8-platform-2.1.0.1/CMakeLists.txt --- old/platform-p8-platform-2.0.1/CMakeLists.txt 2016-01-19 20:51:52.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/CMakeLists.txt 2016-10-26 12:51:27.000000000 +0200 @@ -12,8 +12,8 @@ set(p8-platform_NAME p8-platform) set(p8-platform_DESCRIPTION "Pulse-Eight platform support library") set(p8-platform_VERSION_MAJOR 2) -set(p8-platform_VERSION_MINOR 0) -set(p8-platform_VERSION_PATCH 1) +set(p8-platform_VERSION_MINOR 1) +set(p8-platform_VERSION_PATCH 0) set(CMAKE_POSITION_INDEPENDENT_CODE on) @@ -30,7 +30,7 @@ if(NOT ${CORE_SYSTEM_NAME} STREQUAL "") if(${CORE_SYSTEM_NAME} STREQUAL "osx" OR ${CORE_SYSTEM_NAME} STREQUAL "ios") - list(APPEND p8-platform_LIBRARIES "-framework CoreVideo -framework IOKit") + list(APPEND p8-platform_LIBRARIES "-framework CoreVideo") endif() endif() @@ -39,7 +39,7 @@ add_library(p8-platform ${SOURCES} ${PLAT_SOURCES}) target_link_libraries(p8-platform ${p8-platform_LIBRARIES}) set_target_properties(p8-platform PROPERTIES VERSION ${p8-platform_VERSION_MAJOR}.${p8-platform_VERSION_MINOR}.${p8-platform_VERSION_PATCH} - SOVERSION ${p8-platform_VERSION_MAJOR}.0) + SOVERSION ${p8-platform_VERSION_MAJOR}) install(TARGETS p8-platform DESTINATION ${CMAKE_INSTALL_LIBDIR}) install(FILES src/os.h DESTINATION include/p8-platform) @@ -74,12 +74,12 @@ IF(NOT WIN32) configure_file(p8-platform.pc.in p8-platform.pc @ONLY) install(FILES ${CMAKE_BINARY_DIR}/p8-platform.pc - DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) ENDIF(NOT WIN32) # config mode configure_file (p8-platform-config.cmake.in p8-platform-config.cmake @ONLY) install(FILES ${CMAKE_BINARY_DIR}/p8-platform-config.cmake - DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/p8-platform) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/p8-platform) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/debian/changelog new/platform-p8-platform-2.1.0.1/debian/changelog --- old/platform-p8-platform-2.0.1/debian/changelog 2016-01-19 20:51:52.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/debian/changelog 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ -p8-platform (2.0.1-1~trusty) trusty; urgency=medium - - * Avoid that cmake removes variables from pkg-config file - - -- Pulse-Eight Packaging <[email protected]> Tue, 19 Jan 2016 20:48:37 +0100 - -p8-platform (2.0.0-1~trusty) trusty; urgency=medium - - * renamed to p8-platform - - -- Pulse-Eight Packaging <[email protected]> Tue, 01 Dec 2015 03:22:00 +0100 - -platform (2.0.0-1~trusty) trusty; urgency=medium - - * removed: fstrcmp and StringUtils::CompareFuzzy() + - StringUtils::FindBestMatch() because of an incompatible license - - -- Pulse-Eight Packaging <[email protected]> Tue, 01 Dec 2015 02:48:06 +0100 - -platform (1.0.10-1~trusty) trusty; urgency=medium - - * fixed: posix socket return value for connect - - -- Pulse-Eight Packaging <[email protected]> Tue, 30 Jun 2015 10:53:06 +0100 - -platform (1.0.9-1~trusty) trusty; urgency=medium - - * fixed: add missing stdio.h include in windows/os-socket.h - - -- Pulse-Eight Packaging <[email protected]> Wed, 13 May 2015 10:01:43 +0100 - -platform (1.0.8-1~trusty) trusty; urgency=medium - - * added: cdevsocket.h character device socket - * fixed: guards for #defines on OS X and iOS for values already defined in - CFPlugInCOM.h - - -- Pulse-Eight Packaging <[email protected]> Mon, 11 May 2015 09:33:17 +0100 - -platform (1.0.7-1~trusty) trusty; urgency=medium - - * fixed: include on OS X - - -- Pulse-Eight Packaging <[email protected]> Fri, 08 May 2015 22:15:23 +0100 - -platform (1.0.6-1~trusty) trusty; urgency=medium - - * fixed: add include path and link the threads lib - * (re-)added: public Reset() function in CEvent - * sync UseMultiArch.cmake - - -- Pulse-Eight Packaging <[email protected]> Thu, 07 May 2015 21:20:00 +0100 - -platform (1.0.5-1~trusty) trusty; urgency=medium - - * fixed: missing #include <string> in socket.h - - -- Pulse-Eight Packaging <[email protected]> Mon, 04 May 2015 01:29:00 +0100 - -platform (1.0.4-1~trusty) trusty; urgency=medium - - * proper platform.pc.in fix - - -- Pulse-Eight Packaging <[email protected]> Sun, 03 May 2015 21:56:00 +0100 - -platform (1.0.3-1~trusty) trusty; urgency=medium - - * platform.pc.in fix - - -- Pulse-Eight Packaging <[email protected]> Fri, 01 May 2015 14:38:00 +0100 - -platform (1.0.2-1~trusty) trusty; urgency=medium - - * Build fixes - - -- Pulse-Eight Packaging <[email protected]> Fri, 01 May 2015 01:38:00 +0100 - -platform (1.0.0-1~trusty) trusty; urgency=medium - - * Initial release - - -- Pulse-Eight Packaging <[email protected]> Thu, 12 Mar 2015 13:35:07 +0100 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/debian/changelog.in new/platform-p8-platform-2.1.0.1/debian/changelog.in --- old/platform-p8-platform-2.0.1/debian/changelog.in 2016-01-19 20:51:52.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/debian/changelog.in 2016-10-26 12:51:27.000000000 +0200 @@ -1,3 +1,14 @@ +p8-platform (2.1.0.1~#DIST#) #DIST#; urgency=medium + + * [tvos] remove IOKit linkage. credits @Memphiz + * [posix] use standard SO versioning. credits @rbalint + * [posix] install pkg-config and .cmake files in arch-specific libdirs. + credits @rbalint + * [posix] fixed: wrong timeout in SocketRead(). closes #27. credits @SeppSTA + * [windows] added support files for building + + -- Pulse-Eight Packaging <[email protected]> Mon, 24 Oct 2016 10:56:12 +0100 + p8-platform (2.0.1-1~#DIST#) #DIST#; urgency=medium * Avoid that cmake removes variables from pkg-config file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/debian/libp8-platform-dev.install new/platform-p8-platform-2.1.0.1/debian/libp8-platform-dev.install --- old/platform-p8-platform-2.0.1/debian/libp8-platform-dev.install 2016-01-19 20:51:52.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/debian/libp8-platform-dev.install 2016-10-26 12:51:27.000000000 +0200 @@ -1,4 +1,4 @@ usr/include/* usr/lib/*/*.so -usr/lib/pkgconfig/*.pc -usr/lib/p8-platform/* +usr/lib/*/pkgconfig +usr/lib/*/p8-platform/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/src/posix/os-socket.h new/platform-p8-platform-2.1.0.1/src/posix/os-socket.h --- old/platform-p8-platform-2.0.1/src/posix/os-socket.h 2016-01-19 20:51:52.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/src/posix/os-socket.h 2016-10-26 12:51:27.000000000 +0200 @@ -135,7 +135,7 @@ { long iTimeLeft = (long)readTimeout.TimeLeft(); timeout.tv_sec = iTimeLeft / (long int)1000.; - timeout.tv_usec = iTimeLeft % (long int)1000.; + timeout.tv_usec = (iTimeLeft % (long int)1000.) * (long int)1000.; tv = &timeout; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/windows/build-lib.cmd new/platform-p8-platform-2.1.0.1/windows/build-lib.cmd --- old/platform-p8-platform-2.0.1/windows/build-lib.cmd 1970-01-01 01:00:00.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/windows/build-lib.cmd 2016-10-26 12:51:27.000000000 +0200 @@ -0,0 +1,24 @@ +@ECHO OFF + +rem Build the p8 platform library for Windows + +SETLOCAL + +SET MYDIR=%~dp0 +SET BUILDARCH=%1 +SET BUILDTYPE=%2 +SET VSVERSION=%3 +SET INSTALLPATH=%4 +IF [%4] == [] GOTO missingparams + +SET BUILDTARGET=%INSTALLPATH%\cmake\%BUILDARCH% +SET TARGET=%INSTALLPATH%\%BUILDARCH% + +call %MYDIR%..\support\windows\cmake\generate.cmd %BUILDARCH% nmake %MYDIR%..\ %BUILDTARGET% %TARGET% %BUILDTYPE% %VSVERSION% static +call %MYDIR%..\support\windows\cmake\build.cmd %BUILDARCH% %BUILDTARGET% %VSVERSION% +goto exit + +:missingparams +echo "build-lib.cmd requires 4 parameters" + +:exit \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platform-p8-platform-2.0.1/windows/build.cmd new/platform-p8-platform-2.1.0.1/windows/build.cmd --- old/platform-p8-platform-2.0.1/windows/build.cmd 1970-01-01 01:00:00.000000000 +0100 +++ new/platform-p8-platform-2.1.0.1/windows/build.cmd 2016-10-26 12:51:27.000000000 +0200 @@ -0,0 +1,18 @@ +@ECHO OFF + +rem Build the p8 platform library for Windows + +SETLOCAL + +SET MYDIR=%~dp0 +SET BUILDTYPE=Release +SET VSVERSION=12 +SET INSTALLPATH=%MYDIR%..\build + +rmdir %MYDIR%..\build /s /q + +for %%T in (amd64 x86) do ( + call %MYDIR%\build-lib.cmd %%T %BUILDTYPE% %VSVERSION% %INSTALLPATH% +) + +rmdir %MYDIR%..\build\cmake /s /q
