Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpuvis for openSUSE:Factory checked 
in at 2023-03-24 15:21:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpuvis (Old)
 and      /work/SRC/openSUSE:Factory/.gpuvis.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpuvis"

Fri Mar 24 15:21:42 2023 rev:4 rq:1074145 version:20230221

Changes:
--------
--- /work/SRC/openSUSE:Factory/gpuvis/gpuvis.changes    2022-01-27 
23:18:49.438208361 +0100
+++ /work/SRC/openSUSE:Factory/.gpuvis.new.31432/gpuvis.changes 2023-03-24 
15:21:54.275352050 +0100
@@ -1,0 +2,8 @@
+Fri Mar 24 10:21:40 UTC 2023 - Patrik Jakobsson <patrik.jakobs...@suse.com>
+
+- Update to version 20230221 (a0ca7a9d4a126f0ad382699010cdf15562afc307)
+  * Fix compilation with latest version of igt
+  * Fix build using meson and not vendor rapidjson
+  * 0001-gpuvis_macro.h-needs-to-include-stdint.h.patch Fix compile error
+
+-------------------------------------------------------------------

Old:
----
  rapidjson.tar.gz

New:
----
  0001-gpuvis_macro.h-needs-to-include-stdint.h.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gpuvis.spec ++++++
--- /var/tmp/diff_new_pack.5qmOjB/_old  2023-03-24 15:21:54.835354970 +0100
+++ /var/tmp/diff_new_pack.5qmOjB/_new  2023-03-24 15:21:54.839354992 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gpuvis
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,24 @@
 #
 
 
-%define rapidjson_commit 1c2c8e085a8b2561dff17bedb689d2eb0609b689
+%define commit a0ca7a9d4a126f0ad382699010cdf15562afc307
 
 Name:           gpuvis
-Version:        0.1
+Version:        20230221
 Release:        0
 Summary:        GPU Trace Visualizer
 License:        MIT
 Group:          Development/Tools/Debuggers
 URL:            https://github.com/mikesart/gpuvis
-Source0:        
https://github.com/mikesart/gpuvis/archive/v%{version}/gpuvis.tar.gz
-Source1:        
https://github.com/Tencent/rapidjson/archive/%{rapidjson_commit}/rapidjson.tar.gz
+Source0:        
https://github.com/mikesart/gpuvis/archive/%{commit}/gpuvis.tar.gz
+Patch0:         0001-gpuvis_macro.h-needs-to-include-stdint.h.patch
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  gtk3-devel
 BuildRequires:  libSDL2-devel
 BuildRequires:  meson
 BuildRequires:  ninja
+BuildRequires:  rapidjson-devel
 %ifarch %{ix86} x86_64
 %if 0%{?suse_version} > 1530
 BuildRequires:  intel-gpu-tools-devel
@@ -43,9 +44,8 @@
 Gpuvis is a Linux GPU profiler similar to GPUView on Windows. It is designed 
to work with trace-cmd captures and help track down Linux gpu and application 
performance issues.
 
 %prep
-%setup -q -n gpuvis-%{version}
-mkdir -p lib/rapidjson
-tar -xf %{_sourcedir}/rapidjson.tar.gz --strip 1  -C lib/rapidjson
+%setup -q -n gpuvis-%{commit}
+%patch0 -p1
 
 %build
 %meson \

++++++ 0001-gpuvis_macro.h-needs-to-include-stdint.h.patch ++++++
>From df6faf200282f078605c920eae888b3f1ab0dfc6 Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <pjakobs...@suse.de>
Date: Fri, 24 Mar 2023 10:57:24 +0100
Subject: [PATCH] gpuvis_macro.h needs to include stdint.h

Signed-off-by: Patrik Jakobsson <pjakobs...@suse.de>
---
 src/gpuvis_macros.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gpuvis_macros.h b/src/gpuvis_macros.h
index 9a6974c..3574dbd 100644
--- a/src/gpuvis_macros.h
+++ b/src/gpuvis_macros.h
@@ -24,6 +24,8 @@
 #ifndef GPUVIS_MACROS_H_
 #define GPUVIS_MACROS_H_
 
+#include <stdint.h>
+
 // Disable gpuvis ftrace tracing by default
 #define GPUVIS_TRACE_UTILS_DISABLE
 #include "../sample/gpuvis_trace_utils.h"
-- 
2.40.0


++++++ gpuvis.tar.gz ++++++
++++ 25775 lines of diff (skipped)

Reply via email to