i) IS really easy and it is already used in the current plugin. The cli tool reads the expression from stdin and prints the answer to stdout. It's a very simple and working solution :)
Christopher James Halse Rogers wrote: > On Tue, 2009-06-09 at 21:58 +0200, Peter Bjørn Jørgensen wrote: > >> What is the general opinion on this. >> What would be the least ugly solution: >> i) Use the Qalculate cli tool as backend >> ii) Create a wrapper and static link libqalculate into the plugin to >> avoid runtime dependencies >> iii) Create a wrapper with dynamic link to libqalculate, introducing >> libqalculate as compile and runtime dependency for the plugin-package. >> > > Unless (i) is really easy, (iii) is the correct solution. There's > absolutely no reason to try to avoid runtime dependencies. > > Also, (ii) won't necessarily work on x86-64. :) > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GNOME Do" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gnome-do?hl=en -~----------~----~----~----~------~----~------~--~---
