Hello community, here is the log from the commit of package libArcus for openSUSE:Factory checked in at 2020-01-03 17:36:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libArcus (Old) and /work/SRC/openSUSE:Factory/.libArcus.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libArcus" Fri Jan 3 17:36:17 2020 rev:8 rq:760427 version:4.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libArcus/libArcus.changes 2019-10-14 12:41:58.458626156 +0200 +++ /work/SRC/openSUSE:Factory/.libArcus.new.6675/libArcus.changes 2020-01-03 17:36:24.235277787 +0100 @@ -1,0 +2,14 @@ +Thu Jan 2 11:38:33 UTC 2020 - Adrian Schröter <[email protected]> + +- update to version 4.4.1 + * no code changes + +------------------------------------------------------------------- +Fri Nov 22 14:13:57 UTC 2019 - Adrian Schröter <[email protected]> + +- update to version 4.4.0 + obsoletes + 0001-Install-the-Python-extension-module-to-Python-sitear.patch + 0002-Fix-Python3_SITEARCH-for-old-cmake.patch + +------------------------------------------------------------------- Old: ---- 0001-Install-the-Python-extension-module-to-Python-sitear.patch 0002-Fix-Python3_SITEARCH-for-old-cmake.patch libArcus-4.3.0.obscpio New: ---- libArcus-4.4.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libArcus.spec ++++++ --- /var/tmp/diff_new_pack.OD0JBs/_old 2020-01-03 17:36:25.947278666 +0100 +++ /var/tmp/diff_new_pack.OD0JBs/_new 2020-01-03 17:36:25.975278680 +0100 @@ -1,7 +1,7 @@ # # spec file for package libArcus # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -18,16 +18,13 @@ %define sover 3 Name: libArcus -Version: 4.3.0 +Version: 4.4.1 Release: 0 Summary: 3D printer control software License: LGPL-3.0-only Group: Development/Libraries/C and C++ -Url: http://github.com/Ultimaker/%name +URL: http://github.com/Ultimaker/%name Source: %name-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -Patch0: 0001-Install-the-Python-extension-module-to-Python-sitear.patch -Patch1: 0002-Fix-Python3_SITEARCH-for-old-cmake.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: protobuf-devel >= 3.0.0 @@ -56,8 +53,6 @@ %prep %setup -%patch0 -p1 -%patch1 -p1 %build %cmake ++++++ _service ++++++ --- /var/tmp/diff_new_pack.OD0JBs/_old 2020-01-03 17:36:26.291278843 +0100 +++ /var/tmp/diff_new_pack.OD0JBs/_new 2020-01-03 17:36:26.307278851 +0100 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/Ultimaker/libArcus</param> <param name="scm">git</param> - <param name="revision">4.3.0</param> - <param name="version">4.3.0</param> + <param name="revision">v4.4.1</param> + <param name="version">4.4.1</param> <param name="submodules">disable</param> </service> <service mode="disabled" name="set_version" /> ++++++ libArcus-4.3.0.obscpio -> libArcus-4.4.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/.gitlab-ci.yml new/libArcus-4.4.1/.gitlab-ci.yml --- old/libArcus-4.3.0/.gitlab-ci.yml 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/.gitlab-ci.yml 2019-09-10 11:07:25.000000000 +0200 @@ -3,10 +3,14 @@ stages: - build -build-and-test: +build and test linux: stage: build + tags: + - cura + - docker + - linux script: - docker/build.sh artifacts: paths: - - build/ + - build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/CMakeLists.txt new/libArcus-4.4.1/CMakeLists.txt --- old/libArcus-4.3.0/CMakeLists.txt 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/CMakeLists.txt 2019-09-10 11:07:25.000000000 +0200 @@ -3,6 +3,7 @@ include(GNUInstallDirs) include(CMakePackageConfigHelpers) +include(GenerateExportHeader) option(BUILD_PYTHON "Build " ON) option(BUILD_EXAMPLES "Build the example programs" ON) @@ -60,9 +61,9 @@ src/Socket.h src/SocketListener.h src/Types.h - src/ArcusExport.h src/MessageTypeStore.h src/Error.h + ${CMAKE_CURRENT_BINARY_DIR}/src/ArcusExport.h ) set(ARCUS_VERSION 1.1.0) @@ -121,8 +122,17 @@ SOVERSION ${ARCUS_SOVERSION} PUBLIC_HEADER "${arcus_HDRS}" DEFINE_SYMBOL MAKE_ARCUS_LIB + CXX_VISIBILITY_PRESET hidden + VISIBILITY_INLINES_HIDDEN 1 ) +generate_export_header(Arcus + EXPORT_FILE_NAME src/ArcusExport.h +) +# This is required when building out-of-tree. +# The compiler won't find the generated header otherwise. +include_directories(${CMAKE_BINARY_DIR}/src) + if(BUILD_EXAMPLES) add_subdirectory(examples) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/CPackConfig.cmake new/libArcus-4.4.1/CPackConfig.cmake --- old/libArcus-4.3.0/CPackConfig.cmake 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/CPackConfig.cmake 2019-09-10 11:07:25.000000000 +0200 @@ -1,5 +1,5 @@ set(CPACK_PACKAGE_VENDOR "Ultimaker") -set(CPACK_PACKAGE_CONTACT "Arjen Hiemstra <[email protected]>") +set(CPACK_PACKAGE_CONTACT "Ruben Dulek <[email protected]>") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "libArcus Communication library") if(NOT DEFINED CPACK_PACKAGE_VERSION) set(CPACK_PACKAGE_VERSION "15.05.91") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/cmake/FindSIP.cmake new/libArcus-4.4.1/cmake/FindSIP.cmake --- old/libArcus-4.3.0/cmake/FindSIP.cmake 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/cmake/FindSIP.cmake 2019-09-10 11:07:25.000000000 +0200 @@ -48,6 +48,19 @@ else() message(FATAL_ERROR "Failed to get Python3_SITELIB. Error: ${_process_output}") endif() + + execute_process( + COMMAND ${Python3_EXECUTABLE} -c + "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(plat_specific=True,standard_lib=False))" + RESULT_VARIABLE _process_status + OUTPUT_VARIABLE _process_output + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + if(${_process_status} EQUAL 0) + string(STRIP ${_process_output} Python3_SITEARCH) + else() + message(FATAL_ERROR "Failed to get Python3_SITEARCH. Error: ${_process_output}") + endif() else() # Use FindPython3 for CMake >=3.12 find_package(Python3 3.4 REQUIRED COMPONENTS Interpreter Development) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/cmake/SIPMacros.cmake new/libArcus-4.4.1/cmake/SIPMacros.cmake --- old/libArcus-4.3.0/cmake/SIPMacros.cmake 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/cmake/SIPMacros.cmake 2019-09-10 11:07:25.000000000 +0200 @@ -124,6 +124,6 @@ SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES SUFFIX ".pyd" IMPORT_PREFIX "_") ENDIF (WIN32) - INSTALL(TARGETS ${_logical_name} DESTINATION "${Python3_SITELIB}/${_parent_module_path}") + INSTALL(TARGETS ${_logical_name} DESTINATION "${Python3_SITEARCH}/${_parent_module_path}") ENDMACRO(ADD_SIP_PYTHON_MODULE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/src/ArcusExport.h new/libArcus-4.4.1/src/ArcusExport.h --- old/libArcus-4.3.0/src/ArcusExport.h 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/src/ArcusExport.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#ifndef ARCUS_EXPORT_H -#define ARCUS_EXPORT_H - -#if _WIN32 - #ifdef MAKE_ARCUS_LIB - #define ARCUS_EXPORT __declspec(dllexport) - #else - #define ARCUS_EXPORT - #endif -#else - #define ARCUS_EXPORT -#endif - -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/src/MessageTypeStore.cpp new/libArcus-4.4.1/src/MessageTypeStore.cpp --- old/libArcus-4.3.0/src/MessageTypeStore.cpp 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/src/MessageTypeStore.cpp 2019-09-10 11:07:25.000000000 +0200 @@ -73,7 +73,7 @@ int _error_count; }; -class MessageTypeStore::Private +class ARCUS_NO_EXPORT MessageTypeStore::Private { public: std::unordered_map<uint, const google::protobuf::Message*> message_types; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/src/MessageTypeStore.h new/libArcus-4.4.1/src/MessageTypeStore.h --- old/libArcus-4.3.0/src/MessageTypeStore.h 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/src/MessageTypeStore.h 2019-09-10 11:07:25.000000000 +0200 @@ -21,6 +21,7 @@ #include <memory> +#include "ArcusExport.h" #include "Types.h" namespace Arcus @@ -28,7 +29,7 @@ /** * A class to manage the different types of messages that are available. */ - class MessageTypeStore + class ARCUS_EXPORT MessageTypeStore { public: MessageTypeStore(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libArcus-4.3.0/src/Socket_p.h new/libArcus-4.4.1/src/Socket_p.h --- old/libArcus-4.3.0/src/Socket_p.h 2019-04-10 09:00:57.000000000 +0200 +++ new/libArcus-4.4.1/src/Socket_p.h 2019-09-10 11:07:25.000000000 +0200 @@ -72,7 +72,7 @@ { using namespace Private; - class Socket::Private + class ARCUS_NO_EXPORT Socket::Private { public: Private() ++++++ libArcus.obsinfo ++++++ --- /var/tmp/diff_new_pack.OD0JBs/_old 2020-01-03 17:36:27.207279313 +0100 +++ /var/tmp/diff_new_pack.OD0JBs/_new 2020-01-03 17:36:27.227279323 +0100 @@ -1,5 +1,5 @@ name: libArcus -version: 4.3.0 -mtime: 1554879657 -commit: e15df8325ade416655857c19552f05ed7e61b396 +version: 4.4.1 +mtime: 1568106445 +commit: 20251c9343294de979e53f103af207bd14b3bc34
