Hello community, here is the log from the commit of package libebml for openSUSE:Factory checked in at 2019-07-12 11:58:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libebml (Old) and /work/SRC/openSUSE:Factory/.libebml.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libebml" Fri Jul 12 11:58:55 2019 rev:45 rq:714449 version:1.3.9 Changes: -------- --- /work/SRC/openSUSE:Factory/libebml/libebml.changes 2019-04-18 13:55:46.687942677 +0200 +++ /work/SRC/openSUSE:Factory/.libebml.new.4615/libebml.changes 2019-07-12 11:58:56.520176100 +0200 @@ -1,0 +2,6 @@ +Wed Jul 10 13:44:41 UTC 2019 - Ferdinand Thiessen <[email protected]> + +- Update to version 1.3.9: + * Some build system related changes + +------------------------------------------------------------------- Old: ---- libebml-1.3.7.tar.xz New: ---- libebml-1.3.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libebml.spec ++++++ --- /var/tmp/diff_new_pack.IjbCvo/_old 2019-07-12 11:58:57.404175867 +0200 +++ /var/tmp/diff_new_pack.IjbCvo/_new 2019-07-12 11:58:57.404175867 +0200 @@ -18,7 +18,7 @@ %define soname 4 Name: libebml -Version: 1.3.7 +Version: 1.3.9 Release: 0 Summary: Library to parse EBML (Extensible Binary Markup Language) files License: LGPL-2.1-or-later @@ -74,7 +74,7 @@ %files devel %{_libdir}/libebml.so %{_libdir}/pkgconfig/*.pc -%{_libdir}/cmake/ebml +%{_libdir}/cmake/EBML %{_includedir}/ebml/ %changelog ++++++ libebml-1.3.7.tar.xz -> libebml-1.3.9.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/CMakeLists.txt new/libebml-1.3.9/CMakeLists.txt --- old/libebml-1.3.7/CMakeLists.txt 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/CMakeLists.txt 2019-05-27 15:45:29.000000000 +0200 @@ -1,9 +1,10 @@ cmake_minimum_required(VERSION 3.1.2) -project(ebml VERSION 1.3.7) +project(ebml VERSION 1.3.9) option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF) option(DISABLE_CMAKE_CONFIG "Disable CMake package config module generation" OFF) +option(ENABLE_WIN32_IO "Build the Windows I/O helper class" OFF) include(GNUInstallDirs) @@ -32,6 +33,11 @@ src/SafeReadIOCallback.cpp src/StdIOCallback.cpp) +if(WIN32 AND ENABLE_WIN32_IO) + list(APPEND libebml_SOURCES + src/platform/win32/WinIOCallback.cpp) +endif() + set(libebml_PUBLIC_HEADERS ebml/Debug.h ebml/EbmlBinary.h @@ -74,31 +80,36 @@ set_target_properties(ebml PROPERTIES VERSION 4.0.0 SOVERSION 4) -target_include_directories(ebml PUBLIC - $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> - $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) +target_include_directories(ebml + PRIVATE + $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> + PUBLIC + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> + $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) if(MSVC) target_compile_definitions(ebml PRIVATE _CRT_SECURE_NO_WARNINGS) endif() -if(BUILD_SHARED_LIBS) - set_target_properties(ebml - PROPERTIES - DEFINE_SYMBOL "EBML_DLL_EXPORT" - C_VISIBILITY_PRESET hidden - VISIBILITY_INLINES_HIDDEN 1) - target_compile_definitions(ebml - PUBLIC EBML_DLL - PRIVATE EBML_DLL_EXPORT) + +include(GenerateExportHeader) +generate_export_header(ebml EXPORT_MACRO_NAME EBML_DLL_API) +target_sources(ebml + PRIVATE + ${CMAKE_CURRENT_BINARY_DIR}/ebml_export.h +) + +if(NOT BUILD_SHARED_LIBS) + target_compile_definitions(ebml PUBLIC EBML_STATIC_DEFINE) endif() install(TARGETS ebml - EXPORT EbmlTargets + EXPORT EBMLTargets RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) install(FILES ${libebml_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ebml) install(FILES ${libebml_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ebml/c) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ebml_export.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ebml) if(NOT DISABLE_PKGCONFIG) set(prefix ${CMAKE_INSTALL_PREFIX}) @@ -111,16 +122,14 @@ endif() if(NOT DISABLE_CMAKE_CONFIG) - if(WIN32) - set(CMAKE_INSTALL_PACKAGEDIR cmake) - else() - set(CMAKE_INSTALL_PACKAGEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) - endif() + set(CMAKE_INSTALL_PACKAGEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/EBML) include(CMakePackageConfigHelpers) - write_basic_package_version_file(EbmlConfigVersion.cmake COMPATIBILITY SameMajorVersion) - install(EXPORT EbmlTargets DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}) + configure_package_config_file(EBMLConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/EBMLConfig.cmake + INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}) + write_basic_package_version_file(EBMLConfigVersion.cmake COMPATIBILITY SameMajorVersion) + install(EXPORT EBMLTargets NAMESPACE EBML:: DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}) install(FILES - ${CMAKE_CURRENT_SOURCE_DIR}/EbmlConfig.cmake - ${CMAKE_CURRENT_BINARY_DIR}/EbmlConfigVersion.cmake + ${CMAKE_CURRENT_BINARY_DIR}/EBMLConfig.cmake + ${CMAKE_CURRENT_BINARY_DIR}/EBMLConfigVersion.cmake DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/ChangeLog new/libebml-1.3.9/ChangeLog --- old/libebml-1.3.7/ChangeLog 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/ChangeLog 2019-05-27 15:45:29.000000000 +0200 @@ -1,3 +1,21 @@ +2019-05-27 Moritz Bunkus <[email protected]> + + * Released v1.3.9. + +2019-05-27 evpobr <[email protected]> + + * Build system: fixed symbol visibility issue causing linker + failures since 1.3.8. + +2019-05-25 Moritz Bunkus <[email protected]> + + * Released v1.3.8. + +2019-05-19 evpobr <[email protected]> + + * Build system: various fixes to the cmake rules regarding + visibility, naming and building DLLs on Windows. + 2019-03-12 Moritz Bunkus <[email protected]> * Released v1.3.7. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/EBMLConfig.cmake.in new/libebml-1.3.9/EBMLConfig.cmake.in --- old/libebml-1.3.7/EBMLConfig.cmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/libebml-1.3.9/EBMLConfig.cmake.in 2019-05-27 15:45:29.000000000 +0200 @@ -0,0 +1,5 @@ +@PACKAGE_INIT@ + +include(${CMAKE_CURRENT_LIST_DIR}/EBMLTargets.cmake) + +check_required_components(EBML) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/EbmlConfig.cmake new/libebml-1.3.9/EbmlConfig.cmake --- old/libebml-1.3.7/EbmlConfig.cmake 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/EbmlConfig.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -include(${CMAKE_CURRENT_LIST_DIR}/EbmlTargets.cmake) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/ebml/EbmlConfig.h new/libebml-1.3.9/ebml/EbmlConfig.h --- old/libebml-1.3.7/ebml/EbmlConfig.h 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/ebml/EbmlConfig.h 2019-05-27 15:45:29.000000000 +0200 @@ -40,6 +40,8 @@ #include "config.h" #endif +#include "ebml_export.h" + #if defined(__linux__) #include <endian.h> #if __BYTE_ORDER == __LITTLE_ENDIAN @@ -71,28 +73,6 @@ #endif // NO_NAMESPACE -// There are special implementations for certain platforms. For example on Windows -// we use the Win32 file API. here we set the appropriate macros. -#if defined(_WIN32)||defined(WIN32) - -# if defined(EBML_DLL) -# if defined(EBML_DLL_EXPORT) -# define EBML_DLL_API __declspec(dllexport) -# else // EBML_DLL_EXPORT -# define EBML_DLL_API __declspec(dllimport) -# endif // EBML_DLL_EXPORT -# else // EBML_DLL -# define EBML_DLL_API -# endif // EBML_DLL - -# ifdef _MSC_VER -# pragma warning(disable:4786) // length of internal identifiers -# endif // _MSC_VER -#else -# define EBML_DLL_API -#endif // WIN32 || _WIN32 - - #ifndef countof #define countof(x) (sizeof(x)/sizeof(x[0])) #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/ebml/EbmlVersion.h new/libebml-1.3.9/ebml/EbmlVersion.h --- old/libebml-1.3.7/ebml/EbmlVersion.h 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/ebml/EbmlVersion.h 2019-05-27 15:45:29.000000000 +0200 @@ -42,10 +42,10 @@ START_LIBEBML_NAMESPACE -#define LIBEBML_VERSION 0x010307 +#define LIBEBML_VERSION 0x010309 -extern const std::string EbmlCodeVersion; -extern const std::string EbmlCodeDate; +extern const EBML_DLL_API std::string EbmlCodeVersion; +extern const EBML_DLL_API std::string EbmlCodeDate; /*! \todo Closer relation between an element and the context it comes from (context is an element attribute ?) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/ebml/SafeReadIOCallback.h new/libebml-1.3.9/ebml/SafeReadIOCallback.h --- old/libebml-1.3.7/ebml/SafeReadIOCallback.h 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/ebml/SafeReadIOCallback.h 2019-05-27 15:45:29.000000000 +0200 @@ -45,7 +45,7 @@ class EBML_DLL_API SafeReadIOCallback { public: - class EndOfStreamX { + class EBML_DLL_API EndOfStreamX { public: size_t mMissingBytes; EndOfStreamX(std::size_t MissingBytes); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/libebml.proj new/libebml-1.3.9/libebml.proj --- old/libebml-1.3.7/libebml.proj 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/libebml.proj 2019-05-27 15:45:29.000000000 +0200 @@ -13,7 +13,7 @@ LIB ebml { - PROJECT_VERSION 1.3.7 + PROJECT_VERSION 1.3.9 USE libebml_coremake_automake INCLUDE . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/src/EbmlMaster.cpp new/libebml-1.3.9/src/EbmlMaster.cpp --- old/libebml-1.3.7/src/EbmlMaster.cpp 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/src/EbmlMaster.cpp 2019-05-27 15:45:29.000000000 +0200 @@ -253,9 +253,9 @@ if (FindElt(EBML_CTX_IDX_INFO(Context,EltIdx)) == NULL) { std::string missingElement; missingElement = "Missing element \""; - missingElement.append(EBML_INFO_NAME(EBML_CTX_IDX_INFO(Context,EltIdx))); + missingElement.append(EBML_INFO_NAME(EBML_CTX_IDX_INFO(Context,EltIdx))); missingElement.append("\" in EbmlMaster \""); - missingElement.append(EBML_INFO_NAME(*EBML_CTX_MASTER(Context))); + missingElement.append(EBML_INFO_NAME(*EBML_CTX_MASTER(Context))); missingElement.append("\""); missingElements.push_back(missingElement); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libebml-1.3.7/src/EbmlVersion.cpp new/libebml-1.3.9/src/EbmlVersion.cpp --- old/libebml-1.3.7/src/EbmlVersion.cpp 2019-03-12 20:27:42.000000000 +0100 +++ new/libebml-1.3.9/src/EbmlVersion.cpp 2019-05-27 15:45:29.000000000 +0200 @@ -38,7 +38,7 @@ START_LIBEBML_NAMESPACE -const std::string EbmlCodeVersion = "1.3.7"; +const std::string EbmlCodeVersion = "1.3.9"; // Up to version 1.3.3 this library exported a build date string. As // this made the build non-reproducible, replace it by a placeholder to
