add xfstt: A TrueType font server for X11
This commit is contained in:
parent
d159c291da
commit
8dd49aff5c
31
x11/xfstt/Makefile
Normal file
31
x11/xfstt/Makefile
Normal 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
3
x11/xfstt/files/md5
Normal 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
|
19
x11/xfstt/patches/patch-ab
Normal file
19
x11/xfstt/patches/patch-ab
Normal 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>
|
11
x11/xfstt/patches/patch-ac
Normal file
11
x11/xfstt/patches/patch-ac
Normal 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"
|
5
x11/xfstt/patches/patch-ad
Normal file
5
x11/xfstt/patches/patch-ad
Normal 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
1
x11/xfstt/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A TrueType font server for X11
|
1
x11/xfstt/pkg/DESCR
Normal file
1
x11/xfstt/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
This is Xfstt, a free TrueType font server for X11.
|
17
x11/xfstt/pkg/MESSAGE
Normal file
17
x11/xfstt/pkg/MESSAGE
Normal 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
8
x11/xfstt/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user