[openems] 01/01: Fix build problems. Now i builds in sid again
Ruben Undheim
rubund-guest at moszumanska.debian.org
Sun Nov 20 23:02:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository openems.
commit 4b2fe7438a636cc5a0fff32c78129fed5484e266
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Sun Nov 20 22:40:29 2016 +0000
Fix build problems. Now i builds in sid again
---
debian/patches/0004-link-more.patch | 33 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++--
3 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/debian/patches/0004-link-more.patch b/debian/patches/0004-link-more.patch
new file mode 100644
index 0000000..70d0491
--- /dev/null
+++ b/debian/patches/0004-link-more.patch
@@ -0,0 +1,33 @@
+From: Ruben Undheim <ruben.undheim at gmail.com>
+Date: Sun, 20 Nov 2016 22:40:17 +0000
+Subject: link more
+
+---
+ AppCSXCAD/CMakeLists.txt | 1 +
+ openEMS/CMakeLists.txt | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/AppCSXCAD/CMakeLists.txt b/AppCSXCAD/CMakeLists.txt
+index d5b6e5a..f418680 100644
+--- a/AppCSXCAD/CMakeLists.txt
++++ b/AppCSXCAD/CMakeLists.txt
+@@ -151,6 +151,7 @@ TARGET_LINK_LIBRARIES( AppCSXCAD
+ ${QCSXCAD_LIBRARIES}
+ ${QT_LIBRARIES}
+ ${vtk_LIBS}
++ hdf5_serial_hl
+ )
+
+ #
+diff --git a/openEMS/CMakeLists.txt b/openEMS/CMakeLists.txt
+index 48d3aa1..523e31b 100644
+--- a/openEMS/CMakeLists.txt
++++ b/openEMS/CMakeLists.txt
+@@ -184,6 +184,7 @@ TARGET_LINK_LIBRARIES( openEMS
+ ${Boost_LIBRARIES}
+ ${vtk_LIBS}
+ ${MPI_LIBRARIES}
++ hdf5_serial_hl
+ )
+
+ # main program
diff --git a/debian/patches/series b/debian/patches/series
index f255130..1618142 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Fix-path-to-binaries-for-Debian.patch
0002-Spelling-fixes.patch
0003-More-things-to-fix-build.patch
+0004-link-more.patch
diff --git a/debian/rules b/debian/rules
index d4bea57..8251b4c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,8 +34,8 @@ override_dh_auto_install:
cd AppCSXCAD && make
cd AppCSXCAD && make install DESTDIR=../debian/tmp
cd debian/tmp/usr/share/openEMS/matlab && CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" mkoctfile -lhdf5_cpp -DH5_USE_16_API h5readatt_octave.cc
- mkdir debian/tmp/$(OCTAVE_FULLBPATH)
- mv debian/tmp/usr/share/openEMS/matlab/h5readatt_octave.oct /$(OCTAVE_FULLBPATH)/
+ mkdir -p debian/tmp/$(OCTAVE_FULLBPATH)
+ mv debian/tmp/usr/share/openEMS/matlab/h5readatt_octave.oct debian/tmp/$(OCTAVE_FULLBPATH)/
rm debian/tmp/usr/share/openEMS/matlab/h5readatt_octave.o
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openems.git
More information about the debian-science-commits
mailing list