From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iBpIGrMj3F9ASgAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 03:36:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YK0YFrMj3F8GKQAAB5/wlQ (envelope-from ) for ; Fri, 18 Dec 2020 03:36:19 +0000 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 1425A9404FA for ; Fri, 18 Dec 2020 03:36:18 +0000 (UTC) Received: from localhost ([::1]:41228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq6Yz-0000Zc-R3 for larch@yhetil.org; Thu, 17 Dec 2020 22:36:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq6Yk-0000ZU-Lv for guix-patches@gnu.org; Thu, 17 Dec 2020 22:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq6Yj-0004Kc-Uh for guix-patches@gnu.org; Thu, 17 Dec 2020 22:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kq6Yj-0005Hn-Oq for guix-patches@gnu.org; Thu, 17 Dec 2020 22:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45309] [PATCH] gnu: font-google-roboto: Unzip fonts to a directory. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Dec 2020 03:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45309@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160826252620275 (code B ref -1); Fri, 18 Dec 2020 03:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2020 03:35:26 +0000 Received: from localhost ([127.0.0.1]:37453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq6Y9-0005Gx-Ra for submit@debbugs.gnu.org; Thu, 17 Dec 2020 22:35:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:35326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq6Y6-0005Gn-7l for submit@debbugs.gnu.org; Thu, 17 Dec 2020 22:35:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq6Y5-0000PW-TP for guix-patches@gnu.org; Thu, 17 Dec 2020 22:35:22 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:60998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq6Y0-00046r-I2 for guix-patches@gnu.org; Thu, 17 Dec 2020 22:35:21 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kq6Xw-00030R-6O; Fri, 18 Dec 2020 04:35:12 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1kq6Xo-0006U2-BX; Fri, 18 Dec 2020 04:35:11 +0100 From: Michael Rohleder Date: Fri, 18 Dec 2020 04:34:31 +0100 Message-Id: <20201218033431.10787-1-mike@rohleder.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1608262516;d80643d9; X-HE-SMSGID: 1kq6Xw-00030R-6O Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1425A9404FA X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: JZFop6Kyx7p0 * gnu/packages/fonts.scm (font-google-roboto)[arguments]: Add phase to unpack to a directory and ignore macosx files. --- After commit e93ee2547ecec152f9a198ccc338c4329cc69a71 this pkg doesn't contain anything. The difference to the version before is that the upstream zip file doesn't contain a subfolder anymore, so this patch unpacks to one (and excludes macosx files while at it). Maybe the roboto-hinted.zip is better than unhinted? Idk. gnu/packages/fonts.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 717656d682..72e97d99ea 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -801,6 +801,15 @@ display all Unicode symbols.") (sha256 (base32 "0a57f957qy49kildqx2lp2paqk9i8kkayakmrzxh39hhhmqlrxkh")))) (build-system font-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key inputs #:allow-other-keys) + (invoke "unzip" (assoc-ref inputs "source") + "-x" "__MACOSX/*" + "-d" "roboto-unhinted") + #t))))) (home-page "https://github.com/google/roboto") (synopsis "The Roboto family of fonts") (description -- 2.29.2