[CALL FOR TESTERS] make the Flash7 plugin more stable.

Norikatsu Shigemura nork at FreeBSD.org
Thu Oct 19 08:56:03 PDT 2006


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 at 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)


More information about the freebsd-mozilla mailing list