[Git][debian-gis-team/saga][experimental] Fix dxf build.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Thu Apr 14 10:56:28 BST 2022
Bas Couwenberg pushed to branch experimental at Debian GIS Project / saga
Commits:
cafebcb0 by Bas Couwenberg at 2022-04-14T11:33:15+02:00
Fix dxf build.
- - - - -
3 changed files:
- + debian/patches/io_shapes_dxf.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/patches/io_shapes_dxf.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Fix io_shapes_dxf build.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/saga-gis/src/tools/io/io_shapes_dxf/CMakeLists.txt
++++ b/saga-gis/src/tools/io/io_shapes_dxf/CMakeLists.txt
+@@ -4,6 +4,9 @@ option(WITH_DXF "Build dxflib tools" ON)
+ if(WITH_TOOLS AND WITH_DXF)
+ project(io_shapes_dxf)
+
++ # load common tool template
++ include(../../CMakePluginTemplate.cmake)
++
+ if(WITH_SYSTEM_DXF)
+ # link dxflib library
+ # Ubuntu 16.04 package libdxflib-dev
+@@ -29,7 +32,4 @@ if(WITH_TOOLS AND WITH_DXF)
+ dxflib/dl_writer_ascii.h
+ )
+ endif()
+-
+- # load common tool template
+- include(../../CMakePluginTemplate.cmake)
+ endif()
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ spelling-errors.patch
disable_fire_spreading.patch
multiarch_cmake.patch
disable_tools.patch
+io_shapes_dxf.patch
=====================================
debian/rules
=====================================
@@ -26,7 +26,7 @@ override_dh_auto_configure: templates
-DWITH_SYSTEM_DXF=on \
-DWITH_TRIANGLE=off \
-DWITH_FIRE_SPREADING=off \
- -DWITH_DXF=off \
+ -DWITH_DXF=on \
-DWITH_SVM=off
View it on GitLab: https://salsa.debian.org/debian-gis-team/saga/-/commit/cafebcb08ab9f5843e77c878438b554e54dd7542
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/saga/-/commit/cafebcb08ab9f5843e77c878438b554e54dd7542
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220414/a641adc1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list