From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 06:20:12 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2756A37B401 for ; Fri, 11 Apr 2003 06:20:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020E643FDF for ; Fri, 11 Apr 2003 06:20:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3BDK9Up004032 for ; Fri, 11 Apr 2003 06:20:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3BDK957004030; Fri, 11 Apr 2003 06:20:09 -0700 (PDT) Resent-Date: Fri, 11 Apr 2003 06:20:09 -0700 (PDT) Resent-Message-Id: <200304111320.h3BDK957004030@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Statue Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A495D37B401 for ; Fri, 11 Apr 2003 06:13:13 -0700 (PDT) Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D06BC43F75 for ; Fri, 11 Apr 2003 06:13:12 -0700 (PDT) (envelope-from statue@freebsd.sinica.edu.tw) Received: by freebsd.sinica.edu.tw (Postfix, from userid 1014) id 5E5087A9; Fri, 11 Apr 2003 21:13:15 +0800 (CST) Message-Id: <20030411131315.5E5087A9@freebsd.sinica.edu.tw> Date: Fri, 11 Apr 2003 21:13:15 +0800 (CST) From: Statue To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50816: New port: chinese/oto X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Statue List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 13:20:12 -0000 >Number: 50816 >Category: ports >Synopsis: New port: chinese/oto >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 11 06:20:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Statue >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386 >Description: Have a TrueType font which is not recognized by X Window? Probably, the font uses an encoding other than Unicode! Open Type Organizer (oTo) can show you font info and add new 'name' and 'cmap' tables by translating the original ones. WWW: http://sourceforge.net/projects/oto >How-To-Repeat: >Fix: # 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: # # oto/ # oto/Makefile # oto/distinfo # oto/files # oto/pkg-descr # oto/pkg-plist # oto/files/patch-src::Makefile.in # echo c - oto/ mkdir -p oto/ > /dev/null 2>&1 echo x - oto/Makefile sed 's/^X//' >oto/Makefile << 'END-of-oto/Makefile' X# New ports collection makefile for: zh-oto X# Date created: 8 March 2003 X# Whom: Shen Chuan-Hsing X# X# $FreeBSD$ X# X XPORTNAME= oto XPORTVERSION= 0.4 XCATEGORIES= chinese print XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= statue@freebsd.sinica.edu.tw XCOMMENT= Show you font info and add new 'name' and 'cmap' tables X XLIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \ X gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XHAS_CONFIGURE= YES XUSE_GMAKE= YES XUSE_REINPLACE= yes X X.include Xpost-patch: X @${FIND} ${WRKSRC}/src/ -name "*" | ${XARGS} ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' X.include END-of-oto/Makefile echo x - oto/distinfo sed 's/^X//' >oto/distinfo << 'END-of-oto/distinfo' XMD5 (oto-0.4.tar.gz) = 66f4cdacd3b235fcbfd718b9184b6870 END-of-oto/distinfo echo c - oto/files mkdir -p oto/files > /dev/null 2>&1 echo x - oto/pkg-descr sed 's/^X//' >oto/pkg-descr << 'END-of-oto/pkg-descr' XHave a TrueType font which is not recognized by X Window? Probably, Xthe font uses an encoding other than Unicode! Open Type Organizer (oTo) Xcan show you font info and add new 'name' and 'cmap' tables by Xtranslating the original ones. X XWWW: http://sourceforge.net/projects/oto END-of-oto/pkg-descr echo x - oto/pkg-plist sed 's/^X//' >oto/pkg-plist << 'END-of-oto/pkg-plist' Xbin/oto Xshare/oto/GB2312.TXT Xshare/oto/GB12345.TXT Xshare/oto/GB12345p.TXT Xshare/oto/BIG5.TXT X@dirrm share/oto END-of-oto/pkg-plist echo x - oto/files/patch-src::Makefile.in sed 's/^X//' >oto/files/patch-src::Makefile.in << 'END-of-oto/files/patch-src::Makefile.in' X--- src/Makefile.in.orig Sun Dec 15 19:11:54 2002 X+++ src/Makefile.in Sun Dec 15 19:20:48 2002 X@@ -75,14 +75,14 @@ X directory.c name.c cmap.c X X X-oto_LDADD = -lm X+oto_LDADD = -lm -L/usr/local/lib -liconv -lgnugetopt X mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs X CONFIG_HEADER = ../config.h X CONFIG_CLEAN_FILES = X PROGRAMS = $(bin_PROGRAMS) X X X-DEFS = @DEFS@ -I. -I$(srcdir) -I.. X+DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I/usr/local/include X CPPFLAGS = @CPPFLAGS@ X LDFLAGS = @LDFLAGS@ X LIBS = @LIBS@ X@@ -92,7 +92,7 @@ X CFLAGS = @CFLAGS@ X COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) X CCLD = $(CC) X-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ X+LINK = $(CCLD) $(DEFS) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ X DATA = $(pkgdata_DATA) X X DIST_COMMON = Makefile.am Makefile.in END-of-oto/files/patch-src::Makefile.in exit >Release-Note: >Audit-Trail: >Unformatted: