Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] New package: terminus-font-ll2-td1-otb-4.48
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17588@inbox.vuxu.org>
@ 2019-12-26 10:38 ` voidlinux-github
  0 siblings, 0 replies; only message in thread
From: voidlinux-github @ 2019-12-26 10:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/faulesocke/void-packages terminus
https://github.com/void-linux/void-packages/pull/17588

New package: terminus-font-ll2-td1-otb-4.48


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

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

From 4157243dd0083abed887c5dc87bbc5c20584c2c2 Mon Sep 17 00:00:00 2001
From: Urs Schulz <voidpkgs@ursschulz.de>
Date: Wed, 18 Dec 2019 11:06:14 +0100
Subject: [PATCH] New package: terminus-font-ll2-td1-otb-4.48

---
 .../files/otbconvert.pe                       |  7 ++++
 srcpkgs/terminus-font-ll2-td1-otb/template    | 32 +++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100755 srcpkgs/terminus-font-ll2-td1-otb/files/otbconvert.pe
 create mode 100644 srcpkgs/terminus-font-ll2-td1-otb/template

diff --git a/srcpkgs/terminus-font-ll2-td1-otb/files/otbconvert.pe b/srcpkgs/terminus-font-ll2-td1-otb/files/otbconvert.pe
new file mode 100755
index 00000000000..2d26b344303
--- /dev/null
+++ b/srcpkgs/terminus-font-ll2-td1-otb/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-ll2-td1-otb/template b/srcpkgs/terminus-font-ll2-td1-otb/template
new file mode 100644
index 00000000000..94ac72a1778
--- /dev/null
+++ b/srcpkgs/terminus-font-ll2-td1-otb/template
@@ -0,0 +1,32 @@
+# Template file for 'terminus-font-ll2-td1-otb'
+pkgname=terminus-font-ll2-td1-otb
+version=4.48
+revision=1
+archs=noarch
+wrksrc="terminus-font-${version}"
+hostmakedepends="python3 bdftopcf font-util"
+makedepends="fontforge"
+depends="font-util"
+short_desc="Monospace bitmap font (OTB version) with ll2 and td1 patch"
+maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
+license="OFL-1.1, GPL-2.0-or-later"
+homepage="http://terminus-font.sourceforge.net/"
+distfiles="${SOURCEFORGE_SITE}/terminus-font/terminus-font-${version}.tar.gz"
+checksum=34799c8dd5cec7db8016b4a615820dfb43b395575afbb24fc17ee19c869c94af
+font_dirs="/usr/share/fonts/misc"
+
+
+post_patch() {
+	patch < alt/ll2.diff
+	patch < alt/td1.diff
+}
+
+do_build() {
+	$FILESDIR/otbconvert.pe *.bdf
+}
+
+do_install() {
+	for i in *.otb; do
+		vinstall $i 0644 $font_dirs
+	done
+}

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

only message in thread, other threads:[~2019-12-26 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17588@inbox.vuxu.org>
2019-12-26 10:38 ` [PR PATCH] [Updated] New package: terminus-font-ll2-td1-otb-4.48 voidlinux-github

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