From 8b45d05874c18323e48bdea45254639178d3a2b9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:54 +0200 Subject: [PATCH 01/26] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- xss-lock.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xss-lock.spec b/xss-lock.spec index e63d1b7..f9464a7 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -24,6 +24,7 @@ License: MIT Url: https://bitbucket.org/raymonad/xss-lock Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +BuildRequires: gcc BuildRequires: xcb-util-devel libxcb-devel glib2-devel BuildRequires: cmake python-docutils Requires: xcb-util From 28744688f9647ed3f38598e7faf05e86a87926db Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 09:36:20 +0000 Subject: [PATCH 02/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index f9464a7..c30b997 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 8.%{checkout}%{?dist} +Release: 9.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -76,6 +76,9 @@ make install DESTDIR=%{buildroot} %license LICENSE %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 1b434e6a30f2c992780ee1147488aee7d9df63ca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 12:51:01 +0000 Subject: [PATCH 03/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index c30b997..175b857 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 9.%{checkout}%{?dist} +Release: 10.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -76,6 +76,9 @@ make install DESTDIR=%{buildroot} %license LICENSE %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 1ef0e0114c91da825d6db8d243b5959c93a00161 Mon Sep 17 00:00:00 2001 From: Filipe Rosset Date: Thu, 4 Jul 2019 22:39:43 -0300 Subject: [PATCH 04/26] - Fix FTBFS rhbz#1606760 and rhbz#1676252 --- xss-lock.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/xss-lock.spec b/xss-lock.spec index 175b857..84a6f48 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 10.%{checkout}%{?dist} +Release: 11.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -24,9 +24,12 @@ License: MIT Url: https://bitbucket.org/raymonad/xss-lock Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +BuildRequires: cmake BuildRequires: gcc -BuildRequires: xcb-util-devel libxcb-devel glib2-devel -BuildRequires: cmake python-docutils +BuildRequires: glib2-devel +BuildRequires: libxcb-devel +BuildRequires: python3-docutils +BuildRequires: xcb-util-devel Requires: xcb-util # Description is a verbatim copy of the manual formatted to Markdown. @@ -58,10 +61,10 @@ preconfigured delay. %build %cmake . -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install %files %{_bindir}/xss-lock @@ -76,6 +79,9 @@ make install DESTDIR=%{buildroot} %license LICENSE %changelog +* Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git +- Fix FTBFS rhbz#1606760 and rhbz#1676252 + * Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 3a00add784c1422f9d86f2e16c799021557b7ed3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 04:40:34 +0000 Subject: [PATCH 05/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index 84a6f48..95e7c4c 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 11.%{checkout}%{?dist} +Release: 12.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git - Fix FTBFS rhbz#1606760 and rhbz#1676252 From 621b7397c6af7a86d9301278a6a1942485686088 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 04:57:22 +0000 Subject: [PATCH 06/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index 95e7c4c..2543b1c 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 12.%{checkout}%{?dist} +Release: 13.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From b3106f027fb7214bfd44cd8fdcf2ac4b43073a1f Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 5 Jul 2020 20:19:46 +0200 Subject: [PATCH 07/26] Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- xss-lock.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xss-lock.spec b/xss-lock.spec index 2543b1c..b9f3682 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -60,11 +60,11 @@ preconfigured delay. %setup -qn raymonad-%{name}-%{shortcommit0} %build -%cmake . -%make_build +%cmake +%cmake_build %install -%make_install +%cmake_install %files %{_bindir}/xss-lock From f0be9cf10e6366f68ead4ed571d405ada8bcc6ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 15:07:00 +0000 Subject: [PATCH 08/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index b9f3682..2a7a2c0 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 13.%{checkout}%{?dist} +Release: 14.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 54b6983942a71c79b649ad86f19f2ac01a71fe5e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 28 Jan 2021 00:25:29 +0000 Subject: [PATCH 09/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index 2a7a2c0..3d42e36 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 14.%{checkout}%{?dist} +Release: 15.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From e7f44afa8750bc906ff789791c17b7cd6ae6c38a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 21:59:39 +0000 Subject: [PATCH 10/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index 3d42e36..0936657 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 15.%{checkout}%{?dist} +Release: 16.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From c1b5b3d42831736ded0eece0ddf36c9721a3060f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:33:15 +0000 Subject: [PATCH 11/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index 0936657..fda30a6 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 16.%{checkout}%{?dist} +Release: 17.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 33d2934764bc4448bec4cb85fa7fb64e5be5ee1b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:34:56 +0000 Subject: [PATCH 12/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index fda30a6..b41636a 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 17.%{checkout}%{?dist} +Release: 18.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 3ce324339da03bc32115092948df99a770b18e0b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 07:54:52 +0000 Subject: [PATCH 13/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xss-lock.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index b41636a..e0ef7a5 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -16,7 +16,7 @@ Name: xss-lock Version: 0.3.0 -Release: 18.%{checkout}%{?dist} +Release: 19.%{checkout}%{?dist} Summary: Use external locker as X screen saver #Group: @@ -79,6 +79,9 @@ preconfigured delay. %license LICENSE %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.0-19.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 29ab588572343c589006e536bb4ed788722c79d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 7 Jun 2023 00:33:22 +0200 Subject: [PATCH 14/26] Orphaned for 6+ weeks --- .gitignore | 1 - dead.package | 1 + sources | 1 - xss-lock.spec | 143 -------------------------------------------------- 4 files changed, 1 insertion(+), 145 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 xss-lock.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9ae0184..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/xss-lock-1e158fb20108.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index 5c7a91c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -d7ee0d919c19244366cedbe1f65d39c7 xss-lock-1e158fb20108.tar.gz diff --git a/xss-lock.spec b/xss-lock.spec deleted file mode 100644 index e0ef7a5..0000000 --- a/xss-lock.spec +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright © 2016 Martin Ueding -# Licensed under the MIT license as the packaged software itself. - -# Rationale for choosing a post release: -# -# The version that I use from git is a couple commits *after* 0.3.0 and there -# is no more recent tag in the upstream repository. Previously I have used -# xss-lock 0.3.0 on Ubuntu 15.04 and had a bug with it, it would not exit when -# I logged out of the graphics session. Then it would hammer one CPU core. The -# repository contains commits which suggest that this bug has been addressed -# but not yet released. - -%global checkout 20140302git -%global commit0 1e158fb20108058dbd62bd51d8e8c003c0a48717 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:12}) - -Name: xss-lock -Version: 0.3.0 -Release: 19.%{checkout}%{?dist} -Summary: Use external locker as X screen saver - -#Group: -License: MIT -Url: https://bitbucket.org/raymonad/xss-lock -Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz - -BuildRequires: cmake -BuildRequires: gcc -BuildRequires: glib2-devel -BuildRequires: libxcb-devel -BuildRequires: python3-docutils -BuildRequires: xcb-util-devel -Requires: xcb-util - -# Description is a verbatim copy of the manual formatted to Markdown. - -%description -*xss-lock* hooks up your favorite locker to the MIT screen saver extension for -X and also to systemd's login manager. The locker is executed in response to -events from these two sources: - -- X signals when screen saver activation is forced or after a period of user - inactivity (as set with `xset s TIMEOUT`). In the latter case, the notifier - command, if specified, is executed first. - -- The login manager can also request that the session be locked; as a result of - `loginctl lock-sessions`, for example. Additionally, **xss-lock** uses the - inhibition logic to lock the screen before the system goes to sleep. - -*xss-lock* waits for the locker to exit -- or kills it when screen saver -deactivation or session unlocking is forced -- so the command should not fork. - -Also, *xss-lock* manages the idle hint on the login session. The idle state of -the session is directly linked to user activity as reported by X (except when -the notifier runs before locking the screen). When all sessions are idle, the -login manager can take action (such as suspending the system) after a -preconfigured delay. - -%prep -%setup -qn raymonad-%{name}-%{shortcommit0} - -%build -%cmake -%cmake_build - -%install -%cmake_install - -%files -%{_bindir}/xss-lock -%{_datadir}/bash-completion/completions/ -%{_datadir}/zsh/ -%{_mandir}/man1/xss-lock.1* -%doc NEWS -%doc doc/dim-screen.sh -%doc doc/transfer-sleep-lock-generic-delay.sh -%doc doc/transfer-sleep-lock-i3lock.sh -%doc doc/xdg-screensaver.patch -%license LICENSE - -%changelog -* Sat Jan 21 2023 Fedora Release Engineering - 0.3.0-19.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git -- Fix FTBFS rhbz#1606760 and rhbz#1676252 - -* Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-7.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-6.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-5.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Jan 06 2016 Martin Ueding 0.3.0-4.20140302git -- Own `zsh` directory - -* Tue Jan 05 2016 Martin Ueding 0.3.0-3.20140302git -- Include full commit has -- Let RPM find library dependencies automatically - -* Mon Jan 04 2016 Martin Ueding 0.3.0-2.20140302git -- Use downloading and renaming support from `%%setup -qn` and `spectool -g` -- Replace `%%define` with `%%global` -- Own shell completion directory as this package does not explicitly depend on - the shells -- Add a wildcard to catch all manual page compression formats -- Add a `Url` tag - -* Sat Jan 02 2016 Martin Ueding 0.3.0-1 -- Initial RPM From 7950eeda44ea7c82fc5b60bf79c9ef66ea2e8fff Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Thu, 5 Oct 2023 10:36:22 +0200 Subject: [PATCH 15/26] Unretirement request: https://pagure.io/releng/issue/11706 --- .gitignore | 1 + dead.package | 1 - sources | 1 + xss-lock.spec | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 sources create mode 100644 xss-lock.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ae0184 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xss-lock-1e158fb20108.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..5c7a91c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d7ee0d919c19244366cedbe1f65d39c7 xss-lock-1e158fb20108.tar.gz diff --git a/xss-lock.spec b/xss-lock.spec new file mode 100644 index 0000000..e0ef7a5 --- /dev/null +++ b/xss-lock.spec @@ -0,0 +1,143 @@ +# Copyright © 2016 Martin Ueding +# Licensed under the MIT license as the packaged software itself. + +# Rationale for choosing a post release: +# +# The version that I use from git is a couple commits *after* 0.3.0 and there +# is no more recent tag in the upstream repository. Previously I have used +# xss-lock 0.3.0 on Ubuntu 15.04 and had a bug with it, it would not exit when +# I logged out of the graphics session. Then it would hammer one CPU core. The +# repository contains commits which suggest that this bug has been addressed +# but not yet released. + +%global checkout 20140302git +%global commit0 1e158fb20108058dbd62bd51d8e8c003c0a48717 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:12}) + +Name: xss-lock +Version: 0.3.0 +Release: 19.%{checkout}%{?dist} +Summary: Use external locker as X screen saver + +#Group: +License: MIT +Url: https://bitbucket.org/raymonad/xss-lock +Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: glib2-devel +BuildRequires: libxcb-devel +BuildRequires: python3-docutils +BuildRequires: xcb-util-devel +Requires: xcb-util + +# Description is a verbatim copy of the manual formatted to Markdown. + +%description +*xss-lock* hooks up your favorite locker to the MIT screen saver extension for +X and also to systemd's login manager. The locker is executed in response to +events from these two sources: + +- X signals when screen saver activation is forced or after a period of user + inactivity (as set with `xset s TIMEOUT`). In the latter case, the notifier + command, if specified, is executed first. + +- The login manager can also request that the session be locked; as a result of + `loginctl lock-sessions`, for example. Additionally, **xss-lock** uses the + inhibition logic to lock the screen before the system goes to sleep. + +*xss-lock* waits for the locker to exit -- or kills it when screen saver +deactivation or session unlocking is forced -- so the command should not fork. + +Also, *xss-lock* manages the idle hint on the login session. The idle state of +the session is directly linked to user activity as reported by X (except when +the notifier runs before locking the screen). When all sessions are idle, the +login manager can take action (such as suspending the system) after a +preconfigured delay. + +%prep +%setup -qn raymonad-%{name}-%{shortcommit0} + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files +%{_bindir}/xss-lock +%{_datadir}/bash-completion/completions/ +%{_datadir}/zsh/ +%{_mandir}/man1/xss-lock.1* +%doc NEWS +%doc doc/dim-screen.sh +%doc doc/transfer-sleep-lock-generic-delay.sh +%doc doc/transfer-sleep-lock-i3lock.sh +%doc doc/xdg-screensaver.patch +%license LICENSE + +%changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.0-19.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git +- Fix FTBFS rhbz#1606760 and rhbz#1676252 + +* Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-7.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-6.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-5.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 06 2016 Martin Ueding 0.3.0-4.20140302git +- Own `zsh` directory + +* Tue Jan 05 2016 Martin Ueding 0.3.0-3.20140302git +- Include full commit has +- Let RPM find library dependencies automatically + +* Mon Jan 04 2016 Martin Ueding 0.3.0-2.20140302git +- Use downloading and renaming support from `%%setup -qn` and `spectool -g` +- Replace `%%define` with `%%global` +- Own shell completion directory as this package does not explicitly depend on + the shells +- Add a wildcard to catch all manual page compression formats +- Add a `Url` tag + +* Sat Jan 02 2016 Martin Ueding 0.3.0-1 +- Initial RPM From ff480cfb47aef983cd0da11477ec7dcaf9767562 Mon Sep 17 00:00:00 2001 From: Jani Juhani Sinervo Date: Sat, 7 Oct 2023 10:51:15 +0300 Subject: [PATCH 16/26] Revive package --- changelog | 62 +++++++++++++++++++++++++++++++++++ xss-lock.spec | 90 +++++---------------------------------------------- 2 files changed, 70 insertions(+), 82 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..729e037 --- /dev/null +++ b/changelog @@ -0,0 +1,62 @@ +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.0-19.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git +- Fix FTBFS rhbz#1606760 and rhbz#1676252 + +* Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-7.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-6.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-5.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 06 2016 Martin Ueding 0.3.0-4.20140302git +- Own `zsh` directory + +* Tue Jan 05 2016 Martin Ueding 0.3.0-3.20140302git +- Include full commit has +- Let RPM find library dependencies automatically + +* Mon Jan 04 2016 Martin Ueding 0.3.0-2.20140302git +- Use downloading and renaming support from `%%setup -qn` and `spectool -g` +- Replace `%%define` with `%%global` +- Own shell completion directory as this package does not explicitly depend on + the shells +- Add a wildcard to catch all manual page compression formats +- Add a `Url` tag + +* Sat Jan 02 2016 Martin Ueding 0.3.0-1 +- Initial RPM diff --git a/xss-lock.spec b/xss-lock.spec index e0ef7a5..2944945 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -1,22 +1,14 @@ -# Copyright © 2016 Martin Ueding -# Licensed under the MIT license as the packaged software itself. - # Rationale for choosing a post release: # # The version that I use from git is a couple commits *after* 0.3.0 and there -# is no more recent tag in the upstream repository. Previously I have used -# xss-lock 0.3.0 on Ubuntu 15.04 and had a bug with it, it would not exit when -# I logged out of the graphics session. Then it would hammer one CPU core. The -# repository contains commits which suggest that this bug has been addressed -# but not yet released. +# is no more recent tag in the upstream repository. -%global checkout 20140302git %global commit0 1e158fb20108058dbd62bd51d8e8c003c0a48717 %global shortcommit0 %(c=%{commit0}; echo ${c:0:12}) Name: xss-lock -Version: 0.3.0 -Release: 19.%{checkout}%{?dist} +Version: 0.3.0^20140302git1e158fb20108 +Release: %autorelease Summary: Use external locker as X screen saver #Group: @@ -25,10 +17,9 @@ Url: https://bitbucket.org/raymonad/xss-lock Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz BuildRequires: cmake -BuildRequires: gcc +BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: libxcb-devel -BuildRequires: python3-docutils BuildRequires: xcb-util-devel Requires: xcb-util @@ -57,7 +48,7 @@ login manager can take action (such as suspending the system) after a preconfigured delay. %prep -%setup -qn raymonad-%{name}-%{shortcommit0} +%autosetup -n raymonad-%{name}-%{shortcommit0} %build %cmake @@ -67,77 +58,12 @@ preconfigured delay. %cmake_install %files +%license LICENSE +%doc NEWS doc/dim-screen.sh doc/transfer-sleep-lock-generic-delay.sh doc/transfer-sleep-lock-i3lock.sh doc/xdg-screensaver.patch %{_bindir}/xss-lock %{_datadir}/bash-completion/completions/ %{_datadir}/zsh/ %{_mandir}/man1/xss-lock.1* -%doc NEWS -%doc doc/dim-screen.sh -%doc doc/transfer-sleep-lock-generic-delay.sh -%doc doc/transfer-sleep-lock-i3lock.sh -%doc doc/xdg-screensaver.patch -%license LICENSE %changelog -* Sat Jan 21 2023 Fedora Release Engineering - 0.3.0-19.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git -- Fix FTBFS rhbz#1606760 and rhbz#1676252 - -* Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-7.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-6.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-5.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Jan 06 2016 Martin Ueding 0.3.0-4.20140302git -- Own `zsh` directory - -* Tue Jan 05 2016 Martin Ueding 0.3.0-3.20140302git -- Include full commit has -- Let RPM find library dependencies automatically - -* Mon Jan 04 2016 Martin Ueding 0.3.0-2.20140302git -- Use downloading and renaming support from `%%setup -qn` and `spectool -g` -- Replace `%%define` with `%%global` -- Own shell completion directory as this package does not explicitly depend on - the shells -- Add a wildcard to catch all manual page compression formats -- Add a `Url` tag - -* Sat Jan 02 2016 Martin Ueding 0.3.0-1 -- Initial RPM +%autochangelog From e8b714b33a4aa82e4882f89114de01af95268f71 Mon Sep 17 00:00:00 2001 From: Jani Juhani Sinervo Date: Sat, 7 Oct 2023 11:03:51 +0300 Subject: [PATCH 17/26] Readd python3-docutils to BuildRequires --- xss-lock.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xss-lock.spec b/xss-lock.spec index 2944945..5ea85b4 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -20,6 +20,7 @@ BuildRequires: cmake BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: libxcb-devel +BuildRequires: python3-docutils BuildRequires: xcb-util-devel Requires: xcb-util From 67a1b815e7e4c3bfd83c760b69714ee3e64ada4b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 10:15:39 +0000 Subject: [PATCH 18/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 7dc5bab6a246bb450e2673f4eab2cda46f227865 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 29 Jan 2024 11:18:38 +0000 Subject: [PATCH 19/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e0ce874a0d2cbf50c45d3b721b562a1b25b281b2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:30:55 +0000 Subject: [PATCH 20/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From b27d167bdcbf57f0704c6f64e1149c0f4708994f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:21:24 +0000 Subject: [PATCH 21/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From ad6a8ede4f1f6d6f066ec896410b8f2d1f36441d Mon Sep 17 00:00:00 2001 From: Jani Juhani Sinervo Date: Tue, 25 Feb 2025 15:17:08 +0200 Subject: [PATCH 22/26] Remove obsolete field and check license --- xss-lock.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/xss-lock.spec b/xss-lock.spec index 5ea85b4..dee05a6 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -11,7 +11,6 @@ Version: 0.3.0^20140302git1e158fb20108 Release: %autorelease Summary: Use external locker as X screen saver -#Group: License: MIT Url: https://bitbucket.org/raymonad/xss-lock Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz From 69cd14018cdd5e2e60473d3c6bfe0099d6fd89d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:06:15 +0000 Subject: [PATCH 23/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From c80a50b3b698ece0155227743c5339f599dcd73b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:55:36 +0000 Subject: [PATCH 24/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 0db4e9b54985e2662127c119e95be85efc605a8f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:28:14 +0000 Subject: [PATCH 25/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 6290681de376cf6c6eeb089ae9dcc597348f6476 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Tue, 11 Nov 2025 14:38:00 +0100 Subject: [PATCH 26/26] Allow to build with CMake 4.0 (rhbz#2381644) --- xss-lock.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xss-lock.spec b/xss-lock.spec index dee05a6..99ffa06 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -51,6 +51,8 @@ preconfigured delay. %autosetup -n raymonad-%{name}-%{shortcommit0} %build +# TODO: Please submit an issue to upstream (rhbz#2381644) +export CMAKE_POLICY_VERSION_MINIMUM=3.5 %cmake %cmake_build