From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YPw9H//2+GPoQwAAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 18:42:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IIshH//2+GPElQAAauVa8A (envelope-from ) for ; Fri, 24 Feb 2023 18:42:23 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0251E649A for ; Fri, 24 Feb 2023 18:42:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=d1DzPFRo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677260543; a=rsa-sha256; cv=none; b=BnqHrFL+S1AnGW+UjUjK6tRHIPP48mbj9QfUCqeo63CKpeQ/LGTjkx9b8CGADzG4ByswAQ Xf73TWsHDonjZpjvT36WWe7dMomlsGEwKxix9mh5ksDGWENvRS+VbD3Fpw/zlDXc/4J4ff TE2NCULHHCyTH/5SylkGKaK1b+U3bV4IcDtpS3EZ+Frfb0RW/Fmtht6XworbuR5DlnqH85 liaWl68/XEE4aVQfvBpPY5qBvf/+PFIZRP1ogzGh8S6PqMSHDB6OQcFCfYxpvAkPM1g9dU cx0recUUTR75x2K7FjwjLRTzauNBKj84XE1twu4crlvi16nLMO94912I8qIM/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=d1DzPFRo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677260543; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=o7VrsvQshQR//Wie+r55TKi3ILbmGhqwN95LHI96zgQ=; b=oc6+GW7g0QyKT3fN+H6L2uBo7kyUG5VL/o0eJgu/uq86hqSzdMlmQPwBX72/hIqySalgT/ MXeKFHmhsMabz2tKpQlEv2e0+kaKUzyptbbP+BkCLLUUIXiN4QEnVA1/98sZ+JdFe+xV71 hetxA1K1toY72UGcFA+/ehk0otp/nc1RKypo681ZwDi5T2V5ItBGVu00bKCWCltW6z1mV8 r0vz4KPdOGahD+x0+KYpAxbac8o5n8kSnV31264b0QaJOptmIPFBeDhL43q6mZRMoDG/5t XWTExfS+MkQRTOD+Wqycd4Q+ZNZmZ2319nZmHXgOjuI3TlVWaMfb9gtNxwMZFA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVc57-0000Ux-0n; Fri, 24 Feb 2023 12:42:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVc55-0000UZ-Ho for guix-patches@gnu.org; Fri, 24 Feb 2023 12:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVc54-0000sI-S7 for guix-patches@gnu.org; Fri, 24 Feb 2023 12:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVc54-0004xw-Fl for guix-patches@gnu.org; Fri, 24 Feb 2023 12:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61592] [PATCH v3 2/2] gnu: meld: Use new package style. References: <20230218021218.10783-1-atai@atai.org> In-Reply-To: <20230218021218.10783-1-atai@atai.org> Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Feb 2023 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61592 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61592@debbugs.gnu.org Cc: Andy Tai Received: via spool by 61592-submit@debbugs.gnu.org id=B61592.167726049619041 (code B ref 61592); Fri, 24 Feb 2023 17:42:02 +0000 Received: (at 61592) by debbugs.gnu.org; 24 Feb 2023 17:41:36 +0000 Received: from localhost ([127.0.0.1]:38193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVc4e-0004x1-D8 for submit@debbugs.gnu.org; Fri, 24 Feb 2023 12:41:36 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVc4c-0004wj-Kk for 61592@debbugs.gnu.org; Fri, 24 Feb 2023 12:41:35 -0500 Received: by mail-ed1-f65.google.com with SMTP id ck15so587057edb.0 for <61592@debbugs.gnu.org>; Fri, 24 Feb 2023 09:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:cc:to:subject:date:from:from:to:cc:subject :date:message-id:reply-to; bh=o7VrsvQshQR//Wie+r55TKi3ILbmGhqwN95LHI96zgQ=; b=d1DzPFRoI2/8G3e3FiiriMSMTMfSvB0L3oldps1s6clv6SyGRROEBr5huIbBOVhjjH CZSA9C6qEb9m46rxZWIB+7vy1ZmeD83lLOW7WovRR20t4gB2v1gsvnwo1Qr5X8TFrl0X M/90hzSFmX25pCHUGz+bOgg3M9iTsFLfAxTziRamS9Ne4nCemdlJykKxmXZrKHpVHG3p Re4Xn63WooaK3jsuy2zGHqBQyWpxSHIdd0QgOuHp4X2UWyoOM58RpixrWVRZa8wFJf9s mp4Y/4E+1apxrbW4inNHzt67nd8bJdMvZ19lEP7EYRKZ3Cm9wjSYguR5xLTN3Ht8OHpj Obtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:cc:to:subject:date:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=o7VrsvQshQR//Wie+r55TKi3ILbmGhqwN95LHI96zgQ=; b=lyE1wVXkJGoTtibMYqTmGGgIh+zmuo7oN2b+F5jeKtMU2bIMe3JZvdWwL4tBuPQeTJ pytsaCYHenb+91XbUAiunmZnaoilIEuvNiXO0ymZ5uu/x93P470axn/AjUgCMwKZm8id yS/xa8KmOHf+yF/fyrQSufQZto78qkRPOYAlEJMLrx2UaAvrBIpo5KaZ2cdudnPwNHJf oiC4ygfJydA/MKcHrS/NwpUZLayscdileiNwyDhOdYZCKyeDn8R/1SDu86rIUHWmFmIo 9RWX7SQWk5TBAKFmYFN2b8ovxIH80SPCVRDESUSGoNaac1rHFJWvUnQvUaeykuh3HK2U rIdg== X-Gm-Message-State: AO0yUKVWoPtzoxOWtY/4CmfveU9s8yw3pN4Bu4WakOizkkQzcJao3PA4 Qbxeh71eToop4/7ViBFGIohvJ0LFjGnq1Q== X-Google-Smtp-Source: AK7set+InI5HyjWTVRZcu6u9aglFGLg4k3p7Pc5Rqpl4uop0DID9fcgweRVTr+R/GdO+/8HwLRmwVg== X-Received: by 2002:a17:907:97c3:b0:8af:ef00:b853 with SMTP id js3-20020a17090797c300b008afef00b853mr31218541ejc.73.1677260488850; Fri, 24 Feb 2023 09:41:28 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id fi9-20020a170906da0900b008b26f3d45fbsm9925821ejb.143.2023.02.24.09.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 09:41:28 -0800 (PST) From: Andy Tai X-Google-Original-From: Andy Tai Date: Wed, 22 Feb 2023 22:37:36 -0800 Message-ID: <11e9f8f61b36762d05655ea2aafd6542cbb1bdd4.camel@atai.org> 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: X-Migadu-Queue-Id: 0251E649A X-Spam-Score: 0.42 X-Migadu-Spam-Score: 0.42 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: /p9RE7lg2cMD * gnu/packages/patchutils.scm (meld)[arguments]: Convert to list of G-Expressions. <#:phases>: Drop trailing #t. [inputs, native-inputs]: Drop labels. Signed-off-by: Liliana Marie Prikler --- gnu/packages/patchutils.scm | 74 ++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index fd1ba83b3c..05a9a62dbf 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -232,50 +232,50 @@ (define-public meld (base32 "03f4j27amyi28flkks8i9bhqzd6xhm6d3c6jzxc57rzniv4hgh9z")))) (build-system meson-build-system) (native-inputs - `(("desktop-file-utils" ,desktop-file-utils) - ("intltool" ,intltool) - ("itstool" ,itstool) - ("xmllint" ,libxml2) - ("glib-compile-schemas" ,glib "bin") - ("gobject-introspection" ,gobject-introspection) - ("pkg-config" ,pkg-config) - ("python" ,python))) + (list desktop-file-utils + intltool + itstool + libxml2 + `(,glib "bin") ; for glib-compile-schemas + gobject-introspection + pkg-config + python)) (inputs - `(("bash-minimal" ,bash-minimal) - ("python" ,python) - ("python-cairo" ,python-pycairo) - ("python-gobject" ,python-pygobject) - ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) - ("gtksourceview" ,gtksourceview-4))) + (list bash-minimal + python + python-pycairo + python-pygobject + gsettings-desktop-schemas + gtksourceview-4)) (propagated-inputs (list dconf)) (arguments - `(#:glib-or-gtk? #t - #:imported-modules (,@%meson-build-system-modules + (list + #:glib-or-gtk? #t + #:imported-modules `(,@%meson-build-system-modules (guix build python-build-system)) - #:modules ((guix build meson-build-system) + #:modules '((guix build meson-build-system) ((guix build python-build-system) #:prefix python:) (guix build utils)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'skip-gtk-update-icon-cache - ;; Don't create 'icon-theme.cache'. - (lambda _ - (substitute* "meson_post_install.py" - (("gtk-update-icon-cache") (which "true"))))) - (add-after 'install 'copy-styles - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((styles "/share/gtksourceview-4/styles")) - (copy-recursively - (string-append (assoc-ref inputs "gtksourceview") styles) - (string-append (assoc-ref outputs "out") styles)) - #t))) - (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap - (lambda* (#:key inputs outputs #:allow-other-keys) - (wrap-program (search-input-file outputs "bin/meld") - `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") - ,(python:site-packages inputs outputs))) - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "meson_post_install.py" + (("gtk-update-icon-cache") (which "true"))))) + (add-after 'install 'copy-styles + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((styles "/share/gtksourceview-4/styles")) + (copy-recursively + (string-append (assoc-ref inputs "gtksourceview") styles) + (string-append (assoc-ref outputs "out") styles))))) + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (search-input-file outputs "bin/meld") + `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") + ,(python:site-packages inputs outputs))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) (home-page "https://meldmerge.org/") (synopsis "Compare files, directories and working copies") (description "Meld is a visual diff and merge tool targeted at -- 2.39.1