Subject: [PATCH] gnu: gparted: Use the Glib-or-GTK build system.

From: Tobias Geerinckx-Rice <[email-masked]>
Date: Tue, 14 Jul 2020 15:50:19 +0200

Fixes <https://issues.guix.gnu.org/38544>.

* gnu/packages/disk.scm (gparted)[build-system]: Use
glib-or-gtk-build-system.
---

raingloom 写道：
> I tried fixing this by adding the wrapper step from glib-or-gtk but
> that didn't do anything.

Strange, this works for me (after a pointless detour writing a custom wrap phase with shared-mime-info et al):

 gnu/packages/disk.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index a5278d8c8c..6d812f560c 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -78,6 +78,7 @@
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
@@ -432,7 +433,7 @@ and can dramatically shorten the lifespan of the drive if left unchecked.")
                            version "/gparted-" version ".tar.gz"))
        (sha256
         (base32 "092rgwjh1825fal6v3yafq2wr0i61hh0a2n0j4296zn0zdx7pzp2"))))
-    (build-system gnu-build-system)
+    (build-system glib-or-gtk-build-system)
     (arguments
       ;; Tests require access to paths outside the build container, such
       ;; as '/dev/disk/by-id'
-- 
2.27.0