From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 28 19:32:33 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BCEC37B405; Fri, 28 Mar 2003 19:32:33 -0800 (PST) Received: from builder.freebsdmall.com (builder.freebsdmall.com [65.86.180.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 441C943FE0; Fri, 28 Mar 2003 19:32:30 -0800 (PST) (envelope-from murray@builder.freebsdmall.com) Received: (from root@localhost) by builder.freebsdmall.com (8.12.8/8.11.6) id h2T3WTcm044265; Fri, 28 Mar 2003 19:32:29 -0800 (PST) (envelope-from murray) Date: Fri, 28 Mar 2003 19:32:28 -0800 From: Murray Stokely To: Joe Marcus Clarke Message-ID: <20030328193228.B43794@freebsdmall.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030328205923.W17648@shumai.marcuscom.com>; from marcus@marcuscom.com on Fri, Mar 28, 2003 at 09:07:57PM -0500 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D cc: FreeBSD GNOME Users cc: "Bruce A. Mah" cc: re@freebsd.org cc: portmgr@freebsd.org Subject: Re: GNOME errors with 4.8 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 03:32:35 -0000 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 > 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