[packages/swayidle] up to 1.8.0
atler
atler at pld-linux.org
Sun Dec 4 18:32:01 CET 2022
commit 09a8c64ee772a18908c3f161a5b025364554f822
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Dec 4 18:31:41 2022 +0100
up to 1.8.0
printf_size_t.patch | 22 ----------------------
swayidle.spec | 12 +++++-------
2 files changed, 5 insertions(+), 29 deletions(-)
---
diff --git a/swayidle.spec b/swayidle.spec
index 2a11413..5ec38d7 100644
--- a/swayidle.spec
+++ b/swayidle.spec
@@ -1,23 +1,22 @@
Summary: Idle management daemon for Wayland
Name: swayidle
-Version: 1.7.1
-Release: 2
+Version: 1.8.0
+Release: 1
License: MIT
Group: Applications
Source0: https://github.com/swaywm/swayidle/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 7032c54a0357d92173e7a823e09a9b8c
-Patch0: printf_size_t.patch
+# Source0-md5: cbc80fb71c19a5d8d058d7cd5975d1eb
URL: https://github.com/swaywm/swayidle
BuildRequires: bash-completion
BuildRequires: fish-devel
-BuildRequires: meson >= 0.48.0
+BuildRequires: meson >= 0.59.0
BuildRequires: ninja
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: scdoc
BuildRequires: systemd-devel
BuildRequires: wayland-devel
-BuildRequires: wayland-protocols >= 1.14
+BuildRequires: wayland-protocols >= 1.27
Suggests: swaylock
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,7 +56,6 @@ ZSH completion for swayidle.
%prep
%setup -q
-%patch0 -p1
%build
%meson build
diff --git a/printf_size_t.patch b/printf_size_t.patch
deleted file mode 100644
index 13c7cc7..0000000
--- a/printf_size_t.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From e81d40fca7533f73319e76e42fa9694b21cc9e6e Mon Sep 17 00:00:00 2001
-From: Stacy Harper <contact at stacyharper.net>
-Date: Sat, 15 Jan 2022 17:39:47 +0100
-Subject: [PATCH] Fix printf using size_t lineno variable
-
----
- main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/main.c b/main.c
-index 9ea3f0b3..b524e738 100644
---- a/main.c
-+++ b/main.c
-@@ -1004,7 +1004,7 @@ static int load_config(const char *config_path) {
- parse_idlehint(p.we_wordc, p.we_wordv);
- } else {
- line[i] = 0;
-- swayidle_log(LOG_ERROR, "Unexpected keyword \"%s\" in line %lu", line, lineno);
-+ swayidle_log(LOG_ERROR, "Unexpected keyword \"%s\" in line %zu", line, lineno);
- free(line);
- return -EINVAL;
- }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/swayidle.git/commitdiff/f5b57963221adb8fd86aa38051fed16a1e05c75c
More information about the pld-cvs-commit
mailing list