pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import bdf2psf 1.188 as wip/bdf2psf.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Wed Feb 27 16:03:54 2019 +0100
Changeset:	5b0f1ea50dd0f1c3190533a613c05f4838f97b0e

Added Files:
	bdf2psf/DESCR
	bdf2psf/Makefile
	bdf2psf/PLIST
	bdf2psf/distinfo

Log Message:
Import bdf2psf 1.188 as wip/bdf2psf.

The program bdf2psf translates BDF fonts to PSF format. It accepts
fonts with arbitrary size of the font matrix. If the width of the glyph
matrix of the source font is 7 or 9 pixels then it generates fonts with
width of 8 pixels.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5b0f1ea50dd0f1c3190533a613c05f4838f97b0e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bdf2psf/DESCR    |  4 ++++
 bdf2psf/Makefile | 34 ++++++++++++++++++++++++++++++++++
 bdf2psf/PLIST    | 23 +++++++++++++++++++++++
 bdf2psf/distinfo |  6 ++++++
 4 files changed, 67 insertions(+)

diffs:
diff --git a/bdf2psf/DESCR b/bdf2psf/DESCR
new file mode 100644
index 0000000000..70a6822c71
--- /dev/null
+++ b/bdf2psf/DESCR
@@ -0,0 +1,4 @@
+The program bdf2psf translates BDF fonts to PSF format. It accepts
+fonts with arbitrary size of the font matrix. If the width of the glyph
+matrix of the source font is 7 or 9 pixels then it generates fonts with
+width of 8 pixels.
diff --git a/bdf2psf/Makefile b/bdf2psf/Makefile
new file mode 100644
index 0000000000..4e57fa6996
--- /dev/null
+++ b/bdf2psf/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	console-setup_1.188
+PKGNAME=	bdf2psf-1.188
+CATEGORIES=	converters
+MASTER_SITES=	${MASTER_SITE_DEBIAN:=pool/main/c/console-setup/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	fred%statdns.com@localhost
+HOMEPAGE=	https://packages.debian.org/sid/bdf2psf
+COMMENT=	Convert a BDF font to PSF format for the Linux console
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/console-setup-1.188
+
+NO_BUILD=	yes
+
+REPLACE_PERL=	Fonts/bdf2psf
+
+SHAREDIR=	${PREFIX}/share/${PKGBASE}
+
+AUTO_MKDIRS=	yes
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${SHAREDIR}/fontsets
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/Fonts/bdf2psf ${DESTDIR}${PREFIX}/bin
+	${RUN}${INSTALL_MAN} ${WRKSRC}/man/bdf2psf.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${RUN}${INSTALL_DATA} ${WRKSRC}/Fonts/standard.equivalents \
+		${DESTDIR}${SHAREDIR}
+	${RUN}${INSTALL_DATA} ${WRKSRC}/Fonts/fontsets/* \
+		${DESTDIR}${SHAREDIR}/fontsets
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/bdf2psf/PLIST b/bdf2psf/PLIST
new file mode 100644
index 0000000000..56672e2aa5
--- /dev/null
+++ b/bdf2psf/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD$
+bin/bdf2psf
+man/man1/bdf2psf.1
+share/bdf2psf/fontsets/Arabic.512
+share/bdf2psf/fontsets/Armenian.256
+share/bdf2psf/fontsets/CyrAsia.256
+share/bdf2psf/fontsets/CyrKoi.256
+share/bdf2psf/fontsets/CyrSlav.256
+share/bdf2psf/fontsets/Ethiopian.512
+share/bdf2psf/fontsets/Georgian.256
+share/bdf2psf/fontsets/Greek.256
+share/bdf2psf/fontsets/Hebrew.256
+share/bdf2psf/fontsets/Lao.256
+share/bdf2psf/fontsets/Lat15.256
+share/bdf2psf/fontsets/Lat2.256
+share/bdf2psf/fontsets/Lat38.256
+share/bdf2psf/fontsets/Lat7.256
+share/bdf2psf/fontsets/Thai.256
+share/bdf2psf/fontsets/Uni1.512
+share/bdf2psf/fontsets/Uni2.512
+share/bdf2psf/fontsets/Uni3.512
+share/bdf2psf/fontsets/Vietnamese.512
+share/bdf2psf/standard.equivalents
diff --git a/bdf2psf/distinfo b/bdf2psf/distinfo
new file mode 100644
index 0000000000..b56832ff2d
--- /dev/null
+++ b/bdf2psf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (console-setup_1.188.tar.xz) = 878e179c9d5ad8095fac621fa72b1486b322e904
+RMD160 (console-setup_1.188.tar.xz) = c0a8c7a268edea5bf6e71727a6318524bcc715b5
+SHA512 (console-setup_1.188.tar.xz) = 563d580fcee25020b09024a2ac772ab6b04b97e451e3ee9f3ad917bfbafeb2d1065a7e26427f9f5a6a2596689c1264501c9b5f7a57b1daa2f5c651e6fd595586
+Size (console-setup_1.188.tar.xz) = 1649092 bytes


Home | Main Index | Thread Index | Old Index