[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Acroread seems to be broken



* Nikolay Sturm [2006-01-20]:
> As always, write a mail and the world changes. I can reproduce the
> acroread problem now. And opera doesn't work either...

Attached is a diff to our redhat_base port that fixes the issues for me.
The old fontconfig in redhat_base does no longer deal with the system
supplied fonts.conf, so we have to use the redhat one. Please test and
report any remaining problems.

@ish: Ok?

Nikolay
Logfile: /tmp/cvsd.xfeP20295
Index: Makefile
===================================================================
RCS file: /a/devel/cvs/ports/emulators/redhat/base/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	22 Oct 2005 19:07:42 -0000	1.24
+++ Makefile	21 Jan 2006 07:28:09 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=	"Linux compatibility package based on RedHat 8.0"
 
-PKGNAME=	redhat_base-8.0p7
+PKGNAME=	redhat_base-8.0p8
 
 MAINTAINER=	Jason Ish <ish_(_at_)_openbsd_(_dot_)_org>
 
@@ -48,7 +48,7 @@
 		zlib-1.1.4-8.8x.i386.rpm:0
 
 REMOVE_DIRS=	/usr/doc /usr/info /usr/man /usr/share/doc \
-		/usr/share/zoneinfo /etc/fonts
+		/usr/share/zoneinfo
 REMOVE_FILES=	/etc/localtime
 
 PATCH_LIST=
@@ -75,6 +75,7 @@
 .endfor
 
 	@cd ${PREFIX} && ${PATCH} -p0 --forward --quiet -E < ${PATCHDIR}/patch-ldd
+	@cd ${PREFIX} && ${PATCH} -p0 --forward --quiet -E < ${PATCHDIR}/patch-fonts_conf
 
 # copy in ld.so.conf
 	${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${PREFIX}/etc
Index: patches/patch-fonts_conf
===================================================================
RCS file: patches/patch-fonts_conf
diff -N patches/patch-fonts_conf
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-fonts_conf	21 Jan 2006 07:41:20 -0000
@@ -0,0 +1,12 @@
+--- etc/fonts/fonts.conf.orig	Sat Jan 21 08:25:12 2006
++++ etc/fonts/fonts.conf	Sat Jan 21 08:25:57 2006
+@@ -16,8 +16,8 @@
+ 
+ <!-- Font directory list configured on Mon Sep  9 15:24:30 EDT 2002 -->
+ 
+-	<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
++	<dir>/usr/X11R6/lib/X11/fonts</dir>
+ 	<dir>/usr/share/fonts</dir>
+ 	<dir>~/.fonts</dir>
+ 
+ <!--
Index: pkg/PLIST
===================================================================
RCS file: /a/devel/cvs/ports/emulators/redhat/base/pkg/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- pkg/PLIST	12 Apr 2005 18:28:12 -0000	1.12
+++ pkg/PLIST	21 Jan 2006 07:28:32 -0000
@@ -59,6 +59,10 @@
 etc/DIR_COLORS.xterm
 etc/cron.daily/
 etc/cron.daily/rpm
+etc/fonts/
+etc/fonts/fonts.conf
+_(_at_)_comment etc/fonts/fonts.conf.orig
+etc/fonts/fonts.dtd
 etc/gtk/
 etc/gtk-2.0/
 etc/gtk/gtkrc

Visit your host, monkey.org