pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts unscii: Import unscii-1.1 as fonts/unscii



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3691223a62ae
branches:  trunk
changeset: 407107:3691223a62ae
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Thu Jan 02 01:59:46 2020 +0000

description:
unscii: Import unscii-1.1 as fonts/unscii

Unscii is a set of bitmapped Unicode fonts based on classic system
fonts. Unscii attempts to support character cell art well while also
being suitable for terminal and programming use.

The two main variants are unscii-8 (8x8) and unscii-16 (8x16). There
are also several alternative styles for unscii-8, as well as a 8x16
"full" variant that incorporates missing Unicode glyphs from Fixedsys
Excelsior and GNU Unifont. "unscii-16-full" falls under GPL because of
how Unifont is licensed; the other variants are in the Public Domain.

HEX and PCF are the only actual bitmapped formats here. HEX is the
same simple hexdump format as used by the Unifont project.

TTF, OTF and WOFF are vectorized because the bitmapped TTF fonts
generated by FontForge didn't seem to work anywhere. Fixes to this
problem are appreciated.

diffstat:

 fonts/Makefile        |   3 ++-
 fonts/unscii/DESCR    |  16 ++++++++++++++++
 fonts/unscii/Makefile |  46 ++++++++++++++++++++++++++++++++++++++++++++++
 fonts/unscii/PLIST    |  51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 fonts/unscii/distinfo |   6 ++++++
 5 files changed, 121 insertions(+), 1 deletions(-)

diffs (152 lines):

diff -r 0422ff40e868 -r 3691223a62ae fonts/Makefile
--- a/fonts/Makefile    Wed Jan 01 23:09:46 2020 +0000
+++ b/fonts/Makefile    Thu Jan 02 01:59:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.332 2019/12/14 10:38:30 adam Exp $
+# $NetBSD: Makefile,v 1.333 2020/01/02 01:59:46 ng0 Exp $
 #
 
 COMMENT=       Fonts
@@ -819,6 +819,7 @@
 SUBDIR+=       un-extra-ttf
 SUBDIR+=       uni-vga
 SUBDIR+=       unifont
+SUBDIR+=       unscii
 SUBDIR+=       uralic-ttf
 SUBDIR+=       urbanrenewal-ttf
 SUBDIR+=       urw-fonts
diff -r 0422ff40e868 -r 3691223a62ae fonts/unscii/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/unscii/DESCR        Thu Jan 02 01:59:46 2020 +0000
@@ -0,0 +1,16 @@
+Unscii is a set of bitmapped Unicode fonts based on classic system
+fonts. Unscii attempts to support character cell art well while also
+being suitable for terminal and programming use.
+
+The two main variants are unscii-8 (8x8) and unscii-16 (8x16). There
+are also several alternative styles for unscii-8, as well as a 8x16
+"full" variant that incorporates missing Unicode glyphs from Fixedsys
+Excelsior and GNU Unifont. "unscii-16-full" falls under GPL because of
+how Unifont is licensed; the other variants are in the Public Domain.
+
+HEX and PCF are the only actual bitmapped formats here. HEX is the
+same simple hexdump format as used by the Unifont project.
+
+TTF, OTF and WOFF are vectorized because the bitmapped TTF fonts
+generated by FontForge didn't seem to work anywhere. Fixes to this
+problem are appreciated.
diff -r 0422ff40e868 -r 3691223a62ae fonts/unscii/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/unscii/Makefile     Thu Jan 02 01:59:46 2020 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2020/01/02 01:59:47 ng0 Exp $
+
+DISTNAME=      unscii-1.1-src
+PKGNAME=       ${DISTNAME:S/-src//}
+CATEGORIES=    fonts
+MASTER_SITES=  http://pelulamu.net/unscii/
+
+MAINTAINER=    ng0%NetBSD.org@localhost
+HOMEPAGE=      http://pelulamu.net/unscii/
+COMMENT=       Bitmapped character-art friendly Unicode fonts
+LICENSE=       gnu-gpl-v2
+
+USE_TOOLS+=    perl:build
+BUILD_DEPENDS+=        bdftopcf-[0-9]*:../../fonts/bdftopcf
+BUILD_DEPENDS+=        fontforge-[0-9]*:../../fonts/fontforge
+BUILD_DEPENDS+=        p5-Text-CharWidth-[0-9]*:../../textproc/p5-Text-CharWidth
+BUILD_DEPENDS+=        p5-Getopt-Long-[0-9]*:../../devel/p5-Getopt-Long
+
+REPLACE_PERL+= *.pl
+
+INSTALLATION_DIRS=     share/fonts/X11/TTF share/fonts/X11/OTF
+INSTALLATION_DIRS+=    share/fonts/X11/svg share/fonts/X11/web
+
+FONTDIR=       ${PREFIX}/share/fonts/X11
+FONTS_DIR.ttf= ${FONTDIR}/TTF
+FONTS_DIR.otf= ${FONTDIR}/OTF
+FONTS_DIR.svg= ${FONTDIR}/svg
+FONTS_DIR.web= ${FONTDIR}/web
+
+do-install:
+       cd ${WRKSRC} && for i in *.hex; do \
+               ${INSTALL_DATA} $$i ${DESTDIR}${FONTDIR} ; done
+       cd ${WRKSRC} && for i in *.pcf; do \
+               ${INSTALL_DATA} $$i ${DESTDIR}${FONTDIR} ; done
+       cd ${WRKSRC} && for i in *.ttf; do \
+               ${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.ttf} ; done
+       cd ${WRKSRC} && for i in *.otf; do \
+               ${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.otf} ; done
+       cd ${WRKSRC} && for i in *.svg; do \
+               ${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.svg} ; done
+       cd ${WRKSRC} && for i in *.woff; do \
+               ${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.web} ; done
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0422ff40e868 -r 3691223a62ae fonts/unscii/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/unscii/PLIST        Thu Jan 02 01:59:46 2020 +0000
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/02 01:59:47 ng0 Exp $
+share/fonts/X11/OTF/unscii-16-full.otf
+share/fonts/X11/OTF/unscii-16.otf
+share/fonts/X11/OTF/unscii-8-alt.otf
+share/fonts/X11/OTF/unscii-8-fantasy.otf
+share/fonts/X11/OTF/unscii-8-mcr.otf
+share/fonts/X11/OTF/unscii-8-tall.otf
+share/fonts/X11/OTF/unscii-8-thin.otf
+share/fonts/X11/OTF/unscii-8.otf
+share/fonts/X11/TTF/unscii-16-full.ttf
+share/fonts/X11/TTF/unscii-16.ttf
+share/fonts/X11/TTF/unscii-8-alt.ttf
+share/fonts/X11/TTF/unscii-8-fantasy.ttf
+share/fonts/X11/TTF/unscii-8-mcr.ttf
+share/fonts/X11/TTF/unscii-8-tall.ttf
+share/fonts/X11/TTF/unscii-8-thin.ttf
+share/fonts/X11/TTF/unscii-8.ttf
+share/fonts/X11/fsex-adapted.hex
+share/fonts/X11/svg/unscii-16-full.svg
+share/fonts/X11/svg/unscii-16.svg
+share/fonts/X11/svg/unscii-8-alt.svg
+share/fonts/X11/svg/unscii-8-fantasy.svg
+share/fonts/X11/svg/unscii-8-mcr.svg
+share/fonts/X11/svg/unscii-8-tall.svg
+share/fonts/X11/svg/unscii-8-thin.svg
+share/fonts/X11/svg/unscii-8.svg
+share/fonts/X11/unifont.hex
+share/fonts/X11/unscii-16-full.hex
+share/fonts/X11/unscii-16-full.pcf
+share/fonts/X11/unscii-16.hex
+share/fonts/X11/unscii-16.pcf
+share/fonts/X11/unscii-8-alt.hex
+share/fonts/X11/unscii-8-alt.pcf
+share/fonts/X11/unscii-8-fantasy.hex
+share/fonts/X11/unscii-8-fantasy.pcf
+share/fonts/X11/unscii-8-mcr.hex
+share/fonts/X11/unscii-8-mcr.pcf
+share/fonts/X11/unscii-8-tall.hex
+share/fonts/X11/unscii-8-tall.pcf
+share/fonts/X11/unscii-8-thin.hex
+share/fonts/X11/unscii-8-thin.pcf
+share/fonts/X11/unscii-8.hex
+share/fonts/X11/unscii-8.pcf
+share/fonts/X11/web/unscii-16-full.woff
+share/fonts/X11/web/unscii-16.woff
+share/fonts/X11/web/unscii-8-alt.woff
+share/fonts/X11/web/unscii-8-fantasy.woff
+share/fonts/X11/web/unscii-8-mcr.woff
+share/fonts/X11/web/unscii-8-tall.woff
+share/fonts/X11/web/unscii-8-thin.woff
+share/fonts/X11/web/unscii-8.woff
diff -r 0422ff40e868 -r 3691223a62ae fonts/unscii/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/unscii/distinfo     Thu Jan 02 01:59:46 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/02 01:59:47 ng0 Exp $
+
+SHA1 (unscii-1.1-src.tar.gz) = a7123c1a90006b2bd9aa07d5f9dd073a586b96c4
+RMD160 (unscii-1.1-src.tar.gz) = e09c95553b50c6470b57d23489e49cba36ded7ce
+SHA512 (unscii-1.1-src.tar.gz) = 4b172c8bfce53c588c10affc5f9b044ab099b3d87a00059de256543f46a7978ebc4e9470a6886ef379024bf18f2ed96968b31bfd25a3ff3db44d03c80f6fb55a
+Size (unscii-1.1-src.tar.gz) = 1181933 bytes



Home | Main Index | Thread Index | Old Index