From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sat, 25 Apr 2020 23:26:22 +0200 Subject: [Buildroot] [PATCH v2 2/3] package/mesa3d-headers: fix install of dri.pc In-Reply-To: <20200425225823.2f68e8ef@windsurf.home> References: <20191023062220.5646-1-bernd.kuhls@t-online.de> <20191023062220.5646-2-bernd.kuhls@t-online.de> <20200425225823.2f68e8ef@windsurf.home> Message-ID: <20200425212622.GS5035@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 2020-04-25 22:58 +0200, Thomas Petazzoni spake thusly: > Hello Bernd, > > On Wed, 23 Oct 2019 08:22:19 +0200 > Bernd Kuhls wrote: > > > Due to the switch of mesa3d to the meson build system the upstream > > tarball does not include dri.pc.in anymore, it is created during the > > build now: > > https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/meson.build?h=19.2#n93 > > > > In order to provide dri.pc we need to add a version taken from a dri- > > based mesa3d build to our source repository, by doing so we can reduce > > the number of sed commands. > > I am sorry, but I don't understand the reasoning behind this patch. If > the new meson build system produces a dri.pc file, why don't we use it? > What is wrong with it? Because mesa3d-headers is not a meson package, but a generic package: it only installs a select set of headers, and dri.pc when xorg is enabled. So, the dri.pc generated by the meson buildsystem, is not generated. Since there is now no template anymore in the source tree, we need to get one from wmewhere... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'