summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2025-12-29 11:48:05 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 12:42:46 +0000
commitae53179c9de1442966c07a31f3a3276e71d757fd (patch)
treec692daf994845d25dcbd22eea8d820d95008e005 /gnu
parentcfffecfa28e43f8e2657e44b018d261ca3abb4dd (diff)
gnu: darkman: Update to 2.2.0.
* gnu/packages/xdisorg.scm (darkman): Update to 2.2.0. [source]: Adjust Makefile patching snippet. [arguments]<#:phases>{patch-paths}: Simplify. [native-inputs]: Replace go-gopkg-in-yaml-v3 with go-github-goccy-go-yaml Change-Id: I8adc6604b69531af5dd246cfd9b9c7eabcb4c54d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xdisorg.scm22
1 files changed, 10 insertions, 12 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 79d272c49dd..2bac985fc0d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -4577,7 +4577,7 @@ setup of your X Server without any modifications.")
4577(define-public darkman 4577(define-public darkman
4578 (package 4578 (package
4579 (name "darkman") 4579 (name "darkman")
4580 (version "2.1.0") 4580 (version "2.2.0")
4581 (source 4581 (source
4582 (origin 4582 (origin
4583 (method git-fetch) 4583 (method git-fetch)
@@ -4587,7 +4587,7 @@ setup of your X Server without any modifications.")
4587 (file-name (git-file-name name version)) 4587 (file-name (git-file-name name version))
4588 (sha256 4588 (sha256
4589 (base32 4589 (base32
4590 "039xqi9pll7vl1m8lri5x626s7n0wqrjzyy979kh3wmpqbk8jz3j")) 4590 "0pq7csrxs76mlp8i0yxj24s30ynhhr8rs9kcwn01pzi73k3sx6ra"))
4591 (modules '((guix build utils))) 4591 (modules '((guix build utils)))
4592 (snippet 4592 (snippet
4593 '(begin 4593 '(begin
@@ -4595,7 +4595,9 @@ setup of your X Server without any modifications.")
4595 ;; Avoid building the binary again when installing. 4595 ;; Avoid building the binary again when installing.
4596 (("install: build") "install: darkman.1") 4596 (("install: build") "install: darkman.1")
4597 ;; Don't install the systemd service. 4597 ;; Don't install the systemd service.
4598 ((".@install.*systemd.*") "") 4598 (("install.*contrib/darkman.service") "true")
4599 ;; Don't install the openrc service.
4600 (("install.*openrc") "true")
4599 ;; The binary will be installed by `go install'. 4601 ;; The binary will be installed by `go install'.
4600 ((".@install.*bin.*") "")))))) 4602 ((".@install.*bin.*") ""))))))
4601 (build-system go-build-system) 4603 (build-system go-build-system)
@@ -4611,14 +4613,10 @@ setup of your X Server without any modifications.")
4611 #~(modify-phases %standard-phases 4613 #~(modify-phases %standard-phases
4612 (add-after 'unpack 'patch-paths 4614 (add-after 'unpack 'patch-paths
4613 (lambda* (#:key unpack-path #:allow-other-keys) 4615 (lambda* (#:key unpack-path #:allow-other-keys)
4614 (let ((source (string-append "src/" unpack-path "/contrib/dbus/"))) 4616 (substitute*
4615 (substitute* 4617 (find-files (string-append "src/" unpack-path "/contrib/dbus/")
4616 (list (string-append 4618 "\\.service$")
4617 source "nl.whynothugo.darkman.service") 4619 (("/usr") #$output))))
4618 (string-append
4619 source
4620 "org.freedesktop.impl.portal.desktop.darkman.service"))
4621 (("/usr") #$output)))))
4622 (replace 'install 4620 (replace 'install
4623 (lambda* (#:key unpack-path #:allow-other-keys) 4621 (lambda* (#:key unpack-path #:allow-other-keys)
4624 (with-directory-excursion (string-append "src/" unpack-path) 4622 (with-directory-excursion (string-append "src/" unpack-path)
@@ -4636,11 +4634,11 @@ setup of your X Server without any modifications.")
4636 (native-inputs 4634 (native-inputs
4637 (list gnu-make 4635 (list gnu-make
4638 go-github-com-adrg-xdg 4636 go-github-com-adrg-xdg
4637 go-github-com-goccy-go-yaml
4639 go-github-com-godbus-dbus-v5 4638 go-github-com-godbus-dbus-v5
4640 go-github-com-rxwycdh-rxhash 4639 go-github-com-rxwycdh-rxhash
4641 go-github-com-sj14-astral 4640 go-github-com-sj14-astral
4642 go-github-com-spf13-cobra 4641 go-github-com-spf13-cobra
4643 go-gopkg-in-yaml-v3
4644 scdoc)) 4642 scdoc))
4645 (home-page "https://gitlab.com/WhyNotHugo/darkman") 4643 (home-page "https://gitlab.com/WhyNotHugo/darkman")
4646 (synopsis "Control dark-mode and light-mode transitions") 4644 (synopsis "Control dark-mode and light-mode transitions")