From owner-freebsd-mozilla@FreeBSD.ORG Thu Oct 19 15:56:03 2006 Return-Path: X-Original-To: freebsd-mozilla@FreeBSD.org Delivered-To: freebsd-mozilla@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 374AF16A407; Thu, 19 Oct 2006 15:56:03 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF2FB43D53; Thu, 19 Oct 2006 15:55:58 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with SMTP id k9JFtubU010745; Fri, 20 Oct 2006 00:55:56 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 20 Oct 2006 00:55:56 +0900 From: Norikatsu Shigemura To: freebsd-mozilla@FreeBSD.org Message-Id: <20061020005556.8a6f62e0.nork@FreeBSD.org> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Fri, 20 Oct 2006 00:55:57 +0900 (JST) Cc: ports@FreeBSD.org, freebsd-kde@FreeBSD.org, freebsd-gnome@FreeBSD.org Subject: [CALL FOR TESTERS] make the Flash7 plugin more stable. X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 15:56:03 -0000 Hi. I found a idea to make the Flash7 plugin more stable. 1. Please install ports/x11-fonts/cyberbit-ttfonts. I think that almost users have no problem. Maybe non-ISO8859-1 users have a stability problem. Because the Flash7 plugin required following fontsets. Nimbus Roman No9 L, Charter, Timmons, Lucidux serif, Luxi Serif, Times New Roman, Bitstream Cyberbit, Nimbus Sans L, Helmet, Helvetica, Lucidux sans, Luxi Sans, Arial, Courier, Lucidatypewriter, Luxi Mono, Courier New, Kochi Gothic, Kochi Mincho, Baekmuk Batang, batang, Baekmuk Dotum, dotum, Baekmuk Gulim, gulim, Baekmuk Headline, headline, ZYSong18030, AR PL KaitiM GB, ar pl kaitim gb, AR PL SungtiL GB, ar pl sungtil gb, fangsong ti, FZSongTi, FZFangSongTi, FZHeiTi, FZKaiTi, FZMingTi, AR PL KaitiM Big5, ar pl kaitim big5, AR PL Mingti2L Big5, ar pl mingti2l big5 Yes! These are TrueType fontsets. Maybe cyberbit font is perfect solution. But I don't know other non-ISO8859 fonts are required. So please add your TrueType fontsets. 2. Please edit your /usr/X11R6/lib/X11/fs/config. Add a following directory the first on catalogue line: catalogue = /usr/X11R6/lib/X11/fonts/TrueType/,...... Yes, the Flash7 plugin will search above fontsets from above file:-(. If you feel stable Flash7, this solution is good. So I made a patch to not apply manually above works. Please review fllowing patch. Index: ports/www/linux-flashplugin7/Makefile =================================================================== RCS file: /home/ncvs/ports/www/linux-flashplugin7/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- ports/www/linux-flashplugin7/Makefile 23 Sep 2006 13:19:54 -0000 1.19 +++ ports/www/linux-flashplugin7/Makefile 19 Oct 2006 14:58:54 -0000 @@ -17,6 +17,8 @@ MAINTAINER= jamie@bishopston.net COMMENT= Adobe Flash Player NPAPI Plugin +RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/TrueType/Cyberbit.ttf:${PORTSDIR}/x11-fonts/cyberbit-ttfonts + ONLY_FOR_ARCHS= amd64 i386 USE_LINUX= yes Index: ports/x11-servers/xorg-fontserver/files/patch-Imakefile =================================================================== RCS file: /home/ncvs/ports/x11-servers/xorg-fontserver/files/patch-Imakefile,v retrieving revision 1.1 diff -u -r1.1 patch-Imakefile --- ports/x11-servers/xorg-fontserver/files/patch-Imakefile 23 Jan 2005 19:50:40 -0000 1.1 +++ ports/x11-servers/xorg-fontserver/files/patch-Imakefile 19 Oct 2006 15:29:24 -0000 @@ -1,13 +1,14 @@ ---- programs/xfs/Imakefile.orig Tue Jan 18 22:28:55 2005 -+++ programs/xfs/Imakefile Tue Jan 18 22:30:24 2005 +--- programs/xfs/Imakefile.orig Sat Apr 24 04:54:47 2004 ++++ programs/xfs/Imakefile Fri Oct 20 00:29:01 2006 @@ -37,7 +37,11 @@ FSLIBDIR = $(LIBDIR)/fs FSERRORS = $(LOGDIRECTORY)/xfs.log DEFAULTFONTPATH = DefaultFSFontPath +-SITE_CONFIG = -DDEFAULTFONTPATH=$(DEFAULTFONTPATH) -DFSERRORS=$(FSERRORS) +#if defined(BuildFontCacheLib) && BuildFontCacheLib -+SITE_CONFIG = -DDEFAULTFONTPATH=$(DEFAULTFONTPATH) -DFSERRORS=$(FSERRORS) -DFONTCACHE ++SITE_CONFIG = -DDEFAULTFONTPATH=$(FONTDIR)/TrueType/,$(DEFAULTFONTPATH) -DFSERRORS=$(FSERRORS) -DFONTCACHE +#else - SITE_CONFIG = -DDEFAULTFONTPATH=$(DEFAULTFONTPATH) -DFSERRORS=$(FSERRORS) ++SITE_CONFIG = -DDEFAULTFONTPATH=$(FONTDIR)/TrueType/,$(DEFAULTFONTPATH) -DFSERRORS=$(FSERRORS) +#endif $(OSLIB): $(OSDIR)