From 506aa4e9c8d71a5c9fac8e6e9179716f98a8fe33 Mon Sep 17 00:00:00 2001 From: Francesco Carmelo Capria Date: Wed, 5 Oct 2022 19:15:16 +0200 Subject: [PATCH 1/3] New package: wired-notify-0.10.2 --- srcpkgs/wired-notify/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/wired-notify/template diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template new file mode 100644 index 000000000000..184459312d6a --- /dev/null +++ b/srcpkgs/wired-notify/template @@ -0,0 +1,17 @@ +# Template file for 'wired-notify' +pkgname=wired-notify +version=0.10.2 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="pango-devel libXScrnSaver-devel libglib-devel" +short_desc="Lightweight notification daemon written in Rust" +maintainer="Francesco Carmelo Capria " +license="MIT" +homepage="https://github.com/Toqozz/wired-notify" +distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz" +checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e + +post_install() { + vlicense LICENSE +} From f9a002f5614b02cf5daa537c9bbdb8d21d9d9988 Mon Sep 17 00:00:00 2001 From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com> Date: Wed, 5 Oct 2022 23:47:56 +0200 Subject: [PATCH 2/3] Update srcpkgs/wired-notify/template Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> --- srcpkgs/wired-notify/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template index 184459312d6a..1eede5da9e8c 100644 --- a/srcpkgs/wired-notify/template +++ b/srcpkgs/wired-notify/template @@ -13,5 +13,5 @@ distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.t checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e post_install() { - vlicense LICENSE + vlicense LICENSE } From a5e776d3995ae8835b828b5d6d0546255fdac84a Mon Sep 17 00:00:00 2001 From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com> Date: Wed, 5 Oct 2022 23:59:16 +0200 Subject: [PATCH 3/3] Update template --- srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/wired-notify/patches/32bit.patch diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch new file mode 100644 index 000000000000..22075f963681 --- /dev/null +++ b/srcpkgs/wired-notify/patches/32bit.patch @@ -0,0 +1,11 @@ +--- a/src/manager.rs ++++ b/src/manager.rs +@@ -143,7 +143,7 @@ + if let Some(threshold) = Config::get().idle_threshold { + match maths_utility::query_screensaver_info(&self.base_window) { + Ok(info) => { +- if info.idle / 1000 >= threshold { ++ if info.idle as u64 / 1000 >= threshold { + self.layout_windows + .values_mut() + .flatten()