From af855c4e36f7b1fe0c8f0b916330935526608df67bbb794c790c6e733471bd0c Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 15 Apr 2024 12:09:10 +0000 Subject: [PATCH] Accepting request 1167806 from home:sp1rit Update to version 0.39.0 OBS-URL: https://build.opensuse.org/request/show/1167806 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=72 --- bash-completion-install-dir.patch | 41 ++++++++++++ hyprland-0.38.1.tar.xz | 3 - hyprland-0.39.0.tar.xz | 3 + hyprland.changes | 107 ++++++++++++++++++++++++++++++ hyprland.spec | 50 +++++++++++++- 5 files changed, 199 insertions(+), 5 deletions(-) create mode 100644 bash-completion-install-dir.patch delete mode 100644 hyprland-0.38.1.tar.xz create mode 100644 hyprland-0.39.0.tar.xz diff --git a/bash-completion-install-dir.patch b/bash-completion-install-dir.patch new file mode 100644 index 0000000..9cad970 --- /dev/null +++ b/bash-completion-install-dir.patch @@ -0,0 +1,41 @@ +From 8ab30e351704ee50ee635ab570f998a6f4181c04 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= +Date: Mon, 15 Apr 2024 12:44:44 +0200 +Subject: [PATCH] Fixed bash-completion install directory +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Florian "sp1rit"​ +--- + hyprctl/meson.build | 2 +- + hyprpm/src/meson.build | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hyprctl/meson.build b/hyprctl/meson.build +index 1b47a33..390baf6 100644 +--- a/hyprctl/meson.build ++++ b/hyprctl/meson.build +@@ -2,6 +2,6 @@ executable('hyprctl', 'main.cpp', + install: true + ) + +-install_data('hyprctl.bash', install_dir: join_paths(get_option('datadir'), 'bash-completions'), install_tag: 'runtime', rename: 'hyprctl') ++install_data('hyprctl.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion'), install_tag: 'runtime', rename: 'hyprctl') + install_data('hyprctl.fish', install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'), install_tag: 'runtime') + install_data('hyprctl.zsh', install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'), install_tag: 'runtime', rename: '_hyprctl') +diff --git a/hyprpm/src/meson.build b/hyprpm/src/meson.build +index 521166c..9ecdaa0 100644 +--- a/hyprpm/src/meson.build ++++ b/hyprpm/src/meson.build +@@ -9,6 +9,6 @@ executable('hyprpm', src, + install : true + ) + +-install_data('../hyprpm.bash', install_dir: join_paths(get_option('datadir'), 'bash-completions'), install_tag: 'runtime', rename: 'hyprpm') ++install_data('../hyprpm.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion'), install_tag: 'runtime', rename: 'hyprpm') + install_data('../hyprpm.fish', install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'), install_tag: 'runtime') + install_data('../hyprpm.zsh', install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'), install_tag: 'runtime', rename: '_hyprpm') +-- +2.44.0 + diff --git a/hyprland-0.38.1.tar.xz b/hyprland-0.38.1.tar.xz deleted file mode 100644 index 1be9d1e..0000000 --- a/hyprland-0.38.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:075a7cb1628ccdce5b09a30603eb46ea49b61fda3fe151ab2886312b94af981c -size 51510652 diff --git a/hyprland-0.39.0.tar.xz b/hyprland-0.39.0.tar.xz new file mode 100644 index 0000000..ab9a8c2 --- /dev/null +++ b/hyprland-0.39.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:771051880e0876f138c0ccd95cd7095b2c6d0bb0a9f891e2172a55cae9d43f43 +size 51520180 diff --git a/hyprland.changes b/hyprland.changes index 4d7f6bc..1e850fb 100644 --- a/hyprland.changes +++ b/hyprland.changes @@ -1,3 +1,110 @@ +------------------------------------------------------------------- +Mon Apr 15 09:57:22 UTC 2024 - Florian "sp1rit" + +- Update to version 0.39.0: + + New features: + - hyprctl: Add shell completions (#5404) + - hyprpm: add shell completions (#5423) + - hyprpm: add support for minimum versions + - layouts: add missing include + - monitor: add workspace null check to visible flag + - renderer: Add dimaround layer rule (#4643) + - swipe: add events + - workspace: Add count group flag in windowCount workspace + selector prop (#5499) + - workspacerules: add back on-created-empty functionality (#5452) + + Fixes: + - CColor: fix getAsHex + - IME: fix IME popup mouse inputs (again) (#5417) + - IME: fix blurry ime on scaled + - IME: fix crash on restarting IME (#5428) + - IME: fix incorrect popup damage (#5383) + - IME: fix race condition on closing window (#5455) + - compositor: fix ghost fadingOut windows remaining after cleanup + - configmgr: fix header priority + - constraint: fix possible uaf on double destruction + - core: fix compile without pch + - core: fix some crash conditions around workspace ptrs in + CWindow + - core: fix visibility flags in moveWorkspaceToMonitor + - hooksystem: Fix miscalculation in comment (#5442) + - hooksystem: manually map trampoline addresses + - hyprctl: fix fish completions + - hyprctl: fix grammar mistakes in completions + - hyprctl: fix zsh completions + - hyprpm: fix wlroots path (#5567) + - input: fix focus on maximized bg surfaces + - input: fixup background layer checking on maximized + - keybinds: fix spammy warning + - macros: fix no pch warning + - master: fix center resizing (#5394) + - master: fix crash (#5472) + - master: fix full height when all windows master (#5549) + - master: fix swapped workspaces (#5397) + - master: fix workspace orientation not being restored after + workspace rule no longer applies (#5463) + - opengl: fix modif in blur + - renderer: some fixes for renderModif + - window: fix invalid last workspace id + - workspace: fix crash on destruction of compositor (#5495) + - workspace: fix special unnamed workspace rules (#5390) + - workspacerules: fix workspace rule loops (#5433) + + Other: + - Workspace/core: Refactor workspace storage (#5380) + - blur: block modif only on no new optimize + - compositor: move wl_display_destroy_clients (#5498) + - compositor: remove windows from fadingOut properly + - config: Don't override fullscreen opacity if only two opacities + are provided (#5512) + - config: verify string length in wrv2 before calling back + - core: Event loop rework (#5466) + - core: assert attempted UAFs in windowExists + - core: simplify sanityCheckWorkspaces + - cursor: Fallback to xcursor if failed to render hyprcursor + (#5534) + - damageSurface: don't correct smallVec twice + - deps: move from wlroots to wlroots-hyprland + - eventloop: move timers to an event loop fd + - hooksystem: attempt allocating pages in linear order + - hyprctl: improve help pages (#5385) + - hyprctl: print monitor disabled status (#5525) + - hyprerror: align 32-bit types after 4c79668 (#5375) + - hyprpm: Improve Hyprpm Update Performance (#5530) + - hyprpm: Use proper path to update repo when processing user + provided revision (#5414) + - hyprpm: ignore version checks for shallow clones + - hyprpm: install shell completions + - hyprpm: print more info on build failures + - inhibitor: always destroy on window unmap + - input: Dont set active monitor when simulating mouse movement + (#5465) + - input: Option for handling off-window axis events (#4177) + - input: allow focus to bottom layers on maximized in reserved + - input: don't remove pinned focus on workspace change (#5486) + - layers: separate anim configs for open/close (#5421) + - master: guard window in moveWindowTo + - monitor: check for invalid workspaces in onConnect + - monitor: unset visible flag from ws on disconnect + - opengl: log framebuffer errors + - popups: more safety in damage checking + - props: Allow setting per-window fullscreen opacity (#5470) + - props: Parse border color props as gradient (#5513) + - renderer: avoid double-rendering ls-es on fadingOut + - renderer: block screen shader on screencopy + - renderer: render back layer for workspace-less passes + - scripts: switch to branch --show-current for branch in + generateVersion + - subsurface: init existing subsurfaces on children creations + - swipe: nuke numbered + - window: always unref workspace on unmap + - workspaces: add visible flag + - workspace: remove lastFocusedWindow on unmap + - workspace: remove monitor and visible flags on inert + - workspace: update windows when selector match could change + (#5533) + +- Added "bash-completion-install-dir.patch" + ------------------------------------------------------------------- Tue Apr 9 12:43:09 UTC 2024 - Florian "sp1rit" diff --git a/hyprland.spec b/hyprland.spec index d4ea3d8..5e4d3af 100644 --- a/hyprland.spec +++ b/hyprland.spec @@ -20,12 +20,13 @@ %bcond_without devel Name: hyprland -Version: 0.38.1 +Version: 0.39.0 Release: 0 Summary: Dynamic tiling Wayland compositor License: BSD-3-Clause URL: https://hyprland.org/ Source0: %{name}-%{version}.tar.xz +Patch1: bash-completion-install-dir.patch BuildRequires: cmake BuildRequires: gcc-c++ >= 11 BuildRequires: git @@ -99,12 +100,40 @@ This package contains the neccessary files that are required to build plugins for hyprland. %endif +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: bash-completion +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description bash-completion +The official bash completion script for %{name}. + +%package fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Supplements: (%{name} and fish) +BuildArch: noarch + +%description fish-completion +The official fish completion script for %{name}. + +%package zsh-completion +Summary: ZSH Completion for %{name} +Group: System/Shells +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description zsh-completion +The official zsh completion script for %{name}. + %prep %autosetup -p1 %build %meson \ - -Dwlroots:xcb-errors=%{?with_xcb_errors:enabled}%{!?with_xcb_errors:disabled} + -Dwlroots-hyprland:xcb-errors=%{?with_xcb_errors:enabled}%{!?with_xcb_errors:disabled} %meson_build %install @@ -138,4 +167,21 @@ rm -rf %{buildroot}/%{_includedir}/wlr/ %{_datadir}/pkgconfig/%{name}.pc %endif +%files bash-completion +%dir %{_datadir}/bash-completion/ +%{_datadir}/bash-completion/hyprctl +%{_datadir}/bash-completion/hyprpm + +%files fish-completion +%dir %{_datadir}/fish/ +%dir %{_datadir}/fish/vendor_completions.d/ +%{_datadir}/fish/vendor_completions.d/hyprctl.fish +%{_datadir}/fish/vendor_completions.d/hyprpm.fish + +%files zsh-completion +%dir %{_datadir}/zsh/ +%dir %{_datadir}/zsh/site-functions/ +%{_datadir}/zsh/site-functions/_hyprctl +%{_datadir}/zsh/site-functions/_hyprpm + %changelog