diff --git a/bsc/paraver/default.nix b/bsc/paraver/default.nix index 0876dae..7919842 100644 --- a/bsc/paraver/default.nix +++ b/bsc/paraver/default.nix @@ -6,10 +6,10 @@ , libxml2 , xml2 , fetchurl -, wxGTK28 +, wxGTK32 , autoconf , automake -, wxpropgrid +, openssl # For boost # Custom patches :) , enableMouseLabel ? false }: @@ -17,15 +17,15 @@ with lib; let - wx = wxGTK28; + wx = wxGTK32; in stdenv.mkDerivation rec { pname = "wxparaver"; - version = "4.8.2"; + version = "4.10.6"; src = fetchurl { url = "https://ftp.tools.bsc.es/wxparaver/wxparaver-${version}-src.tar.bz2"; - sha256 = "0b8rrhnf7h8j72pj6nrxkrbskgg9b5w60nxi47nxg6275qvfq8hd"; + sha256 = "a7L15viCXtQS9vAsdFzCFlUavUzl4Y0yOYmVSCrdWBU="; }; patches = [] @@ -37,17 +37,16 @@ stdenv.mkDerivation rec { # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wxparaver postPatch = '' 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 's|^wxparaver_bin_CXXFLAGS =.*|& -I../../paraver-kernel -I../../paraver-kernel/api|' src/Makefile.am + sed -i \ + -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 popd # Patch shebang as /usr/bin/env is missing in nix 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?) @@ -60,7 +59,6 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-boost=${boost}" "--with-wx-config=${wx}/bin/wx-config" - "--with-wxpropgrid-dir=${wxpropgrid}" ]; buildInputs = [ @@ -70,6 +68,7 @@ stdenv.mkDerivation rec { wx autoconf automake + openssl.dev ]; } diff --git a/bsc/wxpropgrid/default.nix b/bsc/wxpropgrid/default.nix deleted file mode 100644 index f204c5e..0000000 --- a/bsc/wxpropgrid/default.nix +++ /dev/null @@ -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 - ]; - -} diff --git a/overlay.nix b/overlay.nix index 20fbd94..7e4e345 100644 --- a/overlay.nix +++ b/overlay.nix @@ -161,7 +161,6 @@ let # Tracing # ================================================================= - wxpropgrid = callPackage ./bsc/wxpropgrid/default.nix { }; paraver = callPackage ./bsc/paraver/default.nix { }; paraverKernelFast = callPackage ./bsc/paraver/kernel-fast.nix { }; paraverFast = callPackage ./bsc/paraver/wxparaver-fast.nix { };