File: inkspace-use-export-filename-instead-of-deprecated-export-png.patch

package info (click to toggle)
oxygencursors 0.0.2012-06-kde4.8-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,732 kB
  • sloc: sh: 54; python: 39; makefile: 27
file content (22 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Mon, 11 May 2020 14:01:59 +0200
Subject: inkspace: use --export-filename instead of deprecated --export-png

Added in inkscape 1.0
---
 cursors.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cursors.cmake b/cursors.cmake
index dcb342b..835f78c 100644
--- a/cursors.cmake
+++ b/cursors.cmake
@@ -20,7 +20,7 @@ macro(add_cursor cursor color theme dpi)
         add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/oxy-${theme}/png/${resolution}/${cursor}.png
                            DEPENDS ${CMAKE_BINARY_DIR}/oxy-${theme}/svg/${cursor}.svg
                            COMMAND ${INKSCAPE} --export-dpi=${resolution}
-                                               --export-png=${CMAKE_BINARY_DIR}/oxy-${theme}/png/${resolution}/${cursor}.png
+                                               --export-filename=${CMAKE_BINARY_DIR}/oxy-${theme}/png/${resolution}/${cursor}.png
                                                ${CMAKE_BINARY_DIR}/oxy-${theme}/svg/${cursor}.svg
                           )
     endforeach(resolution)