#3 Update to version 1.16 and disable LTO to fix crashes
Merged 2 years ago by ngompa. Opened 2 years ago by ngompa.
rpms/ ngompa/renderdoc update-to-1.16  into  rawhide

file modified
+1
@@ -10,3 +10,4 @@ 

  /renderdoc-1.6.tar.gz

  /renderdoc-1.8.tar.gz

  /renderdoc-1.10.tar.gz

+ /renderdoc-1.16.tar.gz

file modified
+17 -4
@@ -1,7 +1,7 @@ 

  %global vswig   modified-7

  Name:           renderdoc

- Version:        1.10

- Release:        4%{?dist}

+ Version:        1.16

+ Release:        1%{?dist}

  Summary:        A stand-alone graphics debugging tool

  

  License:        MIT
@@ -24,9 +24,11 @@ 

  BuildRequires:  pkgconfig(vulkan)

  BuildRequires:  bison

  BuildRequires:  pkgconfig(python3)

+ BuildRequires:  pkgconfig(wayland-client)

  BuildRequires:  pkgconfig(x11)

  BuildRequires:  pkgconfig(xcb)

  BuildRequires:  pkgconfig(xcb-keysyms)

+ BuildRequires:  pkgconfig(egl)

  BuildRequires:  pkgconfig(gl)

  BuildRequires:  pkgconfig(Qt5)

  BuildRequires:  pkgconfig(Qt5X11Extras)
@@ -57,17 +59,22 @@ 

  # __cmake_in_source_build macro needs to be undefined.

  %undefine __cmake_in_source_build

  

+ # compiling renderdoc with lto currently leads to crashes

+ # https://github.com/baldurk/renderdoc/issues/2373

+ %define _lto_cflags %{nil}

+ 

  %cmake -DQMAKE_QT5_COMMAND=qmake-qt5 \

         -DRENDERDOC_SWIG_PACKAGE=%{SOURCE1} \

         -DENABLE_GL=ON \

         -DENABLE_VULKAN=ON \

+        -DENABLE_WAYLAND=ON \

         -DENABLE_RENDERDOCCMD=ON \

         -DENABLE_QRENDERDOC=ON \

         -DBUILD_VERSION_STABLE=ON \

         -DBUILD_VERSION_DIST_NAME="fedora" \

         -DBUILD_DISTRIBUTION_VERSION="%{version}-%{release}" \

         -DBUILD_VERSION_DIST_CONTACT="https://bugzilla.redhat.com" \

-        -DCMAKE_INSTALL_PREFIX=/usr \

+        -DCMAKE_INSTALL_PREFIX=%{_prefix} \

         -DLIB_SUBFOLDER=renderdoc \

         -DVULKAN_LAYER_FOLDER=/usr/share/vulkan/implicit_layer.d \

         -DCMAKE_BUILD_TYPE=Release \
@@ -96,10 +103,16 @@ 

  %{_datadir}/vulkan/implicit_layer.d/%{name}_capture.json

  

  %files devel

- %{_includedir}/%{name}.h

+ %{_includedir}/%{name}_app.h

  

  

  %changelog

+ * Sat Nov 06 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.16-1

+ - Update to version 1.16

+   Resolves: #1902340

+ - Disable LTO to fix crashes

+   Resolves: #1955122

+ 

  * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

  

file modified
+1 -1
@@ -1,2 +1,2 @@ 

- SHA512 (renderdoc-1.10.tar.gz) = 181934d5eac179451e0e9e708960d119b33184ba6ab81db504144709ecb47e8abb8543d3f32267ba3804751613bc7003480e2eab7b66af63aeb4b2b1329f3cbf

+ SHA512 (renderdoc-1.16.tar.gz) = 05338b9a7ebc159d94f6164449fc8fe3f659119552fb665b71a32a9aec2b6b0b31705fd39178bb44a0e721a7dbc5425b6abf4822471ae5802f734031003443ad

  SHA512 (swig-modified-7.tar.gz) = 5285a65924c069cfb9f73104ad8a95251badac4001293a1757b97ebead5953730c03289159741f82da4c5afe4f61f7c826b105eaf82df044ed2fa21810242c86

Pull-Request has been merged by ngompa

2 years ago

Thanks so much for this!