From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49536) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5BEf-0001JI-7p for guix-patches@gnu.org; Fri, 21 Feb 2020 11:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5BEe-0000Sr-0t for guix-patches@gnu.org; Fri, 21 Feb 2020 11:33:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5BEd-0000Sn-Tn for guix-patches@gnu.org; Fri, 21 Feb 2020 11:33:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5BEd-0007GQ-Qp for guix-patches@gnu.org; Fri, 21 Feb 2020 11:33:03 -0500 Subject: [bug#39717] [PATCH 1/3] gnu: delft-icon-theme: Use the copy-build-system. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49328) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5BEA-0000xm-8Y for guix-patches@gnu.org; Fri, 21 Feb 2020 11:32:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5BE7-0000GS-SE for guix-patches@gnu.org; Fri, 21 Feb 2020 11:32:33 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:29667) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j5BE7-0000Ed-C2 for guix-patches@gnu.org; Fri, 21 Feb 2020 11:32:31 -0500 Received: from localhost.localdomain (194-118-3-109.hdsl.highway.telekom.at [194.118.3.109]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 48PH6t6MKJz1LLyb for ; Fri, 21 Feb 2020 17:32:22 +0100 (CET) From: Leo Prikler Date: Fri, 21 Feb 2020 17:32:13 +0100 Message-Id: <20200221163215.11008-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39717@debbugs.gnu.org * gnu/packages/gnome-xyz.scm (delft-icon-theme): Use the copy-build-syste= m. --- gnu/packages/gnome-xyz.scm | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 06af41aea6..882bd40c2e 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -33,7 +33,8 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config) #:use-module (gnu packages ruby) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (srfi srfi-1)) =20 (define-public matcha-theme (package @@ -95,19 +96,17 @@ like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and o= thers.") (base32 "0vw3yw9f9ygzfd2k3zrfih3r0vkzlhk1bmsk8sapvk7np24i1z9s")) (file-name (git-file-name name version)))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (copy-recursively (assoc-ref %build-inputs "source") "icons") - (substitute* "icons/Delft/index.theme" - (("gnome") "Adwaita")) - (delete-file "icons/README.md") - (delete-file "icons/LICENSE") - (delete-file "icons/logo.jpg") - (copy-recursively "icons" (string-append %output "/share/icons"= ))))) + `(#:install-plan + '(,@(append-map (lambda (file) + `((,file "share/icons/") + (,(string-append file "-Dark") "share/icons/"= ) + (,(string-append file "-Darker") "share/icons= /") + (,(string-append file "-Darkest") "share/icon= s/"))) + '("Delft" "Delft-Amber" "Delft-Aqua" "Delft-Blue" + "Delft-Gray" "Delft-Green" "Delft-Mint" "Delft-= Purple" + "Delft-Red" "Delft-Teal"))))) (home-page "https://www.gnome-look.org/p/1199881/") (synopsis "Continuation of Faenza icon theme with up to date app ico= ns") (description "Delft is a fork of the popular icon theme Faenza with = up to --=20 2.25.1