Re: flatpak vs pkg-config system libdir

2024-08-03 Thread Owen Taylor
On Fri, Aug 2, 2024 at 8:31 AM Cristian Le via devel < devel@lists.fedoraproject.org> wrote: > On 2024/08/01 17:27, Owen Taylor wrote: > > On Thu, Aug 1, 2024 at 9:24 AM Neal Gompa wrote: > >> >> Well, if you have a general package that's shipped in every buildroot >> for flatpak builds, you can

Re: flatpak vs pkg-config system libdir

2024-08-02 Thread Cristian Le via devel
On 2024/08/01 17:27, Owen Taylor wrote: On Thu, Aug 1, 2024 at 9:24 AM Neal Gompa wrote: Well, if you have a general package that's shipped in every buildroot for flatpak builds, you can ship your own wrapper, and I can make it check if RPM_BUILD_ROOT is defined *and* this file exi

Re: flatpak vs pkg-config system libdir

2024-08-01 Thread Owen Taylor
On Thu, Aug 1, 2024 at 9:24 AM Neal Gompa wrote: > On Thu, Aug 1, 2024 at 9:13 AM Owen Taylor wrote: > > > > Hi Neal - > > > > Daniel's original suggestion here (make pkg-config always look in /app > too) actually seems fine to me and simple, and I don't see any downsides. > But certainly flatpa

Re: flatpak vs pkg-config system libdir

2024-08-01 Thread Neal Gompa
On Thu, Aug 1, 2024 at 9:13 AM Owen Taylor wrote: > > Hi Neal - > > Daniel's original suggestion here (make pkg-config always look in /app too) > actually seems fine to me and simple, and I don't see any downsides. But > certainly flatpak-rpm-macros doesn't *just* modify RPM macros, it currently

Re: flatpak vs pkg-config system libdir

2024-08-01 Thread Daniel P . Berrangé
On Thu, Aug 01, 2024 at 07:09:56AM -0400, Neal Gompa wrote: > On Tue, Jul 9, 2024 at 9:38 AM Daniel P. Berrangé wrote: > > > > There have been a number of PRs[1] opened to workaround problems > > with pkg-config not finding .pc files when dependencies have > > been built in flatpak context. > > >

Re: flatpak vs pkg-config system libdir

2024-08-01 Thread Owen Taylor
Hi Neal - Daniel's original suggestion here (make pkg-config always look in /app too) actually seems fine to me and simple, and I don't see any downsides. But certainly flatpak-rpm-macros doesn't *just* modify RPM macros, it currently also: - Changes the installation prefix for Python by droppin

Re: flatpak vs pkg-config system libdir

2024-08-01 Thread Neal Gompa
On Tue, Jul 9, 2024 at 9:38 AM Daniel P. Berrangé wrote: > > There have been a number of PRs[1] opened to workaround problems > with pkg-config not finding .pc files when dependencies have > been built in flatpak context. > > Normally pkg-config would always find .pc files in any system > dirs. ie