Update paraver to 4.10.6
Dropping wxpropgrid. Now it needs to link with openssl.
This commit is contained in:
parent
1a99a7eb73
commit
d18a95f8ed
@ -6,10 +6,10 @@
|
|||||||
, libxml2
|
, libxml2
|
||||||
, xml2
|
, xml2
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, wxGTK28
|
, wxGTK32
|
||||||
, autoconf
|
, autoconf
|
||||||
, automake
|
, automake
|
||||||
, wxpropgrid
|
, openssl # For boost
|
||||||
# Custom patches :)
|
# Custom patches :)
|
||||||
, enableMouseLabel ? false
|
, enableMouseLabel ? false
|
||||||
}:
|
}:
|
||||||
@ -17,15 +17,15 @@
|
|||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
wx = wxGTK28;
|
wx = wxGTK32;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wxparaver";
|
pname = "wxparaver";
|
||||||
version = "4.8.2";
|
version = "4.10.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://ftp.tools.bsc.es/wxparaver/wxparaver-${version}-src.tar.bz2";
|
url = "https://ftp.tools.bsc.es/wxparaver/wxparaver-${version}-src.tar.bz2";
|
||||||
sha256 = "0b8rrhnf7h8j72pj6nrxkrbskgg9b5w60nxi47nxg6275qvfq8hd";
|
sha256 = "a7L15viCXtQS9vAsdFzCFlUavUzl4Y0yOYmVSCrdWBU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = []
|
patches = []
|
||||||
@ -37,17 +37,16 @@ stdenv.mkDerivation rec {
|
|||||||
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wxparaver
|
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wxparaver
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
pushd src/wxparaver
|
pushd src/wxparaver
|
||||||
sed -i 's|-lparaver-kernel -lparaver-api|-L../../paraver-kernel/src/.libs -L../../paraver-kernel/api/.libs -lparaver-kernel -lparaver-api|g' src/Makefile.am
|
sed -i \
|
||||||
sed -i 's|^wxparaver_bin_CXXFLAGS =.*|& -I../../paraver-kernel -I../../paraver-kernel/api|' src/Makefile.am
|
-e 's|-lparaver-api -lparaver-kernel|-L../../paraver-kernel/src/.libs -L../../paraver-kernel/api/.libs -lparaver-api -lparaver-kernel -lssl -lcrypto -ldl|g' \
|
||||||
|
-e '$awxparaver_bin_CXXFLAGS = @CXXFLAGS@ -I../../paraver-kernel -I../../paraver-kernel/api' \
|
||||||
|
src/Makefile.am
|
||||||
|
|
||||||
sed -i 's| -L$PARAVER_LIBDIR||g' configure.ac
|
sed -i 's| -L$PARAVER_LIBDIR||g' configure.ac
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Patch shebang as /usr/bin/env is missing in nix
|
# Patch shebang as /usr/bin/env is missing in nix
|
||||||
sed -i '1c#!/bin/sh' src/paraver-cfgs/install.sh
|
sed -i '1c#!/bin/sh' src/paraver-cfgs/install.sh
|
||||||
|
|
||||||
#sed -i '1524d' src/wxparaver/src/gtimeline.cpp
|
|
||||||
#sed -i '806d' src/wxparaver/src/gtimeline.cpp
|
|
||||||
#sed -i '142d' src/wxparaver/src/paravermain.cpp
|
|
||||||
'';
|
'';
|
||||||
#TODO: Move the sed commands to proper patches (and maybe send them upstream?)
|
#TODO: Move the sed commands to proper patches (and maybe send them upstream?)
|
||||||
|
|
||||||
@ -60,7 +59,6 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-boost=${boost}"
|
"--with-boost=${boost}"
|
||||||
"--with-wx-config=${wx}/bin/wx-config"
|
"--with-wx-config=${wx}/bin/wx-config"
|
||||||
"--with-wxpropgrid-dir=${wxpropgrid}"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -70,6 +68,7 @@ stdenv.mkDerivation rec {
|
|||||||
wx
|
wx
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
|
openssl.dev
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
stdenv
|
|
||||||
, fetchurl
|
|
||||||
, wxGTK28
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
#wx = wxGTK31; # BUG
|
|
||||||
wx = wxGTK28;
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "wxpropgrid";
|
|
||||||
version = "1.4.15";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://prdownloads.sourceforge.net/wxpropgrid/wxpropgrid-${version}-src.tar.gz";
|
|
||||||
sha256 = "1f62468x5s4h775bn5svlkv0lzzh06aciljpiqn5k3w2arkaijgh";
|
|
||||||
};
|
|
||||||
|
|
||||||
enableParallelBuilding = false;
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
wx
|
|
||||||
];
|
|
||||||
|
|
||||||
}
|
|
@ -161,7 +161,6 @@ let
|
|||||||
# Tracing
|
# Tracing
|
||||||
# =================================================================
|
# =================================================================
|
||||||
|
|
||||||
wxpropgrid = callPackage ./bsc/wxpropgrid/default.nix { };
|
|
||||||
paraver = callPackage ./bsc/paraver/default.nix { };
|
paraver = callPackage ./bsc/paraver/default.nix { };
|
||||||
paraverKernelFast = callPackage ./bsc/paraver/kernel-fast.nix { };
|
paraverKernelFast = callPackage ./bsc/paraver/kernel-fast.nix { };
|
||||||
paraverFast = callPackage ./bsc/paraver/wxparaver-fast.nix { };
|
paraverFast = callPackage ./bsc/paraver/wxparaver-fast.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user