NetBSD Problem Report #15337
Received: (qmail 11457 invoked from network); 23 Jan 2002 03:02:52 -0000
Message-Id: <200201230302.g0N32At09172@rxgpc.sparqnet.net>
Date: Wed, 23 Jan 2002 11:02:10 +0800 (CST)
From: rxg@ms25.url.com.tw
Reply-To: rxg@ms25.url.com.tw
To: gnats-bugs@gnats.netbsd.org
Subject: Add a option to fonts/arphicttf
X-Send-Pr-Version: 3.95
>Number: 15337
>Category: pkg
>Synopsis: Add a option to fonts/arphicttf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 23 03:03:00 +0000 2002
>Closed-Date: Mon Feb 18 11:30:49 +0000 2002
>Last-Modified: Sun Nov 23 01:39:19 +0000 2014
>Originator: Rui-Xiang Guo
>Release: NetBSD 1.5ZA
>Organization:
>Environment:
System: NetBSD rxgpc.sparqnet.net 1.5ZA NetBSD 1.5ZA (HIVE) #0: Sat Jan 12 21:07:31 CST 2002 rxg@rxgpc.sparqnet.net:/usr/src/sys/arch/i386/compile/HIVE i386
Architecture: i386
Machine: i386
>Description:
Add a option to fonts/arphicttf. Decide to use these fonts with
"xtt" module or "freetype" module in 4.x.
>How-To-Repeat:
1. fix the Makefile with:
--- /usr/pkgsrc/fonts/arphicttf/Makefile Sun Dec 2 00:04:07 2001
+++ Makefile
@@ -11,7 +11,7 @@
MAINTAINER= rxg@ms25.url.com.tw
COMMENT= Chinese Big5/GB TrueType fonts made by Arphic Technology
-DEPENDS+= mkttfdir>=1.1nb1:../../fonts/mkttfdir
+DEPENDS+= mkttfdir>=1.2:../../fonts/mkttfdir
FONT_SETS= bkai00mp.ttf.gz \
bsmi00lp.ttf.gz \
@@ -31,6 +31,8 @@
USE_X11BASE= yes
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
+.include "../../mk/bsd.prefs.mk"
+
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
for f in ${FONT_SETS}; do \
@@ -39,6 +41,10 @@
done
post-install:
+.if defined(TTF_TYPE) && (${TTF_TYPE} == "freetype")
+ ${SH} ${LOCALBASE}/bin/mkttfdir --freetype ${FONTDIR}
+.else
${SH} ${LOCALBASE}/bin/mkttfdir ${FONTDIR}
+.endif
.include "../../mk/bsd.pkg.mk"
2. Maybe add the "TTF_TYPE" entry in mk/bsd.pkg.defaults.mk. :)
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
To: Rui-Xiang Guo <rxg@ms25.url.com.tw>
Cc: gnats-bugs@netbsd.org, tech-pkg@netbsd.org
Subject: Re: pkg/15337: Add a option to fonts/arphicttf
Date: Sat, 16 Feb 2002 11:44:44 +0100
On Sat, Feb 16, 2002 at 05:57:13PM +0800, Rui-Xiang Guo wrote:
> May I add this patch to fonts/arphicttf to let it support
> 'freetype' module in XFree 4.x ? :)
> Please someone take a look.
Looks ok.
Thomas
[Cc: gnats-bugs cc's get added to the PR, gnats-admin cc's don't
help.]
--
Thomas Klausner - wiz@danbala.tuwien.ac.at
When all other means of communication fail, try words.
From: Rui-Xiang Guo <rxg@ms25.url.com.tw>
To: gnats-bugs@netbsd.org, tech-pkg@netbsd.org
Cc:
Subject: Re: pkg/15337: Add a option to fonts/arphicttf
Date: Sat, 16 Feb 2002 21:45:17 +0800
On Sat, Feb 16, 2002 at 11:44:44AM +0100, Thomas Klausner wrote:
> On Sat, Feb 16, 2002 at 05:57:13PM +0800, Rui-Xiang Guo wrote:
> > May I add this patch to fonts/arphicttf to let it support
> > 'freetype' module in XFree 4.x ? :)
> > Please someone take a look.
>
> Looks ok.
> Thomas
Thanks a lot! If no one object, I will commit it. ;)
> [Cc: gnats-bugs cc's get added to the PR, gnats-admin cc's don't
> help.]
Ok, I know. :)
Regards,
-rxg
From: Rui-Xiang Guo <rxg@ms25.url.com.tw> (by way of Erik E. Fair)
To: NetBSD GNATS Problem Report Tracking System <gnats-bugs@gnats.netbsd.org>
Cc:
Subject: Re: pkg/15337: Add a option to fonts/arphicttf
Date: Sat, 16 Feb 2002 10:16:50 -0800
May I add this patch to fonts/arphicttf to let it support
'freetype' module in XFree 4.x ? :)
Please someone take a look.
Regards,
-rxg
State-Changed-From-To: open->closed
State-Changed-By: rxg
State-Changed-When: Mon Feb 18 03:26:17 PST 2002
State-Changed-Why:
committed by me.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.