Bug 818594 - libgpod.pc Requires: libimobiledevice-1.0 ... overlinking
Summary: libgpod.pc Requires: libimobiledevice-1.0 ... overlinking
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libgpod
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-03 13:26 UTC by Rex Dieter
Modified: 2012-08-10 19:14 UTC (History)
6 users (show)

Fixed In Version: libgpod-0.8.2-7.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-10 19:14:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pkgconfig patch to avoid overlinking (616 bytes, patch)
2012-05-03 13:30 UTC, Rex Dieter
no flags Details | Diff

Description Rex Dieter 2012-05-03 13:26:33 UTC
libgpod2's %_libdir/pkgconfig/libgpod.pc file currently contains
Requires: glib-2.0 >= 2.8.0 gobject-2.0 gdk-pixbuf-2.0 libimobiledevice-1.0

which results in all those needlessly getting linked into all pkg-config-using
target apps (even when not linking statically).  I noticed this while helping do a libimobiledevice mass-rebuild awhile back.

I'd suggest patching this to be
Requires.private: glib-2.0 >= 2.8.0 gobject-2.0 gdk-pixbuf-2.0 libimobiledevice-1.0
instead (perhaps for rawhide only, reducing this linking may expose
underlinking bugs in target apps)

Comment 1 Rex Dieter 2012-05-03 13:30:10 UTC
Created attachment 581862 [details]
pkgconfig patch to avoid overlinking

Comment 2 Rex Dieter 2012-08-10 19:14:59 UTC
patch applied, poke me if anything breaks.


Note You need to log in before you can comment on or make changes to this bug.