From 7eb558777d5fbb4cc9e7e33287c9b9d067c7b09ddbe67b2ac5d89a40a285d85f Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 15 Mar 2023 17:11:33 +0000 Subject: [PATCH] Accepting request 1072178 from home:sp1rit Update to version 0.23.0beta OBS-URL: https://build.opensuse.org/request/show/1072178 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=21 --- hyprland-0.22.0beta.obscpio | 3 - hyprland-0.23.0beta.obscpio | 3 + hyprland.changes | 135 ++++++++++++++++++++++++++++++++++++ hyprland.obsinfo | 6 +- hyprland.spec | 6 +- wlroots_fix_ia86.patch | 48 ------------- 6 files changed, 144 insertions(+), 57 deletions(-) delete mode 100644 hyprland-0.22.0beta.obscpio create mode 100644 hyprland-0.23.0beta.obscpio delete mode 100644 wlroots_fix_ia86.patch diff --git a/hyprland-0.22.0beta.obscpio b/hyprland-0.22.0beta.obscpio deleted file mode 100644 index 5aa245c..0000000 --- a/hyprland-0.22.0beta.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8621268abfb49982b4bbd664d8ec718a32f6a9e77b87648012dce6fecec92425 -size 5236749 diff --git a/hyprland-0.23.0beta.obscpio b/hyprland-0.23.0beta.obscpio new file mode 100644 index 0000000..913fb93 --- /dev/null +++ b/hyprland-0.23.0beta.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd42dd13dfbd7ac7713443fa84a8ce682b2f2c21adf07b240dde09719a97dd88 +size 6385165 diff --git a/hyprland.changes b/hyprland.changes index 3e4ef21..493f0bd 100644 --- a/hyprland.changes +++ b/hyprland.changes @@ -1,3 +1,138 @@ +------------------------------------------------------------------- +Wed Mar 15 16:18:46 UTC 2023 - Florian "sp1rit" + +- Update to version 0.23.0beta: + + A minor update after a short wait as usual, brought to you by + the one and only. + + Notable changes + * Your wrappers have been deprecated by the new env keyword. + * A powerful plugin system has landed. See the wiki + * zwp_text_input_v1 support has landed for supporting IME under + electron wayland. + + New features: + * Add env to example cfgs + * Add option to disable/enable mouse window dragging animations (#1658) + * Added center orientation to master layout (#1642) + * Added decoration reserved area + * Added mouseButton event + * Added mouseMove event + * Added moveintogroup dispatcher + * Added moveoutofgroup dispatcher + * Dwindle: Added default_split_ratio + * add desc: to getMonitorFromString + * add env dbus opt + * add env keyword to cfg + * add log tail to crash reports + * add mfact setting for master layout (#1666) + * add mouse_left _right + * add toggle group lock + * added a lockgroups dispatcher + * allow blurls by address + * blurls: fix address substr length + * config: add key_press_enables_dpms + * fix mfact not applying to addmaster (#1715) + * groups: add deco on moveIntoGroup + * Plugin System (#1590) + + Fixes: + * Bezier: Fix incorrect binary search in bezier approx + * Buffer overflow fix (#1707) + * Compositor: fix crash on exit + * Fix fatal aborts with X11 OR windows + * Fix plugin argument-less hyprctl calls (#1723) + * Fix plugin config breakage (#1687) + * Mirrors: minor fixes + * Opengl: Fix forcefully setting missing time prop to final shader + * Plugin Hooks: fix calls to %rip offsets + * Plugin Hooks: fix original bytes on %rip accesses + * blurls: fix address substr length + * fix bezier step approx + * fix changegroupactive back + * fix credentials of invalid surfaces + * fix cursor image on drag not resize + * fix cyclenext on empty focus + * fix mfact not applying to addmaster (#1715) + * fixup constraint snapping on no hint + * groups: fix fullscreen behavior with groups + * ime: fix panels overflowing on corners + * input: minor fixes for tiv1 + * minor fixes to X11 configure/or handling + * minor fixes to touch handling + * tiv1: minor fixes for crashes + + Other: + * Allow decos to request interactivity + * Allow environment in config + * Conform to X11 OR surfaces wanting focus + * Convert reverse iterators to ranges + * Don't set surface cursors for overriden + * Draw HyprError on the last monitor + * Enable manual anims by default + * Events: Avoid sending std::nullptr_t in keyboardFocus + * Include unmapped and hidden windows in hyprctl clients + * Initialize priority managers before server init + * Mirrors: remove accidentally leftover logs + * Move AnimationManager::tick() to an event loop + * Nix: move dependency overrides inside wlroots-hyprland call + * Optionally expose time to screen shaders (#1700) + * Readme: update to mention plugins + * Remove useless rax preserve across callq + * Renderer: Nuke onWindowResize{start/end} + * Reset cursor to pointer on focus on interactable deco + * Resize on border icon bug (#1608) + * Revert small incorrect change to dragging + * Simplfy framebuffer erasing in cleanupFadingOut + * Unload plugins on compositor cleanup (#1662) + * Up the bezier bake count + * Update the debug overlay + * allow focus to grouped windows + * bugifx: updated urls poiting to old wiki pages (#1738) + * config: explicitly use environ(7) after b03c897 (#1708) + * crashReporter: remove inconsistent log from crash reports + * deny configure requests on drag + * dispatchers: disallow togglesplit on fullscreen + * dispatchers: remember named workspaces in prev + * don't snap on empty hint + * generate coredumps on sigabrt too + * ime: account for text height in popup calcs + * input: text-input-v1 support (#1778) + * layoutmgr: don't reenable layout on unchanged layout + * make window reserved area less stupid + * master: better cycle + * movefocus: Set new workspace as active when focusing new monitor (#1640) + * nuke cursorSI due to crashes + * nuke unmanagedx11 vector + * opengl: use a passthru shader for final wlr copy + * remove old unused animation cfgs + * reset signal handlers in unrecoverable + * systemd: expand sysd import env script + * unblock pure wayland compiles + * update dbus env on exec-once dispatches + * update decos on anim values update + * update license on main branch (#1604) + * use .txt for crash reports + * use XCURSOR_SIZE for internal cursor size + * use corner cursors on resize (#1638) + * use sans for fonts instead of noto sans + * xwl: don't try to get unmanaged titles + + What's Changed + * update license on main branch by @o69mar in #1604 + * Resize on border icon bug by @horriblename in #1608 + * use corner cursors on resize by @fufexan in #1638 + * movefocus: Set new workspace as active when focusing new monitor by @RyanDwyer in #1640 + * Added center orientation to master layout by @sharkusk in #1642 + * [WIP] Plugin System by @vaxerski in #1590 + * Add option to disable/enable mouse window dragging animations by @DashieTM in #1658 + * Unload plugins on compositor cleanup by @Duckonaut in #1662 + * Fix plugin config breakage by @Duckonaut in #1687 + * Optionally expose time to screen shaders by @scorpion-26 in #1700 + * add mfact setting for master layout by @hillyu in #1666 + * Buffer over-read in removeBeginEndSpacesTabs() by @opsuu in #1707 + * config: unbreak on BSDs due to undeclared environ by @jbeich in #1708 + * fix mfact not applying to addmaster by @hillyu in #1715 + * Fix plugin argument-less hyprctl calls by @Duckonaut in #1723 + * bugifx: updated urls poiting to old wiki pages by @asbachb in #1738 + * [WIP] text-input-v1 support by @vaxerski in #1778 +- Dropped: wlroots_fix_ia86.patch. Included upstream + ------------------------------------------------------------------- Fri Feb 24 17:26:55 UTC 2023 - Florian "spirit" diff --git a/hyprland.obsinfo b/hyprland.obsinfo index 2be2750..eb5903d 100644 --- a/hyprland.obsinfo +++ b/hyprland.obsinfo @@ -1,4 +1,4 @@ name: hyprland -version: 0.22.0beta -mtime: 1676935051 -commit: 431c74f111285eab41c17d724f335a324b5c833a +version: 0.23.0beta +mtime: 1678830991 +commit: 8531d1d7a67f6213de73466f0351a1ae709f8f4f diff --git a/hyprland.spec b/hyprland.spec index a408ec3..10b30ba 100644 --- a/hyprland.spec +++ b/hyprland.spec @@ -24,7 +24,7 @@ Summary: Dynamic tiling Wayland compositor License: BSD-3-Clause URL: https://hyprland.org/ Source0: %{name}-%{version}.tar.xz -Patch100: wlroots_fix_ia86.patch +BuildRequires: cmake BuildRequires: gcc-c++ >= 11 BuildRequires: git BuildRequires: glslang-devel @@ -37,6 +37,7 @@ BuildRequires: pkgconfig(gbm) >= 17.1.0 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hwdata) +BuildRequires: pkgconfig(libdisplay-info) BuildRequires: pkgconfig(libdrm) >= 2.4.113 BuildRequires: pkgconfig(libinput) >= 1.14.0 BuildRequires: pkgconfig(libseat) >= 0.2.0 @@ -70,8 +71,7 @@ It supports multiple layouts, fancy effects, has a very flexible IPC model allowing for a lot of customization, and more. %prep -%autosetup -p1 -N -%patch100 -p1 -d subprojects/wlroots/ +%autosetup -p1 %build %meson \ diff --git a/wlroots_fix_ia86.patch b/wlroots_fix_ia86.patch deleted file mode 100644 index 0f0c577..0000000 --- a/wlroots_fix_ia86.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 59acc69737488be7c8c68b00a7a7d97027c7e20e Mon Sep 17 00:00:00 2001 -From: Jan Beich -Date: Fri, 24 Feb 2023 16:15:37 +0000 -Subject: [PATCH] vulkan: silence -Wint-conversion on 32-bit architectures - -render/vulkan/renderer.c:388:70: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VkFence' (aka 'unsigned long long') [-Werror,-Wint-conversion] - VkResult res = vkQueueSubmit(renderer->dev->queue, 1, &submit_info, NULL); - ^~~~ -render/vulkan/renderer.c:1141:81: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VkFence' (aka 'unsigned long long') [-Werror,-Wint-conversion] - VkResult res = vkQueueSubmit(renderer->dev->queue, submit_count, submit_infos, NULL); - ^~~~ -/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' - #define NULL ((void *)0) - ^~~~~~~~~~~ -/usr/local/include/vulkan/vulkan_core.h:4054:49: note: passing argument to parameter 'fence' here - VkFence fence); - ^ - -Fixes: a8a194d695af ("render/vulkan: switch to timeline semaphores") ---- - render/vulkan/renderer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c -index fe7162407..4e326c69b 100644 ---- a/render/vulkan/renderer.c -+++ b/render/vulkan/renderer.c -@@ -385,7 +385,7 @@ bool vulkan_submit_stage_wait(struct wlr_vk_renderer *renderer) { - .signalSemaphoreCount = 1, - .pSignalSemaphores = &renderer->timeline_semaphore, - }; -- VkResult res = vkQueueSubmit(renderer->dev->queue, 1, &submit_info, NULL); -+ VkResult res = vkQueueSubmit(renderer->dev->queue, 1, &submit_info, VK_NULL_HANDLE); - if (res != VK_SUCCESS) { - wlr_vk_error("vkQueueSubmit", res); - return false; -@@ -1138,7 +1138,7 @@ static void vulkan_end(struct wlr_renderer *wlr_renderer) { - }; - - uint32_t submit_count = sizeof(submit_infos) / sizeof(submit_infos[0]); -- VkResult res = vkQueueSubmit(renderer->dev->queue, submit_count, submit_infos, NULL); -+ VkResult res = vkQueueSubmit(renderer->dev->queue, submit_count, submit_infos, VK_NULL_HANDLE); - if (res == VK_ERROR_DEVICE_LOST) { - wlr_log(WLR_ERROR, "vkQueueSubmit failed with VK_ERROR_DEVICE_LOST"); - wl_signal_emit_mutable(&wlr_renderer->events.lost, NULL); --- -GitLab -