1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: redshift: Fix build with Python 3.12 by updating to 1.12-0.490ba2a.

* gnu/packages/xdisorg.scm (redshift): Update to 1.12-0.490ba2a.
[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, automake, and libtool.

Merges: https://codeberg.org/guix/guix/pulls/7554
Change-Id: I0663d5226b5b9ea4fe516f3d971dd20aefe30890
This commit is contained in:
Hugo Buddelmeijer
2026-03-28 20:32:35 +01:00
committed by Sharlatan Hellseher
parent 41f5d3fc81
commit d445e7030c

View File

@@ -1775,17 +1775,23 @@ driver for the X.Org X Server version 1.7 and later (X11R7.5 or later).")
(define-public redshift
(package
(name "redshift")
(version "1.12")
;; redshift 1.12 does not support Python 3.12, so use latest commit.
(properties '((commit . "490ba2aae9cfee097a88b6e2be98aeb1ce990050")
(revision . "0")))
(version (git-version "1.12"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method url-fetch)
(method git-fetch)
(uri
(string-append "https://github.com/jonls/redshift/"
"releases/download/v" version
"/redshift-" version ".tar.xz"))
(git-reference
(url "https://github.com/jonls/redshift/")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32
"1fi27b73x85qqar526dbd33av7mahca2ykaqwr7siqiw1qqcby6j"))))
"1qn2xp174f77lkkiq8k66k9180anj5c7d84by7lgyv7azdqflwkj"))))
(build-system gnu-build-system)
(arguments
(list
@@ -1828,7 +1834,11 @@ driver for the X.Org X Server version 1.7 and later (X11R7.5 or later).")
(,(getenv "GI_TYPELIB_PATH"))))))))))
(outputs '("out" "gtk"))
(native-inputs
(list pkg-config intltool))
(list autoconf
automake
intltool
libtool
pkg-config))
(inputs
(list bash-minimal
libdrm