Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643428 - [gnome-overlay] dev-libs/glib-2.54.2 installs wrong pkg-config files
Summary: [gnome-overlay] dev-libs/glib-2.54.2 installs wrong pkg-config files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 16:07 UTC by Helmut Jarausch
Modified: 2018-01-30 14:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2018-01-04 16:07:53 UTC
I have installed dev-libs/glib-2.54.2 from the gnome overlay (I need it for media-gfx/gimp-9999).
The configure script of gimp checks
/usr/bin/pkg-config --atleast-version 2.54.2 glib-2.0 gobject-2.0
which returns 1 (error)

Looking at 
/usr/lib64/pkgconfig/glib-2.0.pc
/usr/lib64/pkgconfig/gobject-2.0.pc

it turns out that they set
Version: 2.54.0

instead of

Version: 2.54.2
Comment 1 Helmut Jarausch 2018-01-04 16:36:51 UTC
I need the following patches

near the end of src_prepare()

	sed -i -e"s/version : '2.54.0'/version : '2.54.2'/" meson.build  # <<<<<

	gnome-meson_src_prepare

and at the end of multilib_src_install_all()

chmod o+x "${ED}/usr/bin/glib-gettextize"

this is needed for net-dns/avahi to build
Comment 2 Dennis Lamm gentoo-dev 2018-01-26 08:49:33 UTC
meson.build contains wrong version info
Comment 3 Sobhan Mohammadpour (RETIRED) gentoo-dev 2018-01-30 10:39:26 UTC
fix with the new ebuild