guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

280/401: gnu: gnome-disk-utility: Update package definition.


From: guix-commits
Subject: 280/401: gnu: gnome-disk-utility: Update package definition.
Date: Tue, 18 Aug 2020 16:21:56 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit b6f2fdc9347e7aecaf2fc89f54111e24d0b9cce5
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Aug 5 13:56:04 2020 -0400

    gnu: gnome-disk-utility: Update package definition.
    
    * gnu/packages/gnome.scm (gnome-disk-utility) [version]: Update to
    3.36.3.
    [source]<origin>[sha256]: Modify base32.
    [arguments]<#:glib-or-gtk?>: New argument.
    <#:phases>['patch-docbook-xsl]: New phase.
    [native-inputs]: Remove docbook-xml.
    [inputs]: Add xz. Remove appstream-glib.
    [synopsis]: Modify.
    [description]: Modify.
    [home-page]: Modify.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/gnome.scm | 63 ++++++++++++++++++++++++++++++--------------------
 1 file changed, 38 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 307fe33..f7883d5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2524,49 +2524,62 @@ and keep up to date translations of documentation.")
 (define-public gnome-disk-utility
   (package
     (name "gnome-disk-utility")
-    (version "3.34.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://gnome/sources/" name "/"
-                                  (version-major+minor version) "/"
-                                  name "-" version ".tar.xz"))
-              (sha256
-               (base32
-                "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
+    (version "3.36.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "mirror://gnome/sources/" name "/"
+                       (version-major+minor version) "/"
+                       name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0yhnjmjzkixj29vcw6rzaijpg4mlwm2k1kqp4g3hn1xb6qzks0yx"))))
     (build-system meson-build-system)
     (arguments
-     '(#:configure-flags '("-Dlogind=libelogind")
+     `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
+       #:configure-flags
+       (list
+        "-Dlogind=libelogind")
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'skip-gtk-update-icon-cache
-           ;; Don't create 'icon-theme.cache'.
+         (add-after 'unpack 'patch-docbook-xsl
+           (lambda* (#:key inputs #:allow-other-keys)
+             (with-directory-excursion "doc/man"
+               (substitute* "meson.build"
+                 (("http://docbook.sourceforge.net/release/xsl/current";)
+                  (string-append (assoc-ref inputs "docbook-xsl")
+                                 "/xml/xsl/docbook-xsl-"
+                                 ,(package-version docbook-xsl)))))
+             #t))
+         (add-before 'configure 'skip-gtk-update-icon-cache
            (lambda _
              (substitute* "meson_post_install.py"
-               (("gtk-update-icon-cache") "true"))
+               (("gtk-update-icon-cache")
+                "true"))
              #t)))))
     (native-inputs
-     `(("glib:bin" ,glib "bin")
+     `(("docbook-xsl" ,docbook-xsl)
+       ("glib:bin" ,glib "bin")
        ("intltool" ,intltool)
        ("pkg-config" ,pkg-config)
-       ("docbook-xml" ,docbook-xml)
-       ("docbook-xsl" ,docbook-xsl)
-       ("libxml2" ,libxml2)
-       ("libxslt" ,libxslt)))
+       ("xmllint" ,libxml2)
+       ("xsltproc" ,libxslt)))
     (inputs
-     `(("elogind" ,elogind)
+     `(("dvdread" ,libdvdread)
+       ("elogind" ,elogind)
        ("glib" ,glib)
-       ("appstream-glib" ,appstream-glib)
        ("gnome-settings-daemon" ,gnome-settings-daemon)
        ("gtk+" ,gtk+)
        ("libcanberra" ,libcanberra)
-       ("libdvdread" ,libdvdread)
+       ("liblzma" ,xz)
        ("libnotify" ,libnotify)
-       ("libpwquality" ,libpwquality)
        ("libsecret" ,libsecret)
+       ("pwquality" ,libpwquality)
        ("udisks" ,udisks)))
-    (home-page "https://git.gnome.org/browse/gnome-disk-utility";)
-    (synopsis "Disk management utility for GNOME")
-    (description "Disk management utility for GNOME.")
+    (synopsis "View, modify and configure disks and media")
+    (description "GNOME-Disk-Utility provides libraries and applications for
+dealing with storage devices.")
+    (home-page "https://wiki.gnome.org/Apps/Disks";)
     (license license:gpl2+)))
 
 (define-public gnome-font-viewer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]