* [PR PATCH] betterlockscreen: use loginctl instead of systemctl
@ 2022-09-05 9:35 lonxwolx
2022-09-05 13:20 ` [PR PATCH] [Closed]: " sgn
0 siblings, 1 reply; 2+ messages in thread
From: lonxwolx @ 2022-09-05 9:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
There is a new pull request by lonxwolx against master on the void-packages repository
https://github.com/lonxwolx/void-packages betterlockscreen-loginctl
https://github.com/void-linux/void-packages/pull/39108
betterlockscreen: use loginctl instead of systemctl
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/39108.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-betterlockscreen-loginctl-39108.patch --]
[-- Type: text/x-diff, Size: 1200 bytes --]
From b2d83bbb073f98e9ce3e3bebe6fe8074ba519778 Mon Sep 17 00:00:00 2001
From: lonxwolx <lonxwolx@gmail.com>
Date: Mon, 5 Sep 2022 17:33:26 +0800
Subject: [PATCH] betterlockscreen: use loginctl instead of systemctl
---
srcpkgs/betterlockscreen/patches/use-loginctl.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 srcpkgs/betterlockscreen/patches/use-loginctl.patch
diff --git a/srcpkgs/betterlockscreen/patches/use-loginctl.patch b/srcpkgs/betterlockscreen/patches/use-loginctl.patch
new file mode 100644
index 000000000000..de2697123091
--- /dev/null
+++ b/srcpkgs/betterlockscreen/patches/use-loginctl.patch
@@ -0,0 +1,12 @@
+diff -Naur betterlockscreen-4.0.3/betterlockscreen betterlockscreen-4.0.3-patched/betterlockscreen
+--- betterlockscreen-4.0.3/betterlockscreen 2021-08-22 03:39:34.000000000 +0800
++++ betterlockscreen-4.0.3-patched/betterlockscreen 2022-09-05 17:29:51.165948726 +0800
+@@ -965,6 +965,6 @@
+ # Activate lockscreen
+ [[ $runsuspend ]] || lockargs+=(-n)
+ [[ $runlock ]] && lockselect "$lockstyle" && \
+- { [[ $runsuspend ]] && systemctl suspend; }
++ { [[ $runsuspend ]] && loginctl suspend; }
+
+ exit 0
+\ No newline at end of file
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: betterlockscreen: use loginctl instead of systemctl
2022-09-05 9:35 [PR PATCH] betterlockscreen: use loginctl instead of systemctl lonxwolx
@ 2022-09-05 13:20 ` sgn
0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2022-09-05 13:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]
There's a closed pull request on the void-packages repository
betterlockscreen: use loginctl instead of systemctl
https://github.com/void-linux/void-packages/pull/39108
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-05 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 9:35 [PR PATCH] betterlockscreen: use loginctl instead of systemctl lonxwolx
2022-09-05 13:20 ` [PR PATCH] [Closed]: " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).