From 233dd71b3d9363a104ebec0effcee9f0f4f261a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 3 Jun 2020 21:16:55 +0200 Subject: [PATCH] Adapta: patch scripts for inkscape 1.0 --- srcpkgs/Adapta/template | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/srcpkgs/Adapta/template b/srcpkgs/Adapta/template index 9d3899056b4..03a736b1cc8 100644 --- a/srcpkgs/Adapta/template +++ b/srcpkgs/Adapta/template @@ -16,5 +16,15 @@ distfiles="https://github.com/adapta-project/adapta-gtk-theme/archive/$version.t checksum=fb8fc11b770be59e1673b8f2d917704fc34e53aee5fb02fed70d83909d3309bd pre_configure() { + # + # Inkscape command line options changed for version 1.0. + # The export type is derived from the filename suffix and + # may be specified explicitly with e.g. --export-type="png". + # + # Previous: --export-png=filename.png + # Current : --export-type="png" --export-filename=filename.png + # + find -name "*.sh" -print0 | xargs -0 \ + sed -i -e "s;--export-png=;--export-type=\"png\" --export-filename=;" NOCONFIGURE=1 ./autogen.sh }