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 399550 - libspreadsheet has wrong .pc result and pkg-config complains
libspreadsheet has wrong .pc result and pkg-config complains
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Compilation
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-01-22 21:18 UTC by Marc-Andre Lureau
Modified: 2007-01-23 01:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix it (need review) (2.60 KB, patch)
2007-01-22 21:19 UTC, Marc-Andre Lureau
none Details | Review

Description Marc-Andre Lureau 2007-01-22 21:18:09 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'
Comment 1 Marc-Andre Lureau 2007-01-22 21:19:59 UTC
Created attachment 80923 [details] [review]
fix it (need review)
Comment 2 Morten Welinder 2007-01-22 23:28:54 UTC
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.
Comment 3 Marc-Andre Lureau 2007-01-23 00:58:46 UTC
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.
Comment 4 Morten Welinder 2007-01-23 01:49:57 UTC
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.