Bug 818594 - libgpod.pc Requires: libimobiledevice-1.0 ... overlinking
libgpod.pc Requires: libimobiledevice-1.0 ... overlinking
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: libgpod (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Bastien Nocera
Fedora Extras Quality Assurance
: Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-03 09:26 EDT by Rex Dieter
Modified: 2012-08-10 15:14 EDT (History)
6 users (show)

See Also:
Fixed In Version: libgpod-0.8.2-7.fc18
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-10 15:14:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Rex Dieter 2012-05-03 09:26:33 EDT
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 09:30:10 EDT
Created attachment 581862 [details]
pkgconfig patch to avoid overlinking
Comment 2 Rex Dieter 2012-08-10 15:14:59 EDT
patch applied, poke me if anything breaks.

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