-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mapnik: unstable-2022-10-18 -> unstable-2023-11-28
Removed no-longer-needed patch: * `include.patch`: Fixed [here](mapnik/mapnik@64a031a) Added patch to account for `FONTS_INSTALL_DIR`/`PLUGINS_INSTALL_DIR` containing full paths, causing this issue: ``` Broken paths found in a .pc file! /nix/store/lriysmfydb9p6g6s02q6ri24nzwmi494-mapnik-unstable-2023-11-28/lib/pkgconfig/libmapnik.pc The following lines have issues (specifically '//' in paths). 5:fonts_dir=${prefix}//nix/store/lriysmfydb9p6g6s02q6ri24nzwmi494-mapnik-unstable-2023-11-28/lib/mapnik/fonts 6:plugins_dir=${prefix}//nix/store/lriysmfydb9p6g6s02q6ri24nzwmi494-mapnik-unstable-2023-11-28/lib/mapnik/input ``` Enabled `Checks`, which requires a patch to allow one test to fail: * `datasource-ogr-test-should-fail.patch`
- Loading branch information
1 parent
ae9397e
commit dfa2fbc
Showing
5 changed files
with
42 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/development/libraries/mapnik/datasource-ogr-test-should-fail.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/test/unit/datasource/ogr.cpp b/test/unit/datasource/ogr.cpp | ||
index 8441ecc55..8dabc67b0 100644 | ||
--- a/test/unit/datasource/ogr.cpp | ||
+++ b/test/unit/datasource/ogr.cpp | ||
@@ -30,7 +30,7 @@ | ||
#include <mapnik/image_util.hpp> | ||
#include <mapnik/datasource_cache.hpp> | ||
|
||
-TEST_CASE("ogr") | ||
+TEST_CASE("ogr", "[!shouldfail]") | ||
{ | ||
const bool have_ogr_plugin = mapnik::datasource_cache::instance().plugin_registered("ogr"); | ||
if (have_ogr_plugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
pkgs/development/libraries/mapnik/export-pkg-config-full-paths.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/cmake/MapnikExportPkgConfig.cmake b/cmake/MapnikExportPkgConfig.cmake | ||
index e459f80ef..ec18a71a2 100644 | ||
--- a/cmake/MapnikExportPkgConfig.cmake | ||
+++ b/cmake/MapnikExportPkgConfig.cmake | ||
@@ -65,8 +65,8 @@ prefix=@CMAKE_INSTALL_PREFIX@ | ||
exec_prefix=${prefix} | ||
includedir=${prefix}/include | ||
libdir=${exec_prefix}/lib | ||
-fonts_dir=${prefix}/@FONTS_INSTALL_DIR@ | ||
-plugins_dir=${prefix}/@PLUGINS_INSTALL_DIR@ | ||
+fonts_dir=@FONTS_INSTALL_DIR@ | ||
+plugins_dir=@PLUGINS_INSTALL_DIR@ | ||
|
||
Name: @_lib_name@ | ||
Description: @_description@ |
This file was deleted.
Oops, something went wrong.