GNOME Bugzilla – Bug 649486
replace uuid check with something more portable
Last modified: 2011-05-10 18:33:09 UTC
Created attachment 187303 [details] [review] Use pkg-config to pickup uuid. There's a comment in configure.ac: "check for the ext2 uuid library. TODO replace it with something more portable" The attached diff ought to do the trick by using pkg-config to search for the cflags and libs needed.
Created attachment 187304 [details] [review] Use pkg-config to pickup uuid.
Good work! I'll do a deeper check soon.
Review of attachment 187304 [details] [review]: On Fedora 14 I found, that I could use pkg-config to find uuid, but it does not seem to work with e2fs-uuid: pkg-config --list-all | grep uuid uuid uuid - Universally unique id library Do you can find uuid this way on OpenBSD?
The package that installs 'uuid.pc' on OpenBSD is the ossp-uuid. But I'm perfectly fine with patching the OpenBSD port to use 'e2fs-uuid.pc' and having upstream gnote use the more common 'uuid.pc'.
Changed to uuid. However, I decided to leave the 0.7 as is, because uuid.pc does not seem to be available on some older systems. Fix goes to 0.8 only. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.