Mailinglist Archive: opensuse-packaging (165 mails)

< Previous Next >
Re: [opensuse-packaging] Could we decide on an official policy about pkgconfig() style BuildRequires?
On 3 July 2012 18:01, Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx> wrote:
El mar 03 jul 2012 12:58:16 CLT, Cristian Morales Vega escribió:
On 3 July 2012 16:27, Peter Linnell <plinnell@xxxxxxxxxxxx> wrote:
Hi Christian,

This all looks good, but can you revert the pkgconfig stuff, so it will
build at least on SLES11 SP2 ?

I'd prefer not to break this unessecarily on the lates SLE.

Thanks!

Peter

On 07/02/2012 02:23 PM, christian.morales.vega@xxxxxxxxx wrote:


home:RedDwarf:branches:network:utilities/aria2-parts ->
network:utilities/aria2


https://build.opensuse.org/request/show/126938


pkg-config()-style dependencies

Pros:
- Cross-distro compatibility
- Immune to package renames and splits (and someday someone is going
to decide splitting libqt4-devel is a good idea...)

Cons:
- They don't work with SLE and Evergreen


Could we decide on an official policy about this?

My vote is for:
a) Prefer the use of pkgconfig() dependencies
b) If compatibility with old distributions is desired do the changes
in the old distributions

My vote is to not prefer this syntax as long as pkgconfig scripts are
buggy and bloated, they either pull unneeded indirect dependencies or
packages needed for static linking.

That is a problem in the generation of the pkgconfig() *provides*.
Using pkgconfig() *buildrequires* or not doesn't make any difference.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >