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 575390 - libspreadsheet.pc is buggy
libspreadsheet.pc is buggy
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Main System
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-03-14 22:01 UTC by Jean Bréfort
Modified: 2009-04-20 18:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (855 bytes, patch)
2009-03-14 22:03 UTC, Jean Bréfort
none Details | Review
new patch (2.45 KB, patch)
2009-03-15 15:55 UTC, Jean Bréfort
none Details | Review
a simpler solution (653 bytes, patch)
2009-04-19 06:26 UTC, Jean Bréfort
committed Details | Review

Description Jean Bréfort 2009-03-14 22:01:40 UTC
pkg-config --libs libspreadseet-1.10 returns among others -lspreasheet-1.10 but this library does not exist.
There are two solutions: either it returns -lspreadsheet, or we change the library name so that it include $(GNUMERIC_API_VERSION)

Also, the dependencies  in Requires should be in Requires.private.

I'l attach a patch for the first and simpler (but may be not so secure) solution.
Comment 1 Jean Bréfort 2009-03-14 22:03:32 UTC
Created attachment 130681 [details] [review]
proposed patch
Comment 2 Jean Bréfort 2009-03-15 15:55:52 UTC
Created attachment 130703 [details] [review]
new patch

This tests the second solution. We end with libspreadsheet-1.10-1.9.5.so which looks a bit strange.
Comment 3 Jean Bréfort 2009-04-19 06:26:55 UTC
Created attachment 132893 [details] [review]
a simpler solution

-lspreadsheet-${VERSION} just works.
Comment 4 Morten Welinder 2009-04-20 18:08:03 UTC
Looks harmless.  Go ahead.
Comment 5 Jean Bréfort 2009-04-20 18:42:09 UTC
Commited. It is now possible to build an external plugin.