Hello community, here is the log from the commit of package libSavitar for openSUSE:Factory checked in at 2020-01-03 17:36:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libSavitar (Old) and /work/SRC/openSUSE:Factory/.libSavitar.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libSavitar" Fri Jan 3 17:36:45 2020 rev:5 rq:760480 version:4.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libSavitar/libSavitar.changes 2019-07-11 13:13:23.494873717 +0200 +++ /work/SRC/openSUSE:Factory/.libSavitar.new.6675/libSavitar.changes 2020-01-03 17:36:52.943292524 +0100 @@ -1,0 +2,6 @@ +Thu Jan 2 13:37:10 UTC 2020 - Adrian Schröter <[email protected]> + +- update to version 4.4.1 + * mostly internal changes + +------------------------------------------------------------------- Old: ---- libSavitar-4.1.0.obscpio New: ---- libSavitar-4.4.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libSavitar.spec ++++++ --- /var/tmp/diff_new_pack.3YYdkn/_old 2020-01-03 17:36:53.951293041 +0100 +++ /var/tmp/diff_new_pack.3YYdkn/_new 2020-01-03 17:36:53.951293041 +0100 @@ -1,7 +1,7 @@ # # spec file for package libSavitar # -# 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,7 +18,7 @@ %define sover 0 Name: libSavitar -Version: 4.1.0 +Version: 4.4.1 Release: 0 Summary: C++ implementation of 3mf loading with SIP python bindings License: LGPL-3.0-only @@ -83,6 +83,6 @@ %license LICENSE %doc README.md %{_libdir}/libSavitar.so.* -%{python3_sitelib}/Savitar.so +%{python3_sitearch}/Savitar.so %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.3YYdkn/_old 2020-01-03 17:36:53.979293056 +0100 +++ /var/tmp/diff_new_pack.3YYdkn/_new 2020-01-03 17:36:53.979293056 +0100 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="disabled"> <param name="url">git://github.com/Ultimaker/libSavitar.git</param> <param name="scm">git</param> - <param name="revision">4.1.0</param> - <param name="version">4.1.0</param> + <param name="revision">v4.4.1</param> + <param name="version">4.4.1</param> </service> <service mode="disabled" name="set_version" /> ++++++ libSavitar-4.1.0.obscpio -> libSavitar-4.4.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libSavitar-4.1.0/.gitlab-ci.yml new/libSavitar-4.4.1/.gitlab-ci.yml --- old/libSavitar-4.1.0/.gitlab-ci.yml 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/.gitlab-ci.yml 2019-09-17 11:34:47.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/libSavitar-4.1.0/CMakeLists.txt new/libSavitar-4.4.1/CMakeLists.txt --- old/libSavitar-4.1.0/CMakeLists.txt 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/CMakeLists.txt 2019-09-17 11:34:47.000000000 +0200 @@ -3,6 +3,7 @@ include(GNUInstallDirs) include(CMakePackageConfigHelpers) +include(GenerateExportHeader) option(BUILD_PYTHON "Build " ON) option(BUILD_STATIC "Build as a static library" OFF) @@ -61,7 +62,7 @@ src/MeshData.h src/Vertex.h src/Face.h - src/SavitarExport.h + ${CMAKE_CURRENT_BINARY_DIR}/src/SavitarExport.h ) set(SAVITAR_VERSION 0.1.1) @@ -109,8 +110,17 @@ SOVERSION ${SAVITAR_SOVERSION} PUBLIC_HEADER "${savitar_HDRS}" DEFINE_SYMBOL MAKE_SAVITAR_LIB + CXX_VISIBILITY_PRESET hidden + VISIBILITY_INLINES_HIDDEN 1 ) +generate_export_header(Savitar + EXPORT_FILE_NAME src/SavitarExport.h +) +# This is required when building out-of-tree. +# The compiler won't find the generated header otherwise. +include_directories(${CMAKE_BINARY_DIR}/src) + install(TARGETS Savitar EXPORT Savitar-targets RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libSavitar-4.1.0/cmake/FindSIP.cmake new/libSavitar-4.4.1/cmake/FindSIP.cmake --- old/libSavitar-4.1.0/cmake/FindSIP.cmake 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/cmake/FindSIP.cmake 2019-09-17 11:34:47.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/libSavitar-4.1.0/cmake/SIPMacros.cmake new/libSavitar-4.4.1/cmake/SIPMacros.cmake --- old/libSavitar-4.1.0/cmake/SIPMacros.cmake 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/cmake/SIPMacros.cmake 2019-09-17 11:34:47.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/libSavitar-4.1.0/src/Face.cpp new/libSavitar-4.4.1/src/Face.cpp --- old/libSavitar-4.1.0/src/Face.cpp 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/src/Face.cpp 2019-09-17 11:34:47.000000000 +0200 @@ -18,6 +18,8 @@ #include "Face.h" +using namespace Savitar; + Face::Face(int v1, int v2, int v3) { vertex_1_index = v1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libSavitar-4.1.0/src/Face.h new/libSavitar-4.4.1/src/Face.h --- old/libSavitar-4.1.0/src/Face.h 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/src/Face.h 2019-09-17 11:34:47.000000000 +0200 @@ -19,23 +19,28 @@ #ifndef FACE_H #define FACE_H -class Face +#include "SavitarExport.h" + +namespace Savitar { -public: - /** - * A face uses the index of 3 vertices to describe a triangle - */ - Face(int v1, int v2, int v3); - ~Face(); + class SAVITAR_EXPORT Face + { + public: + /** + * A face uses the index of 3 vertices to describe a triangle + */ + Face(int v1, int v2, int v3); + ~Face(); - int getV1(); - int getV2(); - int getV3(); + int getV1(); + int getV2(); + int getV3(); -protected: - int vertex_1_index; - int vertex_2_index; - int vertex_3_index; -}; + protected: + int vertex_1_index; + int vertex_2_index; + int vertex_3_index; + }; +} #endif // FACE_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libSavitar-4.1.0/src/SavitarExport.h new/libSavitar-4.4.1/src/SavitarExport.h --- old/libSavitar-4.1.0/src/SavitarExport.h 2019-04-17 16:58:53.000000000 +0200 +++ new/libSavitar-4.4.1/src/SavitarExport.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -/* - * This file is part of libSavitar - * - * Copyright (C) 2017 Ultimaker b.v. <[email protected]> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef SAVITAR_EXPORT_H -#define SAVITAR_EXPORT_H - -#if _WIN32 - #ifdef MAKE_SAVITAR_LIB - #define SAVITAR_EXPORT __declspec(dllexport) - #else - #define SAVITAR_EXPORT - #endif -#else - #define SAVITAR_EXPORT -#endif - -#endif ++++++ libSavitar.obsinfo ++++++ --- /var/tmp/diff_new_pack.3YYdkn/_old 2020-01-03 17:36:54.091293113 +0100 +++ /var/tmp/diff_new_pack.3YYdkn/_new 2020-01-03 17:36:54.091293113 +0100 @@ -1,5 +1,5 @@ name: libSavitar -version: 4.1.0 -mtime: 1555513133 -commit: ab1ce1c75eb98329b52ad01864e3aa32014eecb6 +version: 4.4.1 +mtime: 1568712887 +commit: 4e0baf3207943b0459268dd60c88888dea44f0a3
