Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdg-utils: update to 1.2.1 #8360

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions app-utils/xdg-utils/autobuild/patches/0001-add-slock-support.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From ee44aa5f9ce235d8b0f74d22de386c85684cab9a Mon Sep 17 00:00:00 2001
From: Student Main <[email protected]>
Date: Sat, 19 Oct 2024 16:26:16 +0000
Subject: [PATCH] add slock support

---
scripts/xdg-screensaver.in | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/scripts/xdg-screensaver.in b/scripts/xdg-screensaver.in
index e70942f..db0f8d0 100644
--- a/scripts/xdg-screensaver.in
+++ b/scripts/xdg-screensaver.in
@@ -110,6 +110,11 @@ perform_action()
cinnamon)
screensaver_cinnamon_screensaver "$1"
;;
+
+ slock)
+ slock
+ exit 0
+ ;;

xscreensaver)
screensaver_xscreensaver "$1"
@@ -884,6 +889,8 @@ dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.fr
# Consider "cinnamon-screensaver" a separate DE
dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.cinnamon.ScreenSaver > /dev/null 2>&1 && DE="cinnamon"
# Consider "xautolock" a separate DE
+slock -v > /dev/null 2>&1 && DE="slock"
+# Consider "xautolock" a separate DE
xautolock -enable > /dev/null 2>&1 && DE="xautolock_screensaver"

if [ "$action" = "resume" ] ; then
--
2.47.0

24 changes: 0 additions & 24 deletions app-utils/xdg-utils/autobuild/patches/add_slock_support.patch

This file was deleted.

6 changes: 3 additions & 3 deletions app-utils/xdg-utils/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VER=1.1.3
SRCS="tbl::https://portland.freedesktop.org/download/xdg-utils-$VER.tar.gz"
CHKSUMS="sha256::d798b08af8a8e2063ddde6c9fa3398ca81484f27dec642c5627ffcaa0d4051d9"
VER=1.2.1
SRCS="git::commit=tags/v$VER::https://gitlab.freedesktop.org/xdg/xdg-utils"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=5176"
7 changes: 3 additions & 4 deletions lang-python/semver/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=2.8.1
REL=3
SRCS="tbl::https://pypi.io/packages/source/s/semver/semver-$VER.tar.gz"
CHKSUMS="sha256::5b09010a66d9a3837211bb7ae5a20d10ba88f8cb49e92cb139a69ef90d5060d8"
VER=3.0.2
SRCS="pypi::version=$VER::semver"
CHKSUMS="sha256::6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc"
CHKUPDATE="anitya::id=35351"