From 4c997d08447fff28be328db36a765a1e3216e2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Tue, 31 Dec 2024 12:43:57 +0800 Subject: [PATCH] gnu: ristretto: Update to 0.13.3. * gnu/packages/xfce.scm (ristretto): Update to 0.13.3. [source]: Switch to git-fetch. [arguments]: Add "--enable-maintainer-mode" to configure-flags. [native-inputs]: Add xfce4-dev-tools. Change-Id: Ia1bc97b0fbecc647e6ccb3a3ddf4ce4d1223bf99 --- gnu/packages/xfce.scm | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index a35ba85661f6075298c54d011124ac05a0d21587..30c77d664f1f846b7d388ebacda18a79fad00d14 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1391,20 +1391,22 @@ inhibit interface which allows applications to prevent automatic sleep.") (define-public ristretto (package (name "ristretto") - (version "0.13.2") - (source (origin - (method url-fetch) - (uri (string-append "https://archive.xfce.org/src/apps/ristretto/" - (version-major+minor version) "/" - "ristretto-" version ".tar.bz2")) - (sha256 - (base32 - "1nbxfm6ljcw45vn8hhjxwcv3k387hdah4jnn07n9w08n63g5x7vp")))) + (version "0.13.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.xfce.org/apps/" name)) + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bbcq5spqirh21p0s7vy9na58inz47nsj59asdka35qnvr20g4vh")))) (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--enable-maintainer-mode"))) ;for main_window_ui.h, etc. (native-inputs - (list intltool desktop-file-utils - `(,glib "bin") ; for gdbus-codegen - pkg-config)) + (list xfce4-dev-tools)) (inputs (list gtk+ libexif libxfce4ui tumbler)) (home-page "https://docs.xfce.org/apps/ristretto/start")