Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 1998 13:40:46 +0100 (CET)
From:      Michael.Ranner@netway.at
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8526: xfstt 0.9.10 port
Message-ID:  <199811011240.NAA03964@netway.at>

next in thread | raw e-mail | index | archive | help

>Number:         8526
>Category:       ports
>Synopsis:       xfstt 0.9.10 port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  1 04:50:00 PST 1998
>Last-Modified:
>Originator:     Michael Ranner
>Organization:
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:
>Description:

	This is the port of the latest xfstt source (0.9.10) to FreeBSD and replaces the
        0.9.9 port (ports/8459)

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xfstt
#	xfstt/pkg
#	xfstt/pkg/COMMENT
#	xfstt/pkg/DESCR
#	xfstt/pkg/PLIST
#	xfstt/files
#	xfstt/files/md5
#	xfstt/patches
#	xfstt/patches/patch-aa
#	xfstt/Makefile
#
echo c - xfstt
mkdir -p xfstt > /dev/null 2>&1
echo c - xfstt/pkg
mkdir -p xfstt/pkg > /dev/null 2>&1
echo x - xfstt/pkg/COMMENT
sed 's/^X//' >xfstt/pkg/COMMENT << 'END-of-xfstt/pkg/COMMENT'
XA True Type font server for X11.
END-of-xfstt/pkg/COMMENT
echo x - xfstt/pkg/DESCR
sed 's/^X//' >xfstt/pkg/DESCR << 'END-of-xfstt/pkg/DESCR'
XXfstt means "X11 Font Server for TT fonts".
XTT fonts are generally regarded to be the best scalable
Xfonts for low resolution devices like displays.
X
XExamples where good scalable fonts improve the visual quality
Xconsiderably are netscape(tm), gimp and java(tm).
X
XXfstt is freely available under the LGPL. This basically means:
XUse it for free; if you fix bugs you have to contribute the
Xfixes to the public.     
END-of-xfstt/pkg/DESCR
echo x - xfstt/pkg/PLIST
sed 's/^X//' >xfstt/pkg/PLIST << 'END-of-xfstt/pkg/PLIST'
Xbin/xfstt
Xshare/doc/xfstt/FAQ
Xshare/doc/xfstt/INSTALL
Xman/man1/xfstt.1.gz
X@dirrm share/doc/xfstt
END-of-xfstt/pkg/PLIST
echo c - xfstt/files
mkdir -p xfstt/files > /dev/null 2>&1
echo x - xfstt/files/md5
sed 's/^X//' >xfstt/files/md5 << 'END-of-xfstt/files/md5'
XMD5 (Xfstt-0.9.10.tgz) = 9189cbcfb972fcc05e093aeccfd4d3b2
END-of-xfstt/files/md5
echo c - xfstt/patches
mkdir -p xfstt/patches > /dev/null 2>&1
echo x - xfstt/patches/patch-aa
sed 's/^X//' >xfstt/patches/patch-aa << 'END-of-xfstt/patches/patch-aa'
X*** Makefile.org	Sun Nov  1 12:50:45 1998
X--- Makefile	Sun Nov  1 12:51:36 1998
X***************
X*** 1,5 ****
X  #MAXOPT = -O6 -fomit-frame-pointer -ffast-math
X! MISCOPT =
X  OPT = $(MISCOPT) $(MAXOPT)
X  
X  CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG
X--- 1,5 ----
X  #MAXOPT = -O6 -fomit-frame-pointer -ffast-math
X! MISCOPT = -O
X  OPT = $(MISCOPT) $(MAXOPT)
X  
X  CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG
X***************
X*** 7,14 ****
X  CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0
X  #CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT)
X  
X! LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11
X! LFLAGS = -g -L/usr/X11R6/lib
X  
X  CC = c++
X  LD = c++
X--- 7,14 ----
X  CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0
X  #CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT)
X  
X! LFLAGS = -L/usr/X11R6/lib
X! #LFLAGS = -g -L/usr/X11R6/lib
X  
X  CC = c++
X  LD = c++
X*** xfstt.cpp.org	Sun Nov  1 12:50:52 1998
X--- xfstt.cpp	Sun Nov  1 12:51:59 1998
X***************
X*** 8,14 ****
X  // if you are sure your X11 server doesn't request more
X  // than it can handle, increase the limit up to 65535
X  #define UNSTRAPLIMIT	10500U
X! #define TTFONTDIR	"/usr/ttfonts"
X  
X  #define MAXOPENFONTS 256
X  #define MAXREPLYSIZE (1<<22)
X--- 8,14 ----
X  // if you are sure your X11 server doesn't request more
X  // than it can handle, increase the limit up to 65535
X  #define UNSTRAPLIMIT	10500U
X! #define TTFONTDIR	"/usr/X11R6/share/ttfonts"
X  
X  #define MAXOPENFONTS 256
X  #define MAXREPLYSIZE (1<<22)
X*** perftest.cpp.org	Sun Nov  1 12:50:56 1998
X--- perftest.cpp	Sun Nov  1 12:52:08 1998
X***************
X*** 1,7 ****
X  // test ttf engine performance
X  // (C) Copyright 1997-1998 Herbert Duerr
X  
X! #define TTFONTDIR	"/usr/ttfonts"
X  #define MAXFONTBUFSIZE (2048*2048)
X  
X  #include "ttf.h"
X--- 1,7 ----
X  // test ttf engine performance
X  // (C) Copyright 1997-1998 Herbert Duerr
X  
X! #define TTFONTDIR	"/usr/X11R6/share/ttfonts"
X  #define MAXFONTBUFSIZE (2048*2048)
X  
X  #include "ttf.h"
END-of-xfstt/patches/patch-aa
echo x - xfstt/Makefile
sed 's/^X//' >xfstt/Makefile << 'END-of-xfstt/Makefile'
X# New ports collection makefile for: Xfstt-0.9.10
X# Version required:     0.9.10
X# Date created:		November 1st 1998
X# Whom:			mranner
X#
X# $Id: Makefile,v 1.0 1998/11/1 15:23:00 mranner Exp $
X#
X
XPREFIX=		/usr/X11R6
XDISTNAME=	Xfstt-0.9.10
XPKGNAME=        xfstt-0.9.10
XWRKSRC=		${WRKDIR}/xfstt0910
XCATEGORIES=	x11-fonts
XMASTER_SITES=   ftp://sunsite.unc.edu/pub/Linux/X11/fonts/ \
X		ftp://sunsite.org.uk/Mirrors/sunsite.unc.edu/pub/Linux/X11/fonts/ \
X		ftp://ftp.rz.uni-karlsruhe.de/pub/linux/mirror.sunsite/X11/fonts/ \
X		ftp://ftp.x.org/contrib/fonts/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=     Michael.Ranner@netway.at
X
XMAKE_FLAGS=     -DPREFIX=${PREFIX} -f
X
Xdo-install:
X	install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
X		${PREFIX}/share/doc/xfstt
X	install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
X		${PREFIX}/share/ttfonts
X	cd ${WRKSRC} && \
X		${INSTALL_DATA} FAQ INSTALL ${PREFIX}/share/doc/xfstt
X	cd ${WRKSRC} && \
X		${INSTALL_PROGRAM} xfstt ${PREFIX}/bin
X	cd ${WRKSRC} && \
X		${INSTALL_MAN} xfstt.1x ${PREFIX}/man/man1/xfstt.1
X	gzip ${PREFIX}/man/man1/xfstt.1
X
Xpost-install:
X	strip ${PREFIX}/bin/xfstt
X
X.include <bsd.port.mk>
END-of-xfstt/Makefile
exit

>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811011240.NAA03964>