GNOME Bugzilla – Bug 613344
libgnomecups-0.2.3 : libgnomecups-1.0.pc reports unwanted libraries
Last modified: 2012-02-28 15:52:48 UTC
I replicate here downstream bug report: http://bugs.gentoo.org/show_bug.cgi?id=235013 "I removed kerberos support from cups but I still have this in libgnomecups-1.0.pc: Libs: -L${libdir} -lgnomecups-1.0 -lcups -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -march=athlon64 -O2 -pipe -g -ggdb -DLDAP_DEPRECATED -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -L/usr/lib64 -lgnutls -L/usr/lib64 -ltasn1 -L/usr/lib64 -lgcrypt -lgpg-error -lz -lpthread -lm -lcrypt This causes (at least) libgnomeprint to needlessly link to kerberos libs and causes it to fail to rebuild once kerberos support has been removed from cups but libgnomecups has not been rebuilt. libgnomecups-1.0.pc.in contains: Libs: -L${libdir} -lgnomecups-1.0 @CUPS_LIBS@ This should be Libs.private, since that's probably needed for static linking, but I doubt we need to link to cups if we dynamically link to libgnomecups (since the elf format handles library dependencies afaik). Changing the .pc.in to have: Libs: -L${libdir} -lgnomecups-1.0 Libs.private: -L${libdir} -lgnomecups-1.0 @CUPS_LIBS@ seems more sane and safe." Thanks a lot
This module is unmaintained (last release 2 years ago), so this probably isn't going to be fixed.
Maybe we should try to move to system-config-printer downstream if possible then. Thanks for the info :-)
"gnome-cups-manager" will not see active development anymore according to its developers. Closing this report as WONTFIX - Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.