Hi, all. Finally got my work email fixed again.
Ok.. I finally hooked up the Makefile_insert and makefile.in in src/extension/script to the rest of the automake tree. So Inkscape is now compiling and linking with Perl and Python.
Please try updating and building, when it is convenient. We will likely need to tweak it to make sure that the build works on everyone's machine.
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
Bob
Compiles and runs ok on my gentoo gcc3.4 system.
Bryce
On Wed, 15 Dec 2004, Bob Jamison wrote:
Hi, all. Finally got my work email fixed again.
Ok.. I finally hooked up the Makefile_insert and makefile.in in src/extension/script to the rest of the automake tree. So Inkscape is now compiling and linking with Perl and Python.
Please try updating and building, when it is convenient. We will likely need to tweak it to make sure that the build works on everyone's machine.
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
Bob
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Ok... first tweak ;-) ....
Needed to move the LIB stuff from Makefile_insert to configure.ac. A benefit we get from this is the ability to turn this off with --with-perl=no and --with-python=no, and the two new vars in config.h, WITH_PYTHON and WITH_PERL.
People probably won't need to run autogen.sh again, but they might.
Also added a verb for a script dialog, with a corresponding menu item, and a trivial scriptdialog.cpp that people can use as a scratchpad to design a nice one.
Bob
Bryce Harrington wrote:
Compiles and runs ok on my gentoo gcc3.4 system.
Bryce
On Wed, 15 Dec 2004, Bob Jamison wrote:
Hi, all. Finally got my work email fixed again.
Ok.. I finally hooked up the Makefile_insert and makefile.in in src/extension/script to the rest of the automake tree. So Inkscape is now compiling and linking with Perl and Python.
Please try updating and building, when it is convenient. We will likely need to tweak it to make sure that the build works on everyone's machine.
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
Bob
On Wed, 15 Dec 2004, Bob Jamison wrote:
Date: Wed, 15 Dec 2004 11:58:15 -0600 From: Bob Jamison <rjamison@...357...> To: Inkscape ML inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] src/extension/script Makefiles
Hi, all. Finally got my work email fixed again.
Ok.. I finally hooked up the Makefile_insert and makefile.in in src/extension/script to the rest of the automake tree. So Inkscape is now compiling and linking with Perl and Python.
Please try updating and building, when it is convenient. We will likely need to tweak it to make sure that the build works on everyone's machine.
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
I'd be interested.
Gnumeric, Abiword, and others give plenty of ideas on how to do it (and that is without even looking at non-GTK apps).
If you can give help describe any of the limitations of the implementation I'll try and avoid an inappropriate design. If you are interested I'll followup offlist with additional questions if necessary.
presumably you want a menu item Tools, * Plugins...
or suchlike (* being the stock icon that looks like a machine cog) and a dailog with a list that looks something like this:
Enable | Name | Type
[] foo Python Plugin [] bar Python Plugin [] baz Perl Plugin [] Monkey monkey monkey Perl Plugin [] Monkey monkey monkey Python Plugin
[ + Add ] [ - Remove ] [ ? Properties ]
Sincerely
Alan Horkan
On Wed, 15 Dec 2004 21:54:27 +0000 (GMT), Alan Horkan <horkana@...44...> wrote:
On Wed, 15 Dec 2004, Bob Jamison wrote:
Date: Wed, 15 Dec 2004 11:58:15 -0600 From: Bob Jamison <rjamison@...357...> To: Inkscape ML inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] src/extension/script Makefiles
Hi, all. Finally got my work email fixed again.
Ok.. I finally hooked up the Makefile_insert and makefile.in in src/extension/script to the rest of the automake tree. So Inkscape is now compiling and linking with Perl and Python.
Please try updating and building, when it is convenient. We will likely need to tweak it to make sure that the build works on everyone's machine.
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
I'd be interested.
Gnumeric, Abiword, and others give plenty of ideas on how to do it (and that is without even looking at non-GTK apps).
If you can give help describe any of the limitations of the implementation I'll try and avoid an inappropriate design. If you are interested I'll followup offlist with additional questions if necessary.
presumably you want a menu item Tools,
- Plugins...
Rather "Manage plug-ins...", if I got your idea ;)
Alexandre
presumably you want a menu item Tools,
- Plugins...
Rather "Manage plug-ins...", if I got your idea ;)
I forget where I saw it but if i had to use two works I'd go with "configure plugins..." but I think that one word will probably be enough, I wouldn't expect there to be any other menus items for configuring plugins.
As for the question of Plug-ins or Plugins? I will need to check the Gnome Documentation and User Interface guides but I distinctly prefer the latter which Gedit, Gnumeric and Abiword all use. (I do know a well known gtk program that makes a big point about using the term plug-ins in its documentation but doesn't use it in the menus, it just looks wrong).
- Alan H.
Alan Horkan wrote:
On Wed, 15 Dec 2004, Bob Jamison wrote:
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
presumably you want a menu item Tools,
- Plugins...
or suchlike (* being the stock icon that looks like a machine cog) and a dailog with a list that looks something like this:
Enable | Name | Type
[] foo Python Plugin [] bar Python Plugin [] baz Perl Plugin [] Monkey monkey monkey Perl Plugin [] Monkey monkey monkey Python Plugin
[ + Add ] [ - Remove ] [ ? Properties ]
Well, this one is more like Gimp's script-foo extensions, that any user can write. But yes, I can see maybe having a bit of metadata associated with each script to help find the right one.
And it might be better this way, than having a file-selector-type widget pluck a script from a directory.
However the scripts are accessed, in the end it will be just like: python something.py or perl something.pl
...as if someone typed that on the command-line, but the scripts will be able to reference things internal to the editor.
Bob
It is not building on Win32 (XP, I have been building fine for 2 weeks also)... I did a clean after the fist time it error'd out. After re-running the mkfiles & mkdep and doing a make it error'd out again with:
extension/script/InkscapePerl.cpp:14:20: EXTERN.h: No such file or directory extension/script/InkscapePerl.cpp:15:18: perl.h: No such file or directory extension/script/InkscapePerl.cpp:16:18: XSUB.h: No such file or directory make[1]: *** [extension/script/InkscapePerl.o] Error 1 make[1]: Leaving directory `C:/cvs/inkscape/inkscape/src' make: *** [dist] Error 2
(the dist error 2 always happens though)
-Josh
-----Original Message----- From: inkscape-devel-admin@lists.sourceforge.net
[mailto:inkscape-devel-
admin@lists.sourceforge.net] On Behalf Of Bob Jamison Sent: Wednesday, December 15, 2004 10:58 AM To: Inkscape ML Subject: [Inkscape-devel] src/extension/script Makefiles
Hi, all. Finally got my work email fixed again.
Ok.. I finally hooked up the Makefile_insert and makefile.in in src/extension/script to the rest of the automake tree. So Inkscape is now compiling and linking with Perl and Python.
Please try updating and building, when it is convenient. We will likely need to tweak it to make sure that the build works on everyone's machine.
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is
interested
in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
Bob
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Joshua A. Andler wrote:
It is not building on Win32 (XP, I have been building fine for 2 weeks also)... I did a clean after the fist time it error'd out. After re-running the mkfiles & mkdep and doing a make it error'd out again with:
extension/script/InkscapePerl.cpp:14:20: EXTERN.h: No such file or directory extension/script/InkscapePerl.cpp:15:18: perl.h: No such file or directory extension/script/InkscapePerl.cpp:16:18: XSUB.h: No such file or directory make[1]: *** [extension/script/InkscapePerl.o] Error 1 make[1]: Leaving directory `C:/cvs/inkscape/inkscape/src' make: *** [dist] Error 2
(the dist error 2 always happens though)
-Josh
Note that the Win32 builds will need the 'experimental' library bundle at the bottom of the page: http://troi.hous.es3.titan.com/~rjamison/inkscape/
It is much larger, because it has complete Perl and Python libraries added. They will likely get smaller in the future when we can learn what we do and do not need.
Bob
participants (5)
-
Alan Horkan
-
Alexandre Prokoudine
-
Bob Jamison
-
Bryce Harrington
-
Joshua A. Andler