File: fix_ftbfs.patch

package info (click to toggle)
gnome-colors 5.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,720 kB
  • sloc: makefile: 253; sh: 13
file content (20 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix FTBFS
 Latest inkscape has deprecated the commandline argumenst that are used here.
 Update the argumenst to inkscape.

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/959628

---

--- gnome-colors-5.5.1.orig/Makefile
+++ gnome-colors-5.5.1/Makefile
@@ -99,7 +99,7 @@ $(foreach theme,$(THEMES),$(eval $(call
 define png_template
 $(1)/$(2).png: src/$(2).svg themes/$(1)
 	@if test ! -d $$(dir $$@); then mkdir -p $$(dir $$@); echo "mkdir -p $$(dir $$@)"; fi
-	sed "$$($(1)_$(3)_sed)" $$< | inkscape --without-gui -f /dev/stdin -e "$$(CURDIR)/$$@"
+	sed "$$($(1)_$(3)_sed)" $$< | inkscape --pipe --export-type=png --export-filename="$$(CURDIR)/$$@"
 endef
 
 define svg_template