David Hummel
c8fd548133
Fix build issues after addition of OGR open_options support
2023-11-22 09:45:23 -07:00
Artem Pavlenko
437feebaf1
Merge pull request #4423 from hummeltech/LibXML2_2.12.0_Support
...
Fix broken builds with libxml2 >= v2.12.0
2023-11-21 09:16:08 +00:00
David Hummel
8cdca5f5be
Fix broken builds with libxml2 >= v2.12.0
...
**I.E.**
```
src/libxml2_loader.cpp:91:50: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive]
src/libxml2_loader.cpp:131:50: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive]
```
2023-11-20 10:21:12 -07:00
Artem Pavlenko
d745e43eb1
pre-commit run --show-diff-on-failure --color=always --all-files
2023-11-17 16:33:01 +00:00
Artem Pavlenko
7d2029165e
Merge branch 'geofabrik-ogr-open-options-pr'
2023-11-17 16:31:13 +00:00
Michael Reichert
2d20d5a3c5
Add support for open options in OGR input plugin
2023-11-17 11:06:18 +01:00
Artem Pavlenko
279acf4c36
Merge pull request #4419 from geofabrik/drop-old-gdal-pr
...
Drop support for old versions of GDAL/OGR (older than 2.0)
2023-11-17 09:10:49 +00:00
Michael Reichert
bff4fdde77
Drop support for old versions of GDAL/OGR (older than 2.0)
...
Fixes #4403 .
GDAL 2.0.0 was released in March 2018 (more than five years ago).
Almost all Linux distributions (apart from few long-term support versions)
should come with at least GDAL >= 2.0.
2023-11-16 20:16:05 +01:00
Artem Pavlenko
f391178af0
Upgrade to SCons 4.5.2
2023-09-22 14:38:30 +01:00
Artem Pavlenko
50f1b05f86
boost/algorithm/string/trim.hpp
is needed for `trim_if' (boost 1.83)
2023-09-22 14:37:34 +01:00
Artem Pavlenko
d69a0902d4
Forward declaration of 'mapnik::rule' is not sufficient when building on macOS :
...
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
2023-09-15 14:46:29 +01:00
Artem Pavlenko
cb352ac609
Remove unused local variable
2023-09-15 14:45:18 +01:00
Artem Pavlenko
388d3fd8da
Add missing scons-local-4.5.1
2023-09-15 12:34:31 +01:00
Artem Pavlenko
b7332b07a1
Merge pull request #4404 from hummeltech/include_mapnik_geometry_cstdint_header
...
Add cstdint header include to `include/mapnik/geometry/boost_spirit_karma_adapter.hpp`
2023-09-15 09:12:49 +01:00
David Hummel
b1282fe32c
Add cstdint header include to include/mapnik/geometry/boost_spirit_karma_adapter.hpp
2023-09-14 17:38:27 -07:00
Artem Pavlenko
123232ffde
Merge pull request #4390 from mapnik/feature/updateVcpkg
...
Update vcpkg commit ref in the ci
2023-06-12 08:29:12 +01:00
Mathis Logemann
2445dbe063
remove boost foreach include
2023-06-11 20:10:50 +02:00
Artem Pavlenko
20acc0e656
Merge pull request #4389 from MoeSzyslak98/gcc-13-fix
...
add cstdint header for gcc13 compilation.
2023-06-11 09:44:02 +01:00
Mathis Logemann
6003293e25
Update build_and_test.yml
2023-06-11 08:30:42 +02:00
kian
76c5fd047d
add cstdint header for gcc13 compilation.
2023-06-09 15:32:59 +03:30
Artem Pavlenko
c4aa24496a
Merge pull request #4385 from hummeltech/C++17Build
...
Add build & test for `CXX_STANDARD=17` to GitHub Actions
2023-03-20 09:01:13 +00:00
Hummeltech
63f33eed4b
List advanced cached variables in CI [skip ci]
2023-03-19 14:05:58 -07:00
Hummeltech
bc09efb8f5
Fixed typo USE_BOOST_FILESYSYTEM
2023-03-19 14:01:14 -07:00
Hummeltech
bb280a2815
Fixing issues with USE_BOOST_FILESYSTEM definition
2023-03-19 13:39:20 -07:00
Hummeltech
93e488a6cf
Only test for !defined(USE_BOOST_FILESYSTEM)
in filesystem.hpp
2023-03-19 09:39:13 -07:00
Hummeltech
9f88d4c3a4
Revert CMAKE_CXX_FLAGS
msvc-cl change
2023-03-19 09:38:27 -07:00
David Hummel
f6cd056552
Attempting to fix Windows build with C++17
2023-03-18 09:06:34 -07:00
David Hummel
0e9996dde0
Add build & test for CXX_STANDARD=17 to GitHub Actions
2023-03-18 08:03:58 -07:00
Artem Pavlenko
fc2d27d349
Merge pull request #4384 from hummeltech/cplusplus17
...
Fixed check for `__cpp_lib_filesystem` in `filesystem.hpp`
2023-03-18 14:35:07 +00:00
David Hummel
e4557c016f
Oops, it looks like <version> does not exist until C++20
2023-03-17 10:31:30 -07:00
David Hummel
edec46e8c3
Fixed check for '__cpp_lib_filesystem' always false until after '#include <filesystem>'
2023-03-17 10:20:24 -07:00
Artem Pavlenko
338942b490
Merge pull request #4383 from mapnik/std-filesystem
2023-03-15 07:47:55 +00:00
Artem Pavlenko
00199754a2
Update test/visual/CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-14 16:54:04 +00:00
Artem Pavlenko
49912a423e
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-14 16:53:37 +00:00
Artem Pavlenko
a244effa91
Add mapnik/filesystem.hpp ref: https://github.com/mapnik/mapnik/pull/4383#discussion_r1131405532
2023-03-13 14:27:02 +00:00
Artem Pavlenko
45b48721fa
replace std::tmpnam
(deprecated) with make_unique
2023-03-13 09:34:58 +00:00
Artem Pavlenko
106a46bbf6
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-09 21:14:54 +00:00
Artem Pavlenko
96a6fcd941
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-09 21:14:45 +00:00
Artem Pavlenko
d680d1d7f5
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-09 21:14:28 +00:00
Artem Pavlenko
be0b537f52
Use std::filesystem
when CXX_STD >= 17 and not USE_BOOST_FILESYSTEM
2023-03-09 13:17:28 +00:00
Artem Pavlenko
c646d245b4
Upgrade SCons to v4.5.1
2023-03-08 12:01:16 +00:00
Artem Pavlenko
692c2faa0e
Merge pull request #4382 from hummeltech/master
...
Add `fonts_dir` & `plugins_dir` variables to `libmapnik.pc`
2023-03-02 15:48:40 +00:00
David Hummel
db9c4bc340
Add fonts
& input_plugins
variables to libmapnik.pc
2023-03-01 14:48:30 -07:00
Artem Pavlenko
e0da4468d2
Merge pull request #4379 from mapnik/update/vcpkg-sha
...
Update vcpkg-sha
2023-02-03 13:54:16 +00:00
Mathis Logemann
b4f1bc09f8
Update vcpkg-sha
2023-02-03 12:38:51 +01:00
Artem Pavlenko
b9175100bd
Merge pull request #4378 from tomhughes/stdint
...
Include cstdint for uint16_t
2023-01-24 14:22:21 +00:00
Artem Pavlenko
fb97fb10f7
Merge pull request #4377 from mathisloge/fix/python-mapnik-findings
...
move datasource_plugin into mapnik target
2023-01-24 14:21:17 +00:00
Tom Hughes
c62e03344f
Include cstdint for uint16_t
2023-01-23 22:37:16 +00:00
Mathis Logemann
ccbf27400c
move datasource_plugin into mapnik target
2023-01-23 16:13:32 +01:00
Artem Pavlenko
43a7d7e455
Fix compiler warning (consistent class
or struct
declarations)
2023-01-18 09:50:26 +00:00