Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mangohud for openSUSE:Factory 
checked in at 2024-02-08 19:02:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mangohud (Old)
 and      /work/SRC/openSUSE:Factory/.mangohud.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mangohud"

Thu Feb  8 19:02:49 2024 rev:16 rq:1145060 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mangohud/mangohud.changes        2023-10-20 
23:21:12.376237967 +0200
+++ /work/SRC/openSUSE:Factory/.mangohud.new.1815/mangohud.changes      
2024-02-08 19:03:00.484926198 +0100
@@ -1,0 +2,30 @@
+Thu Feb  8 07:12:13 UTC 2024 - Joshua Smith <jsmith...@gmail.com>
+
+- Added implot to versioned directory to allow build
+- Update to version 0.7.1:
+  * Parameters:
+    - gamepad_battery has been reworked to device_battery. This
+      parameter current supports the values gamepad and mouse time
+      now has a title
+    - fps_metrics takes a decimal value or "avg". e.g avg,0.001 and
+      displays the metrics
+    - winesync shows the current implementation of synchronization
+      primitives. E.g ESYNC/FSYNC etc
+    - present_mode shows the current vulkan present mode or vsync
+      status in opengl
+  * Changes:
+    - added support for gpu load on Adreno GPUs
+    - added cpu temp for zenpower3 module
+    - meson option: mangoplot
+  * Fixes:
+    - xnvctrl: fix an issue that could cause crashing when
+    accessing gpu fan speed
+    - fixed an issue where no config present wouldn't use default
+      mangohud presets
+    - fixed a crashing issue with CS2
+    - reworked intel code. Should resolve some issues where
+      mangohud didn't shutting down properly when using intel gpu
+    - fix opengl runtime on musl libc systems
+    - fixed text_outline_color incorrectly using BGR instead of RGB
+
+-------------------------------------------------------------------

Old:
----
  imgui-1.81-1-wrap.zip
  imgui-1.81.tar.gz
  mangohud-0.7.0.tar.gz
  v1.2.158.tar.gz

New:
----
  imgui-1.89.9-1-wrap.zip
  imgui-1.89.9.tar.gz
  implot-0.16-1-wrap.zip
  implot-0.16.tar.gz
  mangohud-0.7.1.tar.gz
  vulkan-headers-1.2.158.tar.gz

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

Other differences:
------------------
++++++ mangohud.spec ++++++
--- /var/tmp/diff_new_pack.3W52BF/_old  2024-02-08 19:03:01.508963215 +0100
+++ /var/tmp/diff_new_pack.3W52BF/_new  2024-02-08 19:03:01.512963359 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mangohud
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,23 @@
 
 
 %define internal_ver %{version}
-%define imgui_ver 1.81
+%define imgui_ver 1.89.9
 %define imgui_wrap 1
+%define implot_ver 0.16
 %define vulkan_ver 1.2.158
 Name:           mangohud
-Version:        0.7.0
+Version:        0.7.1
 Release:        0
 Summary:        A Vulkan and OpenGL overlay for monitoring
 License:        MIT
 URL:            https://github.com/flightlessmango/MangoHud
 Source0:        
%{url}/archive/v%{internal_ver}.tar.gz#/%{name}-%{internal_ver}.tar.gz
 Source1:        
https://github.com/ocornut/imgui/archive/v%{imgui_ver}/imgui-%{imgui_ver}.tar.gz
-Source2:        
https://wrapdb.mesonbuild.com/v1/projects/imgui/%{imgui_ver}/%{imgui_wrap}/get_zip#/imgui-%{imgui_ver}-%{imgui_wrap}-wrap.zip
+Source2:        
https://wrapdb.mesonbuild.com/v2/imgui_%{imgui_ver}-%{imgui_wrap}/get_patch#/imgui-%{imgui_ver}-%{imgui_wrap}-wrap.zip
 Source3:        
https://wrapdb.mesonbuild.com/v2/vulkan-headers_%{vulkan_ver}-2/get_patch#/vulkan-headers-%{vulkan_ver}-2-wrap.zip
-Source4:        
https://github.com/KhronosGroup/Vulkan-Headers/archive/v%{vulkan_ver}.tar.gz
+Source4:        
https://github.com/KhronosGroup/Vulkan-Headers/archive/v%{vulkan_ver}.tar.gz#/vulkan-headers-%{vulkan_ver}.tar.gz
+Source5:        
https://github.com/epezent/implot/archive/refs/tags/v%{implot_ver}.zip#/implot-%{implot_ver}.tar.gz
+Source6:        
https://wrapdb.mesonbuild.com/v2/implot_%{implot_ver}-1/get_patch#/implot-%{implot_ver}-1-wrap.zip
 Source99:       baselibs.conf
 BuildRequires:  AppStream
 %if 0%{?suse_version} < 1550 && 0%{?sle_version} >= 150500
@@ -87,10 +90,13 @@
 %setup -n MangoHud-%{internal_ver} -DTa2
 %setup -n MangoHud-%{internal_ver} -DTa3
 %setup -n MangoHud-%{internal_ver} -DTa4
+%setup -n MangoHud-%{internal_ver} -DTa5
+%setup -n MangoHud-%{internal_ver} -DTa6
 sed -i -e '1d;2i#!%{_bindir}/bash' bin/mangohud.in
 sed -i 's,^@ld_libdir_mangohud@ ,%{_prefix}/\$LIB/mangohud/,' bin/mangohud.in
 sed -i 's|@ld_libdir_mangohud_abs@|%{_prefix}/\$LIB/mangohud|g' 
src/mangohud.json.in
 mv imgui-%{imgui_ver} subprojects/
+mv implot-%{implot_ver} subprojects/
 mv Vulkan-Headers-%{vulkan_ver} subprojects/
 sed -i 's/0.60.0/0.59/g' meson.build
 

++++++ imgui-1.81-1-wrap.zip -> imgui-1.89.9-1-wrap.zip ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgui-1.81/LICENSE.build 
new/imgui-1.89.9/LICENSE.build
--- old/imgui-1.81/LICENSE.build        2021-03-11 22:46:26.000000000 +0100
+++ new/imgui-1.89.9/LICENSE.build      2023-09-21 20:47:12.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2020 The Meson development team
+Copyright (c) 2021 The Meson development team
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgui-1.81/meson.build new/imgui-1.89.9/meson.build
--- old/imgui-1.81/meson.build  2021-03-11 22:46:26.000000000 +0100
+++ new/imgui-1.89.9/meson.build        2023-09-21 20:47:10.000000000 +0200
@@ -1,85 +1,125 @@
-project('imgui', 'cpp',
-    version: '1.81',
-    license: 'MIT',
+project(
+  'imgui',
+  'cpp',
+  license: 'MIT',
+  version: '1.89.9',
+  meson_version: '>=0.50.0',
 )
 
+if host_machine.system() == 'darwin'
+  add_languages('objcpp')
+endif
+
 include_dirs = include_directories('.', 'backends')
-sources = ['imgui_demo.cpp', 'imgui_draw.cpp', 'imgui_tables.cpp', 
'imgui_widgets.cpp', 'imgui.cpp']
+sources = files(
+  'misc/cpp/imgui_stdlib.cpp',
+  'imgui.cpp',
+  'imgui_demo.cpp',
+  'imgui_draw.cpp',
+  'imgui_tables.cpp',
+  'imgui_widgets.cpp',
+)
 
 cpp = meson.get_compiler('cpp')
 dependencies = []
 
 # renderer backends
+dependencies += cpp.find_library('d3dcompiler', required: 
host_machine.system() == 'windows')
 dx9_dep = cpp.find_library('d3d9', required: get_option('dx9'))
 if dx9_dep.found()
-    sources += 'backends/imgui_impl_dx9.cpp'
-    dependencies += dx9_dep
+  sources += 'backends/imgui_impl_dx9.cpp'
+  dependencies += dx9_dep
 endif
 dx10_dep = cpp.find_library('d3d10', required: get_option('dx10'))
 if dx10_dep.found()
-    sources += 'backends/imgui_impl_dx10.cpp'
-    dependencies += dx10_dep
+  sources += 'backends/imgui_impl_dx10.cpp'
+  dependencies += dx10_dep
 endif
 dx11_dep = cpp.find_library('d3d11', required: get_option('dx11'))
 if dx11_dep.found()
-    sources += 'backends/imgui_impl_dx11.cpp'
-    dependencies += dx11_dep
+  sources += 'backends/imgui_impl_dx11.cpp'
+  dependencies += dx11_dep
 endif
 dx12_dep = cpp.find_library('d3d12', required: get_option('dx12'))
-if dx12_dep.found()
-    sources += 'backends/imgui_impl_dx12.cpp'
-    dependencies += dx12_dep
-endif
-metal_dep = cpp.find_library('metal', required: get_option('metal'))
-if get_option('metal').enabled()
-    sources += 'backends/imgui_impl_metal.mm'
-    dependencies += metal_dep
-endif
-glew_dep = dependency('glew', required: get_option('opengl'))
-if glew_dep.found()
-    sources += 'backends/imgui_impl_opengl3.cpp'
-    dependencies += glew_dep
+# MinGW does not work. See https://github.com/ocornut/imgui/pull/4604
+if dx12_dep.found() and cpp.get_argument_syntax() == 'msvc'
+  sources += 'backends/imgui_impl_dx12.cpp'
+  dependencies += dx12_dep
+endif
+metal_dep = dependency('appleframeworks', modules: ['Foundation', 'AppKit', 
'GameController', 'Metal'], required: get_option('metal'))
+if metal_dep.found()
+  sources += 'backends/imgui_impl_metal.mm'
+  dependencies += metal_dep
+endif
+libgl_dep = dependency('gl', required: get_option('opengl'))
+if libgl_dep.found()
+  sources += 'backends/imgui_impl_opengl3.cpp'
+  dependencies += libgl_dep
+  dependencies += cpp.find_library('dl', required: false)
+endif
+sdl2_renderer_dep = dependency('sdl2', version: '>=2.0.17', required: 
get_option('sdl_renderer'))
+if sdl2_renderer_dep.found()
+  sources += 'backends/imgui_impl_sdlrenderer2.cpp'
+  dependencies += sdl2_renderer_dep
 endif
 vulkan_dep = dependency('vulkan', required: get_option('vulkan'))
 if vulkan_dep.found()
-    sources += 'backends/imgui_impl_vulkan.cpp'
-    dependencies += vulkan_dep
+  sources += 'backends/imgui_impl_vulkan.cpp'
+  dependencies += vulkan_dep
+endif
+if cpp.has_header('webgpu/webgpu.h', required: get_option('webgpu'))
+  sources += 'backends/imgui_impl_wgpu.cpp'
 endif
 
 # platform backends
 glfw_dep = dependency('glfw3', required: get_option('glfw'))
 if glfw_dep.found()
-    sources += 'backends/imgui_impl_glfw.cpp'
-    dependencies += glfw_dep
+  sources += 'backends/imgui_impl_glfw.cpp'
+  dependencies += glfw_dep
 endif
 sdl2_dep = dependency('sdl2', required: get_option('sdl2'))
 if sdl2_dep.found()
-    sources += 'backends/imgui_impl_sdl.cpp'
-    dependencies += sdl2_dep
+  sources += 'backends/imgui_impl_sdl2.cpp'
+  dependencies += sdl2_dep
 endif
-if get_option('osx').enabled() or (get_option('osx').auto() and 
target_machine.system() == 'darwin')
-    sources += 'backends/imgui_impl_osx.mm'
-endif
-if get_option('win').enabled() or (get_option('win').auto() and 
target_machine.system() == 'windows')
-    sources += 'backends/imgui_impl_win32.cpp'
+osx_dep = dependency('appleframeworks', modules: ['Carbon', 'Cocoa', 
'GameController'], required: get_option('osx'))
+if osx_dep.found()
+  sources += 'backends/imgui_impl_osx.mm'
+endif
+win_dep = cpp.find_library('dwmapi', required: get_option('win'))
+if win_dep.found()
+  sources += 'backends/imgui_impl_win32.cpp'
+  dependencies += win_dep
 endif
 
 # frameworks
-allegro5_dep = dependency('allegro5', required: get_option('allegro5'))
-if allegro5_dep.found()
-    sources += 'backends/imgui_impl_allegro5.cpp'
-    dependencies += allegro5_dep
-endif
-marmalade_dep = cpp.find_library('marmalade', required: 
get_option('marmalade'))
-if marmalade_dep.found()
-    sources += 'backends/imgui_impl_marmalade.cpp'
-    dependencies += marmalade_dep
+allegro5_dep = dependency('allegro-5', required: get_option('allegro5'))
+allegro5_primitives_dep = dependency('allegro_primitives-5', required: 
get_option('allegro5'))
+if allegro5_dep.found() and allegro5_primitives_dep.found()
+  sources += 'backends/imgui_impl_allegro5.cpp'
+  dependencies += [allegro5_dep, allegro5_primitives_dep]
+endif
+
+api = '-DIMGUI_API=__attribute__((visibility("default")))'
+if host_machine.system() == 'windows'
+  api = '-DIMGUI_API=@0@'.format(get_option('default_library') != 'static' ? 
'__declspec(dllexport)' : '')
+endif
+
+imgui = library(
+  'imgui',
+  sources,
+  cpp_args: api,
+  gnu_symbol_visibility: 'hidden',
+  dependencies: dependencies,
+  include_directories: include_dirs,
+)
+
+if host_machine.system() == 'windows'
+  api = '-DIMGUI_API=@0@'.format(get_option('default_library') != 'static' ? 
'__declspec(dllimport)' : '')
 endif
 
-imgui = library('imgui',
-    sources,
-    dependencies: dependencies,
-    include_directories: include_dirs,
+imgui_dep = declare_dependency(
+  compile_args: api,
+  include_directories: include_dirs,
+  link_with: imgui,
 )
-
-imgui_dep = declare_dependency(include_directories: include_dirs, link_with: 
imgui)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgui-1.81/meson_options.txt 
new/imgui-1.89.9/meson_options.txt
--- old/imgui-1.81/meson_options.txt    2021-03-11 22:46:26.000000000 +0100
+++ new/imgui-1.89.9/meson_options.txt  2023-09-21 20:47:10.000000000 +0200
@@ -5,7 +5,9 @@
 option('dx12', type : 'feature', value : 'auto')
 option('metal', type : 'feature', value : 'auto')
 option('opengl', type : 'feature', value : 'auto')
+option('sdl_renderer', type : 'feature', value : 'auto')
 option('vulkan', type : 'feature', value : 'auto')
+option('webgpu', type : 'feature', value : 'auto')
 
 # platform backends
 option('glfw', type : 'feature', value : 'auto')
@@ -14,5 +16,4 @@
 option('win', type : 'feature', value : 'auto')
 
 # frameworks (renderer + platform)
-option('marmalade', type : 'feature', value : 'auto')
 option('allegro5', type : 'feature', value : 'auto')

++++++ imgui-1.81.tar.gz -> imgui-1.89.9.tar.gz ++++++
++++ 78640 lines of diff (skipped)

++++++ mangohud-0.7.0.tar.gz -> mangohud-0.7.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/mangohud/mangohud-0.7.0.tar.gz 
/work/SRC/openSUSE:Factory/.mangohud.new.1815/mangohud-0.7.1.tar.gz differ: 
char 12, line 1

Reply via email to