GFXprim needs following tools to compile:
C compiler (tested with gcc or clang)
Python (2.6 or newer)
SDL (not recomended, SDL is known to be slow and buggy)
Once devel packages are installed the compilation is as simple as running configure and make.
|The configure script is written in Python.|
gfxprim # ./configure ... gfxprim # make
|GFXprim supports proper parallel build, you most likely want to add the -j with number of your processors + 1 as a parameter to the make.|
gfxprim # make install
The make install command will install GFXprim libraries and devel headers into your system. Python bindings are not installable at the moment.
Here are commands to install required packages on OpenSUSE.
zypper in gcc make python-Jinja2
zypper in libjpeg-devel libpng-devel giflib-devel
zypper in freetype-devel
zypper in libX11-devel libXext-devel
zypper in swig python-devel
zypper in gcc make python-Jinja2 libjpeg-devel libpng-devel giflib-devel freetype-devel libX11-devel libXext-devel swig python-devel