ovito: Missing include in header (exposed by newer qt moc?)

This commit is contained in:
Tyson Whitehead
2019-05-02 11:35:42 -04:00
parent e7f97c0bae
commit 8be0a79790
3 changed files with 28 additions and 1 deletions

35
pkgs/ovito/default.nix Normal file
View File

@@ -0,0 +1,35 @@
{ stdenv, fetchFromGitLab, cmake
, boost, netcdf, hdf5, fftwSinglePrec, muparser, botan, libav, python
, qtbase, qtsvg, qttools, qscintilla }:
stdenv.mkDerivation rec {
version = "2.9.0";
name = "ovita-${version}";
src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
sha256 = "0yvz0aqw0ynhv9iychk9sdq54njw3lw61cdxv8295csjzx3nyvy3";
};
patches = [ ./header-file.patch ];
buildInputs = [
cmake
boost
netcdf hdf5
fftwSinglePrec
muparser
botan
libav
python
qtbase qtsvg qttools qscintilla
];
meta = with stdenv.lib; {
description = "Scientific visualization and analysis software for atomistic and particle simulation data";
homepage = https://ovito.org;
license = licenses.gpl3;
};
}

View File

@@ -0,0 +1,25 @@
From f7d4388dab9fafe04b01104be0d8e8956e4f712e Mon Sep 17 00:00:00 2001
From: Tyson Whitehead <twhitehead@gmail.com>
Date: Wed, 1 May 2019 16:58:11 -0400
Subject: [PATCH] Header file was included by parent cpp (but not newer moc
outputs?)
---
src/plugins/particles/gui/objects/SimulationCellObjectEditor.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h b/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h
index f095938c..a3b2e0ee 100755
--- a/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h
+++ b/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h
@@ -24,6 +24,7 @@
#include <plugins/particles/gui/ParticlesGui.h>
#include <gui/properties/PropertiesEditor.h>
+#include <gui/properties/BooleanParameterUI.h>
namespace Ovito { namespace Particles { OVITO_BEGIN_INLINE_NAMESPACE(Internal)
--
2.18.1