Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package draco for openSUSE:Factory checked in at 2026-07-17 18:49:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/draco (Old) and /work/SRC/openSUSE:Factory/.draco.new.24530 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "draco" Fri Jul 17 18:49:42 2026 rev:4 rq:1366369 version:1.5.7 Changes: -------- --- /work/SRC/openSUSE:Factory/draco/draco.changes 2025-08-04 15:26:25.338025028 +0200 +++ /work/SRC/openSUSE:Factory/.draco.new.24530/draco.changes 2026-07-17 18:51:07.856604757 +0200 @@ -1,0 +2,7 @@ +Wed Jul 15 23:38:05 UTC 2026 - Marcus Rueckert <[email protected]> + +- Add disable-static-library.patch: + - disable building the static library + From https://github.com/google/draco/pull/1001/changes + +------------------------------------------------------------------- New: ---- disable-static-library.patch ----------(New B)---------- New: - Add disable-static-library.patch: - disable building the static library ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ draco.spec ++++++ --- /var/tmp/diff_new_pack.RMXkKQ/_old 2026-07-17 18:51:08.952641808 +0200 +++ /var/tmp/diff_new_pack.RMXkKQ/_new 2026-07-17 18:51:08.956641943 +0200 @@ -1,7 +1,7 @@ # # spec file for package draco # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Source1: https://github.com/google/googletest/archive/%{commit}.zip#/googletest-%{commit}.zip # https://github.com/google/draco/pull/1113 Patch0: draco-gcc15.patch +# PATCH-OPENSUSE do not build static libraries unconditionally taken from https://github.com/google/draco/pull/1001/changes +Patch1: disable-static-library.patch BuildRequires: cmake >= 3.12 BuildRequires: gcc-c++ BuildRequires: help2man @@ -80,7 +82,7 @@ %install %cmake_install -rm -v %{buildroot}/%{_libdir}/*.a +# rm -v %{buildroot}/%{_libdir}/*.a # Create missing man files downstream install -dm 0755 %{buildroot}%{_mandir}/man1 ++++++ disable-static-library.patch ++++++ >From b86055f97717acac2f477e0461be2d580887d008 Mon Sep 17 00:00:00 2001 From: topazus <[email protected]> Date: Sat, 27 Jan 2024 07:22:22 +0000 Subject: [PATCH] Build as shared library or static library --- CMakeLists.txt | 20 ++++++++++---------- cmake/draco_install.cmake | 9 +++++---- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7b8f1521..597a77acf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1029,15 +1029,6 @@ else() add_library(draco::draco ALIAS draco) else() - draco_add_library( - NAME draco_static - OUTPUT_NAME draco - TYPE STATIC - DEFINES ${draco_defines} - INCLUDES ${draco_include_paths} - OBJLIB_DEPS ${draco_object_library_deps} - LIB_DEPS ${draco_lib_deps}) - if(BUILD_SHARED_LIBS) draco_add_library( NAME draco_shared @@ -1046,10 +1037,19 @@ else() TYPE SHARED DEFINES ${draco_defines} INCLUDES ${draco_include_paths} - LIB_DEPS draco_static) + OBJLIB_DEPS ${draco_object_library_deps} + LIB_DEPS ${draco_lib_deps}) add_library(draco::draco ALIAS draco_shared) set_target_properties(draco_shared PROPERTIES EXPORT_NAME draco) else() + draco_add_library( + NAME draco_static + OUTPUT_NAME draco + TYPE STATIC + DEFINES ${draco_defines} + INCLUDES ${draco_include_paths} + OBJLIB_DEPS ${draco_object_library_deps} + LIB_DEPS ${draco_lib_deps}) add_library(draco::draco ALIAS draco_static) set_target_properties(draco_static PROPERTIES EXPORT_NAME draco) endif() diff --git a/cmake/draco_install.cmake b/cmake/draco_install.cmake index b9dda265a..f626accec 100644 --- a/cmake/draco_install.cmake +++ b/cmake/draco_install.cmake @@ -66,10 +66,6 @@ macro(draco_setup_install_target) ARCHIVE DESTINATION "${libs_path}" LIBRARY DESTINATION "${libs_path}") else() - install( - TARGETS draco_static - EXPORT dracoExport - DESTINATION "${libs_path}") if(BUILD_SHARED_LIBS) install( @@ -78,6 +74,11 @@ macro(draco_setup_install_target) RUNTIME DESTINATION "${bin_path}" ARCHIVE DESTINATION "${libs_path}" LIBRARY DESTINATION "${libs_path}") + else() + install( + TARGETS draco_static + EXPORT dracoExport + DESTINATION "${libs_path}") endif() endif()
