After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613344 - libgnomecups-0.2.3 : libgnomecups-1.0.pc reports unwanted libraries
libgnomecups-0.2.3 : libgnomecups-1.0.pc reports unwanted libraries
Status: RESOLVED WONTFIX
Product: gnome-cups-manager
Classification: Deprecated
Component: libgnomecups
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-03-19 17:17 UTC by Pacho Ramos
Modified: 2012-02-28 15:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2010-03-19 17:17:26 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
Comment 1 Christian Persch 2010-03-19 20:17:13 UTC
This module is unmaintained (last release 2 years ago), so this probably isn't going to be fixed.
Comment 2 Pacho Ramos 2010-03-19 20:35:47 UTC
Maybe we should try to move to system-config-printer downstream if possible then. Thanks for the info :-)
Comment 3 André Klapper 2012-02-28 15:52:48 UTC
"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.