GNU bug report logs - #75146
[PATCH v0 00/15] XFCE: Move source from generated archive to git.

Previous Next

Package: guix-patches;

Reported by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>

Date: Fri, 27 Dec 2024 19:49:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 75146 <at> debbugs.gnu.org (full text, mbox):

From: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
To: 75146 <at> debbugs.gnu.org
Cc: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>
Subject: [PATCH v0 11/15] gnu: tumbler: Update variable fields.
Date: Sat, 28 Dec 2024 01:24:09 +0530
From: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>

* gnu/packages/xfce.scm (tumbler):
[source]: Update to XFCE's GitLab URL.
[home-page]: Set to docs.xfce.org.
[arguments]: Set configure flag "--enable-maintainer-mode".
[native-inputs]: Add autoconf, automake, gtk-doc, libtool,
and xfce4-dev-tools.

Change-Id: I993fda97eeea44c529cc04359f2e2ab36068962c
---
 gnu/packages/xfce.scm | 73 +++++++++++++++++++++++--------------------
 1 file changed, 39 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index c9ea04e91e..eecc855648 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -389,42 +389,47 @@ (define-public tumbler
   (package
     (name "tumbler")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  "tumbler/" (version-major+minor version) "/"
-                                  "tumbler-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "102qwa8an7wdqf0hrqd5k51aiib3zww0iizsigllfrcjamyn9cbl"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/tumbler")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "18bp1ckv6mzbxhbk7aqp2mxbni1pw8hv8rzxmc9xx488dxs0qq8s"))))
     (build-system gnu-build-system)
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (add-before 'configure 'patch-configure
-                 (lambda _
-                   (substitute* "configure"
-                     ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path.
-                     (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
-                      "type -p gdbus-codegen")))))))
-    (native-inputs
-     (list pkg-config intltool
-           `(,glib "bin")))       ; need glib-genmarshal and gdbus-codegen
-    (propagated-inputs
-     (list glib))                 ; required by tumbler-1.pc
-    (inputs
-     (list dbus
-           gdk-pixbuf
-           cairo ;; Needed for pdf thumbnails (poppler-glibc.pc)
-           freetype
-           libjpeg-turbo
-           libgsf
-           libxfce4util
-           poppler
-           ;; FIXME Provide gstreamer and gstreamer-tag to get video thumbnails
-           ;; ("gstreamer" ,gstreamer)
-           ))
-    (home-page "https://www.xfce.org/")
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'configure 'patch-configure
+                     (lambda _
+                       (substitute* "configure"
+                         (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
+                          "type -p gdbus-codegen")))))))
+    (native-inputs (list autoconf
+                         automake
+                         dbus-glib
+                         (list glib "bin") ;need glib-genmarshal
+                         gtk-doc
+                         intltool
+                         libtool
+                         pkg-config
+                         xfce4-dev-tools))
+    (propagated-inputs (list glib)) ;required by tumbler-1.pc
+    (inputs (list dbus
+                  gdk-pixbuf
+                  cairo ;Needed for pdf thumbnails (poppler-glibc.pc)
+                  freetype
+                  libjpeg-turbo
+                  libgsf
+                  libxfce4util
+                  poppler
+                  ;; FIXME Provide gstreamer and gstreamer-tag to get video thumbnails
+                  ;; ("gstreamer" ,gstreamer)
+                  ))
+    (home-page "https://docs.xfce.org/xfce/tumbler/")
     (synopsis "D-Bus service for applications to request thumbnails")
     (description
      "Tumbler is a D-Bus service for applications to request thumbnails for
-- 
2.46.0





This bug report was last modified 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.