summaryrefslogtreecommitdiff
path: root/fonts/mkfontscale
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-20 12:30:29 +0000
committerwiz <wiz@pkgsrc.org>2002-05-20 12:30:29 +0000
commit017b14e12bc68214319f26eb8e45908376dea7dd (patch)
treecb0ddba5d61414ae222a16766db83cfdbe9216e2 /fonts/mkfontscale
parent0f91f2a92389308b7a2e6a141d40008da8b16fa0 (diff)
downloadpkgsrc-017b14e12bc68214319f26eb8e45908376dea7dd.tar.gz
Initial import of mkfontscale:
create an index of scalable font files for X Provided by rxg in pkg/16811.
Diffstat (limited to 'fonts/mkfontscale')
-rw-r--r--fonts/mkfontscale/DESCR7
-rw-r--r--fonts/mkfontscale/Makefile17
-rw-r--r--fonts/mkfontscale/PLIST3
-rw-r--r--fonts/mkfontscale/distinfo6
-rw-r--r--fonts/mkfontscale/patches/patch-aa11
-rw-r--r--fonts/mkfontscale/patches/patch-ab13
6 files changed, 57 insertions, 0 deletions
diff --git a/fonts/mkfontscale/DESCR b/fonts/mkfontscale/DESCR
new file mode 100644
index 00000000000..3efaeb7dd91
--- /dev/null
+++ b/fonts/mkfontscale/DESCR
@@ -0,0 +1,7 @@
+For each directory argument, mkfontscale reads all of the scalable font files
+in the directory. For every font file found, an X11 font name (XLFD) is
+generated, and is written together with the file name to a file fonts.scale
+in the directory.
+
+The resulting fonts.scale file should be checked and possibly manually edited
+before being used as input for the mkfontdir(1) program.
diff --git a/fonts/mkfontscale/Makefile b/fonts/mkfontscale/Makefile
new file mode 100644
index 00000000000..35c8cfd9152
--- /dev/null
+++ b/fonts/mkfontscale/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/20 12:30:29 wiz Exp $
+#
+
+DISTNAME= mkfontscale-20020418
+CATEGORIES= fonts
+MASTER_SITES= http://www.pps.jussieu.fr/~jch/software/files/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/files/
+COMMENT= create an index of scalable font files for X
+
+USE_IMAKE= yes
+
+WRKSRC= ${WRKDIR}/mkfontscale
+
+.include "../../graphics/freetype2/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/mkfontscale/PLIST b/fonts/mkfontscale/PLIST
new file mode 100644
index 00000000000..024b85ed967
--- /dev/null
+++ b/fonts/mkfontscale/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/20 12:30:29 wiz Exp $
+bin/mkfontscale
+man/cat1/mkfontscale.0
diff --git a/fonts/mkfontscale/distinfo b/fonts/mkfontscale/distinfo
new file mode 100644
index 00000000000..7e38b93e76c
--- /dev/null
+++ b/fonts/mkfontscale/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/20 12:30:29 wiz Exp $
+
+SHA1 (mkfontscale-20020418.tar.gz) = 9eca49458f8f503f6332242d5427700ab1474d95
+Size (mkfontscale-20020418.tar.gz) = 7784 bytes
+SHA1 (patch-aa) = 5806e53c9637ee8adc6e74819f13c26d6c3e32f7
+SHA1 (patch-ab) = 86ed788a0372fdeb436ff22a5bd292dc1ee5b118
diff --git a/fonts/mkfontscale/patches/patch-aa b/fonts/mkfontscale/patches/patch-aa
new file mode 100644
index 00000000000..0f5d3ccf5a5
--- /dev/null
+++ b/fonts/mkfontscale/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/20 12:30:29 wiz Exp $
+
+--- Imakefile.orig Thu May 9 19:06:14 2002
++++ Imakefile
+@@ -1,5 +1,5 @@
+ XTOP = /usr/local/src/XFree86/xc
+-XFONTENCLIB = $(XTOP)/exports/lib/libfontenc.a
++XFONTENCLIB = -lfontenc
+
+ LOCAL_LIBRARIES = $(XFONTENCLIB) $(FREETYPE2LIB)
+
diff --git a/fonts/mkfontscale/patches/patch-ab b/fonts/mkfontscale/patches/patch-ab
new file mode 100644
index 00000000000..7af79601e31
--- /dev/null
+++ b/fonts/mkfontscale/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/20 12:30:30 wiz Exp $
+
+--- mkfontscale.c.orig Mon May 13 12:19:32 2002
++++ mkfontscale.c
+@@ -58,7 +58,7 @@
+ "adobe-standard", "adobe-symbol", "ibm-cp437", "microsoft-cp1252",
+ /* But not "adobe-dingbats", as it uses generic glyph names. */
+ "jisx0201.1976-0", "jisx0208.1983-0", "jisx0208.1990-0",
+- "jisx0212.1190-0", "big5.eten-0", "gb2312.1980-0",
++ "jisx0212.1990-0", "big5-0", "gb2312.1980-0",
+ "ksc5601.1987-0", "ksc5601.1992-3"};
+
+ char *extra_encodings_array[] =