GNOME Bugzilla – Bug 575390
libspreadsheet.pc is buggy
Last modified: 2009-04-20 18:42:09 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.
Created attachment 130681 [details] [review] proposed patch
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.
Created attachment 132893 [details] [review] a simpler solution -lspreadsheet-${VERSION} just works.
Looks harmless. Go ahead.
Commited. It is now possible to build an external plugin.