Difference between revisions of "Inkscape-dev"
(→Using the .deb file) |
|||
Line 20: | Line 20: | ||
*python-imaging-tk | *python-imaging-tk | ||
− | + | =Installation on Linux = | |
− | |||
− | = | + | ==Installation of the prerequisites== |
+ | |||
+ | For example on a debian/ubuntu: | ||
+ | sudo apt-get install inkscape python python-lxml python-tk python-imaging-tk | ||
==Using the .deb file== | ==Using the .deb file== | ||
− | Under debian/ubuntu, you can use this .deb file to install Inksmoto : | + | Under debian/ubuntu, you can use this .deb file to install Inksmoto with the command line or graphically: |
+ | |||
+ | *Command line: | ||
wget http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb | wget http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb | ||
sudo dpkg -i inksmoto-0.5.0~svn-1.deb | sudo dpkg -i inksmoto-0.5.0~svn-1.deb | ||
+ | |||
+ | *Graphically: | ||
+ | ** download the .deb file http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb | ||
+ | ** double click on it from the file explorer to install it (with GDebi) | ||
Warning: | Warning: | ||
Line 38: | Line 46: | ||
run: | run: | ||
+ | sudo apt-get install subversion | ||
mkdir ~/.inkscape | mkdir ~/.inkscape | ||
cd ~/.inkscape | cd ~/.inkscape | ||
svn co svn://svn.tuxfamily.org/svnroot/xmoto/svg2lvl/trunk/extensions | svn co svn://svn.tuxfamily.org/svnroot/xmoto/svg2lvl/trunk/extensions | ||
− | = | + | = Installation on Windows = |
− | * | + | |
− | * | + | Download: |
− | * | + | *Python 2.5: http://python.org/ftp/python/2.5.2/python-2.5.2.msi |
− | * | + | *PIL 1.1.6: http://effbot.org/downloads/PIL-1.1.6.win32-py2.5.exe |
− | * | + | *Inkscape 0.46: http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe |
− | * | + | |
+ | |||
+ | =Installation on Mac os X= | ||
+ | |||
+ | Download: | ||
+ | *Python 2.5: http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg | ||
+ | *PIL 1.1.6: http://pythonmac.org/packages/py25-fat/dmg/PIL-1.1.6-py2.5-macosx10.4-2007-05-18.dmg | ||
+ | *Inkscape 0.46: | ||
+ | ** Leopard: http://downloads.sourceforge.net/inkscape/Inkscape-0.46-2.LEOPARD.UNIVERSAL.dmg | ||
+ | ** Tiger: http://downloads.sourceforge.net/inkscape/Inkscape-0.46-3.TIGER.UNIVERSAL.dmg | ||
= TODO = | = TODO = |
Revision as of 15:39, 6 December 2008
Contents
Documentation for the developpement version of Inksmoto Level Editor
Disclaimer
This version of Inksmoto Level Editor is not stable and not fully tested, but you can test it anyway.
Svg made with the 0.2.0 version of Inksmoto Level Editor are not compatible with this developement version of Inksmoto Level Editor.
Required softwares
The next version of Inksmoto will require Inkscape 0.46. This version of Inkscape no longer uses python-xml, but lxml instead. Tk is still needed. And python too (don't know the minimum required version required, but Inkscape 0.46 is packaged with python 2.5).
- inkscape (=0.46)
- python (=2.5)
- python-lxml
- python-tk
- python-imaging-tk
Installation on Linux
Installation of the prerequisites
For example on a debian/ubuntu:
sudo apt-get install inkscape python python-lxml python-tk python-imaging-tk
Using the .deb file
Under debian/ubuntu, you can use this .deb file to install Inksmoto with the command line or graphically:
- Command line:
wget http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb sudo dpkg -i inksmoto-0.5.0~svn-1.deb
- Graphically:
- download the .deb file http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb
- double click on it from the file explorer to install it (with GDebi)
Warning: If you have previously installed the svn version in your home dir, you should better delete it:
rm -rf ~/.inkscape/extensions
Using the svn
run:
sudo apt-get install subversion mkdir ~/.inkscape cd ~/.inkscape svn co svn://svn.tuxfamily.org/svnroot/xmoto/svg2lvl/trunk/extensions
Installation on Windows
Download:
- Python 2.5: http://python.org/ftp/python/2.5.2/python-2.5.2.msi
- PIL 1.1.6: http://effbot.org/downloads/PIL-1.1.6.win32-py2.5.exe
- Inkscape 0.46: http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe
Installation on Mac os X
Download:
- Python 2.5: http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg
- PIL 1.1.6: http://pythonmac.org/packages/py25-fat/dmg/PIL-1.1.6-py2.5-macosx10.4-2007-05-18.dmg
- Inkscape 0.46:
TODO
You can see the progress of the developpement in the bug tracker: http://todo.xmoto.tuxfamily.org/index.php?project=2&do=index
Code documentation
On this page there's informations on how the code is structured (in french) Inksmoto-code-documentation
Windows packaging
Python2.5:
\Lib\lib-tk \DLLs\_tkinter.pyd \DLLs\tk84.dll \DLLs\tcl84.dll Python25\tcl
PIL_1.1.6.win32.py2.5.exe:
site-packages\PIL site-packages\PIL.pth