1) What does
ScripterNG stands for? Scripter "Next Generation"?
2) What is the history of ScripterNG vis-a-vis the scripting engine for Scribus? It looks like ScripterNG was a Google Summer of Code (GSOC) project headed up by someone with a username of Henning.
http://www.youtube.com/watch?v=Zpm98BXr2R4 I'm not clear on where it stands vis-a-vis the current HEAD of the SVN repository.
I've downloaded Scribus' current high watermark (17,549), "HEAD", from Subversion (svn://scribus.net/trunk/Scribus)and successfully compiled it on Gentoo Linux using Gentoo's package manager. The out-of-the-Subversion version did not have a menu item Extras-ScripterNG. So I followed the instruction to include ScripterNG as follows (with slight modification):
ScriptingNG notes
pulled SVN head (svn://scribus.net/trunk/Scribus) into /usr/local/src/scribus
Following directions at http://wiki.scribus.net/canvas/ScripterNG
(installed within my Gentoo system: "emerge dev-vcs/bzr")
in /usr/local/src:
bzr branch http://henning.cco-ev.de/scribus/scripterng scripterng
per scipterng/README
install python-dev, python-qt4-dev, perhaps python-sip4-dev, sip4 if you haven't already
None of the above pacakges appear within Gentoo's portage system:
themis scribus # eix python-dev
No matches found.
themis scribus # eix python-qt4
No matches found.
themis scribus # eix python-sip4
No matches found.
themis scribus # eix sip4
No matches found.
themis scribus #
in /usr/local/src:
mkdir scribus/scribus/plugins/scripterng
cp scripterng/* scribus/scribus/plugins/scripterng
nano scribus/scribus/plugins/CMakeLists.txt
#
# 6/10/12 jlpoole
#
ADD_SUBDIRECTORY(scripterng)
in /usr/local/src/scribus:
cmake .
make
make install Based on the above, my version of Scribus has the "Extras-ScripterNG" which opens a window to launch the plugin which, in turn, creates a modal (blocking) window exposing two tabs: Python and Javascript.
It's taking a long time to compile, e.g. 20 minutes plus on quadcore laptop that has been pretty snappy with compile times. Compiling is on the order of compiling Firefox or Google's Chrome.
I've also staged an SVN pull at /usr/local/src/scribus where I'm following the instructions in the "obsolete" [url src="http://wiki.scribus.net/canvas/ScripterNG"] ScripterNG [/url] page which appears to install a version of ScripterNG apart from the regular scripting feature. It's taking a long time to compile, e.g. 20 minutes plus on quadcore laptop that has been pretty snappy with compile times.
ScripterNG supports both python and QTScript, a variant of JavaScript or Ecmascript. The building instructions suggest that ScripterNG co-exists with the regular python scripting and ScripterNG is accessed
http://wiki.scribus.net/canvas/Category:Scriptshas
Note: The new script engine "ScripterNG" is currently being integrated into Scribus. The next steps will be:
get the script engine to work (should already be ok)
http://wiki.scribus.net/canvas/ScripterNGhas the warning
This information is obsolete. Yet, there are instructions for building with ScripterNG which works.
So what is the state of ScripterNG? Is it something that will be brought into Scribus, or is it an experiment or investigation?
I'm very interested in helping get scripting in Scribus well documented and to have an editor for Python script that has autocomplete. I'm very familiar with XML and XSL transformations -- it's part of my regular day-time job. I do like JavaScript as I work with it in my job, Python is not something I'm readily familiar with, but it's various packages, e.g. database connectivity, make it highly desirable.