Github messages for voidlinux
 help / color / mirror / Atom feed
From: adigitoleo <adigitoleo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: font-fantasque-sans-otf-1.8.0
Date: Sun, 24 Mar 2024 04:59:42 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49493@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]

There is a new pull request by adigitoleo against master on the void-packages repository

https://github.com/adigitoleo/void-packages font-fantasque-sans-otf
https://github.com/void-linux/void-packages/pull/49493

New package: font-fantasque-sans-otf-1.8.0
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR for these architectures (cross-builds):
  - x86_64-musl
  - i686
  - aarch64-musl
  - armv7l
  - armv6l-musl

If maintenance burden is a concern, I suggest removing the TTF package of the same font in favour of this one. OTF fonts bring significant improvements such as ligatures, smallcaps, spline and bezier curves for more accurate font shapes (besides being an open format). In spite of this, there is no significant change to the install size in this case (both OTF and TTF around 600KB).

A patch file from https://github.com/void-linux/void-packages/pull/49493.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-font-fantasque-sans-otf-49493.patch --]
[-- Type: text/x-diff, Size: 1349 bytes --]

From 594849d29d845d39638957327a604d264eaa6076 Mon Sep 17 00:00:00 2001
From: adigitoleo <adigitoleo@posteo.net>
Date: Sun, 24 Mar 2024 14:49:12 +1100
Subject: [PATCH] New package: font-fantasque-sans-otf-1.8.0

---
 srcpkgs/font-fantasque-sans-otf/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/font-fantasque-sans-otf/template

diff --git a/srcpkgs/font-fantasque-sans-otf/template b/srcpkgs/font-fantasque-sans-otf/template
new file mode 100644
index 00000000000000..ecdc75e18fb774
--- /dev/null
+++ b/srcpkgs/font-fantasque-sans-otf/template
@@ -0,0 +1,21 @@
+# Template file for 'font-fantasque-sans-otf'
+pkgname=font-fantasque-sans-otf
+version=1.8.0
+revision=1
+create_wrksrc=yes
+depends="font-util xbps-triggers"
+short_desc="Handwriting-like programming typeface"
+maintainer="Leon (adigitoleo) <adigitoleo@posteo.net>"
+license="OFL-1.1"
+homepage="https://fontlibrary.org/en/font/fantasque-sans-mono"
+distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.tar.gz"
+checksum=645709a54ea6fba24c926135a213d342ddb18f0f8b49f4e604b2210b73e9068a
+font_dirs="/usr/share/fonts/OTF"
+
+do_install() {
+	vmkdir usr/share/fonts/OTF
+	vcopy OTF/*.otf usr/share/fonts/OTF
+	# dos2unix
+	sed -i LICENSE.txt -e 's;\r;;g'
+	vlicense LICENSE.txt
+}

             reply	other threads:[~2024-03-24  3:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24  3:59 adigitoleo [this message]
2024-06-24  1:50 ` github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49493@inbox.vuxu.org \
    --to=adigitoleo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).