GNOME errors with 4.8

Murray Stokely murray at freebsd.org
Fri Mar 28 19:32:35 PST 2003


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



More information about the freebsd-gnome mailing list