GNOME Bugzilla – Bug 344534
Install a f-spot.pc file
Last modified: 2006-10-11 07:13:02 UTC
At the moment, f-spot does not register itself with pkg-config, making it very difficult for other programs (such as beagle) to check if f-spot is installed.
Created attachment 67156 [details] [review] Add and install f-spot.pc file I am not a autotools expert at all, but this patch adds a f-spot.pc to the default installation containing version and libs information.
Ok, I've used it with no problems, and would love for this to go out with the next release of f-spot so that the next release of beagle can check (accurately) at compile time if f-spot is installed. If Larry is ok with it, I can go ahead and commit this. p.s. I changed the patch status to reflect that it works, not necessarily that it should be committed regardless.
This patch is wotking fine, and is also very useful! I'm working on an plugin architecture for f-spot and I can now compiling plugins with "-pkg:f-spot" option to mcs. Is it possible to return more than just 'f-spot.exe' with pkg-config --libs ? My opinion is that it should return f-spot.exe plus all the dll required to compile f-spot.
Do this patch really block bug #345394 (plugin's)???
Have confirmed this f-spot.pc patch, in conjunction with #345394
Created attachment 72251 [details] [review] with a Changelog entry I only added a Changelog entry in the patch (needed elsewhere).
looks good
It looks like f-spot.pc.in is missing from cvs. Makefile.am/Makefile.in reference it but autogen.sh fails
f-spot.pc.in is in CVS