Re: [Evolution-hackers] EPlugin newbie query
Hi, Thanks for your replies. Now please bear with this newbie's questions once again, 1. is this what you mean in your instruction? ./autogen.sh --enable-plugins=all 2. I ran ./autogen.sh (without any arguments) followed by ./configure Here's the output: checking pkg-config is at least version 0.7... yes checking for GLIB - version >= 2.0.0... yes (version 2.12.11) ./configure: line 31010: syntax error near unexpected token `yes' ./configure: line 31010: `GNOME_COMPILE_WARNINGS(yes)' May I know what went wrong? What's the command you used to generate the configure script for the release? I noticed that the configure shell script is significantly different from what is provided in tar.gz. file. I used a workaround by modifying configure shell directly instead. But it helps only because my plugin is a very simple code and I'm sure that I'm not supposed to do it that way. I'm using Ubuntu 7.04 and trying to build Evolution 2.10.3 best regards, johan On Fri, 2008-03-14 at 05:25 -0600, Sankar P wrote: > On Fri, 2008-03-14 at 17:09 +0800, Johan Jonathan Nugraha wrote: > > Hi, > > > > I've read the EPlugin manual docs and I've written my own code and XML > > files. I tried to compile but It seems my plugin is not working. > > After searching more I found out that i need to use > > --enable-plugins=all . > > Add your plugin sources to evolution/plugins/ folder. > > I assume evolution is the folder where you have your evolution sources > built. > > Your plugin need to have its Makefile.am and follow autotools' logic. > > 1) Open the file configure.in your evolution source directory. > 2) Search for plugins_standard and add your plugin-name to the list of > already existing plugin names. (like > 3) Search for "plugins/external-editor/Makefile" and add your plugin > name as "plugins//Makefile" > > 4) Now run autogen with the argument "--enable-plugins=all" along with > all other arguments that you have used earlier. > > 5) Run "make install" from your plugin directory. You should have your > plugin installed. > > > May I know how to use this option? > > > > Johan J.N > > ___ > > Evolution-hackers mailing list > > Evolution-hackers@gnome.org > > http://mail.gnome.org/mailman/listinfo/evolution-hackers ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] EPlugin newbie query
On Fri, 2008-03-14 at 17:09 +0800, Johan Jonathan Nugraha wrote: > Hi, > > I've read the EPlugin manual docs and I've written my own code and XML > files. I tried to compile but It seems my plugin is not working. > After searching more I found out that i need to use > --enable-plugins=all . Add your plugin sources to evolution/plugins/ folder. I assume evolution is the folder where you have your evolution sources built. Your plugin need to have its Makefile.am and follow autotools' logic. 1) Open the file configure.in your evolution source directory. 2) Search for plugins_standard and add your plugin-name to the list of already existing plugin names. (like 3) Search for "plugins/external-editor/Makefile" and add your plugin name as "plugins//Makefile" 4) Now run autogen with the argument "--enable-plugins=all" along with all other arguments that you have used earlier. 5) Run "make install" from your plugin directory. You should have your plugin installed. > May I know how to use this option? > > Johan J.N > ___ > Evolution-hackers mailing list > Evolution-hackers@gnome.org > http://mail.gnome.org/mailman/listinfo/evolution-hackers -- Sankar P ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] EPlugin newbie query
Am Freitag, den 14.03.2008, 17:09 +0800 schrieb Johan Jonathan Nugraha: > I've read the EPlugin manual docs and I've written my own code and XML > files. I tried to compile but It seems my plugin is not working. what does "is not working" mean? what does "tried to compile" mean? > After searching more I found out that i need to use > --enable-plugins=all . > May I know how to use this option? when you run configure/autogen.sh, you add "--enable-plugins=all" to the command. andre -- mailto:[EMAIL PROTECTED] | failed http://www.iomc.de/ | http://blogs.gnome.org/aklapper signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] EPlugin newbie query
Hi, I've read the EPlugin manual docs and I've written my own code and XML files. I tried to compile but It seems my plugin is not working. After searching more I found out that i need to use --*enable*-*plugins*=* all* . May I know how to use this option? Johan J.N ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] EPlugin Newbie query
Sandeep, On Mon, 2008-02-25 at 22:23 +0100, Sandeep Gupta wrote: > Hi all > > I need to write a plugin in Evolution. It should be able to add a menu > option in compose new mail option. On clicking the menu, it should ask > for a file through a dialog box. Then, take this file and body of the > mail as input for processing. After processing, it should attach a file > produced as result of previous step to the mail. This is very much possible with e-plugins. > > Now, reading at eplugin documentation, I have faint idea that I need to > write an xml file and a C file. C file should implement the call back > function. Yep ! > > Is there a manual for writing the C part of eplugin? Any other help > based on the above requirement would be appreciated. Afaik there is a outdated manual available : http://www.gnome.org/projects/evolution/developer-doc/eplugin/. Best way to proceed is by reading code of other plugins. Check : + Save Attachments Plugin for playing with attachments. HTH. - Johnny signature.asc Description: This is a digitally signed message part ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] EPlugin Newbie query
Hi all I need to write a plugin in Evolution. It should be able to add a menu option in compose new mail option. On clicking the menu, it should ask for a file through a dialog box. Then, take this file and body of the mail as input for processing. After processing, it should attach a file produced as result of previous step to the mail. Now, reading at eplugin documentation, I have faint idea that I need to write an xml file and a C file. C file should implement the call back function. Is there a manual for writing the C part of eplugin? Any other help based on the above requirement would be appreciated. Thanks Sandeep ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers