]> git.proxmox.com Git - pve-installer.git/commitdiff
use more lightweight rsvg-convert to generate PNG from SVG
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Mar 2018 12:41:47 +0000 (13:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Jun 2018 06:36:13 +0000 (08:36 +0200)
inkscape pulls in a lot of dependencies and we explicitly made the
switch to the more lightweight rsvg-convert, provided through the
librsvg2-bin package in pve-docs, so do here the same.

Makefile
debian/control

index b85b6130cec7e15c884e310b407d1e1bc003c91c..d5e76b6db21c467b5602fe2618086ac3b42cf95e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,10 +51,10 @@ install: ${INSTALLER_SOURCES} ${HTML_COMMON_SOURCES} ${HTML_SOURCES}
        install -D -m 644 Xdefaults ${DESTDIR}/.Xdefaults
 
 pmg-banner.png: pmg-banner.svg
-       inkscape $< --export-png=$@
+       rsvg-convert -o $@ $<
 
 pve-banner.png: pve-banner.svg
-       inkscape $< --export-png=$@
+       rsvg-convert -o $@ $<
 
 .phony: upload-pmg
 upload-pmg: ${PMG_DEB}
index e75ffd5764b4a55a19a0fb0327934eabcf5cdca9..f991da714ad4dd98e7539a542526fd82db6388af 100644 (file)
@@ -2,7 +2,7 @@ Source: pve-installer
 Section: perl
 Priority: optional
 Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 9), perl (>= 5.10.0-19)
+Build-Depends: debhelper (>= 9), perl (>= 5.10.0-19), librsvg2-bin
 Standards-Version: 3.9.5
 Homepage: http://www.proxmox.com