#1 Update to renderdoc 1.6
Merged 4 years ago by gicmo. Opened 4 years ago by gicmo.
rpms/ gicmo/renderdoc v16  into  master

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

  /swig-modified-6.tar.gz

  /renderdoc-1.5.tar.gz

  /swig-modified-7.tar.gz

+ /renderdoc-1.6.tar.gz

file added
+77
@@ -0,0 +1,77 @@ 

+ From 29403836c60fd8d61325e9972d3a56d8b0ff0178 Mon Sep 17 00:00:00 2001

+ From: Jeremy Ong <jeremycong@gmail.com>

+ Date: Thu, 16 Jan 2020 12:40:20 -0700

+ Subject: [PATCH] Fix numerous compiler warnings and errors

+ 

+ Depending on OS and compiler, certain types may not be included

+ transitively by headers that were included previously. This commit

+ produces a clean build on the latest trunk versions of GCC, Clang,

+ and QT.

+ ---

+  renderdoc/common/dds_readwrite.h            | 1 +

+  renderdoc/core/core.h                       | 1 +

+  renderdoc/os/os_specific.h                  | 1 +

+  renderdoc/os/posix/linux/linux_stringio.cpp | 1 +

+  renderdoc/strings/utf8printf.cpp            | 1 +

+  5 files changed, 5 insertions(+)

+ 

+ diff --git a/renderdoc/common/dds_readwrite.h b/renderdoc/common/dds_readwrite.h

+ index a718889a1..0723057fd 100644

+ --- a/renderdoc/common/dds_readwrite.h

+ +++ b/renderdoc/common/dds_readwrite.h

+ @@ -24,6 +24,7 @@

+  

+  #pragma once

+  

+ +#include <stdio.h>

+  #include "api/replay/data_types.h"

+  

+  struct dds_data

+ diff --git a/renderdoc/core/core.h b/renderdoc/core/core.h

+ index 0f7df0726..4440714df 100644

+ --- a/renderdoc/core/core.h

+ +++ b/renderdoc/core/core.h

+ @@ -26,6 +26,7 @@

+  #pragma once

+  

+  #include <stdint.h>

+ +#include <stdio.h>

+  #include <map>

+  #include "api/app/renderdoc_app.h"

+  #include "api/replay/apidefs.h"

+ diff --git a/renderdoc/os/os_specific.h b/renderdoc/os/os_specific.h

+ index 5191bcaea..b5f796d59 100644

+ --- a/renderdoc/os/os_specific.h

+ +++ b/renderdoc/os/os_specific.h

+ @@ -34,6 +34,7 @@

+  #include <stdarg.h>

+  #include <stddef.h>

+  #include <stdint.h>

+ +#include <stdio.h>

+  #include <functional>

+  #include "api/replay/rdcarray.h"

+  #include "api/replay/rdcpair.h"

+ diff --git a/renderdoc/os/posix/linux/linux_stringio.cpp b/renderdoc/os/posix/linux/linux_stringio.cpp

+ index 27b25476c..d0def39f0 100644

+ --- a/renderdoc/os/posix/linux/linux_stringio.cpp

+ +++ b/renderdoc/os/posix/linux/linux_stringio.cpp

+ @@ -22,6 +22,7 @@

+   * THE SOFTWARE.

+   ******************************************************************************/

+  

+ +#include <ctype.h>

+  #include <dlfcn.h>

+  #include <errno.h>

+  #include <iconv.h>

+ diff --git a/renderdoc/strings/utf8printf.cpp b/renderdoc/strings/utf8printf.cpp

+ index d09fd2d64..254841d22 100644

+ --- a/renderdoc/strings/utf8printf.cpp

+ +++ b/renderdoc/strings/utf8printf.cpp

+ @@ -22,6 +22,7 @@

+   * THE SOFTWARE.

+   ******************************************************************************/

+  

+ +#include <wchar.h>

+  #include "common/common.h"

+  #include "os/os_specific.h"

+  

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

  %global vswig   modified-7

  Name:           renderdoc

- Version:        1.5

- Release:        2%{?dist}

+ Version:        1.6

+ Release:        1%{?dist}

  Summary:        A stand-alone graphics debugging tool

  

  License:        MIT
@@ -10,6 +10,7 @@ 

  Source1:        https://github.com/baldurk/swig/archive/renderdoc-%{vswig}/swig-%{vswig}.tar.gz

  

  Patch0:         cmake-py38.patch

+ Patch1:         gcc-libsdc-10.patch

  # plthook library, used by renderdoc is only supported on x86

  ExclusiveArch: %{ix86} x86_64

  
@@ -20,6 +21,7 @@ 

  

  # for the renderdoc itself

  BuildRequires:  cmake

+ BuildRequires:  make

  BuildRequires:  desktop-file-utils

  BuildRequires:  pkgconfig(vulkan)

  BuildRequires:  bison
@@ -49,8 +51,7 @@ 

  renderdoc.

  

  %prep

- %setup -q -n %{name}-%{version}

- %patch0 -p1

+ %autosetup -p1 -n %{name}-%{version}

  

  %build

  mkdir -p build
@@ -99,6 +100,12 @@ 

  

  

  %changelog

+ * Wed Feb  5 2020 Christian Kellner <ckellner@redhat.com> - 1.6-1

+ - New upstream release (1.6)

+   Resolves: rhbz#1792068

+ - Include patch to fix compilation on gcc10

+   https://github.com/baldurk/renderdoc/commit/29403836c60fd8d61325e9972d3a56d8b0ff0178

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2

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

  

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

- SHA512 (renderdoc-1.5.tar.gz) = 771d406a7a946a8ff34f1466feaf33ec0271f48d4ba06b37c59e011ffaaede3b8f608c8de4145b3a40259d643f33041f721f5aadaffefbe5ae5116399485049d

+ SHA512 (renderdoc-1.6.tar.gz) = 455c29dbd81bff468a3a0878d123b516c587dfc342ad308af9a6f25822c63bcd6ce2db7ed05b216c50409e6871220d52d2bd42e8806c19aabeeb80ec9a0bf471

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