Commit ec069ffa authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Dmitry Blinov

proview-r: add more dependencies for compilation

parent e3c9b76a
This diff is collapsed.
...@@ -3,6 +3,7 @@ extends = ...@@ -3,6 +3,7 @@ extends =
../xorg/buildout.cfg ../xorg/buildout.cfg
../gcc/buildout.cfg ../gcc/buildout.cfg
../openssl/buildout.cfg ../openssl/buildout.cfg
../dbus/buildout.cfg
parts = parts =
qt4-qmake qt4-qmake
...@@ -77,6 +78,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_} ...@@ -77,6 +78,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = http://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz url = http://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
md5sum = d990ee66bf7ab0c785589776f35ba6ad md5sum = d990ee66bf7ab0c785589776f35ba6ad
# see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101 # see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101
version = 4.8.7
pre-configure = pre-configure =
set -x set -x
sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf
...@@ -84,17 +86,17 @@ pre-configure = ...@@ -84,17 +86,17 @@ pre-configure =
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
# sed 's,/usr/local/include,${openssl-1.0:location}/include,g' -i mkspecs/*/*.conf # sed 's,/usr/local/include,${openssl-1.0:location}/include,g' -i mkspecs/*/*.conf
# sed 's,/usr/local/lib,${openssl-1.0:location}/lib,g' -i mkspecs/*/*.conf # sed 's,/usr/local/lib,${openssl-1.0:location}/lib,g' -i mkspecs/*/*.conf
configure-command = ./configure --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource -no-pch configure-command = ./configure --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource -dbus -gtkstyle -no-pch -no-rpath
#make-targets = qmake #make-targets = qmake
#post-install = #post-install =
# cp -rt ${:location} # cp -rt ${:location}
environment = environment =
PATH=${pkgconfig:location}/bin:${gcc:location}/bin:%(PATH)s PATH=${pkgconfig:location}/bin:${gcc:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl-1.0:location}/lib/pkgconfig PKG_CONFIG_PATH=${openssl-1.0:location}/lib/pkgconfig:${dbus:location}/lib/pkgconfig
CPPFLAGS=-I${openssl-1.0:location}/include CPPFLAGS=-I${openssl-1.0:location}/include
LDFLAGS=-L${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${openssl-1.0:location}/lib -Wl,-rpath=${openssl-1.0:location}/lib LDFLAGS=-L${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${openssl-1.0:location}/lib -Wl,-rpath=${openssl-1.0:location}/lib
# CFLAGS=-std=c++0x LD_LIBRARY_PATH=${:location}__compile__/qt-everywhere-opensource-src-${:version}/lib
[qt4.8-qmake] [qt4.8-qmake]
<= qt4-qmake <= qt4-qmake
......
...@@ -8,7 +8,11 @@ extends = ...@@ -8,7 +8,11 @@ extends =
parts += parts +=
slapos-cookbook slapos-cookbook
open62541 open62541
proviewR pwr
x11vnc
xorg-font-adobe-75dpi
xorg-font-adobe-100dpi
xorg-font-type1
#[java-jdk] #[java-jdk]
#recipe = hexagonit.recipe.download #recipe = hexagonit.recipe.download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment