[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request for help/advice for cross-building src:langdrill



Hi,

* Nilesh Patra <nilesh@mailbox.org> [2023-04-30 01:50]:

Quite obviously, I prefer pkg-config as a long-term solution, but it
requires uploads of two packages and breaks an API contract.

Sorry for sounding silly, but I am not sure if I entirely understand
this statement. Which two packages are you talking about, and why would
adding in a .pc file break API?

Adding a .pc file does not, but removing the broken vdk-config-2
does. The two mentioned uploads add the .pc file to src:vdk2 and
switch src:langdrill to the new pkg-config mechanism, respectively.

You could keep vdk-config-2, but it adds nothing to the pkg-config
solution except for a latent cross-build bug. ;) You can probably
even convince upstream to adopt the pkg-config solution and improve
the build experience for everyone. Many other libraries have done so
before, GTK and SDL for example.


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature


Reply to: