GNOME Bugzilla – Bug 399550
libspreadsheet has wrong .pc result and pkg-config complains
Last modified: 2007-01-23 01:49:57 UTC
Compile & install. The resulting .pc still contain undefined variables. $ pkg-config 1>/dev/null Variable 'gnumeric_plugindir' not defined in '/opt/gnome2/lib/pkgconfig/libspreadsheet-1.7.pc'
Created attachment 80923 [details] [review] fix it (need review)
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report. I fixed this with a .pc.in patch only. The EXTRA_LIBS variable now lives in goffice, which incidentally should be called libgoffice in the require line.
Should we change the status of the patch in this case. I am not sure, but I start to use bugzilla a bit more, and for stats/search it would be good to mark it as "commited" or something appropriate "obsolete"?... Note that if you realase gnumeric-dev with the latest version, that will break pkg-config (when such error is encountered, it exit and you cannot list/search the others modules...) That's very bad.
I think the general convention here is that once a bug is closed, its attachments are no longer interesting. I.e., it doesn't matter what state you leave them in. When you get a chance, please verify the current version. It should be ok. Also, please consider filing a pkgconfig bug -- it really shouldn't become totally broken just because one .pc file is.