Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 19:32:28 -0800
From:      Murray Stokely <murray@freebsd.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        portmgr@freebsd.org
Subject:   Re: GNOME errors with 4.8
Message-ID:  <20030328193228.B43794@freebsdmall.com>
In-Reply-To: <20030328205923.W17648@shumai.marcuscom.com>; from marcus@marcuscom.com on Fri, Mar 28, 2003 at 09:07:57PM -0500
References:  <20030328023446.J208@freebsdmall.com> <1048876043.389.63.camel@gyros> <20030328103800.S208@freebsdmall.com> <1048877131.389.72.camel@gyros> <20030328105930.V208@freebsdmall.com> <1048878103.389.75.camel@gyros> <20030328131206.H58154@freebsdmall.com> <20030328214225.GB30360@intruder.bmah.org> <20030328134708.J58154@freebsdmall.com> <20030328205923.W17648@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok excellent.  Have you committed this change?  If so, can Kris please
rebuild this pango package for us?  Are there other important font
packages we should update at the same time?

	- Murray

On Fri, Mar 28, 2003 at 09:07:57PM -0500, Joe Marcus Clarke wrote:
> On Fri, 28 Mar 2003, Murray Stokely wrote:
> 
> > On Fri, Mar 28, 2003 at 01:42:25PM -0800, Bruce A. Mah wrote:
> > > Any chance of there being an ordering problem...like maybe fontconfig
> > > is getting installed before the fonts and thus the fc-cache command
> > > getting executing befor the fonts show up?  Could this be a problem?
> >
> > Yes sounds very plausible.  I wonder if the fc-cache command should be
> > in the +INSTALL of the gnome package too.
> >
> > Joe?
> 
> Murray, I have a feeling this is exactly the problem.  While each font
> package _should_ run fc-cache, it doesn't, and I think this is the
> problem. Attached is a patch for x11-toolkits/pango that will work around
> the problem.  Eric should probably add a pkg-install script for each font
> package that runs fc-cache.  I'm online now, so if you need me, I'll be
> very quick to respond.  You can also page me.
> 
> Joe
> 
> >
> >    - Murray
> >
> >
> 
> PGP Key : http://www.marcuscom.com/pgp.asc
> diff -ruN pango.orig/Makefile pango/Makefile
> --- pango.orig/Makefile	Fri Mar 28 21:07:06 2003
> +++ pango/Makefile	Fri Mar 28 21:05:05 2003
> @@ -58,4 +58,9 @@
>  	@${FIND} ${WRKSRC}/pango/opentype -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
>  		's|internal/tterrors\.h|fterrors.h| ; s|TT_Err_|FT_Err_|g'
>  
> +post-install:
> +.if !defined(PACKAGE_BUILDING)
> +	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
> +.endif
> +
>  .include <bsd.port.post.mk>
> diff -ruN pango.orig/pkg-install pango/pkg-install
> --- pango.orig/pkg-install	Wed Dec 31 19:00:00 1969
> +++ pango/pkg-install	Fri Mar 28 21:06:44 2003
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +
> +PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:${PATH}
> +export PATH
> +
> +if [ "$2" = "POST-INSTALL" ]; then
> +    fc-cache -f >/dev/null 2>&1
> +fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030328193228.B43794>