summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authorjkoan <jkoan@gmx.de>2020-09-06 18:50:47 +0200
committerjkoan <jkoan@users.noreply.github.com>2020-09-06 19:48:13 +0200
commit427fd1b0d2a02bca8f3966d896bc9ab0e3f64f5e (patch)
tree99f1c7e9e1996098c4d4d3e04db49c18926a9357 /navit
parent6e256078cae4073f107d88baf617e1672727f5d5 (diff)
downloadnavit-427fd1b0d2a02bca8f3966d896bc9ab0e3f64f5e.tar.gz
fix:build:Fix usage of inkscape 1.0 commandline usage
Diffstat (limited to 'navit')
-rw-r--r--navit/icons/CMakeLists.txt2
-rwxr-xr-xnavit/icons/navit_svg2png2
-rw-r--r--navit/textures/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/navit/icons/CMakeLists.txt b/navit/icons/CMakeLists.txt
index 9817aa25e..548bef441 100644
--- a/navit/icons/CMakeLists.txt
+++ b/navit/icons/CMakeLists.txt
@@ -30,7 +30,7 @@ macro(convert_to_png IMAGE_INPUT IMAGE_OUTPUT SCALE)
else()
set(SCALE_ARGS)
endif()
- set(COMMAND_ARGS --without-gui --export-background-opacity=0 --export-png ${IMAGE_OUTPUT} ${SCALE_ARGS} ${IMAGE_INPUT})
+ set(COMMAND_ARGS --export-type=png --export-background-opacity=0 ${SCALE_ARGS} --export-filename=${IMAGE_OUTPUT} ${IMAGE_INPUT})
else()
message(FATAL_ERROR "no svg2png converter defined here.")
endif()
diff --git a/navit/icons/navit_svg2png b/navit/icons/navit_svg2png
index 668613a61..32939c7f6 100755
--- a/navit/icons/navit_svg2png
+++ b/navit/icons/navit_svg2png
@@ -19,7 +19,7 @@ svgtopng()
$svgtopng --width=$1 --height=$2 --output $4 $3
;;
*inkscape)
- $svgtopng --without-gui --export-width=$1 --export-height=$2 --export-png=$BUILDDIR/$4 $3
+ $svgtopng --export-width=$1 --export-height=$2 --export-type=png --export-filename=$4 $3
;;
*convert)
$svgtopng -alpha on -background none $3 -resize $1x$2 $4
diff --git a/navit/textures/CMakeLists.txt b/navit/textures/CMakeLists.txt
index 5eb1fcf7e..5cd70205f 100644
--- a/navit/textures/CMakeLists.txt
+++ b/navit/textures/CMakeLists.txt
@@ -30,7 +30,7 @@ macro(convert_to_png TEXTURE_INPUT TEXTURE_OUTPUT SCALE)
else()
set(SCALE_ARGS)
endif()
- set(COMMAND_ARGS --without-gui --export-background-opacity=0 --export-png ${TEXTURE_OUTPUT} ${SCALE_ARGS} ${TEXTURE_INPUT})
+ set(COMMAND_ARGS --export-type=png --export-background-opacity=0 ${SCALE_ARGS} --export-filename=${TEXTURE_OUTPUT} ${TEXTURE_INPUT})
else()
message(FATAL_ERROR "no svg2png converter defined here.")
endif()