Accepting request 998977 from home:sp1rit

Update to version 0.11.1beta

OBS-URL: https://build.opensuse.org/request/show/998977
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=3
This commit is contained in:
Florian 2022-08-24 07:54:45 +00:00 committed by Git OBS Bridge
parent 386a828f42
commit f3c83e3b53
7 changed files with 49 additions and 76 deletions

View File

@ -1,37 +0,0 @@
From c7dff774e4b36d7068f91fd4db7c21484938d7cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ritCS@protonmail.com>
Date: Sun, 21 Aug 2022 00:24:26 +0200
Subject: [PATCH] dropped deprecated gethostbyname check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Done to avoid the rpmlint warning:
hyprland.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/hyprctl
The binary calls gethostbyname. Please port the code to use getaddrinfo.
Signed-off-by: Florian "sp1rit" <sp1ritCS@protonmail.com>
---
hyprctl/main.cpp | 6 ------
1 file changed, 6 deletions(-)
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index db8f48a..820e9fe 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -50,12 +50,6 @@ void request(std::string arg) {
return;
}
- const auto SERVER = gethostbyname("localhost");
-
- if (!SERVER) {
- std::cout << "Couldn't get host (2)";
- return;
- }
// get the instance signature
auto instanceSig = getenv("HYPRLAND_INSTANCE_SIGNATURE");
--
2.37.2

View File

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

View File

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

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Tue Aug 23 21:43:17 UTC 2022 - Florian "spirit" <packaging@sp1rit.anonaddy.me>
- Update to version 0.11.1beta:
+ New features:
* added HYPRLAND_LOG_WLR envvar
* added misc:float_switch_override_focus
+ Fixes:
* IME Popup damage fixes
* fix IME grab on multiple open native inputs
* fix LS snapshot rendering logic
* fix logic in fullscreen close candidates
* fix minor refocus issue
* fix oversized popup misalignment
* fix up hyprctl dispatch
* fix up keyword to accept spaced args
* fix wlr logging
* minor fix on unfocus on fullscreen workspace
* minor fixes to candidate finding
+ Other:
* always use /usr/share/ for wayland-sessions
* clean up temp logic in snapshots
* damage on force warp resize
* destroy monitor resources on exit
* doc: build man pages to repo
* doc: install mapages
* docs: install manpages with meson
* don't refocus if candidate is last window
* don't round popups
* dropped deprecated gethostbyname check
* fullscreen request only when mapped
* gha: build man pages
* improve compatability with older meson versions
* move monitor damage to separate funcs
* openSUSE patches
* remove unintuitive candidate behavior
* report sizes to all windows on fullscreen
* use a custom logging func for wlr
- Dropped gethostbyname.patch, included upstream.
- Dropped old-meson.patch, included upstream.
-------------------------------------------------------------------
Mon Aug 22 10:24:52 UTC 2022 - Florian "spirit" <packaging@sp1rit.anonaddy.me>

View File

@ -1,4 +1,4 @@
name: hyprland
version: 0.11.0beta
mtime: 1661117097
commit: f273ebed9cab738b2f6000a73df7fad08a279c15
version: 0.11.1beta
mtime: 1661289304
commit: fba7ed97fbb3dfe7c2a9ac45ceef2243624eaa04

View File

@ -24,8 +24,6 @@ Summary: Dynamic tiling Wayland compositor
License: BSD-3-Clause
URL: https://hyprland.org/
Source0: %{name}-%{version}.tar.xz
Patch1: gethostbyname.patch
Patch2: old-meson.patch
BuildRequires: gcc-c++ >= 11
BuildRequires: git
BuildRequires: glslang-devel
@ -89,5 +87,7 @@ model allowing for a lot of customization, and more.
%{_datadir}/%{name}/
%dir %{_datadir}/wayland-sessions/
%{_datadir}/wayland-sessions/%{name}.desktop
%{_mandir}/man1/Hyprland.*
%{_mandir}/man1/hyprctl.*
%changelog

View File

@ -1,31 +0,0 @@
From e622def9b4325ab4507544168b05e74da5713112 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ritCS@protonmail.com>
Date: Sun, 21 Aug 2022 00:32:55 +0200
Subject: [PATCH] improve compatability with older meson versions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- changed <compiler>.get_version() to <compiler>.version()
Signed-off-by: Florian "sp1rit" <sp1ritCS@protonmail.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9435333..58ef93a 100644
--- a/meson.build
+++ b/meson.build
@@ -15,7 +15,7 @@ if cpp_compiler.has_argument('-std=c++23')
elif cpp_compiler.has_argument('-std=c++2b')
add_global_arguments('-std=c++2b', language: 'cpp')
else
- error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.get_version() + ') with required C++ standard (C++23)')
+ error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.version() + ') with required C++ standard (C++23)')
endif
GIT_BRANCH = run_command('git', 'rev-parse', '--abbrev-ref', 'HEAD', check: false).stdout().strip()
--
2.37.2