From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 18 00:05:15 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 528B916A41F; Sun, 18 Sep 2005 00:05:15 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from blue.virtual-estates.net (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id A20C043D45; Sun, 18 Sep 2005 00:05:12 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from blue.virtual-estates.net (blue [127.0.0.1]) by blue.virtual-estates.net (8.13.4/8.13.4) with ESMTP id j8I05B5p021602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Sep 2005 20:05:11 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by blue.virtual-estates.net (8.13.4/8.13.4/Submit) id j8I05BG2021601; Sat, 17 Sep 2005 20:05:11 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) X-Authentication-Warning: blue.virtual-estates.net: mi set sender to mi+kde@aldan.algebra.com using -f From: Mikhail Teterin To: freebsd-emulation@freebsd.org Date: Sat, 17 Sep 2005 20:05:10 -0400 User-Agent: KMail/1.8.2 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: amd64@freebsd.org Subject: linux-fontconfig vs. linux-firefox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 00:05:15 -0000 While using FreeBSD-5.x/amd64 I had to remove the ~/.fonts.cache-1 prior to starting the linux-firefox, which would otherwise crash on start-up from "illegal instruction". My attempts to understand, what's happening led me to believe, there was something wrong with the fontconfig library and removing the fonts.cache was the workaround. However, the workaround stopped helping upon my upgrade to FreeBSD-6.x. The patch below helps me use linux-firefox every time now, probably, because the latest releases of the browser are being built by Mozilla's Linux servers against newer version of the fontconfig. Either the old (2.1) version of fontconfig is not quite ABI-compatible with the new one, or the actual binaries inside RPM use CPU instructions unsuitable for amd64. My patch brings the library up to the 2.2.3, which is what the native fontconfig installs and they download the 32-bit version, which was built by RedHat for x86_64 (Linuxish for amd64). I'd stick to the native 64-bit self-built firefox, but there are no flash plugins for 64-bit-anything (not even Windows). Please, test this new RPM and consider comitting. Maybe, other RPM-installing ports should be similarly updated? Thanks! Yours, -mi Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-fonts/linux-fontconfig/Makefile,v retrieving revision 1.9 diff -U2 -r1.9 Makefile --- Makefile 17 Jun 2005 22:59:28 -0000 1.9 +++ Makefile 17 Sep 2005 23:56:57 -0000 @@ -7,7 +7,7 @@ PORTNAME= fontconfig -PORTVERSION= 2.1 -PORTREVISION= 3 +PORTVERSION= 2.2.3 CATEGORIES= x11-fonts linux +MASTER_SITES= ftp://rpmfind.net/linux/fedora/core/3/x86_64/os/Fedora/RPMS/ MAINTAINER= freebsd-emulation@FreeBSD.org @@ -22,5 +22,5 @@ ONLY_FOR_ARCHS= i386 amd64 PLIST= ${WRKDIR}/plist -RPM_SET= fontconfig-2.1-9.i386.rpm +RPM_SET= fontconfig-2.2.3-5.i386.rpm #PKGINSTALL= ${WRKDIR}/pkg-install Index: distinfo.i386 =================================================================== RCS file: /home/pcvs/ports/x11-fonts/linux-fontconfig/distinfo.i386,v retrieving revision 1.2 diff -U2 -r1.2 distinfo.i386 --- distinfo.i386 17 Mar 2004 18:29:15 -0000 1.2 +++ distinfo.i386 17 Sep 2005 23:56:57 -0000 @@ -1,3 +1,2 @@ -$FreeBSD: ports/x11-fonts/linux-fontconfig/distinfo.i386,v 1.2 2004/03/17 18:29:15 trevor Exp $ -MD5 (rpm/fontconfig-2.1-9.i386.rpm) = 86e827ffaa502266116047e840f8eb8f -SIZE (rpm/fontconfig-2.1-9.i386.rpm) = 106739 +MD5 (rpm/fontconfig-2.2.3-5.i386.rpm) = eb0363e0c829ce9d13ba4e0c68ea8458 +SIZE (rpm/fontconfig-2.2.3-5.i386.rpm) = 118946