Date: Wed, 23 May 2007 16:00:49 +0400 From: Boris Samorodov <bsam@ipt.ru> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: dmitry@karasik.eu.org, freebsd-emulation@FreeBSD.org, Pav Lucistnik <pav@FreeBSD.org> Subject: Re: ports/112851: x11-fonts/linux-fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2 Message-ID: <00270814@srv.sem.ipt.ru> In-Reply-To: <20070523133902.47ewer69wkckcgs0@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 23 May 2007 13\:39\:02 %2B0200") References: <200705231116.l4NBGKJI082138@freefall.freebsd.org> <20070523133902.47ewer69wkckcgs0@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 May 2007 13:39:02 +0200 Alexander Leidinger wrote: > Quoting Pav Lucistnik <pav@FreeBSD.org> (from Wed, 23 May 2007 11:16:20 GMT): > > The workarounds suggested needs to be done both or are alternatives? I edited > > the path in fonts.conf, and fonts now appear in acroread just fine. > > linux-opera > > is still messed up. > Don't run the linux fc-cache program! I assume it will mess up the > contents of the cache file for the FreeBSD fontconfig. > Boris, your patch looks good in principle, but I prefer to create the > fonts.conf on the fly (REINPLACE s:/usr/X11R6:${X11BASE}:g) instead of > hardcoding it (except portmgr/pav tells us that X11BASE goes away, > then it should be LOCALBASE). See > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/110632 for more (as OK. I used X11BASE. > we got the info that the new fontconfig is not compatible, and as I > didn't found a matching fontconfig version back then, we have to go > the way as proposed in the PR). Maybe we should also not install (= > remove) the linux fc-cache program. > Pav, do we (or better: has bsam) portmgr approval to fix linux-fontconfig? Here is the new patch (taken from PR/110632, bump the PORTREVISION): ----- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-fonts/linux-fontconfig/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 19 Mar 2007 05:13:58 -0000 1.18 +++ Makefile 23 May 2007 11:54:49 -0000 @@ -7,7 +7,7 @@ PORTNAME= fontconfig PORTVERSION= 2.2.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-fonts linux DISTNAME= ${PORTNAME}-${PORTVERSION}-13 @@ -29,5 +29,6 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf + ${REINPLACE_CMD} -i '' -e "s|/usr/X11R6|${X11BASE}|g" ${PREFIX}/etc/fonts/fonts.conf .include <bsd.port.mk> ----- WBR -- bsam Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00270814>