From unknown Sat Sep 20 12:00:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27406] More font-build-system migration Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jun 2017 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27406 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 27406@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149769109613114 (code B ref -1); Sat, 17 Jun 2017 09:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jun 2017 09:18:16 +0000 Received: from localhost ([127.0.0.1]:52103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM9rt-0003PL-MA for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:18:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9ro-0003Oo-Qv for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:18:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rh-0000qI-Av for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:17:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rh-0000q1-5T for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:17:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rf-0004Ej-3b for guix-patches@gnu.org; Sat, 17 Jun 2017 05:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rb-0000lk-Fo for guix-patches@gnu.org; Sat, 17 Jun 2017 05:17:55 -0400 Received: from o131.p9.mailjet.com ([87.253.234.131]:54724) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rb-0000ki-0S for guix-patches@gnu.org; Sat, 17 Jun 2017 05:17:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:x-csa-complaints: x-mj-mid:content-type; bh=2ioK/Qq5nojfhU8eAGLdoiv8YnA=; b=bvzC/JC9/HsTS41bx6k8JsjtVVohWMvPCYDhs0IZt72/F5HJg3/eH5ePU o22JgGMlj0GP09XcoIeoQ4nBRiw+icSmk8OqPq/5ZCq7yml7E+m/lGzuYqM6 4yKmV7E6JS83HM3BP7wdV669y5eomhwmSAQaHrYFv1bUXr3HuULfFI= Message-Id: <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Sat, 17 Jun 2017 14:47:38 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7pvrAs0T1Qouf0fkr5XqVsAAFgUc Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've migrated some more font packages from trivial-build-system to the new font-build-system. Please find attached a patchset. From f9b6eeadc1ebcbae647a3dbf95c6caad0d302565 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:17:13 +0530 Subject: [PATCH 1/7] gnu: font-tex-gyre: Use 'font-build-system'. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've migrated some more font packages from trivial-build-system to the new font-build-system. Please find attached a patchset. = --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=font-build-system-series.patch >From f9b6eeadc1ebcbae647a3dbf95c6caad0d302565 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:17:13 +0530 Subject: [PATCH 1/7] gnu: font-tex-gyre: Use 'font-build-system'. * gnu/packages/fonts.scm (font-tex-gyre): Switch to font-build-system. [source]: Use url-fetch/zipbomb. --- gnu/packages/fonts.scm | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 59e60dc29..50021aad1 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -555,28 +555,13 @@ fonts.") (version "2.005") (source (origin - (method url-fetch) + (method url-fetch/zipbomb) (uri (string-append "http://www.gust.org.pl/projects/e-foundry/" "tex-gyre/whole/tg-" version "otf.zip")) (sha256 (base32 "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/opentype"))) - (mkdir-p font-dir) - (system* unzip - (assoc-ref %build-inputs "source") - "-d" font-dir))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/") (synopsis "Remake of Ghostscript fonts") (description "The TeX Gyre collection of fonts is the result of an -- 2.12.2 >From a2efcccafbdd75bf93297048d66bda1a8797fe7b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:22:05 +0530 Subject: [PATCH 2/7] gnu: font-anonymous-pro: Use 'font-build-system'. * gnu/packages/fonts.scm (font-anonymous-pro): Switch to font-build-system. --- gnu/packages/fonts.scm | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 50021aad1..199f6e45a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -583,28 +583,7 @@ Heros, Pagella, Schola, Termes.") (sha256 (base32 "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/truetype")) - (doc-dir (string-append %output "/share/doc/" ,name))) - (system* unzip (assoc-ref %build-inputs "source")) - (mkdir-p font-dir) - (mkdir-p doc-dir) - (chdir (string-append "AnonymousPro-" ,version ".001")) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")) - (for-each (lambda (doc) - (install-file doc doc-dir)) - (find-files "." "\\.txt$")))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://www.marksimonson.com/fonts/view/anonymous-pro") (synopsis "Fixed-width fonts designed with coding in mind") (description "Anonymous Pro is a family of four fixed-width fonts designed -- 2.12.2 >From 9d03701fcfbe2d88e91b1f99f5991d70bf6ae045 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:27:11 +0530 Subject: [PATCH 3/7] gnu: font-google-roboto: Use 'font-build-system'. * gnu/packages/fonts.scm (font-google-roboto): Switch to font-build-system. --- gnu/packages/fonts.scm | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 199f6e45a..966939767 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -704,27 +704,7 @@ display all Unicode symbols.") (sha256 (base32 "0spscx08fad7i8qs7icns96iwcapniq8lwwqqvbf7bamvs8qfln4")))) - (native-inputs `(("unzip" ,unzip))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let ((PATH (string-append (assoc-ref %build-inputs - "unzip") - "/bin")) - (font-dir (string-append %output - "/share/fonts/truetype"))) - (setenv "PATH" PATH) - (system* "unzip" (assoc-ref %build-inputs "source")) - - (mkdir-p font-dir) - (chdir "roboto-hinted") - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")))))) + (build-system font-build-system) (home-page "https://github.com/google/roboto") (synopsis "The Roboto family of fonts") (description -- 2.12.2 >From 75b5f4de4dab6f1c6f33df1ebd5e40e4b1dee948 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:48:02 +0530 Subject: [PATCH 4/7] gnu: font-un: Use 'font-build-system'. * gnu/packages/fonts.scm (font-un): Switch to font-build-system. --- gnu/packages/fonts.scm | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 966939767..3a7924483 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -726,33 +726,7 @@ visual language \"Material Design\".") (sha256 (base32 "13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - - (let ((tar (string-append (assoc-ref %build-inputs "tar") - "/bin/tar")) - (PATH (string-append (assoc-ref %build-inputs "gzip") - "/bin")) - (font-dir (string-append %output "/share/fonts/truetype")) - (doc-dir (string-append %output "/share/doc/" ,name))) - (setenv "PATH" PATH) - (system* tar "xvf" (assoc-ref %build-inputs "source")) - (mkdir-p font-dir) - (mkdir-p doc-dir) - (chdir (string-append "un-fonts")) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")) - (for-each (lambda (doc) - (install-file doc doc-dir)) - '("COPYING" "README")))))) - (native-inputs - `(("tar" ,tar) - ("gzip" ,gzip))) + (build-system font-build-system) (home-page "https://kldp.net/projects/unfonts/") (synopsis "Collection of Korean fonts") (description -- 2.12.2 >From 3cd7a5e43786336a6a7f6ae89554288f10c20d07 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:49:21 +0530 Subject: [PATCH 5/7] gnu: font-hack: Use 'font-build-system'. * gnu/packages/fonts.scm (font-hack): Switch to font-build-system. [source]: Use url-fetch/zipbomb. --- gnu/packages/fonts.scm | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 3a7924483..01b6ef00d 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -794,7 +794,7 @@ glyph designs, not just an added slant.") (name "font-hack") (version "2.020") (source (origin - (method url-fetch) + (method url-fetch/zipbomb) (uri (string-append "https://github.com/chrissimpkins/Hack/releases/download/v" version "/Hack-v" @@ -803,28 +803,7 @@ glyph designs, not just an added slant.") (sha256 (base32 "16kkmc3psckw1b7k07ccn1gi5ymhlg9djh43nqjzg065g6p6d184")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let ((PATH (string-append (assoc-ref %build-inputs - "unzip") - "/bin")) - (font-dir (string-append %output - "/share/fonts/truetype"))) - (setenv "PATH" PATH) - (system* "unzip" (assoc-ref %build-inputs "source")) - - (mkdir-p font-dir) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")))))) - (native-inputs - `(("source" ,source) - ("unzip" ,unzip))) + (build-system font-build-system) (home-page "https://sourcefoundry.org/hack/") (synopsis "Typeface designed for source code") (description -- 2.12.2 >From 0d4d7241c9102f4eeaad4137b39ace1b57aa7d03 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:50:11 +0530 Subject: [PATCH 6/7] gnu: font-fira-mono: Use 'font-build-system'. * gnu/packages/fonts.scm (font-awesome): Switch to font-build-system. --- gnu/packages/fonts.scm | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 01b6ef00d..d7c65e159 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -871,23 +871,7 @@ designed to work well in user interface environments.") (sha256 (base32 "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/opentype"))) - (mkdir-p font-dir) - (system* unzip - "-j" - (assoc-ref %build-inputs "source") - "*.otf" - "-d" font-dir))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://mozilla.github.io/Fira/") (synopsis "Mozilla's monospace font") (description "This is the typeface used by Mozilla in Firefox OS.") -- 2.12.2 >From e89144f219b6772653fa936f512e11ebfc03fcd8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:50:47 +0530 Subject: [PATCH 7/7] gnu: font-adobe-source-code-pro: Use 'font-build-system'. * gnu/packages/fonts.scm (font-adobe-source-code-pro): Switch to font-build-system. --- gnu/packages/fonts.scm | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index d7c65e159..4d61f0fcc 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -830,26 +830,7 @@ Powerline support.") (sha256 (base32 "0arhhsf3i7ss39ykn73d1j8k4n8vx7115xph6jwkd970p1cxvr54")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((tar (string-append (assoc-ref %build-inputs "tar") - "/bin/tar")) - (PATH (string-append (assoc-ref %build-inputs "gzip") - "/bin")) - (font-dir (string-append %output "/share/fonts/opentype"))) - (setenv "PATH" PATH) - (mkdir-p font-dir) - (zero? (system* tar "-C" font-dir "--strip-components=2" - "-xvf" (assoc-ref %build-inputs "source") - (string-append "source-code-pro-" - ,version "/OTF"))))))) - (native-inputs - `(("gzip" ,gzip) - ("tar" ,tar))) + (build-system font-build-system) (home-page "https://github.com/adobe-fonts/source-code-pro") (synopsis "Monospaced font family for user interface and coding environments") -- 2.12.2 --=-=-=-- From unknown Sat Sep 20 12:00:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27406] More font-build-system migration Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jun 2017 09:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27406 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Arun Isaac Cc: 27406@debbugs.gnu.org Received: via spool by 27406-submit@debbugs.gnu.org id=B27406.149769291215784 (code B ref 27406); Sat, 17 Jun 2017 09:49:01 +0000 Received: (at 27406) by debbugs.gnu.org; 17 Jun 2017 09:48:32 +0000 Received: from localhost ([127.0.0.1]:52121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMALI-00046W-0D for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:48:32 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:33462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMALG-00046O-R2 for 27406@debbugs.gnu.org; Sat, 17 Jun 2017 05:48:31 -0400 Received: from localhost (77.118.165.147.wireless.dyn.drei.com [77.118.165.147]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 0D9A31CA0222; Sat, 17 Jun 2017 11:48:28 +0200 (CEST) Date: Sat, 17 Jun 2017 11:48:27 +0200 From: Danny Milosavljevic Message-ID: <20170617114827.5a798f19@scratchpost.org> In-Reply-To: <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@mailjet.com> References: <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@mailjet.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: LGTM! [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [85.13.128.8 listed in list.dnswl.org] 3.1 BODY_SINGLE_WORD Message body is only one word (no spaces) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: LGTM! [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [85.13.128.8 listed in list.dnswl.org] 0.0 TVD_SPACE_RATIO No description available. 3.1 BODY_SINGLE_WORD Message body is only one word (no spaces) LGTM! From unknown Sat Sep 20 12:00:29 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Arun Isaac Subject: bug#27406: closed (Re: [bug#27406] More font-build-system migration) Message-ID: References: <91a6c629.AEAALjm559kAAAAAAAAAAAPLDQoAAAACwQwAAAAAAAW9WABZRU2E@mailjet.com> <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@mailjet.com> X-Gnu-PR-Message: they-closed 27406 X-Gnu-PR-Package: guix-patches Reply-To: 27406@debbugs.gnu.org Date: Sat, 17 Jun 2017 15:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1497714062-22769-1" This is a multi-part message in MIME format... ------------=_1497714062-22769-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27406: More font-build-system migration which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27406@debbugs.gnu.org. --=20 27406: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27406 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1497714062-22769-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27406-done) by debbugs.gnu.org; 17 Jun 2017 15:40:56 +0000 Received: from localhost ([127.0.0.1]:53559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMFqK-0005uq-JS for submit@debbugs.gnu.org; Sat, 17 Jun 2017 11:40:56 -0400 Received: from o142.p8.mailjet.com ([87.253.233.142]:40482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <91a6c629.AEAALjm559kAAAAAAAAAAAPLDQoAAAACwQwAAAAAAAW9WABZRU2E@bnc3.mailjet.com>) id 1dMFqI-0005ui-84 for 27406-done@debbugs.gnu.org; Sat, 17 Jun 2017 11:40:54 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=SeCEuW4umqaR6PlCo/hcsNEEd8A=; b=BJlpKQYikQVAeE3JxTGJsyH40qUKOWIfjsd08MQRbfpHaiaUAo2SGuGoe 1rv0OzHuIJQsqr3mObzLrJbnoWL45KebQjZH8Wzwnchuy+YyVMJ3gMNWRkL1 rbWSO18hS1JIPAMg1/IsQONYRy2iXc+5SkhZbXTfsJtadV2TwG0aAM= Message-Id: <91a6c629.AEAALjm559kAAAAAAAAAAAPLDQoAAAACwQwAAAAAAAW9WABZRU2E@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: Danny Milosavljevic Subject: Re: [bug#27406] More font-build-system migration Date: Sat, 17 Jun 2017 21:10:40 +0530 In-reply-to: <20170617114827.5a798f19@scratchpost.org> References: <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@mailjet.com> <20170617114827.5a798f19@scratchpost.org> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAALjm559kAAAAAAAAAAAPLDQoAAAACwQwAAAAAAAW9WABZRU2EvnBY62z5QDqCddudPBqHCAAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed! [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [87.253.233.142 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [87.253.233.142 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 3.1 BODY_SINGLE_WORD Message body is only one word (no spaces) X-Debbugs-Envelope-To: 27406-done Cc: 27406-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed! [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [87.253.233.142 listed in list.dnswl.org] -1.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [87.253.233.142 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 TVD_SPACE_RATIO No description available. 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 3.1 BODY_SINGLE_WORD Message body is only one word (no spaces) Pushed! = ------------=_1497714062-22769-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Jun 2017 09:18:16 +0000 Received: from localhost ([127.0.0.1]:52103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM9rt-0003PL-MA for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:18:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9ro-0003Oo-Qv for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:18:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rh-0000qI-Av for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:17:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rh-0000q1-5T for submit@debbugs.gnu.org; Sat, 17 Jun 2017 05:17:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rf-0004Ej-3b for guix-patches@gnu.org; Sat, 17 Jun 2017 05:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rb-0000lk-Fo for guix-patches@gnu.org; Sat, 17 Jun 2017 05:17:55 -0400 Received: from o131.p9.mailjet.com ([87.253.234.131]:54724) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@bnc3.mailjet.com>) id 1dM9rb-0000ki-0S for guix-patches@gnu.org; Sat, 17 Jun 2017 05:17:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:x-csa-complaints: x-mj-mid:content-type; bh=2ioK/Qq5nojfhU8eAGLdoiv8YnA=; b=bvzC/JC9/HsTS41bx6k8JsjtVVohWMvPCYDhs0IZt72/F5HJg3/eH5ePU o22JgGMlj0GP09XcoIeoQ4nBRiw+icSmk8OqPq/5ZCq7yml7E+m/lGzuYqM6 4yKmV7E6JS83HM3BP7wdV669y5eomhwmSAQaHrYFv1bUXr3HuULfFI= Message-Id: <9632d68c.AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: guix-patches@gnu.org Subject: More font-build-system migration Date: Sat, 17 Jun 2017 14:47:38 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAL9ViTyYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZRPO7pvrAs0T1Qouf0fkr5XqVsAAFgUc Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've migrated some more font packages from trivial-build-system to the new font-build-system. Please find attached a patchset. From f9b6eeadc1ebcbae647a3dbf95c6caad0d302565 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:17:13 +0530 Subject: [PATCH 1/7] gnu: font-tex-gyre: Use 'font-build-system'. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've migrated some more font packages from trivial-build-system to the new font-build-system. Please find attached a patchset. = --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=font-build-system-series.patch >From f9b6eeadc1ebcbae647a3dbf95c6caad0d302565 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:17:13 +0530 Subject: [PATCH 1/7] gnu: font-tex-gyre: Use 'font-build-system'. * gnu/packages/fonts.scm (font-tex-gyre): Switch to font-build-system. [source]: Use url-fetch/zipbomb. --- gnu/packages/fonts.scm | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 59e60dc29..50021aad1 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -555,28 +555,13 @@ fonts.") (version "2.005") (source (origin - (method url-fetch) + (method url-fetch/zipbomb) (uri (string-append "http://www.gust.org.pl/projects/e-foundry/" "tex-gyre/whole/tg-" version "otf.zip")) (sha256 (base32 "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/opentype"))) - (mkdir-p font-dir) - (system* unzip - (assoc-ref %build-inputs "source") - "-d" font-dir))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/") (synopsis "Remake of Ghostscript fonts") (description "The TeX Gyre collection of fonts is the result of an -- 2.12.2 >From a2efcccafbdd75bf93297048d66bda1a8797fe7b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:22:05 +0530 Subject: [PATCH 2/7] gnu: font-anonymous-pro: Use 'font-build-system'. * gnu/packages/fonts.scm (font-anonymous-pro): Switch to font-build-system. --- gnu/packages/fonts.scm | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 50021aad1..199f6e45a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -583,28 +583,7 @@ Heros, Pagella, Schola, Termes.") (sha256 (base32 "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/truetype")) - (doc-dir (string-append %output "/share/doc/" ,name))) - (system* unzip (assoc-ref %build-inputs "source")) - (mkdir-p font-dir) - (mkdir-p doc-dir) - (chdir (string-append "AnonymousPro-" ,version ".001")) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")) - (for-each (lambda (doc) - (install-file doc doc-dir)) - (find-files "." "\\.txt$")))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://www.marksimonson.com/fonts/view/anonymous-pro") (synopsis "Fixed-width fonts designed with coding in mind") (description "Anonymous Pro is a family of four fixed-width fonts designed -- 2.12.2 >From 9d03701fcfbe2d88e91b1f99f5991d70bf6ae045 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:27:11 +0530 Subject: [PATCH 3/7] gnu: font-google-roboto: Use 'font-build-system'. * gnu/packages/fonts.scm (font-google-roboto): Switch to font-build-system. --- gnu/packages/fonts.scm | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 199f6e45a..966939767 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -704,27 +704,7 @@ display all Unicode symbols.") (sha256 (base32 "0spscx08fad7i8qs7icns96iwcapniq8lwwqqvbf7bamvs8qfln4")))) - (native-inputs `(("unzip" ,unzip))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let ((PATH (string-append (assoc-ref %build-inputs - "unzip") - "/bin")) - (font-dir (string-append %output - "/share/fonts/truetype"))) - (setenv "PATH" PATH) - (system* "unzip" (assoc-ref %build-inputs "source")) - - (mkdir-p font-dir) - (chdir "roboto-hinted") - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")))))) + (build-system font-build-system) (home-page "https://github.com/google/roboto") (synopsis "The Roboto family of fonts") (description -- 2.12.2 >From 75b5f4de4dab6f1c6f33df1ebd5e40e4b1dee948 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:48:02 +0530 Subject: [PATCH 4/7] gnu: font-un: Use 'font-build-system'. * gnu/packages/fonts.scm (font-un): Switch to font-build-system. --- gnu/packages/fonts.scm | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 966939767..3a7924483 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -726,33 +726,7 @@ visual language \"Material Design\".") (sha256 (base32 "13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - - (let ((tar (string-append (assoc-ref %build-inputs "tar") - "/bin/tar")) - (PATH (string-append (assoc-ref %build-inputs "gzip") - "/bin")) - (font-dir (string-append %output "/share/fonts/truetype")) - (doc-dir (string-append %output "/share/doc/" ,name))) - (setenv "PATH" PATH) - (system* tar "xvf" (assoc-ref %build-inputs "source")) - (mkdir-p font-dir) - (mkdir-p doc-dir) - (chdir (string-append "un-fonts")) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")) - (for-each (lambda (doc) - (install-file doc doc-dir)) - '("COPYING" "README")))))) - (native-inputs - `(("tar" ,tar) - ("gzip" ,gzip))) + (build-system font-build-system) (home-page "https://kldp.net/projects/unfonts/") (synopsis "Collection of Korean fonts") (description -- 2.12.2 >From 3cd7a5e43786336a6a7f6ae89554288f10c20d07 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:49:21 +0530 Subject: [PATCH 5/7] gnu: font-hack: Use 'font-build-system'. * gnu/packages/fonts.scm (font-hack): Switch to font-build-system. [source]: Use url-fetch/zipbomb. --- gnu/packages/fonts.scm | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 3a7924483..01b6ef00d 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -794,7 +794,7 @@ glyph designs, not just an added slant.") (name "font-hack") (version "2.020") (source (origin - (method url-fetch) + (method url-fetch/zipbomb) (uri (string-append "https://github.com/chrissimpkins/Hack/releases/download/v" version "/Hack-v" @@ -803,28 +803,7 @@ glyph designs, not just an added slant.") (sha256 (base32 "16kkmc3psckw1b7k07ccn1gi5ymhlg9djh43nqjzg065g6p6d184")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let ((PATH (string-append (assoc-ref %build-inputs - "unzip") - "/bin")) - (font-dir (string-append %output - "/share/fonts/truetype"))) - (setenv "PATH" PATH) - (system* "unzip" (assoc-ref %build-inputs "source")) - - (mkdir-p font-dir) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")))))) - (native-inputs - `(("source" ,source) - ("unzip" ,unzip))) + (build-system font-build-system) (home-page "https://sourcefoundry.org/hack/") (synopsis "Typeface designed for source code") (description -- 2.12.2 >From 0d4d7241c9102f4eeaad4137b39ace1b57aa7d03 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:50:11 +0530 Subject: [PATCH 6/7] gnu: font-fira-mono: Use 'font-build-system'. * gnu/packages/fonts.scm (font-awesome): Switch to font-build-system. --- gnu/packages/fonts.scm | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 01b6ef00d..d7c65e159 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -871,23 +871,7 @@ designed to work well in user interface environments.") (sha256 (base32 "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/opentype"))) - (mkdir-p font-dir) - (system* unzip - "-j" - (assoc-ref %build-inputs "source") - "*.otf" - "-d" font-dir))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://mozilla.github.io/Fira/") (synopsis "Mozilla's monospace font") (description "This is the typeface used by Mozilla in Firefox OS.") -- 2.12.2 >From e89144f219b6772653fa936f512e11ebfc03fcd8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 16 Jun 2017 11:50:47 +0530 Subject: [PATCH 7/7] gnu: font-adobe-source-code-pro: Use 'font-build-system'. * gnu/packages/fonts.scm (font-adobe-source-code-pro): Switch to font-build-system. --- gnu/packages/fonts.scm | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index d7c65e159..4d61f0fcc 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -830,26 +830,7 @@ Powerline support.") (sha256 (base32 "0arhhsf3i7ss39ykn73d1j8k4n8vx7115xph6jwkd970p1cxvr54")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((tar (string-append (assoc-ref %build-inputs "tar") - "/bin/tar")) - (PATH (string-append (assoc-ref %build-inputs "gzip") - "/bin")) - (font-dir (string-append %output "/share/fonts/opentype"))) - (setenv "PATH" PATH) - (mkdir-p font-dir) - (zero? (system* tar "-C" font-dir "--strip-components=2" - "-xvf" (assoc-ref %build-inputs "source") - (string-append "source-code-pro-" - ,version "/OTF"))))))) - (native-inputs - `(("gzip" ,gzip) - ("tar" ,tar))) + (build-system font-build-system) (home-page "https://github.com/adobe-fonts/source-code-pro") (synopsis "Monospaced font family for user interface and coding environments") -- 2.12.2 --=-=-=-- ------------=_1497714062-22769-1--