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 WDUrBnLKBF/9OQAA0tVLHw (envelope-from ) for ; Tue, 07 Jul 2020 19:18:10 +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 kAQZAnLKBF8FUwAAB5/wlQ (envelope-from ) for ; Tue, 07 Jul 2020 19:18:10 +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 6CD1E940655 for ; Tue, 7 Jul 2020 19:18:09 +0000 (UTC) Received: from localhost ([::1]:58078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jst6U-0008Hc-KD for larch@yhetil.org; Tue, 07 Jul 2020 15:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jssCI-0003U2-Ei for guix-patches@gnu.org; Tue, 07 Jul 2020 14:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jssCI-0003Dm-27 for guix-patches@gnu.org; Tue, 07 Jul 2020 14:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jssCH-0004W2-Ty for guix-patches@gnu.org; Tue, 07 Jul 2020 14:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42249] [PATCH] gnu: Add font-libertinus. Resent-From: Tim Van den Langenbergh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jul 2020 18:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42249 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 42249@debbugs.gnu.org Received: via spool by 42249-submit@debbugs.gnu.org id=B42249.159414595817294 (code B ref 42249); Tue, 07 Jul 2020 18:20:01 +0000 Received: (at 42249) by debbugs.gnu.org; 7 Jul 2020 18:19:18 +0000 Received: from localhost ([127.0.0.1]:36689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jssBZ-0004Us-HY for submit@debbugs.gnu.org; Tue, 07 Jul 2020 14:19:17 -0400 Received: from mout.gmx.net ([212.227.15.19]:54477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jssBX-0004Ud-4J for 42249@debbugs.gnu.org; Tue, 07 Jul 2020 14:19:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1594145933; bh=COfrdw6qSh1A5lAQOLLQT7Bi9MvtuqRBsL5Z0PHe9Vg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jpc+vnPBPRenvbnylBchbl0eH8RJPzgJlyzSNnygCVMyRU8rUcFHwS1UgX5QLQAg2 WXeiFJdxbfOVetn90iuge3RanjUpwV1RTJ0yPMWZL5K4fuHiFQtDxXTcnoIruq4eLT LywHl7jEjvrlbbyNl6NPQpzkmKIUrpG0ixkVa4wY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [94.227.125.226] ([94.227.125.226]) by web-mail.gmx.net (3c-app-mailcom-bs03.server.lan [172.19.170.169]) (via HTTP); Tue, 7 Jul 2020 20:18:53 +0200 MIME-Version: 1.0 Message-ID: <3881127.rpGKFUgAS5@terra> From: Tim Van den Langenbergh Content-Type: multipart/signed; boundary=nextPart6036854.GnR2TctUCV; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Tue, 7 Jul 2020 20:18:53 +0200 In-Reply-To: <87h7ujryoq.fsf@nckx> References: <87h7ujryoq.fsf@nckx> X-KMail-Identity: 1552956975 X-KMail-Transport: 1898623815 X-KMail-Fcc: 5 X-KMail-Identity-Name: Default X-KMail-Transport-Name: GMX Freemail X-Provags-ID: V03:K1:HXwMa0loy+2NSWaexCRKKf2Obw+tzaBtHeiZsc4ddTmdyyiraI3EcZyKMiXSZYQdUpvN3 UoPtTwB/eC1Mg6XNY0oUlMnPc7zS66wQ7vkv7hChwUowIH0Zi9CMzq+VvprjsAd1kSxpGqlPjFOL EpQ42TU9xRVInUiKFelJK0xVGCKOx8ilS6V8Id/jjOFTKISz1g5OnWG+XlJYxOm4uKzVYK4vZCQw eE5DzMmmR5hEh0= X-UI-Out-Filterresults: notjunk:1;V03:K0:AAQuwzV3B+c=:KUvqMxSjhfKk8hTowXrJCx AhJJ6L8oRQQk3yN+zWEl3JpK0t1O/5O5D+WetRc7zf9a5MwP17FibHVZz02MSaV8kEs1+Eujk ymwONkxs+NSiZfjKWe1vyZ8owo618dZCpOiQBPvki1gHrfL4ss8AlzArd1rpGqVdugWI1t1uw FX9MuMAFY+70McS7xVtygZnMxG6B4Aq3bYEWoUIcYzozSROOLo9AvIbYfY0kIlKsmn7fdoc7o xAJU7GGXF5OHGuYAiGB2SybzZ96+O/R2oBt5qziEiIw4TShgT2/kwF3ttqGR8zETl3qRwsJTL 3Cf5JnhWwwYOUiPxqhOPFg5q6ykkgF97wYNF3ajiWY+1A3G7g8CYXe/3nSH+8tw67Xm4j7h2F 9K6Xdr+7cqYVpbruSDogoZDLAFN3aodqfLfkxZvKd0HktbmhuFZgRU6VwVL9OSdqs2/KmTzom S1hjRVgbO0Mx7rmRdKGiwhYI8/uNvdC0j22ZLxQstknsBf1uQNhLRiK73k9BCiziKwqA+r8zO 7wMi1NMRjtChjkH5BC6Q/iYxywzeliIFS24YAkno24s7tcRbM5SR34+XnJNZrEoULgYitPKpe xcAyTZ8Mk6g9OeGgZnmzrIpV6q4Mc2kpmRfNEIqFasb1TZYR3w7h2lhsHLhZzBAO4VzEeYBiH DkNyvwJa9TigFmP0V4DGz0C9EungxdkfljyD8bxSj+7WSTxR5/ApBRQFQ4bZglf2Pquk= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-Mailman-Approved-At: Tue, 07 Jul 2020 15:17:38 -0400 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 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=jpc+vnPB; 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-Spam-Score: -1.61 X-TUID: iWZjTNIZgMlU --nextPart6036854.GnR2TctUCV Content-Type: multipart/mixed; boundary=nextPart2411233.KM9KlA4FqN --nextPart2411233.KM9KlA4FqN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello again, I actually did switch to using a release URL instead of a git fetch, but I= forgot to update the patch, sorry about that! I have added the updated pat= ch=2E Regarding the locale, my system (OpenSUSE) is running en_GB=2EUTF-8, I can= try building in a GuixSD VM if that helps? Thanks for the quick response! -Tim On Tuesday, 7 July 2020 20:02:13 CEST you wrote: > Tim, >=20 > Tim Van den Langenbergh =E5=86=99=E9=81=93=EF=BC=9A > > I am rather fond of the Libertinus Mono font for Emacs, as I=20 > > like my Monospace fonts to have Serifs=2E >=20 > Interesting=E2=80=A6 >=20 > > As others may like the font as well I have created a patch to=20 > > add it to the fonts package=2E >=20 > Thank you! >=20 > > This being the first patch I have ever submitted to Guix I'm not=20 > > entirely sure I did everything right, I followed the Submitting=20 > > Patches part of the manual as close as I could, but I may have=20 > > made a mistake somewhere, so feel free to correct me where=20 > > needed=2E >=20 > Your first commit message is flawless; congratulations! :-) >=20 > However, [how] did you install and test this package? This: >=20 > + (source (origin > + (method git-fetch) > + (uri (string-append=20 > "https://github=2Ecom/alerque/libertinus/" > + "commit/" > +=20 > "800155085d4a1592dc6e76b34cd625794cd0fcdf")) > + (sha256 > + (base32=20 > "1mj0d84k1x15hsgksca0qjhc3mmzyaqaqa2vyrbb6s96ycsfsgq3")))) >=20 > isn't a valid GIT-FETCH origin: >=20 > --8<---------------cut here---------------start------------->8--- > ~/guix master =CE=BB guix build font-libertinus > Backtrace: > In ice-9/boot-9=2Escm: > 1736:10 4 (with-exception-handler _ _ #:unwind? _=20 > #:unwind-for-type _) > In unknown file: > 3 (apply-smob/0 #) > In ice-9/boot-9=2Escm: > 718:2 2 (call-with-prompt _ _ # default-prompt-handler (k proc)>) > In ice-9/eval=2Escm: > 619:8 1 (_ #(#(#))) > In guix/ui=2Escm: > 1953:12 0 (run-guix-command _ =2E _) >=20 > guix/ui=2Escm:1953:12: In procedure run-guix-command: > In procedure struct-vtable: Wrong type argument in position 1=20 > (expecting struct):=20 > "https://github=2Ecom/alerque/libertinus/commit/800155085d4a1592dc6e76b3= 4cd625794cd0fcdf" > --8<---------------cut here---------------end--------------->8--- >=20 > I replaced it with: >=20 > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github=2Ecom/alerque/libertinus") > + (commit (string-append "v" version)))) > + (sha256 > + (base32=20 > "0flj3xwj8x938wh614ch295j040ccnha1nzmlg5sgpsyxg5gjsbf")))) >=20 > Note the =E2=80=98commit=E2=80=99 that isn't=2E >=20 > If you're lucky (which is most of the time), upstream will tag=20 > releases & you won't need to hard-code the commit=2E This makes=20 > updating the package later much easier=2E >=20 > I don't know GitHub well enough to link to it directly, but you=20 > can find a list of tags under the top-left =E2=80=98Branch: main=E2=80= =99=20 > drop-down here[0]=2E >=20 > Now I get an encoding error which is probably not your =E2=80=98fault=E2= =80=99=E2=80=A6=20 > Guile can be picky when it comes to locales=2E I'll poke at it some=20 > more=2E >=20 > Kind regards, >=20 > T G-R >=20 > [0]: https://github=2Ecom/alerque/libertinus >=20 --nextPart2411233.KM9KlA4FqN Content-Type: text/x-patch; charset=UTF-8; name=0001-gnu-Add-font-libertinus.patch Content-Disposition: attachment; filename="0001-gnu-Add-font-libertinus.patch" Content-Transfer-Encoding: quoted-printable =46rom 4ea1682b08a4d0a8b5c16b77ed7e5b4f561f046d Mon Sep 17 00:00:00 2001 From: Tim Van den Langenbergh Date: Tue, 7 Jul 2020 16:38:41 +0200 Subject: [PATCH] gnu: Add font-libertinus. * gnu/packages/fonts.scm (font-libertinus): New variable. =2D-- gnu/packages/fonts.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index ed9b634bc3..98d9b36d86 100644 =2D-- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -384,6 +384,27 @@ Biolinum is available in both Regular and Bold weight= s.") ;; The fonts are released under either of these licenses. (license (list license:gpl2+ license:silofl1.1)))) +(define-public font-libertinus + (package + (name "font-libertinus") + (version "6.12") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/alerque/libertinus/releases" + "/download/v" version "/libertinus-" version + ".zip")) + (sha256 + (base32 "06pcsd5pijjid7xjxak35jla089krm5hqnbglv8ldncq475q7kb2")))) + (build-system font-build-system) + (home-page "https://github.com/alerque/libertinus") + (synopsis "Font family based on Linux Libertine") + (description "The Libertinus font family, a fork of Linux Libertine a= nd +Biolinum with OpenType math. The family consists of a Serif typeface, fo= rked +from Linux Libertine; a Sans Serif typeface, forked from Linux Biolinum; = a +Monospace typeface, forked from Linux Libertine Mono; and an OpenType mat= h font, +for OpenType math-capable applications like LuaTeX or XeTeX.") + (license license:silofl1.1))) + (define-public font-terminus (package (name "font-terminus") =2D- 2.27.0 --nextPart2411233.KM9KlA4FqN-- --nextPart6036854.GnR2TctUCV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoaHRUPlqTFTeZ4f99QrzKNnR5jUFAl8EvCcACgkQ9QrzKNnR 5jWhohAApBbWHV9UTzDWypIFdKZGhsslXLS06qpSAu0jLSDqPWXtelTk+/Qk+/xy G0zP0Q6qGNNPr5g5RGIuWh6q2Gk7YeEqcLYtwKsJWQK+lLI3F7g4lvnq/XDKTRNk Q+2TyAQUbHXDb8zZ6XB8ubk/olBP2DrUl50zZAK6N9th2hfV3K3Wlpts282IPNjT Yn73ozzd6m6UA9BvotRNpTA4B03jBe6A49r9djK1rOLqbG7JVZ31wTNHEeTzJdKX 3ozMPfLoljcvzaygwnH/I9zJAm3IoqoPc72qPMffgGz+JVpthS6C+5h2rxy1uydI C3AEe+B8kJ4Mj55dn2vyQsCBy/x2P1YshObRAZzbFhaZtEmnUlgHKBBBk7EyB01W zjdpxRg5KzflAsOviI8HePZRdlhhVm0alrxHuUj4tITD6/WwwNyEHo1fE8cGK83j AAdn7DJoEoXLYYofgrqB2lTTtETE8mvs09htcU8kNOcd0e8mnjIH7AVYo7jPeAZI r/l+so+1VAs9TVu5QT/OU8/5DTB/aaTBguD8UqCnUyoSnlDfyLFKQrdjqckWqUsK cM3y5ZYFON3Al9IEpmVe4G2eJ5o6o25Fq0E4pkr92NaauVyUj9FolQKSOa4keKHF YM+LGrigKvP4k9z5NPDNZNdzI2PQFBaLYhKuF1XfkjEUGTR4f2Q= =iwkU -----END PGP SIGNATURE----- --nextPart6036854.GnR2TctUCV--