gfxprim # ./configure
...
gfxprim # make
Base dependencies
Optional Image loaders
Optional Text rendering
Optional Backends
Python Bindings
Python (devel library)
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.
Instruction to install required packages on OpenSUSE.
Works for Fedora too if you substitute
zypper in
with yum install
.
zypper in gcc make
zypper in libjpeg-devel libpng-devel giflib-devel libtiff-devel
zypper in freetype-devel fontconfig-devel
zypper in libX11-devel libXext-devel libXrandr-devel libXfixes-devel
zypper in xcb-util-keysyms-devel
zypper in wayland-devel
zypper in swig python-devel
zypper in gcc make libjpeg-devel libpng-devel giflib-devel libtiff-devel
freetype-devel fontconfig-devel libX11-devel libXext-devel
libXrandr-devel xcb-util-keysyms-devel wayland-devel swig
python-devel
Instruction to install required packages on Debian and other Debian based distributions.
apt-get install gcc make pkg-config
apt-get install libjpeg-dev libpng-dev libgif-dev libtiff-dev libwebp-dev
apt-get install libfreetype6-dev libfontconfig-dev
apt-get install libx11-dev libxfixes-dev libxext-dev libxrandr-dev
apt-get install libwayland-dev
apt-get install swig python-dev
apt-get install gcc make pkg-config libjpeg-dev libpng-dev libgif-dev
libtiff-dev libwebp-dev libfreetype6-dev libfontconfig-dev
libx11-dev libxfixes-dev libxext-dev libxrandr-dev
libwayland-dev swig python-dev
Deb packages can be build from the GFXprim source (after installing necessary devel packages) by:
apt-get install devscripts
cd gfxprim
debuild -i -us -uc