From 3a7d6e194ac248dd1f3e8c3c06c40f27b27b20656abd2a875c4a1bba31cd313e Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 7 Nov 2023 22:22:32 +0000 Subject: [PATCH 1/2] Accepting request 1124126 from home:sp1rit Update to version 0.32.0 OBS-URL: https://build.opensuse.org/request/show/1124126 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=48 --- fix_ia86_std_clamp.patch | 31 ---------- hyprland-0.31.0.tar.xz | 3 - hyprland-0.32.0.tar.xz | 3 + hyprland.changes | 125 +++++++++++++++++++++++++++++++++++++++ hyprland.spec | 4 +- 5 files changed, 129 insertions(+), 37 deletions(-) delete mode 100644 fix_ia86_std_clamp.patch delete mode 100644 hyprland-0.31.0.tar.xz create mode 100644 hyprland-0.32.0.tar.xz diff --git a/fix_ia86_std_clamp.patch b/fix_ia86_std_clamp.patch deleted file mode 100644 index 0074b3c..0000000 --- a/fix_ia86_std_clamp.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 913c8b81ad44e159e5f0b555a1254451065f317d Mon Sep 17 00:00:00 2001 -From: Jan Beich -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(-1L), static_cast(2L)); - - // release the last tex if exists - const auto PTEX = &m_mMonitorBGTextures[pMonitor]; diff --git a/hyprland-0.31.0.tar.xz b/hyprland-0.31.0.tar.xz deleted file mode 100644 index 2704219..0000000 --- a/hyprland-0.31.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:312a55407c1094e21978135681123e3e3f0df7f7955d5d6265747afa92198e8a -size 11726436 diff --git a/hyprland-0.32.0.tar.xz b/hyprland-0.32.0.tar.xz new file mode 100644 index 0000000..e38a5c2 --- /dev/null +++ b/hyprland-0.32.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c878a44490ce99c58993ab82cf6ebfcd68e44a107efc9b0e2fc3c9d6f0edc73 +size 11778848 diff --git a/hyprland.changes b/hyprland.changes index 4706926..54aa22b 100644 --- a/hyprland.changes +++ b/hyprland.changes @@ -1,3 +1,128 @@ +------------------------------------------------------------------- +Tue Nov 7 21:53:45 UTC 2023 - Florian "spirit" + +- Update to version 0.32.0: + + A small update brought to you by yours truly :) + This time without breaking changes. I think. + + New features: + - binds: add ignoreMods flag + - binds: add movefocus_cycles_fullscreen + - example: add special workspace to default config + - fractional-scale: fix addon existence check + - groups: add option to configure font name (#3751) + - hooksystem: add callbackinfo struct and cancellable events + - hyprctl: add a query for workspace rules (#3630) + - hyprctl: add focusHistoryID to hyprctl clients + - pluginapi: add a config keyword adding method + - renderer: add transformers + - renderer: added new customization options to the blur shaders + (#3650) + - windowrules: add nearestneighbor + - workspacerules: Add new optional "default command" for + auto-launching apps on new workspaces (#3559) + + Fixes: + - Master: fix drop_at_cursor when there are only two windows + (#3734) + - compositor: Fix a lack of a check for workspace equality on + same monitors in getInDirection (#3625) + - config: fixup usage of plugin in handles + - fix(build): do not include wlr headers directly, use + includes.hpp instead. (#3587) + - fractional-scale: fix addon existence check + - group: fixes for dragging groups onto groupbars (#3708) + - includes: fix box headers (#3771) + - input: fix force_zero_scaling for tablet and touch (#3644) + - input: fix mouse down handling on unset last surface + - input: simulate mouse movement to fix focus on open/close + window + - layout: fix missed setWindowSize in no_gaps_when_only node + apply + - layout: fix various rounding errors + - master: fix movewindow across monitors (#3628) + - master: fix moving window between monitors (#3721) + - master: fix resizing wrong window behind in special workspace + (#3591) + - pluginapi: fixup get_hash functions + - renderer: fix legacy_renderer build (#3732) + - renderer: fix missed box scale + - renderer: fix shimmers when manual resizing + - renderer: fix small surface's blur region being offset by + monitor coords + - renderer: fixup blend disable conditions in renderSurface + - shadow: fix ignore_window false + - shadow: fix missed fullBox.scale + - shadows: fix on transformed + - wlsurface: fix small detection + + Other: + - Core: various unsafe state improvements (#3713) + - Decos: Window decoration flags, shadow improvements (#3739) + - Internal: Hyprland box implementation (#3755) + - Map cmake None to meson's plain + - box: use std::round instead of std::floor in ::round() + - compositor: allow windowfromregex floating param + - compositor: allow windowfromregex tiled param + - compositor: do not process fullscreen events in unsafe + - compositor: find windows in direction on floating + - compositor: remove old comment + - compositor: send preferred scale and transform events to + surfaces + - dwindle: move to CBox for expressing nodes + - events: better adjust to unreported sizes for xwayland apps + - events: ignore takes_over_fullscreen for floating windows + - events: make new windows taking over fullscreen keep the + existing mode (#3588) + - events: set reported size on floating map + - events: set reported size on the end of mapping + - fractional-scale: post error on taken fs objects + - hyprctl: log monitor id in workspaces request + - includes: include sharedDefs in includes.hpp + - includes: include vector2d for sharedDefs + - input: Apply scaling to cursorPosOnActivate position (#3664) + - input: better cursor image infrastructure + - input: don't reset cursor movement timer on + simulateMouseMovement (#3595) + - input: handle mouse on decorations (#3560) + - input: let input-grabbing decos have prio over resize on + border + - input: properly track xdg surfaces' geometry in + vectorToSurfaceLocal + - input: remove incorrect check in re-enter + - input: send motion events on focusWindow if follows_mouse is 0 + - input: simulate movement only if mouse is over in open/close + window + - internal: create canBeGroupedInto() (#3693) + - internal: honor close_special_on_empty on moveToWorkspace + - layershell: support ON_DEMAND keyboard mode + - layout: avoid redundant size sets on new fullscreen + - layout: better storage for no fullscreen checks var + - layout: round box in mouseMove + - layout: round window boxes after special scale factor + - main: set isShuttingDown after display dispatch reaches the + end + - meson: generate version.h before install_headers (#3612) + - region: include box in the header + - renderer: allow transform enabling from outside opengl + - renderer: avoid drawing invisibly small surfaces in + renderSurface + - renderer: blur properly behind small surfaces + - renderer: cast std::clamp args to be of the same type (#3589) + - renderer: improvements to wayland surface small() detection + - renderer: properly pass 10-bit formats to opengl + - renderer: properly set currentFB on snapshot renders + - renderer: render oversized blur with respect to fade alpha + - renderer: respect viewporter dest on base surfaces + - renderer: use optional for cursor surface storing + - renderer: use preOffset pos instead of offset + - shaders: support changing the outer radius of borders + independently + - subprojects: update tracy + - surface/wayland: conform to small surface requirements + - transformers: allow modifying renderdata pre-pass + - window: update window reported size on damage events + - workspacerules: search for special properly + - xdg: send unconstrain events after a popup reposition (#3716) + - xdg: use std::ceil for sending scale to surfaces + ------------------------------------------------------------------- Sun Oct 22 22:21:49 UTC 2023 - Florian "spirit" diff --git a/hyprland.spec b/hyprland.spec index 23b80e6..5dfc590 100644 --- a/hyprland.spec +++ b/hyprland.spec @@ -20,15 +20,13 @@ %bcond_without devel Name: hyprland -Version: 0.31.0 +Version: 0.32.0 Release: 0 Summary: Dynamic tiling Wayland compositor License: BSD-3-Clause URL: https://hyprland.org/ Source0: %{name}-%{version}.tar.xz 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 From 148887c4b583a415ea776632e481028c89987d184418b25dac22076b6b8eb8eb Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 8 Nov 2023 09:49:44 +0000 Subject: [PATCH 2/2] Accepting request 1124203 from home:sp1rit Dropped "fix_ia86_std_clamp.patch" as it has been merged upstream. OBS-URL: https://build.opensuse.org/request/show/1124203 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=49 --- hyprland.changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hyprland.changes b/hyprland.changes index 54aa22b..622d0aa 100644 --- a/hyprland.changes +++ b/hyprland.changes @@ -122,6 +122,8 @@ Tue Nov 7 21:53:45 UTC 2023 - Florian "spirit" - workspacerules: search for special properly - xdg: send unconstrain events after a popup reposition (#3716) - xdg: use std::ceil for sending scale to surfaces +- Dropped "fix_ia86_std_clamp.patch" as it has been merged upstream. + ------------------------------------------------------------------- Sun Oct 22 22:21:49 UTC 2023 - Florian "spirit"