From: Eric Anholt Subject: Re: [PATCH 3/3] vc4: Add headers and .pc files for VC4 userspace development. Date: Wed, 27 Jan 2016 19:04:46 -0800 Message-ID: <877fiu8kvl.fsf@eliezer.anholt.net> References: <1453750077-7138-1-git-send-email-eric@anholt.net> <1453750077-7138-3-git-send-email-eric@anholt.net> <8760yg6r13.fsf@eliezer.anholt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0962276156==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Stone , Emil Velikov Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org --===============0962276156== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Daniel Stone writes: > Hi, > > On 27 January 2016 at 14:16, Emil Velikov wrot= e: >> On 27 January 2016 at 11:45, Daniel Stone wrote: >>> The Requires will take care of that, so you can just bin the entire >>> 'Libs:' field until you need one: >>> >> In theory this will be sufficient, but Eric wasn't buying it [1] :'-(. >> He's main consern (if I understood him correctly) is to stay >> consistent with the existing libdrm_* providers, regardless if things >> look a bit quirky. > > I suspect he was missing that 'Requires' also pulls in the relevant > flags from those libraries, so PKG_CHECK_MODULES(DRM_VC4, > [libdrm-vc4]) is equivalent to PKG_CHECK_MODULES(DRM_VC4, [libdrm > libdrm-vc4]), if libdrm-vc4.pc has 'Requires: libdrm'. What I heard Emil arguing to me was that a pkg-config request for --libs From=20libdrm_vc4 shouldn't link against libdrm. I'm fine with dropping Libs and Cflags, as long as we still link libdrm like normal. This all seems like pointless bikeshedding, though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWqYVOAAoJELXWKTbR/J7o5skQAKpJtPywB5koh1PYeMVO5RTw vn1o7Tl/iOyda8+KKeNg5WqNoAbyAVT/Yngcb7kzLPpU4T2FdyP3b6Y44ZQ//q89 j9evDZ0bk8bR3Hq9az84jrVMDZa34pZXUu8EDCKRBEXhpBADmWgg+D9pULejIcOe NtI2NMVUp7iCuV/PQ0+pI6Io2d9VByyDWPo+saHE2XaUBmF7eWsdLLHbqmhIMsEO c0C9Wqfu//b/KXr5ybH/uyWrGy9IMvMsb48pabdGz5iTgPWjvkndx1AiE7PhxHyi Wc0Ov2UbAL+ryrJX07+v/y0U4D/wZI7i1bexAvUP57biLpSOB/6PXVouerwY2adF 0ZlvX1Y1QlwklGvqiD8w1HluuKSw5wziQxV+kxqSX0UJDEHHtqn7Sjt/MdrxkZmQ /0eAA+LIjLvJuXj7AktQvFmXGzaRUK1c0dQb0fgwEQGoIYJR1G4QOstVYB2/p4pb 0IlL+hDLJPHf25Qkn6iF0604x2AxV8eKyR/wMHOhvwAp0tMviKBmS7OmzHjn+s1J QCjBztdD4Sf5JR9kJ+mnoQrhcBP9K/qh4gGxZ0YetfiHIgMQlWs733Hz1RwnLn8/ VIG1PSw9UbbUGvN2mTvBpgUE/Jpevc3L6SSErqsUPHnuM2RX+7S1K7vZt4IY2T9m T56l95CME3/H1H+vGITk =l7ab -----END PGP SIGNATURE----- --=-=-=-- --===============0962276156== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0962276156==--