Re: dropping autogenerated dependency on pkg-config

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

 



On Mon, Apr 29, 2019 at 3:20 PM Zbigniew Jędrzejewski-Szmek
<zbyszek@xxxxxxxxx> wrote:
>
> On Mon, Apr 29, 2019 at 02:00:41PM -0500, Rex Dieter wrote:
> > Zbigniew Jędrzejewski-Szmek wrote:
> >
> >
> > > Proposal: let's drop the autogenerated dependency on /usr/bin/pkg-config
> > > (this would require a trivial change in /usr/lib/rpm/pkgconfigdeps.sh).
> > >
> > > Note: autogenerated Provides/Requires like pkgconfig(foo) are not
> > > part of this proposal.
> > >
> > > Advantages:
> > > - less entries in the dependency graph
> > > - removal of illogical dependency
> > > - less packages installed (pkgconf, pkgconf-m4, pkgconf-pkg-config,
> > > libpkgconf)
> > >   (Those packages are small, maybe 200k together so this isn't a strong
> > >    reason.)
> > >
> > > Disadvantages:
> > > - stuff that uses pkg-config or pkgconf will need to grow a dependency
> > >   (e.g. meson which invokes /usr/bin/pkg-config internally).
> > >   so there will be some churn.
> >
> > The work required to fix packages affected by this disadvantage
> > (potentially) far outweighs any advantage
> >
> > Now, if the proposal includes offering to help do a some/most of the work to
> > fix all these, then I withdraw the objection.
>
> Obviously. I would do most of the work myself.
>

I'm not convinced that this is worth it. There's nothing appreciably
saved by doing this, and it creates an annoying inconvenience for
people who are trying to package software in Fedora.

You're spending a ton of effort for 200KB that will have outsized
negative impact on the ecosystem by making it non-intuitively harder
to package and use software.

Beyond "removal of illogical dependency", which frankly only applies
to how systemd is packaged, why do you want to do this? This doesn't
save us an unwanted dep like the GCC removal does. This doesn't remove
a massive buildroot dependency like the GDB one does. If you want the
pkgconf-m4 package to not be auto-installed with pkgconf-pkg-config,
I'm happy to make that change.

But past that? What does anyone get from this? Basically nothing.




--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux