From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0Lo9HtkAq163LQAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 16:46:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yBiZA+MAq15XEwAAbx9fmQ (envelope-from ) for ; Thu, 30 Apr 2020 16:46:27 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 70A0B9402A1 for ; Thu, 30 Apr 2020 16:46:23 +0000 (UTC) Received: from localhost ([::1]:57522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUCKM-0008J9-4Q for larch@yhetil.org; Thu, 30 Apr 2020 12:46:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49952) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUC7U-0007co-Jg for guix-patches@gnu.org; Thu, 30 Apr 2020 12:33:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUC6U-0001HF-AZ for guix-patches@gnu.org; Thu, 30 Apr 2020 12:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUC6T-0001Fg-TA for guix-patches@gnu.org; Thu, 30 Apr 2020 12:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUC6T-00044F-OD for guix-patches@gnu.org; Thu, 30 Apr 2020 12:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40983] [PATCH] gnu: Add font-api-mj-mincho Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Apr 2020 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40983 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40983@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158826426913035 (code B ref -1); Thu, 30 Apr 2020 16:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2020 16:31:09 +0000 Received: from localhost ([127.0.0.1]:47546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUC5Z-0003KT-G1 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 12:31:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:37506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUC5W-0003He-Rk for submit@debbugs.gnu.org; Thu, 30 Apr 2020 12:31:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49718) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUC5V-00051G-30 for guix-patches@gnu.org; Thu, 30 Apr 2020 12:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUC5T-0000SI-TE for guix-patches@gnu.org; Thu, 30 Apr 2020 12:31:00 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:35454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUC5S-0000Qj-VU for guix-patches@gnu.org; Thu, 30 Apr 2020 12:30:59 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e645c91b for ; Thu, 30 Apr 2020 16:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=y1S NA7iTB6VVaq8sx+DOP4lJEVdAKX8bBn0pwf8BdsA=; b=bu1Lb2tUCgqffsqoMdm Em4WuXqEkt1z7SbbEbVBGV+PKwIsbeB12YHhUAXcrHeS/nOeSF/cHXIY7tYvvrti 8z/jp1TEAAcN89YdkGGy3VXUARzuGWUSuPu3FKz0YBqek37S65a9WZm9b1AhcFnG akvD1m268og90/tU1nzJC4amOr0YYMSJNPip687HY9KwrGyKKYOg1iW1ZY7hMQVg acRSh/Vij1yNJaHe8zqGXtuCD88HWZ2yndDqhQ9rAHU6zELxLXe6x8t5KqTXGh+c 1UoktlKu0A0NSlStzYcwsiUENEZobEUV7JbmfNUL++91h0JqzlMu0l3Gi2WfQ2xe ZEQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4cb9b9c1 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 30 Apr 2020 16:30:51 +0000 (UTC) Date: Thu, 30 Apr 2020 18:30:37 +0200 From: Julien Lepiller Message-ID: <20200430182709.6b378b1e@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/x24KA4qkDuCnTOhMNgm7e3t" Received-SPF: none client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=bu1Lb2tU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49409362865442]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_TWELVE(0.00)[12]; TO_DN_NONE(0.00)[]; R_DKIM_REJECT(1.00)[lepiller.eu:s=dkim]; DKIM_TRACE(0.00)[lepiller.eu:-]; MX_GOOD(-0.50)[eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[julien@lepiller.eu,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:email,asu.edu:email,ipa.go.jp:url,lepiller.eu:email,rohleder.de:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[lepiller.eu : SPF not aligned (relaxed),none] X-TUID: 2HzypJniwybO --MP_/x24KA4qkDuCnTOhMNgm7e3t Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, This patch adds a Japanese font (I recently learned about hentaigana, and wasn't able to display them, this font solved the issue for me). The only problem with this package is the license: it sounds like a free software license to me, but it's not one of the standard ones. The license is available in Japanese and English in the same file in the source, and also at the bottom of the home page (you have to click on "English" to see the English version). I tried to translate the first sentence of the home page to English, but my Japanese is limited and I wasn't able to make much sense of the grammar construction: IPAmj=E6=98=8E=E6=9C=9D=E3=83=95=E3=82=A9=E3=83=B3=E3=83=88=E3=81=AF=E3=80= =81=E4=BA=BA=E5=90=8D=E3=81=AE=E8=A1=A8=E8=A8=98=E7=AD=89=E3=81=A7=E3=80=81= =E7=B4=B0=E3=81=8B=E3=81=AA=E5=AD=97=E5=BD=A2=E3=81=AE=E5=B7=AE=E7=95=B0=E3= =82=92=E7=89=B9=E5=88=A5=E3=81=AB=E4=BD=BF=E3=81=84=E5=88=86=E3=81=91=E3=82= =8B=E5=BF=85=E8=A6=81=E3=81=AE=E3=81=82=E3=82=8B=E6=A5=AD=E5=8B=99=E7=AD=89= =E3=81=A7=E3=81=AE=E6=B4=BB=E7=94=A8=E3=82=92=E6=83=B3=E5=AE=9A=E3=81=97=E3= =81=9F=E3=83=95=E3=82=A9=E3=83=B3=E3=83=88=E3=81=A7=E3=81=99=E3=80=82 If someone can do better (or maybe some other part of the website gives a better description?), I'd be glad to use their version! --MP_/x24KA4qkDuCnTOhMNgm7e3t Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-font-api-mj-mincho.patch =46rom 4ff2df4a374684570be8a9b0160c640a49f69c39 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Thu, 30 Apr 2020 18:19:11 +0200 Subject: [PATCH] gnu: Add font-api-mj-mincho. * gnu/packages/fonts.scm (font-api-mj-mincho): New variable. --- gnu/packages/fonts.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index dbc0c4f9d6..12e1d7c383 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -32,6 +32,7 @@ ;;; Copyright =C2=A9 2020 Amin Bandali ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 John Soo +;;; Copyright =C2=A9 2020 Julien Lepiller ;;; ;;; This file is part of GNU Guix. ;;; @@ -1670,3 +1671,35 @@ always uses Farsi digits, and does not include Latin= glyphs from Roboto. (license:x11-style ; ...the Bitstream Vera typeface "file://LICENSE" "Bitstream Vera License") license:asl2.0)))) ; Latin glyphs from Roboto + +(define-public font-ipa-mj-mincho + (package + (name "font-ipa-mj-mincho") + (version "006.01") + (source (origin + (method url-fetch/zipbomb) + (uri (string-append "https://mojikiban.ipa.go.jp/OSCDL/IPAmj= Mincho" + "/ipamjm" (string-join (string-split ver= sion #\.) "") + ".zip")) + (sha256 + (base32 + "0s2vs9p7vd7ajnn6c2icli069sjwi4d45a39fczqpwwn507lwj9m")))) + (build-system font-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc-dir (string-append (assoc-ref outputs "out") + "/share/doc/font-ipa-mj-mincho"= ))) + (mkdir-p doc-dir) + (copy-file "Readme.txt" (string-append doc-dir "/README")) + (copy-file "IPA_Font_License_Agreement_v1.0.txt" + (string-append doc-dir "/LICENSE")) + #t)))))) + (home-page "https://mojikiban.ipa.go.jp/1300.html") + (synopsis "Japanese font from the Information-technology Promotion Age= ncy") + (description "MJM Mincho is a font that aims at, for example, allowing= you +to write people's name, or for formal business situations where it is nece= ssary +to have a detailed and proper character style.") + (license (license:non-copyleft "IPA_Font_License_Agreement_v1.0.txt"))= )) --=20 2.26.0 --MP_/x24KA4qkDuCnTOhMNgm7e3t--