After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667068 - configure checks for versioned libpng instead of relying on plain .so versioning
configure checks for versioned libpng instead of relying on plain .so versioning
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2011-12-31 18:14 UTC by Pacho Ramos
Modified: 2018-05-22 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2011-12-31 18:14:46 UTC
This comes from:
https://bugs.gentoo.org/show_bug.cgi?id=395037

As explained in https://bugs.gentoo.org/show_bug.cgi?id=395037#c1 we need to make the following hack in gentoo:

        # This will avoid polluting the pkg-config file with versioned libpng,
        # which is causing problems with libpng14 -> libpng15 upgrade
        sed -i -e 's:libpng15:libpng libpng15:' configure.ac || die

to prevent problems when upgrading libpng like:
https://bugs.gentoo.org/383655?id=383655

We could avoid that if unversioned libpng was searched by configure.ac, is there any reason for looking for versioned versions instead? If not, would be nice if you could drop that checks and simply rely on .so versioning

Thanks a lot
Comment 1 Colin Walters 2013-04-21 12:42:27 UTC
The unversioned link is unfortunately unreliable in various environments. However, we could easily change --with-libpng to accept the name of a pkg-config to search for; then Gentoo could pass --with-libpng=libpng and we'd search for that (only).
Comment 2 Bastien Nocera 2014-10-23 15:16:07 UTC
Is a patch forthcoming, following Colin's advice in comment 1?
Comment 3 GNOME Infrastructure Team 2018-05-22 13:12:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/31.