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-10-20 12:40:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/draco (Old) and /work/SRC/openSUSE:Factory/.draco.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "draco" Tue Oct 20 12:40:00 2026 rev:5 rq:1386228 version:1.5.9 Changes: -------- --- /work/SRC/openSUSE:Factory/draco/draco.changes 2026-07-17 18:51:07.856604757 +0200 +++ /work/SRC/openSUSE:Factory/.draco.new.3698736/draco.changes 2026-10-20 12:41:28.390401648 +0200 @@ -1,0 +2,24 @@ +Sun Oct 18 05:57:59 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 1.5.9 (includes 1.5.8 changes): + * Experimental AOMedia Polygonal Mesh Coding (PMC) in glTF and + the draco_transcoder tool (off by default) + * New supported glTF extensions: KHR_materials_emissive_strength, + KHR_materials_iridescence, KHR_materials_anisotropy, + KHR_materials_diffuse_transmission, KHR_animation_pointer, + KHR_interactivity + * Read big-endian binary PLY files; signed integer attribute + types and normalized attributes in glTF; unlimited texture + coordinate attributes + * Security hardening (no CVE IDs assigned upstream): bounds + checks in mesh prediction scheme and sequential mesh decoders, + the rANS entropy decoder and the STL/PLY/OBJ readers against + crafted-file heap over-reads + * 1.5.9 additionally fixes the JavaScript/WASM decoder builds +- Drop draco-gcc15.patch, fixed upstream +- Rebase disable-static-library.patch for the PMC-aware shared + library block +- Soname 9 -> 11: rename libdraco9 subpackage to libdraco11 +- Spec cleanup: drop Group tags, use %ldconfig_scriptlets + +------------------------------------------------------------------- Old: ---- draco-1.5.7.tar.gz draco-gcc15.patch New: ---- draco-1.5.9.tar.gz ----------(Old B)---------- Old: * 1.5.9 additionally fixes the JavaScript/WASM decoder builds - Drop draco-gcc15.patch, fixed upstream - Rebase disable-static-library.patch for the PMC-aware shared ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ draco.spec ++++++ --- /var/tmp/diff_new_pack.TKFOSG/_old 2026-10-20 12:41:29.984468363 +0200 +++ /var/tmp/diff_new_pack.TKFOSG/_new 2026-10-20 12:41:29.986468447 +0200 @@ -18,20 +18,17 @@ %define build_gtest 1 %define commit ff233bdd4cac0a0bf6e5cd45bda3406814cb2796 -%define lname libdraco9 +%define lname libdraco11 Name: draco -Version: 1.5.7 +Version: 1.5.9 Release: 0 Summary: Library for compressing and decompressing 3D geometric meshes and point clouds License: Apache-2.0 -Group: Productivity/Archiving/Compression URL: https://google.github.io/draco Source0: https://github.com/google/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz 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 +# PATCH-OPENSUSE do not build static libraries unconditionally +Patch0: disable-static-library.patch BuildRequires: cmake >= 3.12 BuildRequires: gcc-c++ BuildRequires: help2man @@ -48,7 +45,6 @@ %package -n %{lname} Summary: Library for compressing and decompressing 3D geometric meshes and point clouds -Group: System/Libraries %description -n %{lname} Draco is a library for compressing and decompressing 3D geometric meshes @@ -57,7 +53,6 @@ %package devel Summary: Development files for %{name} -Group: Development/Libraries/C and C++ Requires: %{lname} = %{version}-%{release} %description devel @@ -98,8 +93,7 @@ build/draco_tests %endif -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{lname} %files %doc AUTHORS README.md ++++++ disable-static-library.patch ++++++ --- /var/tmp/diff_new_pack.TKFOSG/_old 2026-10-20 12:41:30.011469493 +0200 +++ /var/tmp/diff_new_pack.TKFOSG/_new 2026-10-20 12:41:30.014469619 +0200 @@ -1,18 +1,18 @@ -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 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: openSUSE Packaging <[email protected]> +Date: Sun, 18 Oct 2026 07:55:00 +0000 +Subject: [PATCH] Build shared library only when BUILD_SHARED_LIBS is ON ---- - CMakeLists.txt | 20 ++++++++++---------- - cmake/draco_install.cmake | 9 +++++---- - 2 files changed, 15 insertions(+), 14 deletions(-) +Do not build the static library unconditionally: when shared libs are +enabled, link the shared library directly against the object libraries +instead of via the static archive; build the static library only when +shared libs are off. Rebased for 1.5.9 (PMC codec support changed the +shared-library block). -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e7b8f1521..597a77acf 100644 +--- --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1029,15 +1029,6 @@ else() +@@ -1010,17 +1010,8 @@ add_library(draco::draco ALIAS draco) else() @@ -26,15 +26,17 @@ - LIB_DEPS ${draco_lib_deps}) - if(BUILD_SHARED_LIBS) - draco_add_library( - NAME draco_shared -@@ -1046,10 +1037,19 @@ else() +- set(draco_shared_lib_deps draco_static) ++ set(draco_shared_lib_deps ${draco_lib_deps}) + if(DRACO_PMC_SUPPORTED) + list(APPEND draco_shared_lib_deps pmc) + endif() +@@ -1031,10 +1022,19 @@ TYPE SHARED DEFINES ${draco_defines} INCLUDES ${draco_include_paths} -- LIB_DEPS draco_static) + OBJLIB_DEPS ${draco_object_library_deps} -+ LIB_DEPS ${draco_lib_deps}) + LIB_DEPS ${draco_shared_lib_deps}) add_library(draco::draco ALIAS draco_shared) set_target_properties(draco_shared PROPERTIES EXPORT_NAME draco) else() @@ -49,11 +51,9 @@ 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) +@@ -67,11 +67,6 @@ ARCHIVE DESTINATION "${libs_path}" LIBRARY DESTINATION "${libs_path}") else() @@ -61,10 +61,11 @@ - TARGETS draco_static - EXPORT dracoExport - DESTINATION "${libs_path}") - +- if(BUILD_SHARED_LIBS) install( -@@ -78,6 +74,11 @@ macro(draco_setup_install_target) + TARGETS draco_shared +@@ -79,6 +74,11 @@ RUNTIME DESTINATION "${bin_path}" ARCHIVE DESTINATION "${libs_path}" LIBRARY DESTINATION "${libs_path}") ++++++ draco-1.5.7.tar.gz -> draco-1.5.9.tar.gz ++++++ /work/SRC/openSUSE:Factory/draco/draco-1.5.7.tar.gz /work/SRC/openSUSE:Factory/.draco.new.3698736/draco-1.5.9.tar.gz differ: char 13, line 1
