Github messages for voidlinux
 help / color / mirror / Atom feed
From: faulesocke <faulesocke@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] terminus-font: Include OTB files
Date: Thu, 17 Dec 2020 15:20:51 +0100	[thread overview]
Message-ID: <20201217142051.DI3cEbtms8GP0g5TwOj41ASsxfPAdJ2vX4Q5C1ED4lo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25083@inbox.vuxu.org>

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

There is an updated pull request by faulesocke against master on the void-packages repository

https://github.com/faulesocke/void-packages terminus2
https://github.com/void-linux/void-packages/pull/25083

terminus-font: Include OTB files


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-terminus2-25083.patch --]
[-- Type: text/x-diff, Size: 2086 bytes --]

From bfd58418e4a411b07d1021e19e2765f42c63786e Mon Sep 17 00:00:00 2001
From: Urs Schulz <voidpkgs@ursschulz.de>
Date: Thu, 24 Sep 2020 09:18:15 +0200
Subject: [PATCH] terminus-font: Include OTB files

---
 srcpkgs/terminus-font/files/otbconvert.pe |  7 +++++++
 srcpkgs/terminus-font/template            | 16 ++++++++++++----
 2 files changed, 19 insertions(+), 4 deletions(-)
 create mode 100755 srcpkgs/terminus-font/files/otbconvert.pe

diff --git a/srcpkgs/terminus-font/files/otbconvert.pe b/srcpkgs/terminus-font/files/otbconvert.pe
new file mode 100755
index 00000000000..2d26b344303
--- /dev/null
+++ b/srcpkgs/terminus-font/files/otbconvert.pe
@@ -0,0 +1,7 @@
+#!/usr/bin/fontforge
+i=1
+while ( i<$argc )
+  Open($argv[i])
+  Generate($argv[i]:r + ".otb")
+  i = i+1
+endloop
diff --git a/srcpkgs/terminus-font/template b/srcpkgs/terminus-font/template
index 92864dd6450..ec75818e7c0 100644
--- a/srcpkgs/terminus-font/template
+++ b/srcpkgs/terminus-font/template
@@ -1,22 +1,30 @@
 # Template file for 'terminus-font'
 pkgname=terminus-font
 version=4.48
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="--x11dir=/usr/share/fonts/X11/misc
  --psfdir=/usr/share/kbd/consolefonts"
 make_install_args="install install-pcf-8bit"
-hostmakedepends="python3 bdftopcf font-util"
+hostmakedepends="python3 bdftopcf font-util fontforge"
 depends="font-util"
 short_desc="Clean, fixed width bitmap font"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="OFL-1.1, GPL-2.0-or-later"
 homepage="http://terminus-font.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=34799c8dd5cec7db8016b4a615820dfb43b395575afbb24fc17ee19c869c94af
-font_dirs="/usr/share/fonts/X11/misc"
+font_dirs="/usr/share/fonts/X11/misc /usr/share/fonts/misc"
+
+post_build() {
+	$FILESDIR/otbconvert.pe *.bdf
+}
 
 post_install() {
 	vlicense OFL.TXT OFL.txt
 	vinstall 75-yes-terminus.conf 644 etc/fonts/conf.avail
+
+	for i in *.otb; do
+		vinstall $i 0644 /usr/share/fonts/misc
+	done
 }

  parent reply	other threads:[~2020-12-17 14:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25  8:54 [PR PATCH] " faulesocke
2020-09-25 20:08 ` Chocimier
2020-10-01 10:26 ` leahneukirchen
2020-10-20 10:51 ` [PR PATCH] [Updated] " faulesocke
2020-10-20 10:51 ` faulesocke
2020-12-17 14:20 ` faulesocke [this message]
2020-12-17 14:42 ` [PR PATCH] [Updated] " faulesocke
2020-12-20  5:18 ` ahesford
2020-12-20  5:18 ` [PR PATCH] [Closed]: " ahesford
2020-12-20 11:19 ` faulesocke

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=20201217142051.DI3cEbtms8GP0g5TwOj41ASsxfPAdJ2vX4Q5C1ED4lo@z \
    --to=faulesocke@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).