$ ldd -u -r fotox Unused direct dependencies: /usr/lib64/libatk-1.0.so.0 /usr/lib64/libpangocairo-1.0.so.0 /usr/lib64/libcairo.so.2 /usr/lib64/libgmodule-2.0.so.0 /lib64/libdl.so.2 /lib64/librt.so.1
https://bugzilla.novell.com/show_bug.cgi?id=384436 Summary: gtk2-devel and glib2-devel .pc files create unneeded dependencies Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME - Platform AssignedTo: bnc-team-gnome-platform@forge.provo.novell.com ReportedBy: cmorve69@yahoo.es QAContact: qa@suse.de CC: maw@novell.com Found By: --- Trying to build a fotox package I end with: that, at least, creates unneeded RPM metadata/solver extra time. That's because the build script uses "pkg-config --libs gtk+-2.0 gthread-2.0" and some "Requires" should be "Requires.private" (not in the man, but available since pkg-config 0.17) and some "Libs" should be "Libs.private". I don't know gnome/gtk enough to be sure about which ones should be moved to *.private (1), but they sure need a cleanup. "ldd -u -r /usr/bin/gnome*" and "ldd -u -r /usr/bin/gtk*" make it clear. gnome-display-properties links agains 73 libraries and just 9 are directly needed!!! To put an example: I don't think programs linking against libgthread-2.0 need to link directly against pthread, but gthread-2.0.pc has "Libs: -L${libdir} -lgthread-2.0 -pthread -lrt". (1) Still at http://err.no/personal/blog/tech/2008-03-25-18-07_pkg-config,_sonames_and_Re... pkg-config mantainer says: "With this background, you might ask the question why we still have Requires since it is seemingly useless. For C, it is useless in all but the most special cases, just use Requires.private instead (and its sibling Libs.private)." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.