Difference between revisions of "Extension requirements"

From Inkscape Wiki
Jump to navigation Jump to search
(Update, remove dead links, add links to alternative info sources)
Line 1: Line 1:
{{Other languages|en=Effect requirements}}
{{Other languages|en=Extension requirements}}


For info about what effects can do, screenshots, and how to make your own go to [http://www.ekips.org/comp/inkscape/ Aarons Site]
This page is '''outdated''' and needs an overhaul. For '''alternative information sources''', see:
If you are interested in opening special file formats through extensions, see [[GettingExtensionsWorking]].


== Python Effects ==
* The extensions error log in your Inkscape user configuration directory, in case an extension doesn't work. It will list missing dependencies for each extension.
 
* For info about how to make your own:
** go to [https://inkscape.org/en/develop/extensions/ the corresponding page on our main website]
** also take a look at these Wiki articles: [[Script_extensions | Script Extensions]], [[INX_extension_descriptor_format | INX Extension Descriptor Format]], [[Inkscape-specific_XML_attributes | Inkscape-Specific XML attributes]]
 
* If you are interested in opening special file formats through extensions, see [[GettingExtensionsWorking]].
 
* More info about existing extensions can be found
** [https://inkscape.org/en/download/addons/ in our website's addon gallery]
** and in the [[Extension_repository | Extension Repository page]] of the Wiki.
 
 
 
 
== Python Extensions ==
=== on Debian GNU / Linux ===
=== on Debian GNU / Linux ===
     apt-get install python python-lxml
     apt-get install python python-lxml


=== on Microsoft Windows ===
=== on Microsoft Windows ===
From version .44 onwards, Inkscape now includes Python in the download, and has effects <i>enabled</i> by default.
From version .44 onwards, Inkscape now includes Python in the download, and has extensions <i>enabled</i> by default.
The latest stable Inkscape version includes Python 2.6.5.
The latest stable Inkscape version includes Python 2.6.5.


Line 26: Line 40:
The packages are installed in the site-packages directory of your Python install. This is /Library/Python/2.*/site-packages for the stock install of Python on Mac OS X.
The packages are installed in the site-packages directory of your Python install. This is /Library/Python/2.*/site-packages for the stock install of Python on Mac OS X.


== Perl Effects ==
== Perl Extensions ==
=== on Debian GNU / Linux ===
=== on Debian GNU / Linux ===
     apt-get install perl libxml-xql-perl
     apt-get install perl libxml-xql-perl
Line 48: Line 62:
         6: copy XML-XQL-*\XQLParser\Parser.pm to C:\Perl\site\lib\XML\XQL
         6: copy XML-XQL-*\XQLParser\Parser.pm to C:\Perl\site\lib\XML\XQL


== Plugin Effects ==
== Plugin Extensionss ==
I have absolutely no idea. Please record your success here. :)
I have absolutely no idea. Please record your success here. :)


Line 54: Line 68:
Run Inkscape from the console
Run Inkscape from the console


Use the error messges printed to the console to diagnose the problem (very often missing dependencies)
Use the error messages printed to the console to diagnose the problem (very often missing dependencies)


On Windows you will have to redirect output to a text file like this: "inkscape > output.txt"
On Windows you will have to redirect output to a text file like this: "inkscape > output.txt"

Revision as of 11:41, 15 March 2016

Other languages: العربية Català Česky Deutsch English Español Français Italiano 日本語 한국어 Polski Português Português do Brasil Русский Slovenčina 中文

This page is outdated and needs an overhaul. For alternative information sources, see:

  • The extensions error log in your Inkscape user configuration directory, in case an extension doesn't work. It will list missing dependencies for each extension.



Python Extensions

on Debian GNU / Linux

   apt-get install python python-lxml

on Microsoft Windows

From version .44 onwards, Inkscape now includes Python in the download, and has extensions enabled by default. The latest stable Inkscape version includes Python 2.6.5.

on Mac OS X

Starting with version 0.46, Inkscape contains the python packages needed for the extension system. All python extensions should work out of the box. However in case you still have trouble you can install them in their regular location.

Compiling from source

If you prefer, you can install them from source, it is really easy.

  1. download the source code for sourceforge numpy repository and/or lxml download section
  2. unpack the .tar.gz file
    tar -xzf numpy***.tar.gz lxml***.tar.gz
  3. for each one cd into the newly created directory
  4. build C extensions and install (the install is system wide so you need administrator privileges)
    sudo python setup.py install
    and type your password.

The packages are installed in the site-packages directory of your Python install. This is /Library/Python/2.*/site-packages for the stock install of Python on Mac OS X.

Perl Extensions

on Debian GNU / Linux

   apt-get install perl libxml-xql-perl

on Gentoo GNU / Linux

   emerge -a XML-XQL

on Microsoft Windows

   install ActivePerl
   install XML::XQL::DOM (perhaps like this?)
       1: install prereqs with ppm:
	    install xml-dom
	    install parse-yapp
	    install datemanip
       2: download xml-xql from:
	    http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-XQL-0.68.tar.gz
       3: open command prompt and locate perl"s lib directory with:
	    perl -e "print qq(@INC)"    (mine was C:/Perl/site/lib)
       4: unpack xml-xql archive
       5: copy contents of XML-XQL-*\lib\XML into C:\Perl\site\lib\XML
       6: copy XML-XQL-*\XQLParser\Parser.pm to C:\Perl\site\lib\XML\XQL

Plugin Extensionss

I have absolutely no idea. Please record your success here. :)

What if it doesn't work?

Run Inkscape from the console

Use the error messages printed to the console to diagnose the problem (very often missing dependencies)

On Windows you will have to redirect output to a text file like this: "inkscape > output.txt"