Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: font-fantasque-sans-otf-1.8.0
@ 2024-03-24  3:59 adigitoleo
  0 siblings, 0 replies; only message in thread
From: adigitoleo @ 2024-03-24  3:59 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-24  3:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-24  3:59 [PR PATCH] New package: font-fantasque-sans-otf-1.8.0 adigitoleo

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).