From owner-svn-ports-head@freebsd.org Thu Feb 2 15:48:01 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAA08CCD7DB; Thu, 2 Feb 2017 15:48:01 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A67CA4D; Thu, 2 Feb 2017 15:48:00 +0000 (UTC) (envelope-from Alexander@leidinger.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1486049115; bh=Kpm9qgJm3Gi0KdS5OCtumoRqGDUVbE+IG7Q0pqThjfk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DPFxYgRXs9Q2rmxQ6IPvIJuCSFaIvtNdma2/vMvmNbYS5ZFcP0UMfbsrhql+ls2n+ xXjFyqoHq0B3umm2md+JaEQKyj2dBUjYq+dMKRRwt+c50di7i+4ZV8qXipyWyTv4r9 FpS7yyQDyFtUW1jkfhK7eV9p+Hz/5gKGna92QgNQ//+7GNS5C81Euprxg+f85qyq3v LLbtmWketQYYEMDzqGzrYkjf2juwMZzWwvfpP6ltb64Rlm9z/eDC3YJyftE4xbWD+P laZ/+Vx0JnxVo5K4BEnUoUSgJ1olGs/nMpe/MKKmvaqcXuSjawIsUC1u+m8YIztLmz fSASiQ8KFRWKg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1486050472; bh=Kpm9qgJm3Gi0KdS5OCtumoRqGDUVbE+IG7Q0pqThjfk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=X9a6oqAH+ohu08woMN4gwiS6OMOMY+CcfY/4SeT1mZS3B22nvp9XDWk93bKjGEulH CuyawAM+17F6i1JjO4YV4dY8U9ntbq6A9LYAQboE8AClsRG/qdd3/HEoekzXUoSbbF vOzmoeW5Xb5hwuHJ+TA0J6kXkJXhHzO6+mUHmr9U3g1wSD3yqkKx51hrV6OAal/eI2 0x8uUpJbTyq2MLsTlkRPMp9QhCce9SUc0+jG2BxUzk65+N94cOm2LjcUsrUWvg42k6 G8+t1JgYJmAZ5aPRNR5aUuVZ9IZWkuNMl1/d5jknU9L7bRj42LM2h0Ay9ZbuyO0Qbk c1GfiN3etalow== Date: Thu, 02 Feb 2017 16:25:15 +0100 Message-ID: <20170202162515.Horde.0GFmTsPkuQPyWLWM5mZ_kSf@webmail.leidinger.net> From: Alexander Leidinger To: Tijl Coosemans Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r433087 - in head/x11-fonts: linux-c6-fontconfig linux-c7-fontconfig References: <201702012010.v11KAfjg059841@repo.freebsd.org> <20170202100956.Horde.DPu6WjftKqJCtC5OCBpQf6o@webmail.leidinger.net> <20170202135416.2d390f3a@kalimero.tijl.coosemans.org> In-Reply-To: <20170202135416.2d390f3a@kalimero.tijl.coosemans.org> User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_bag3qisfWkIhLxAMCR3SgvE"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2017 15:48:01 -0000 This message is in MIME format and has been PGP signed. --=_bag3qisfWkIhLxAMCR3SgvE Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Tijl Coosemans (from Thu, 2 Feb 2017=20=20 13:54:21=20+0100): > On Thu, 02 Feb 2017 10:09:56 +0100 Alexander Leidinger=20=20 >=20 wrote: >> Could it be that a simple ln of the linux /var/db/fontconfig to the >> FreeBSD location would solve this issue without the need to run the >> linux fc-cache on each font directory change? > > The config files aren't fully compatible and the Linux fc-cache prints > some errors about that but they can be ignored it seems. > > The cache files have names ending in -.cache- where > is le32d4 on i386 and le64 on amd64 and is 7 on FreeBSD, 3 on > CentOS 6 and 4 on CentOS 7, so a simple link doesn't work. Argh. > The commit also doesn't fully solve the problem. The amd64 package only > generates le64 cache files so running an i386 Linux program may still > create cache files in the user home directory. This also happens when > users update their fonts because font ports don't run Linux fc-cache on > installation. > > The only real solution is to build our own Linux fontconfig package using > devel/linux-*-devtools. Instead of linux-devtools I would prefer this (ok, 6 years old, so=20=20 maybe=20a little bit outdated on the linux side of things, but the=20=20 principle=20still stands): http://www.leidinger.net/blog/2011/02/25/howto-creating-your-own-updated-li= nux-rpm-for-the-freebsd-linuxulator/ =3D use a real linux in a VM The reason for this is, that we should stay as close as possible to a=20=20 real=20linux when we build something, and we can't guarantee this via=20=20 linux-devtools. Bye, Alexander. --=20 http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_bag3qisfWkIhLxAMCR3SgvE Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJYk09bAAoJEKrxQhqFIICEHF4QALIdtvHQsMeZt8x9269MPAkx xLZgIVzVIU6u8Tu7gxEFtPIKMRfX7zm+s+spNqRBH4TRtR8aJv2eh9b4Hny97qyz lkkddG4sCe6b8XV3FnIhnXoiLO034zfApPlGfd2QVSDDUEH+tMcwh8jmLzSXY5db YNv6SPNL4pCoa3chEXBNPFcR6BjeiOGB2FzyYA/+HU1cHdYHfsTywS9aqU2qYivV m5DEGcfBtUKnaFwQW1YSYeOl9Yk1DIvfFsDQVVR0qPyHJ6yqeTjRIrP3qlDdw3xs DG2scoYSM8bhhRwweQQips7cHxf2C/HUPK6ZXdkGVeO1HHxzzkFvDcWYd8kl8vme w2E0WivIhVLA6UZ1qmxgYpcmu/+IBz/lLsePbPAAD7u7EZUVbxDZ5Uq/NYijdzIV McnMiYwlhMwZMA2+xp/VK8mQhXhKxvQCaVSsUufQHEV7dYRam/VxcSjrnbwsFdwa u7+20PWfduSKWaQA2H+DQFJJkUkvTY102ScVDx+J8hERgefxNlesip2nRg1gTji9 SJ88oFdf3Az+Lc+fxntsABgBxO1iU0Y1Wz8oXyN2wzh9rKH0m03abvSUp5scbkgL hU3LKgPgdh5hiZoBSBJnB4HXQsnZl5Rulz68UTtGR2Hwjh7ipRLkVqsONEprrz+I o24C5sjw+38EWWSTdsIU =LBl9 -----END PGP SIGNATURE----- --=_bag3qisfWkIhLxAMCR3SgvE--