buildout.cfg 3.76 KB
Newer Older
1 2 3
[buildout]
parts = inkscape
extends =
4
  ../boost-lib/buildout.cfg
5
  ../bzip2/buildout.cfg
6 7
  ../freetype/buildout.cfg
  ../garbage-collector/buildout.cfg
8
  ../gettext/buildout.cfg
9 10 11 12
  ../glibmm/buildout.cfg
  ../gtk-2/buildout.cfg
  ../gtkmm/buildout.cfg
  ../intltool/buildout.cfg
13 14 15
  ../libpng/buildout.cfg
  ../libsigc/buildout.cfg
  ../libxml2/buildout.cfg
16
  ../libxslt/buildout.cfg
17
  ../patch/buildout.cfg
18 19
  ../perl/buildout.cfg
  ../pkgconfig/buildout.cfg
20 21
  ../popt/buildout.cfg
  ../xorg/buildout.cfg
22
  ../zlib/buildout.cfg
23 24 25 26 27

[gsl]
recipe = slapos.recipe.cmmi
url = ftp://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz
md5sum = e49a664db13d81c968415cd53f62bc8b
28 29
configure-options =
  --disable-static
30 31
environment =
  PATH=${glib:location}/bin:${pkgconfig:location}/bin:%(PATH)s
32
  PKG_CONFIG_PATH=${atk:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${glibmm:location}/lib/pkgconfig:${libsigc:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
33 34
  LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib

35 36
[inkscape]
recipe = slapos.recipe.cmmi
37 38
url = https://inkscape.org/en/gallery/item/3860/inkscape-0.91.tar.bz2
md5sum = 278dfa4514adcde23546370ec2c84581
39 40 41 42 43
patch-options = -p0
# based on
# http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15017
patches =
  ${:_profile_base_location_}/inkscape-0.91_gcc6.patch#ce3ddbb90f7e5e81fd322469194b6c3c
44
pkg_config_depends = ${gtkmm:location}/lib/pkgconfig:${gtkmm:pkg_config_depends}:${gsl:location}/lib/pkgconfig:${popt:location}/lib/pkgconfig:${garbage-collector:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig
45
configure-options =
46 47
  --disable-static
  --disable-openmp
48
  --disable-lcms
49 50 51
  --disable-wpg
  --disable-visio
  --disable-cdr
52
  --without-gnome-vfs
53
environment =
54
  PATH=${freetype:location}/bin:${gdk-pixbuf:location}/bin:${gettext:location}/bin:${glib:location}/bin:${intltool:location}/bin:${libxml2:location}/bin:${pango:location}/bin:${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
55
  PKG_CONFIG_PATH=${:pkg_config_depends}
56
  CPPFLAGS=-I${boost-lib:location}/include -I${cairo:location}/include -I${garbage-collector:location}/include -I${libpng:location}/include -I${popt:location}/include  -I${zlib:location}/include
57
# rpath seems not taken from pkgconfig...
58
  LDFLAGS=-L${atk:location}/lib -Wl,-rpath=${atk:location}/lib -L${atkmm:location}/lib -Wl,-rpath=${atkmm:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${cairo:location}/lib -Wl,-rpath=${cairo:location}/lib -L${cairomm:location}/lib -Wl,-rpath=${cairomm:location}/lib -L${fontconfig:location}/lib -Wl,-rpath=${fontconfig:location}/lib -L${freetype:location}/lib -Wl,-rpath=${freetype:location}/lib -L${garbage-collector:location}/lib -Wl,-rpath=${garbage-collector:location}/lib -L${gdk-pixbuf:location}/lib -Wl,-rpath=${gdk-pixbuf:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${glibmm:location}/lib -Wl,-rpath=${glibmm:location}/lib -L${gsl:location}/lib -Wl,-rpath=${gsl:location}/lib -L${gtk-2:location}/lib -Wl,-rpath=${gtk-2:location}/lib -L${gtkmm:location}/lib -Wl,-rpath=${gtkmm:location}/lib -L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${libsigc:location}/lib -Wl,-rpath=${libsigc:location}/lib -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${libxslt:location}/lib -Wl,-rpath=${libxslt:location}/lib -L${pango:location}/lib -Wl,-rpath=${pango:location}/lib -L${pangomm:location}/lib -Wl,-rpath=${pangomm:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib