SHA256
1
0
forked from pool/hyprland

Accepting request 1146137 from home:sp1rit

Update to version 0.35.0

OBS-URL: https://build.opensuse.org/request/show/1146137
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=58
This commit is contained in:
Florian 2024-02-12 11:13:59 +00:00 committed by Git OBS Bridge
parent b544e66cfc
commit d4886a00be
5 changed files with 113 additions and 39 deletions

View File

@ -1,32 +0,0 @@
From 3af05976a2b4cc7481664d6b5f206f08a789612a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ritCS@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" <sp1ritCS@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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b05cef402a19582225f41718f54740b39648e85eebe9666f7ebc0db02d099478
size 11786304

3
hyprland-0.35.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b35f4eb9f894da6ba4ad1e03b529d861f425c39fa9de729f0fd52183fb024a6b
size 51060728

View File

@ -1,3 +1,110 @@
-------------------------------------------------------------------
Mon Feb 12 10:46:15 UTC 2024 - Florian <packaging@sp1rit.anonaddy.me>
- Update to version 0.35.0:
+ New hyprland release? No way. I think we got some new stuff and
fixes.
This release was brought to you by the Hyprland Corp.
+ New features:
- config: Add border gradients to windowrulev2 (#4335)
- hyprctl: add systeminfo
- hyprpm: add --force for update
- input: add special_fallthrough
- keybinds: Add dispatcher for xmonad/qtile-style workspace
switching (#4439)
- master: Add more null checks for rollnext (#4343)
- renderer: Add new background infrastructure
+ Fixes:
- dwindle: fix windows being created at incorrect position when
cursor is over reserved area (#4520)
- hyprctl: screen_shader config fixes (#4102)
- hyprpm: fix crash on add plugin
- hyprpm: fix invalid pkg-config path env in build
- keybinds: fix ignoremods with release
- keybinds: fix keys getting stuck + minor refactor and
optimizations to keybind handling (#4304)
- keybinds: fix tracking of sent key states
- layershell: Fix greedy mouse grab from keyboard_interactive
layer (#4401)
- main: Fix typo in std::cerr (#4359)
- meson: fix wlroots patch (#4324)
- pluginapi: fix hooks with negative rip offsets
- renderer: fixup misaligned fsv1 surfaces with uv
- subsurfaceTree: Fix nullptr crash when disconnecting a monitor
(#4577)
+ Other:
- HookSystem: rename PAGESIZE_VAR from PAGESIZE to avoid conflict
(#4321)
- build: protocols: require wayland-protocols >= 1.32
- compositor: clarify common errors at launch
- compositor: don't close special on focus on pinned (#4533)
- config: variables update their value when set again (#4263)
- core: improve cleanup logic
- crashreporter: skip first possibly cut off line in log tail
- damage: use buffer_damage instead of effective_damage
- dwindle: avoid sending negative sizes to wlr
- events: ignore sending mouse enter to focused if a constraint
is active
- fractional: Set preferred scale on monitor config reload
(#4406)
- groupbar: Drag single window instead of destroying group
(#4327)
- groupbar: improve gradient handling (#4390)
- groupbar: separate gradients from title (#4444)
- hyprctl: move to a class and unify commands
- hyprpm: don't update headers if they are up-to-date, only
recompile
- hyprpm: handle failed compilations gracefully
- hyprpm: install headers locally (#4585)
- hyprpm: log verbose return of cmake and meson in update
- hyprpm: update global state on plugin recompile not header
update
- hyprpm: verify headersHashCompiled as well in headersValid()
- input: Allow disabling touchscreen input (#4517)
- input: allow focusSurface when locked if surfase is sessionLock
- input: focus window on mouse down on decoration (#4514)
- input: leave special on focus (#4358)
- input: partially revert #4401
- input: remove animate checks on resize limiter (#4480)
- input: track exclusive LSes
- internal: minor header cleanup
- issue templates: make versions spoiler'd
- keybinds: Refocus only if the silently moved window had the
focus (#4328)
- keybinds: avoid duplicated held keys, only use last, remove all
- layout: Round window pos and size on togglefloating (#4407)
- layout: save float props before setting fs state (#4537)
- layout: update rules before applying fullscreen nodes in
layouts
- make: unbreak with non-GNU ln(1) after 78f9ba9
- master: guard PNODE in roll*
- monitor: clear output state after usage
- monitor: don't call output_state_finish on buffer-less state
clears
- monitor: wrap usage of wlr_output_state
- opengl: apply box rot to projections
- opengl: rassert false on lost context
- opengl: use texBox for rendering background texture
- pluginapi: allow registering hyprctl commands
- renderer: Only force nearest neighbor when the sizes are off by
one or two (#4325)
- renderer: allow rendering multiple fullscreen windows in third
fs pass
- renderer: avoid unnecessary gpu resource deletions
- renderer: ignore box offsets for fullscreen windows
- renderer: overhaul renderModifData
- renderer: reset fb pointers after render pass
- screenshader: rename output uniform to wl_output (#4606)
- subsurfaceTree: update surface tree protocol feedback on map
- surface: avoid spam of window surfaces with scale and transform
events
- swipe: Prevent hiding current workspace when swiping (#4417)
- tearing-control: handle unmapped surfaces for hints
- wlroots: update version patches
- xwayland: remove delta from pos sets in configureX11
- xwayland: remove reportedsize set in unmanagedSetGeometry
(#4539)
-------------------------------------------------------------------
Thu Jan 4 10:44:41 UTC 2024 - Florian <packaging@sp1rit.anonaddy.me>

View File

@ -2,7 +2,7 @@
# spec file for package hyprland
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2022/23 Florian "sp1rit" <packaging@sp1rit.anonaddy.me>
# Copyright (c) 2022-24 Florian "sp1rit" <packaging@sp1rit.anonaddy.me>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,12 @@
%bcond_without devel
Name: hyprland
Version: 0.34.0
Version: 0.35.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
BuildRequires: cmake
BuildRequires: gcc-c++ >= 11
BuildRequires: git
@ -92,7 +91,6 @@ build plugins for hyprland.
%prep
%autosetup -p1
patch -p1 -d subprojects/wlroots/ < subprojects/packagefiles/wlroots-meson-build.patch
%build
%meson \
@ -103,6 +101,7 @@ patch -p1 -d subprojects/wlroots/ < subprojects/packagefiles/wlroots-meson-build
%meson_install --tags runtime,man%{?with_devel:,devel}
%if %{with devel}
rm %{buildroot}/%{_libdir}/libwlroots.a %{buildroot}/%{_libdir}/pkgconfig/wlroots.pc
rm -rf %{buildroot}/%{_includedir}/wlr/
%endif
%files