add xfstt: A TrueType font server for X11

This commit is contained in:
jasoni 1999-07-12 08:47:19 +00:00
parent d159c291da
commit 8dd49aff5c
9 changed files with 96 additions and 0 deletions

31
x11/xfstt/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD#
# $FreeBSD Id: Makefile,v 1.2 1999/06/28 02:22:43 billf Exp $
#
DISTNAME= Xfstt-0.9.10
PKGNAME= xfstt-0.9.10
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/fonts
EXTRACT_SUFX= .tgz
MAINTAINER= jasoni@openbsd.org
WRKSRC= ${WRKDIR}/xfstt0910
USE_X11= yes
do-install:
$(INSTALL_PROGRAM) $(WRKSRC)/xfstt $(PREFIX)/bin
$(INSTALL_MAN) $(WRKSRC)/xfstt.1x $(PREFIX)/man/man1/xfstt.1
post-install:
strip $(PREFIX)/bin/xfstt
$(MKDIR) $(PREFIX)/share/doc/xfstt
$(INSTALL_DATA) $(WRKSRC)/FAQ $(PREFIX)/share/doc/xfstt
$(INSTALL_DATA) $(WRKSRC)/CHANGES $(PREFIX)/share/doc/xfstt
$(INSTALL_DATA) $(WRKSRC)/INSTALL $(PREFIX)/share/doc/xfstt
$(INSTALL_DATA) $(WRKSRC)/THANKS.txt $(PREFIX)/share/doc/xfstt
${INSTALL_DATA} ${WRKSRC}/README.OpenBSD ${PREFIX}/share/doc/xfstt
.include <bsd.port.mk>

3
x11/xfstt/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (Xfstt-0.9.10.tgz) = 9189cbcfb972fcc05e093aeccfd4d3b2
RMD160 (Xfstt-0.9.10.tgz) = 91fc60d1c0a22c41ef508e0e103cdc6fd7c2d2ed
SHA1 (Xfstt-0.9.10.tgz) = 07a32e90a1eb0514a8f516c027e68faaf79097fd

View File

@ -0,0 +1,19 @@
--- xfstt.cpp.orig Sun Oct 25 11:21:12 1998
+++ xfstt.cpp Wed Dec 23 19:29:11 1998
@@ -8,7 +8,7 @@
// if you are sure your X11 server doesn't request more
// than it can handle, increase the limit up to 65535
#define UNSTRAPLIMIT 10500U
-#define TTFONTDIR "/usr/ttfonts"
+#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType"
#define MAXOPENFONTS 256
#define MAXREPLYSIZE (1<<22)
@@ -22,6 +22,7 @@
#include "ttfn.h"
#include "encoding.h"
+#include <sys/types.h>
#include <dirent.h>
#include <string.h>
#include <ctype.h>

View File

@ -0,0 +1,11 @@
--- perftest.cpp.orig Wed Dec 23 21:21:45 1998
+++ perftest.cpp Wed Dec 23 21:22:15 1998
@@ -1,7 +1,7 @@
// test ttf engine performance
// (C) Copyright 1997-1998 Herbert Duerr
-#define TTFONTDIR "/usr/ttfonts"
+#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType"
#define MAXFONTBUFSIZE (2048*2048)
#include "ttf.h"

View File

@ -0,0 +1,5 @@
--- README.OpenBSD.orig Mon Jul 12 02:22:11 1999
+++ README.OpenBSD Mon Jul 12 02:22:44 1999
@@ -0,0 +1,2 @@
+The font directory for OpenBSD has been changed from /usr/ttfonts/ to
+/usr/X11R6/lib/X11/fonts/TrueType/.

1
x11/xfstt/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A TrueType font server for X11

1
x11/xfstt/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
This is Xfstt, a free TrueType font server for X11.

17
x11/xfstt/pkg/MESSAGE Normal file
View File

@ -0,0 +1,17 @@
To start the TrueType font server for X11 at boot time, put something like
the following in /etc/rc.local:
if [ -x /usr/X11R6/bin/xfstt ]; then
echo -n ' xfstt'; /usr/X11R6/bin/xfstt &
fi
You should also add the following to your FontPath in /etc/XF86Config:
FontPath "unix/:7100"
You should also put some TrueType fonts in /usr/X11R6/lib/X11/fonts/TrueType.
Additional documentation can be found in /usr/X11R6/share/doc/xfstt.

8
x11/xfstt/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
bin/xfstt
man/man1/xfstt.1
share/doc/xfstt/FAQ
share/doc/xfstt/CHANGES
share/doc/xfstt/INSTALL
share/doc/xfstt/THANKS.txt
share/doc/xfstt/README.OpenBSD
@dirrm share/doc/xfstt