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 656476 - libnotify.pc: Requires should be Requires.private
libnotify.pc: Requires should be Requires.private
Status: RESOLVED DUPLICATE of bug 626952
Product: libnotify
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: William Jon McCann
Depends on:
Blocks:
 
 
Reported: 2011-08-13 21:35 UTC by Michał Górny
Modified: 2011-08-13 21:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the issue (800 bytes, application/octet-stream)
2011-08-13 21:35 UTC, Michał Górny
Details

Description Michał Górny 2011-08-13 21:35:36 UTC
Created attachment 193785 [details]
Patch fixing the issue

libnotify specifies a number of libraries in 'Requires'. This means that each application linking against it will directly link against all those libraries as well. This is incorrect, and results in broken packages at some point.

The 'Requires' should be 'Requires.private'. This way, pkg-config will list all those libraries only when linking statically (passing the '--static' option to pkg-config); and '-lnotify' only when using dynamic linking.
Comment 1 Michał Górny 2011-08-13 21:39:59 UTC
Ah, nevermind, just found out the old bug. I thought it was gone with the old bugzie on galago.

*** This bug has been marked as a duplicate of bug 626952 ***