Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hyprland for openSUSE:Factory 
checked in at 2023-10-23 23:41:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hyprland (Old)
 and      /work/SRC/openSUSE:Factory/.hyprland.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hyprland"

Mon Oct 23 23:41:13 2023 rev:9 rq:1119681 version:0.31.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/hyprland/hyprland.changes        2023-09-25 
20:03:18.714395671 +0200
+++ /work/SRC/openSUSE:Factory/.hyprland.new.1945/hyprland.changes      
2023-10-23 23:41:19.568315818 +0200
@@ -1,0 +2,119 @@
+Sun Oct 22 22:21:49 UTC 2023 - Florian "spirit" <packag...@sp1rit.anonaddy.me>
+
+- Added "fix_ia86_std_clamp.patch" that is required for Hyprland to
+  build on ia86.
+
+-------------------------------------------------------------------
+Thu Oct 19 14:12:29 UTC 2023 - Florian "spirit" <packag...@sp1rit.anonaddy.me>
+
+- Update to version 0.31.0:
+  + A sizeable update for y'all, with quite a few breaking changes.
+  + Breaking changes:
+    - decoration:multisample_edges has been nuked. A better
+         algorithm is used by default.
+       - misc:disable_hypr_chan has been removed. The new, more
+         flexible option is misc:force_default_wallpaper with a default
+         of -1. Setting to 0 will use the non-anime backgrounds
+         exclusively and behave like the old disable_hypr_chan = true.
+       - All group-related options have been moved to group:, please
+         see the docs here:
+         https://wiki.hyprland.org/Configuring/Variables/#group
+       - Some makefile stuff has been changed/removed
+  + New features:    
+    - Plugin API: Add version query (#3545)
+    - dispatchers: Add option to center the cursor on the focused
+         window when switching workspaces (#3528)
+    - includes: add missing log include to animatedvariable
+    - input: Add map to region options for tablets (#3425)
+    - internal: Add GTK portal as fallback (#3469)
+    - internal: add a watchdog
+    - layout: add new_window_takes_over_fullscreen mode 2
+    - makefile: fix using -d test for a binary file AND re-add
+         missing portals conf (#3570)
+    - master: add option to drag and drop windows at cursor position
+         (#3465)
+    - misc: add misc:new_window_takes_over_fullscreen
+    - renderer: add force_wallpaper instead of no_hypr_chan (#3459)
+    - renderer: add further conditions to solitary recheck
+    - renderer: Tearing implementation (#3441)
+    - workspacerules: Add a persistent workspace rule (#3530)
+  + Fixes:
+    - dispatchers: fix extra monitor offset when snapping floating
+         (#3520)
+    - events: fixup empty events not being sent on unmap
+    - hyprctl: fix crash in unsafe state with activeworkspace
+    - input: fix unused variable warn
+    - input: fix warn
+    - input: fixup frame schedule conditions on mouse move
+    - input: fixup mouse down refocus conditions
+    - input: minor constraint fixes
+    - master: fix drop_at_cursor on workspace 2 (#3512)
+    - renderer: considerable fixes to repaint logic
+    - renderer: fix missing check for surfaceCount in rechecking
+         solitary
+    - renderer: fixup solitary conditions
+  + Other:
+    - Debug: respect logging settings for wlr (#3584)
+    - animationmgr: damage floating windows on workspace anim
+    - build: Unbreak build without precompiled headers (#3400)
+    - build: guard execinfo.h via build systems (#3547)
+    - build: include version.h in PluginAPI.hpp (#3571)
+    - cleanup: Replace find() with C++20 starts_with(), ends_with()
+         and contains() (#3572)
+    - config: mention force_default_wallpaper in default configs
+    - config: restore configCurrenPath after sourcing file (#3339)
+    - config: trim spaces in the rule field in windowrulev2
+    - crashreporter: avoid using empty CACHE_HOME
+    - dispatchers: support number as arg in changegroupactive
+         (#3329)
+    - dwindle: Avoid rounding errors in window position (#3524)
+    - events: don't focus new window if spawned behind fullscreen
+    - events: set new window alpha to 0 if it's tiled behind
+         fullscreen
+    - examples/readme: mention tearing
+    - groups: create group and groupbar config sections (#3522)
+    - groups: ensure consistency in dispatcher behavior with global
+         group lock (#3531)
+    - hyprctl: avoid .pop_back() on empty string
+    - hyprctl: log activelyTearing for monitors
+    - input: avoid using the wrong surface in drag focus force
+    - input: properly track mouse focus on drag operations
+    - internal: Further unsafe state improvements (#3404)
+    - internal: better versioning (#3543)
+    - internal: include missing header (#3464)
+    - internal: removed Herobrine
+    - internal: use pragma once in version.h
+    - layershell: avoid configure on unchanged size
+    - layout: check for specialworkspace in floating toggle
+    - layout: don't discard fullscreen on new tiling
+    - log: log wlr errors regardless of env
+    - meson: Sort input file list (#3550)
+    - meson: use ln with force flag (#3568)
+    - monitor: ensure vrr on workspace change
+    - notifications: Schedule a frame on notification creation
+         (#3556)
+    - pluginapi: remove starting newline in demangled func name
+         (#3502)
+    - props: bump ver to v0.31.0
+    - render: stop locking SWC on tearing
+    - renderer: avoid spamming software cursor locks
+    - renderer: extract solitary check into frame handler
+    - renderer: lock software cursors while tearing
+    - renderer: nuke multisample_edges in favor of a faster
+         algorithm
+    - renderer: optimize render pipeline when there is a solitary
+         client
+    - renderer: remove old debug log
+    - screencopy: enhance error logging
+    - shaders: Remove redundant clamp of smoothsteps return value.
+         (#3456)
+    - shaders: improve border rounding
+    - tearing: cleanup vars and avoid rendering before drm is ready
+    - watchdog: don't hang on exit
+    - watchdog: initialize after config
+    - watchdog: remove thread on destroy
+    - wsrules: check for workspace ID matches on numbered workspaces
+- Renamed 0002-fix-patched-wlroots-build.patch to
+  0001-fixed-patchd-wlroots-build.patch simply due to git doing this
+
+-------------------------------------------------------------------

Old:
----
  0002-fix-patched-wlroots-build.patch
  hyprland-0.30.0.tar.xz

New:
----
  0001-fixed-patchd-wlroots-build.patch
  fix_ia86_std_clamp.patch
  hyprland-0.31.0.tar.xz

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

Other differences:
------------------
++++++ hyprland.spec ++++++
--- /var/tmp/diff_new_pack.Cvzfjw/_old  2023-10-23 23:41:20.304342537 +0200
+++ /var/tmp/diff_new_pack.Cvzfjw/_new  2023-10-23 23:41:20.304342537 +0200
@@ -20,13 +20,15 @@
 %bcond_without devel
 
 Name:           hyprland
-Version:        0.30.0
+Version:        0.31.0
 Release:        0
 Summary:        Dynamic tiling Wayland compositor
 License:        BSD-3-Clause
 URL:            https://hyprland.org/
 Source0:        %{name}-%{version}.tar.xz
-Patch1:         0002-fix-patched-wlroots-build.patch
+Patch1:         0001-fixed-patchd-wlroots-build.patch
+# Source: https://github.com/hyprwm/Hyprland/pull/3589. Will be included in 
the next release.
+Patch2:         fix_ia86_std_clamp.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++ >= 11
 BuildRequires:  git

++++++ 0001-fixed-patchd-wlroots-build.patch ++++++
>From 3af05976a2b4cc7481664d6b5f206f08a789612a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ri...@protonmail.com>
Date: Sun, 22 Oct 2023 23:54:43 +0200
Subject: [PATCH] fixed patchd wlroots build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Florian "sp1rit"​ <sp1ri...@protonmail.com>
---
 subprojects/packagefiles/wlroots-meson-build.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/subprojects/packagefiles/wlroots-meson-build.patch 
b/subprojects/packagefiles/wlroots-meson-build.patch
index 6741fdc..2ba26dd 100644
--- a/subprojects/packagefiles/wlroots-meson-build.patch
+++ b/subprojects/packagefiles/wlroots-meson-build.patch
@@ -2,9 +2,10 @@ diff --git a/include/meson.build b/include/meson.build
 index e669800..687786b 100644
 --- a/include/meson.build
 +++ b/include/meson.build
-@@ -1,4 +1,5 @@
+@@ -1,4 +1,6 @@
 -subdir('wlr')
 +run_command('ln', '-sf', join_paths(meson.project_source_root(), 'include', 
'wlr'), join_paths(meson.project_source_root(), 'include', 'wlroots'), check: 
true)
++run_command('ln', '-s', join_paths(meson.project_build_root(), 'include', 
'wlroots'), join_paths(meson.project_build_root(), 'include', 'wlr'), check: 
true)
 +subdir('wlroots')
  
  exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
-- 
2.42.0


++++++ fix_ia86_std_clamp.patch ++++++
>From 913c8b81ad44e159e5f0b555a1254451065f317d Mon Sep 17 00:00:00 2001
From: Jan Beich <jbe...@freebsd.org>
Date: Mon, 16 Oct 2023 21:26:45 +0200
Subject: [PATCH] renderer: cast std::clamp args to be of the same type

src/render/OpenGL.cpp:1769:41: error: no matching function for call to 'clamp'
    const auto         FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, -1L, 2L);
                                        ^~~~~~~~~~
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: 
deduced conflicting types for parameter '_Tp' ('int64_t' (aka 'long long') vs. 
'long')
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
/usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template 
not viable: requires 4 arguments, but 3 were provided
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp)
^
---
 src/render/OpenGL.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 8ad8e0c140..2d8ee92b2d 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -1766,7 +1766,7 @@ void CHyprOpenGLImpl::createBGTextureForMonitor(CMonitor* 
pMonitor) {
     static auto* const PFORCEHYPRCHAN  = 
&g_pConfigManager->getConfigValuePtr("misc:force_hypr_chan")->intValue;
     static auto* const PFORCEWALLPAPER = 
&g_pConfigManager->getConfigValuePtr("misc:force_default_wallpaper")->intValue;
 
-    const auto         FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, -1L, 2L);
+    const auto         FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, 
static_cast<int64_t>(-1L), static_cast<int64_t>(2L));
 
     // release the last tex if exists
     const auto PTEX = &m_mMonitorBGTextures[pMonitor];

++++++ hyprland-0.30.0.tar.xz -> hyprland-0.31.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/hyprland/hyprland-0.30.0.tar.xz 
/work/SRC/openSUSE:Factory/.hyprland.new.1945/hyprland-0.31.0.tar.xz differ: 
char 15, line 1

Reply via email to