From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E5520198005 for ; Fri, 15 Mar 2013 14:25:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2A53E05CF; Fri, 15 Mar 2013 14:25:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9F1FE058F for ; Fri, 15 Mar 2013 14:25:27 +0000 (UTC) Received: from pomiocik.lan (87-205-48-218.adsl.inetia.pl [87.205.48.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 95D8B33DADC; Fri, 15 Mar 2013 14:25:25 +0000 (UTC) Date: Fri, 15 Mar 2013 15:25:57 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: aballier@gentoo.org, tommy@gentoo.org Subject: Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs Message-ID: <20130315152557.6970d4ed@pomiocik.lan> In-Reply-To: <20130315113231.71a28ed9@portable> References: <20130303000230.13fea8b8@pomiocik.lan> <51334A02.40705@gentoo.org> <20130303162404.5488ada7@portable> <5133709F.4020909@gentoo.org> <20130303171022.101be411@portable> <51337A06.20400@gentoo.org> <20130303175826.24a7f0c1@pomiocik.lan> <20130303181812.3d6b5cbe@portable> <20130303232503.3ad202e5@pomiocik.lan> <20130304110240.75f9d12e@portable> <20130304214948.0d0bedf1@pomiocik.lan> <20130307172523.1f9bb381@portable> <20130308173010.4cc3a40a@pomiocik.lan> <20130309111011.2e1044f3@portable> <20130310144243.7d4b73b0@pomiocik.lan> <20130315113231.71a28ed9@portable> Organization: Gentoo X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.16; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/KE/XZPM16ILkfh1a=vKTOll"; protocol="application/pgp-signature" X-Archives-Salt: 2acee999-28ea-4cc9-9a37-610c7ce97b34 X-Archives-Hash: 022bed98761079c80238ab0dfa02f87c --Sig_/KE/XZPM16ILkfh1a=vKTOll Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 15 Mar 2013 11:32:31 +0100 Alexis Ballier wrote: > On Sun, 10 Mar 2013 14:42:43 +0100 > Micha=C5=82 G=C3=B3rny wrote: > > > Let alone qmake, how do you suggest dealing with *-config scripts? > > > Some packages are just not written with multilib in mind, or have > > > to maintain historical compatibility which was not, wrapping the > > > problematic binaries is one solution to this. I've not seen any > > > other solution. > >=20 > > Choose optimal solution per-package. In case of freetype, the solution > > is simple enough: make multilib-aware packages use pkg-config. > > fontconfig does exactly that, and in the earlier version it was enough > > to export something like FREETYPE_CONFIG=3D'pkg-config freetype2' > > (or ac_cv...). >=20 > In this case there's also cmake, and all the other build system types, > maybe even custom ones. pkg-config should be prefered over *-config > scripts in 99% of the cases I'd say; however, setting FREETYPE_CONFIG > isn't less of a hack than the bin wrapper if patches for using > pkg-config to detect freetype are not merged upstream. Yes, the freetype case has already been solved through removing the trouble-making part of header (it wasn't actually ever used) which made the headers compatible. In the longer run, we need more tools for that. During the weekend I'll attempt to write an acceptably good header wrapping function. We may also want a simpler ignore/exclude option but not sure how to do it properly. Certainly I wouldn't want the function to dumbly ignore the whole file, esp. considering that its contents (and thus ABI-specific data) can change over time (versions). --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/KE/XZPM16ILkfh1a=vKTOll Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQJ8BAEBCgBmBQJRQy96XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEKmzYP/1eQnpVJrOHRppDhsMWxtMHm IDSStBgvSaeyfPAgzciCFnvX+7UWbhsBPubWWtcFQ2PAVaf2ttwX4Rtb6qJ9PKpM fDNhHkE0MLzzO2wl+oLz/IRKpDR5EHTx9frCVq7oJltQ1OGnR5HI//nuHVyFWm1L zsygePrhulYJQ8S9SliWUcMu6BiVjyMnHbLI2624z6P00AfuctO48We97Mzf3OGG 5sC1OnSwNv9UYMpBz19spkPjRozNE2SEZUT5HOYqO/9c5NzdzkS60sxFbRTMAIz2 52xml1jo2spYkGmFIj+bWzna39imIun8wlQnK7lHbAcpwFxCjhbGyGPqN4/jShOb gFO0zEW7E1IxY3M163uVhETE7uInuKEmB8KiZQK39wuDNgNhwcgQ95D3hXBjmMua aWwEJGygJ2hXRnJClrx2HbEZ5nIvQ0MeTUSTkEHMm/MPl6RtXl6JRf2zFbueqbXs VNUofalK/ayEUa0RLtLsO1uPa1RNhAIsIOfo/NEfMqqxJutiMTdcb6bmA4sE2b1X HBW2N9GM8VbaI8xT4SqmcpvWzp1p855EKL8DP3lhsahj9QnMh493UwzU2A6h0RHD A0PCnYXk3f1xg8c6Lh/1FWqfFj5+345+XTrDWMVRqnoNXRQRLv9i+yGkKN+Q9MBc lM0fRtFuKHxsvhnXUJDX =StBZ -----END PGP SIGNATURE----- --Sig_/KE/XZPM16ILkfh1a=vKTOll--