From 783e52b6d755899c752e97dbb0cd61eabb4462269005d7c70fd23eb6f68ca702 Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 18 Mar 2024 13:23:47 +0000 Subject: [PATCH] Accepting request 1158610 from home:sp1rit Update to version 0.37.1 depends on 1158609 OBS-URL: https://build.opensuse.org/request/show/1158610 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=63 --- fixed-missing-return-statement.patch | 32 +++++++ hyprland-0.36.0.tar.xz | 3 - hyprland-0.37.1.tar.xz | 3 + hyprland.changes | 130 +++++++++++++++++++++++++++ hyprland.spec | 4 +- 5 files changed, 168 insertions(+), 4 deletions(-) create mode 100644 fixed-missing-return-statement.patch delete mode 100644 hyprland-0.36.0.tar.xz create mode 100644 hyprland-0.37.1.tar.xz diff --git a/fixed-missing-return-statement.patch b/fixed-missing-return-statement.patch new file mode 100644 index 0000000..4d015cc --- /dev/null +++ b/fixed-missing-return-statement.patch @@ -0,0 +1,32 @@ +From 942fd30a4b8e8016925f9fb6c7e41cb995a7b041 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= +Date: Sat, 16 Mar 2024 21:05:00 +0100 +Subject: [PATCH] config/DataValues: fixed missing return statement +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +this likely worked previously as on x86_64 gcc optimized the `result` +variable into the rax register which is also used to return the return +value. + +Signed-off-by: Florian "sp1rit"​ +--- + src/config/ConfigDataValues.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/config/ConfigDataValues.hpp b/src/config/ConfigDataValues.hpp +index 39c60a5..c162bb4 100644 +--- a/src/config/ConfigDataValues.hpp ++++ b/src/config/ConfigDataValues.hpp +@@ -61,6 +61,7 @@ class CGradientValueData : public ICustomConfigValueData { + } + + result += std::format("{}deg", (int)(m_fAngle * 180.0 / M_PI)); ++ return result; + } + }; + +-- +2.44.0 + diff --git a/hyprland-0.36.0.tar.xz b/hyprland-0.36.0.tar.xz deleted file mode 100644 index fa1ca2b..0000000 --- a/hyprland-0.36.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2537a09795da134b2c26020ac2222a7ab7d6eb0c589644bab8b4c8c5b39c87fa -size 51498604 diff --git a/hyprland-0.37.1.tar.xz b/hyprland-0.37.1.tar.xz new file mode 100644 index 0000000..b415b78 --- /dev/null +++ b/hyprland-0.37.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acdc83c830074abaf3b06a6ecdb27ba7770facc52d9a7516d78055a7d083d1cd +size 51506964 diff --git a/hyprland.changes b/hyprland.changes index 701f9e2..8c644e7 100644 --- a/hyprland.changes +++ b/hyprland.changes @@ -1,3 +1,133 @@ +------------------------------------------------------------------- +Sat Mar 16 19:50:56 UTC 2024 - Florian "sp1rit" + +- Update to version 0.37.1: + + A massive (not) update to fix rendering of half of your apps, oops. + + New features: + - renderer: add better multi monitor animations (#5126) + + Fixes: + - renderer: fix non-reported sizes window box calculations + +- Changes from version 0.37.0: + + Happy 2 years of Hyprland!! Thanks to everyone who has supported + Hyprland in any way shape or form, couldn't have done it without + yall. <3 + + New features: + - config: Add input:scroll_factor configuration (#4980) + - cursormgr: add fallbacks for unknown cursors + - hyprpm: Add support for specifying exact git revisions for plugin + repo (#4983) + - input: add general:resize_corner for manual resizing (#5090) + - input: fix window move stutter by introducing additional checks + for low-hz monitors (#4553) + - keybinds: Add the 'catchall' keyword that matches all keys (#4930) + - layers: add fully featured animations + - notify: Add custom fontsize support for notifications (#4981) + - socket2: Add 5 IPC event with support for workspace ID (#5022) + - subsurface/popup: expand on map/unmap to add buffering + + Fixes: + - CrashReporter: Fix compilation with musl libc (#4805) + - animations: fix m_Goal not being set after #4911 (#4992) + - configmgr: fix compile on 32-bit archs + - core: add additional headers for Popup.cpp and + InputMethodRelay.hpp (#4909) + - core: Fix typo and check grandchild PID in spawn() (#5070) + - core: fix crashes on access of deleted wlr_ surface + - cursormgr: fix invalid access to hyprcursor in xwayland init + - cursormgr: fix memory leak with cursor buffers + - hyprctl: Fix incorrect invalid fontsize kwarg response (#5013) + - input: fix minor default cursor reset conditions + - input: fix window move stutter by introducing additional checks + for low-hz monitors (#4553) + - internal: minor fixups for fading out xwayland windows + - keybinds: Fix typo (#5081) + - layers: minor fixes for new animations + - layout: Fix toggling fullscreen special workspace on different + monitor (#5000) + - lock: fix red screen issues with multiple monitors (#5100) + - master: Fix animate resize (#4942) + - master: Fix master layout window focus and scroll (#5074) + - master: fix invalid config usage + - opengl: fix compilation on legacy renderer (#4928) + - popup: minor fixes to xdg geometries + - renderer: fix invalid access on non-assigned surfaces + - renderer: minor fixes to transformations + - subsurface: fix visibility check + - surface: fix damage tearing feedback + - windowrules: fix center + - xwayland: fix no_xwayland compiles + + Other: + - animations: Refactor AnimatedVariable (#4911) + - compositor: ignore grab extend behind special workspaces (#4944) + - compositor: reject focus to noFocus OR xwayland windows + - compositor: update state after moving to workspace + - config: improve config value infrastructure + - config: more safety around monitor keyword + - config: report errors from sourced files + - config: update per device input configs link (#4951) + - constraints: only warp cursor on deactivate if constraint is + locked. (#5056) + - cursormgr: use XCURSOR_THEME for x themes + - drag: check min size for reisze drags + - dwindle: preserve fs state on switchWindows + - events: apply monitor state on sessionActive + - events: don't switch to active workspace on workspace rule + - events: ignore setTitle when title didn't change + - events: update render data after workspace window rule (#4931) + - hyprctl: hide unmapped windows without -a + - hyprctl: parse custom types in getoption + - hyprctl: print format and modes + - hyprpm: don't copy .so if file doesn't exist + - input: Rewritten pointer constraints (#4889) + - input: only override dragging corner on floating (#5092) + - input: scale local coords in constraints + - input: send motion to confined cursors + - internal: Support libhyprcursor (#5009) + - internal: Removed Herobrine + - keybinds: Allow fullscreen/maximize in special workspace (#4921) + - keybinds: Better handling of workspace_back_and_forth (#4952) + - keybinds: better follow xkb translation state + - keybinds: track submap at press for keypresses + - keybinds: unconstrain mouse on focusmonitor and cyclenext (#4863) + - layer-shell: allow for popup creation before map + - layout: unfullscreen on toggle into tiled fullscreen + - layout: warp the cursor when focusing windows (#4982) + - master: change active monitor when moving windows around (#5001) + - monitor: remove commas from short description (#4970) + - notifs: Implement notification dimissing (#4790) + - popup: send scale on map + - refactor: move a few things to desktop/ + - renderer: Allow headless mode in hyprland (#4794) + - renderer: adjust surface dimensions for oversized not-yet ackd + surface sizes + - renderer: force a few render frames on init anim end + - renderer: respect forceNoBlur when rendering small surface windows + (#4932) + - sessionlock: refocus after destroy focused surface (#5117) + - splashes: add 2ya splash + - subsurface: Rewrite the subsurface tree (#4877) + - subsurface: don't update transform on unmap + - subsurfaceTree: assign surfaces to a CWLSurface + - surface: unify owners + - surfacetree: Revert "subsurfaceTree: assign surfaces to a CWLSurface" + - window: ignore surface updates in unsafe / on invalid monitors + - window: prevent vector modification segfault while iterating + - window: remove unused list + - windowrules: Make min/maxsize rules dynamic (#4775) + - windowrules: check if floating when resizing from maxsize (#5019) + - windowrules: minor improvements to min/max size + - xdg: check for floating conditions before sending tiled size hint + - xdg: minor improvements to initial size reporting + - xdg: rewrite entire popup implementation + - xkb: handle invalid keymaps in updateXKBTranslationState + - xwayland: Set xwayland's name prop (#4924) + - xwayland: disable initial focus for xwayland dialogs (#4936) + - xwayland: set scaledBy for unmanaged windows in map + - xwaylandmgr: don't read xwayland surface from unmapped xwayland + +- Added "fixed-missing-return-statement.patch" which is necessary to + build hyprlang on non x86_64 architectures and some compile flags + ------------------------------------------------------------------- Fri Mar 1 00:16:18 UTC 2024 - Florian "sp1rit" diff --git a/hyprland.spec b/hyprland.spec index a57358f..0bc160b 100644 --- a/hyprland.spec +++ b/hyprland.spec @@ -20,12 +20,13 @@ %bcond_without devel Name: hyprland -Version: 0.36.0 +Version: 0.37.1 Release: 0 Summary: Dynamic tiling Wayland compositor License: BSD-3-Clause URL: https://hyprland.org/ Source0: %{name}-%{version}.tar.xz +Patch1: fixed-missing-return-statement.patch BuildRequires: cmake BuildRequires: gcc-c++ >= 11 BuildRequires: git @@ -39,6 +40,7 @@ BuildRequires: pkgconfig(gbm) >= 17.1.0 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hwdata) +BuildRequires: pkgconfig(hyprcursor) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(libdisplay-info) BuildRequires: pkgconfig(libdrm) >= 2.4.118