From patchwork Mon Sep 19 04:09:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Hrbek X-Patchwork-Id: 42723 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4181F27BBEA; Mon, 19 Sep 2022 05:10:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AF57D27BBE9 for ; Mon, 19 Sep 2022 05:10:33 +0100 (BST) Received: from localhost ([::1]:39496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oa876-0002kL-TT for patchwork@mira.cbaines.net; Mon, 19 Sep 2022 00:10:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oa86d-0002k6-8j for guix-patches@gnu.org; Mon, 19 Sep 2022 00:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oa86d-0003wc-0W for guix-patches@gnu.org; Mon, 19 Sep 2022 00:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oa86c-0007Yb-Pi for guix-patches@gnu.org; Mon, 19 Sep 2022 00:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57809] [PATCH] gnome-boxes: Patch 'qemu-img' path References: <20220914181624.13204-1-kreyren@rixotstudio.cz> In-Reply-To: <20220914181624.13204-1-kreyren@rixotstudio.cz> Resent-From: Jacob Hrbek Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Sep 2022 04:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57809 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57809@debbugs.gnu.org Cc: Jacob Hrbek Received: via spool by 57809-submit@debbugs.gnu.org id=B57809.166356059729034 (code B ref 57809); Mon, 19 Sep 2022 04:10:02 +0000 Received: (at 57809) by debbugs.gnu.org; 19 Sep 2022 04:09:57 +0000 Received: from localhost ([127.0.0.1]:51751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa86W-0007YE-Ke for submit@debbugs.gnu.org; Mon, 19 Sep 2022 00:09:56 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:18037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa86S-0007Xy-7R for 57809@debbugs.gnu.org; Mon, 19 Sep 2022 00:09:55 -0400 Date: Mon, 19 Sep 2022 04:09:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rixotstudio.cz; s=protonmail; t=1663560585; x=1663819785; bh=kzlNax7211iZd4GEp8DACmDTiHh16eGixl01uj9ecZE=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=NtPFAcCEyDRqM86pwqVvmo2YUVGYsXq8QC1pcC+yyfNiUYUCi2Zp1WLoCOjIwpbGc 329x44zYQvqGVzMzXYEWaUFl6xF+vCTG1sP5Ccu8KviweAiOBDO9yp4lVh/z+Ahs5q q6RvjD/Wi0wndJ0CdowzPE3/KCB36zVT4U9B4V5JHehXvmwUsLcaazCQ7Lqy2OxxLi 8/kIAUwrPkH/klPXg2cx3QZn0V15BAYk+zLNO7/pDbXyAiqILVPX+F9Rnr5TXjnMY2 oLFAW6hzsUsHzZeACe9FIt9AAqK5XDB+1PAxNCXaa5ucaV3V396bwfV/zBmQqN1S4X CcF2vEJ/bJ/QQ== From: Jacob Hrbek Message-ID: <20220919040932.5298-1-kreyren@rixotstudio.cz> Feedback-ID: 30491181:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/gnome.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) gettext-minimal @@ -12162,6 +12167,7 @@ (define-public gnome-boxes sparql-query spice-gtk tracker + qemu-minimal ;for qemu-img vte webkitgtk-with-libsoup2)) ;for webkit2gtk-4.0 (home-page "https://wiki.gnome.org/Apps/Boxes") --- 2.37.3 diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index d6d22f8eb1..ff5cb92907 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12131,9 +12131,14 @@ (define-public gnome-boxes #$output "/lib/gnome-boxes")) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'disable-gtk-update-icon-cache - (lambda _ - (setenv "DESTDIR" "/")))))) + (add-after 'unpack 'disable-gtk-update-icon-cache + (lambda _ + (setenv "DESTDIR" "/"))) + (add-before 'configure 'substitute-qemu-dependencies + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/installed-media.vala" + (("qemu-img") + (search-input-file inputs "/bin/qemu-img")))))))) (native-inputs (list desktop-file-utils ;for update-desktop-database