Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apitrace for openSUSE:Factory checked in at 2025-07-01 11:34:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apitrace (Old) and /work/SRC/openSUSE:Factory/.apitrace.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apitrace" Tue Jul 1 11:34:03 2025 rev:4 rq:1289183 version:13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/apitrace/apitrace.changes 2024-08-21 23:27:56.542403095 +0200 +++ /work/SRC/openSUSE:Factory/.apitrace.new.7067/apitrace.changes 2025-07-01 11:35:00.783445270 +0200 @@ -1,0 +2,67 @@ +Sun Jun 29 17:41:33 UTC 2025 - Richard Rahl <rra...@opensuse.org> + +- update to 13.0: + * Some fixes related to the MRs I opened earlier + * Add support for GL_EXT_texture_compression_astc_decode_mode + * Add support for profiling with EXT_disjoint_timer_query + * Minor fixes and additions to opengl trace + * OVR_multiview extension support + * retrace: Use right API calls when using EXT_disjoint_timer_query + * Explicit header: stdint + * retrace: Fix GPU Duration calculation + * specs: Fix pUAVInitialCounts array element count of + * D3D11DeviceContext::OMSetRenderTargetsAndUnorderedAccessViews + * fix snappy detection, use build_testing for gtest detection too + * d3d9retrace: Adjust presentation interval when forcing windowed mode + * fix qt-6.9 + * D3D8/9: Decode AL16 and R16 FOURCC formats +- update to 12.0: + * cli: be more verbose about what GL api means on Linux/Mac + * Fix a crash in retrace_glXChooseFBConfig + * gltrim: retain objects in the last frame that were created in earlier frames + * gltrim: handle a few more EGL calls + * docs: update attachment procedure for trace + * implement versioning support + * Submitted handle wgl and more gl45 + * Fix bug in _EGLImageKHR_get_image_info + * Retrace: Add retrace watchdog flag + * gui: Address deprecation warnings + * gui: Add icon + * d3d8trace: Remap shader handles + * d3d8trace: Remap state block handles + * Gltrim skip while looping + * #848. All three states of GL_ATI_mem_info are int x 4 arrays + * #848. Check for buffer overflow in case of scalar glGet[Integer]v + * #850. Add a bit of excessive space in image buffer + * gltrim: Add option to replace swaps in setup with glFinish + * Add missing calls to handle the GLES version of GravityMark + * Add envvar FLUSH_EVERY_MS. + * wrappers: add noexcept specification to DWriteCreateFactory + * cmake: enable LTO + * frametrimmer: split OpenGL implementation into a new class + * Implement a bunch of additional EGL extensions + * Bug fix in GUI + * Improve the layout of the retracer dialog + * retrace: call waffle_destroy_window on drawable destructor + * Avoid compilation error with ambiguous QString + QLatin1String + * gltrim: Fix trimmimg multi-threaded traces and fix a few calls + * Fake command line arguments during replay, so they match traced program's arguments + * Fix command line parsing for empty arguments + * Add option to append timestamp to generated trace filename + * Add support for EGL_DEBUG_KHR extension + * Display format modifiers as hexadecimal values + * Add support for fixed rate compression extensions +- update to 11.1: + * frametrim: fix active texture check compare + * gltrim: handle glFramebufferTexture3D and glMultiDrawElements + * implement ARB_create_context_no_error for GLX and WGL + * wrappers/glcaps: Check config availablility before dereferencing +- update to 11.0: + * nothing of relevance +- remove apitrace-fix-glibc-2.34.patch, as upstream fixed the issue +- switch the gui to Qt6 +- add patches 001-no-submodules.patch and 002-no-static-libbacktrace.patch, + as upstream prefers rather to use statically linked dependencies +- don't filter out glibc_private symbols + +------------------------------------------------------------------- Old: ---- apitrace-10.0.tar.gz apitrace-fix-glibc-2.34.patch New: ---- 001-no-submodules.patch 002-no-static-libbacktrace.patch apitrace-13.0.tar.gz ----------(Old B)---------- Old: * nothing of relevance - remove apitrace-fix-glibc-2.34.patch, as upstream fixed the issue - switch the gui to Qt6 ----------(Old E)---------- ----------(New B)---------- New:- switch the gui to Qt6 - add patches 001-no-submodules.patch and 002-no-static-libbacktrace.patch, as upstream prefers rather to use statically linked dependencies New:- switch the gui to Qt6 - add patches 001-no-submodules.patch and 002-no-static-libbacktrace.patch, as upstream prefers rather to use statically linked dependencies ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apitrace.spec ++++++ --- /var/tmp/diff_new_pack.sj8myp/_old 2025-07-01 11:35:01.491474609 +0200 +++ /var/tmp/diff_new_pack.sj8myp/_new 2025-07-01 11:35:01.491474609 +0200 @@ -1,7 +1,7 @@ # # spec file for package apitrace # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,28 @@ Name: apitrace -Version: 10.0 +Version: 13.0 Release: 0 Summary: Tools for tracing OpenGL License: MIT URL: https://apitrace.github.io/ Source0: https://github.com/apitrace/apitrace/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf -# https://github.com/apitrace/apitrace/issues/756 -Patch0: apitrace-fix-glibc-2.34.patch -BuildRequires: cmake >= 2.8.11 -BuildRequires: gcc-c++ >= 4.9 +Patch0: 001-no-submodules.patch +Patch1: 002-no-static-libbacktrace.patch +BuildRequires: c++_compiler +BuildRequires: cmake >= 3.15 +BuildRequires: libbacktrace-devel BuildRequires: libdwarf-devel BuildRequires: pkgconfig -BuildRequires: (pkgconfig(libprocps) or pkgconfig(libproc2)) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(Qt6Network) +BuildRequires: pkgconfig(Qt6Widgets) +BuildRequires: pkgconfig(gtest) +BuildRequires: pkgconfig(libbrotlienc) BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libproc2) +BuildRequires: pkgconfig(libunwind) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(snappy) BuildRequires: pkgconfig(waffle-1) @@ -63,28 +68,18 @@ %prep %autosetup -p1 -# Apitrace uses glibc private symbols -# and author claims they have good reasons to do so: -# https://github.com/apitrace/apitrace/issues/258 -# Hack find_requires to filter-out GLIBC_PRIVATE. -cat >my_find_requires <<EOF -#!/bin/sh -%{__find_requires} "$@" | grep -v GLIBC_PRIVATE -EOF -chmod +x my_find_requires -%global _use_internal_dependency_generator 0 -%global __find_requires %{_builddir}/%{name}-%{version}/my_find_requires - %build -%cmake -DENABLE_GUI=yes +export CXXFLAGS="%{optflags} -Wno-error=return-type" +%cmake -DENABLE_STATIC_SNAPPY=OFF -DENABLE_QT6=ON %cmake_build %install %cmake_install -sed -i 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' %{buildroot}%{_libdir}/%{name}/scripts/*.py -chmod -x %{buildroot}%{_libdir}/%{name}/scripts/highlight.py # We're packaging docs in files section -rm -r %{buildroot}%{_datadir}/doc/%{name}/ +rm -r %{buildroot}%{_datadir}/doc/%{name} + +# fix env +%python3_fix_shebang_path %{buildroot}%{_libdir}/%{name}/scripts/*.py %check %ctest @@ -92,12 +87,12 @@ %files %license LICENSE %doc README.markdown docs/BUGS.markdown docs/NEWS.markdown docs/USAGE.markdown +%dir %{_libdir}/%{name} %{_bindir}/apitrace %{_bindir}/eglretrace %{_bindir}/glretrace %{_bindir}/gltrim %{_bindir}/qapitrace -%dir %{_libdir}/%{name} %{_libdir}/%{name}/scripts/ %files wrappers ++++++ 001-no-submodules.patch ++++++ diff -rupN --no-dereference apitrace-12.0/thirdparty/CMakeLists.txt apitrace-12.0-new/thirdparty/CMakeLists.txt --- apitrace-12.0/thirdparty/CMakeLists.txt 2024-05-30 20:10:10.000000000 +0200 +++ apitrace-12.0-new/thirdparty/CMakeLists.txt 2025-01-23 23:55:41.199404804 +0100 @@ -16,25 +16,6 @@ function (include_with_scope) include (${ARGV}) endfunction () -set (SUBMODULES_MISSING FALSE) -foreach (path IN ITEMS - brotli/LICENSE - gtest/LICENSE - libbacktrace/LICENSE - libpng/LICENSE - snappy/COPYING - zlib/README - directxmath/LICENSE -) - if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${path}") - message (SEND_ERROR "error: ${CMAKE_CURRENT_SOURCE_DIR}/${path} does not exist") - set (SUBMODULES_MISSING TRUE) - endif () -endforeach () -if (SUBMODULES_MISSING) - message (FATAL_ERROR "Update Git submodules by running\ngit submodule update --init --depth 1 --recursive") -endif () - if (ENABLE_STATIC_SNAPPY OR NOT Snappy_FOUND) message (STATUS "Using bundled Snappy") include_with_scope (snappy.cmake) ++++++ 002-no-static-libbacktrace.patch ++++++ diff -rub apitrace-13.0/thirdparty/CMakeLists.txt apitrace-13.0-patched/thirdparty/CMakeLists.txt --- apitrace-13.0/thirdparty/CMakeLists.txt 2025-06-26 14:43:44.000000000 +0200 +++ apitrace-13.0-patched/thirdparty/CMakeLists.txt 2025-06-29 13:53:51.815981158 +0200 @@ -55,10 +55,6 @@ include_with_scope (brotli.cmake) endif () -if (CMAKE_EXECUTABLE_FORMAT STREQUAL "ELF") - include_with_scope (libbacktrace.cmake) -endif () - if (BUILD_TESTING) # We use non-standard C++ flags, so we can't just use GTest's CMakeLists.txt if (NOT GTEST_FOUND) ++++++ apitrace-10.0.tar.gz -> apitrace-13.0.tar.gz ++++++ ++++ 172697 lines of diff (skipped)