From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IIdYD+9wq2Do+AAAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 11:25:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GF4BC+9wq2AJHAAAbx9fmQ (envelope-from ) for ; Mon, 24 May 2021 09:25:03 +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 B00631924F for ; Mon, 24 May 2021 11:25:02 +0200 (CEST) Received: from localhost ([::1]:59418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ll6GH-0004O9-8f for larch@yhetil.org; Mon, 24 May 2021 04:48:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll6Fm-0003UI-Qb for guix-patches@gnu.org; Mon, 24 May 2021 04:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ll6Fl-0006vb-RP for guix-patches@gnu.org; Mon, 24 May 2021 04:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ll6Fl-0001ul-PO for guix-patches@gnu.org; Mon, 24 May 2021 04:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48620] [PATCH] gnu: Add font-ipa-ex. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 May 2021 08:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48620 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48620@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16218460427300 (code B ref -1); Mon, 24 May 2021 08:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2021 08:47:22 +0000 Received: from localhost ([127.0.0.1]:42381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll6F8-0001te-Ck for submit@debbugs.gnu.org; Mon, 24 May 2021 04:47:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:44626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll6F6-0001tX-Hm for submit@debbugs.gnu.org; Mon, 24 May 2021 04:47:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll6F6-0002nS-0N for guix-patches@gnu.org; Mon, 24 May 2021 04:47:20 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:8871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll6F2-0006Rp-EC for guix-patches@gnu.org; Mon, 24 May 2021 04:47:19 -0400 Received: from localhost.localdomain (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FpW6g4Q09z1LLyW for ; Mon, 24 May 2021 10:47:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FpW6g4Q09z1LLyW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621846027; bh=enjisE1zjJnmm4b6Oj6hHYy0kuQEIF47xhGUbIZYpss=; h=From:To:Subject:Date:From; b=VE+YOnY5GCCx+qQQZC7XkGsqINRPNDRpWouaE8X4BqqjhSv60YzMnb5pRhz9gQlQs nc6M3y+b1VXRZn74JpoA03bQQf53zOa+SAUoSvltKMujq/KD3q7tIE2LXjbtkORo1a UL7UdUYKZkgYrJfF2TcxF6rAiWLIkbNlwz9Vyf5s= From: Leo Prikler Date: Mon, 24 May 2021 10:46:45 +0200 Message-Id: <20210524084644.31047-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -0.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_WP_DIRINDEX=3.499 autolearn=no 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621848302; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=enjisE1zjJnmm4b6Oj6hHYy0kuQEIF47xhGUbIZYpss=; b=AZTI9rU/V0YOhK1DghALUsXZ4diI5HK/U8vxth9IDEIkv4KNS686gV/eTuTymzWRp4eMUj YIqBVsYD5STFhrIjx2lHy+k+sJBknW04h+zAgcBfxCjtcWNcZ+lQtBXqs71cxwPBckpqKB vw0GGqeD9Y09zL07Gh9TEezMp6ZqwchmFvmGQdB/s+xs5iK5Qic7ItGElSJDR+f6NC2GnJ hsSg2FDCbbOi1X4ad7r3q9UTp55vna00rWGqSB9IjykCXLtaw4LiiiOIRsyuMMn9APOyh/ 1hB0cySj6yLMQn16mG4SaFDxR1a8FKOw3goOsuatmOWUaEHNMwNH9Rgixz5dAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621848302; a=rsa-sha256; cv=none; b=M/SohLSko66+rY1UlD4eW3WzSMMx+FXw0/fM7F8gQt8ItieftMthcR48910w+9fHfhy3fX hvXuhLauWiSjbB3emX0x+BS4W75kLBXwdXJjUulgnl5HambFd7Po8bW90OZM31TPGO3Jza 7w15cIT7RSZ8ywvrVqfR9OKTHfcVsXS6AeGULzow3y86ZWz4TK5ZkjqafO5SERW7e2PPIS W93AaptWY+gI10TxeezkeR9sQzB+v+amueEufbIadp3YkbgfBu7iR+/yfrcKxZ5T4X7did 0q42wmdEPsJevkbK6MRHICBv9yEJXgGjHbKLG65Scuau7NGf2ry5tRKXYeUICg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=VE+YOnY5; 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-Spam-Score: 5.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=VE+YOnY5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=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: B00631924F X-Spam-Score: 5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: zbAA/vbPokrd * gnu/packages/fonts.scm (font-ipa-ex): New variable. --- gnu/packages/fonts.scm | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 726bef183c..711344191c 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -2031,6 +2031,49 @@ orthography of Roman glyphs of Meera Inimai are also based on this characteristic so that they sit smoothly with the Tamil glyphs.") (license license:silofl1.1))) +(define-public font-ipa-ex + (package + (name "font-ipa-ex") + (version "004.01") + (source (origin + (method url-fetch/zipbomb) + (uri (string-append "https://moji.or.jp/wp-content/ipafont/IPAexfont/" + "IPAexfont" (string-join (string-split version #\.) "") + ".zip")) + (sha256 + (base32 + "0jwpszgisrls1lsgq1ngcm99zjaikb8hshr02512qrzrnd53gy5w")))) + (build-system font-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-read-only + (lambda _ + (for-each + (lambda (file) + (chmod file #o444)) + (find-files "." #:directories? #f)) + #t)) + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((font+version (string-append + "IPAexfont" + ,(string-join (string-split version #\.) ""))) + (doc-dir (string-append (assoc-ref outputs "out") + "/share/doc/font-ipa-ex"))) + (with-directory-excursion font+version + (mkdir-p doc-dir) + (copy-file (string-append "Readme_" font+version ".txt") + (string-append doc-dir "/README")) + (copy-file "IPA_Font_License_Agreement_v1.0.txt" + (string-append doc-dir "/LICENSE"))) + #t)))))) + (home-page "https://moji.or.jp/ipafont/") + (synopsis "Japanese font from the Information-technology Promotion Agency") + (description "IPAex is fixed-width font that aims to improve the +convenience of Japanese document creation.") + (license license:ipa))) + (define-public font-ipa-mj-mincho (package (name "font-ipa-mj-mincho") -- 2.31.1