From 9b9ddfceb1f1d6a6a5fd513094d82ef1c77c9fce Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 19 Mar 2018 13:41:47 +0100 Subject: [PATCH] use more lightweight rsvg-convert to generate PNG from SVG 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 | 4 ++-- debian/control | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b85b613..d5e76b6 100644 --- 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} diff --git a/debian/control b/debian/control index e75ffd5..f991da7 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: pve-installer Section: perl Priority: optional Maintainer: Proxmox Support Team -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 -- 2.39.2