Install.txt:
Installation should be simple, as there is nothing to compile.
The GTK-2.8 requirements are another matter...
You have what is one of two packages.
1) A binary distribution
2) A source package
The source distrib requires a recent GTK (2.8+) as well as the
python bindings (pyGTK, pyCairo.) The binary distrib is my
attempt to make a more general distribution for distros like
Ubuntu without needing any extra packages -- but your mileage
may vary. --If you want simple but the source code does not run
for you, try the binary package before you start installing lots
of support libraries.
If you build SVGpage on another distro, please let me know and I
will post a link or even mirror your package if you would like me to.
-----------------------------------------------------------------------
1) A binary distribution
a.)Decompress the SVGpage_bin-x.x.bz2
b.)Start the binary version by running "SVGpage"
NOTE:
Binary runs on a default install of Ubuntu-5.10 and
my bastardized Slackware 10.2/current/custom.
2) A source package
REQUIREMENTS:
Autotrace is needed, but a precompiled version is included in the directory with
the binary distribution of SVG-page, which should work on most systems. If
that autotrace does not work for you, then download autotrace for yourself from:
http://autotrace.sourceforge.net/
My version is built statically, without pstoedit or imagemagick, with gcc-3.3.5.
If autotrace is in your PATH, SVGpage will use that version instead of the
precompiled version I include.
-------------------------------------------------------------------------------
For source AND binary versions you need to meet the GTK-2.8 requirements:
(usually your package manager will handle the fine details for you)
The important points are:
GTK >= 2.8 (I built on 2.8.17)
glib >= 2.8
Cairo >= 1.0 (I used 1.0.4. Cairo IS a GTK requirement as of 2.8)
pkg-config-0.19
And be running:
X.org-6.8.2 or XFree86-4.5.0 (or greater)
That's for GTK. More explicit GTK build instructions
for the self-compiler crowd are available at:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html
Their requirements apply, and for SVGpage you also will need:
python >= 2.4 (I used 2.4.3)
------------------------------------------------------------------------------
Source or Slackware downloads have these additional requirments:
(Which the binary folks dont need.)
libsvg >= 0.1.4
libsvg-cairo >= 0.1.6
pycairo >= 1.0.2
pyGTK >= 2.8
------------------------------------------------------------------------------
The imghdr.py included is a replacement for the python-2.4.x series.
It includes support for Exif and XPM images. Leave it in the folder
with the SVGpage.py file and it will be imported from there without any
other configuration...
------------------------------------------------------------------------------