[SCM] inkscape/experimental: Add patch fixing lintian's warning executable-not-elf-or-script

mattia at users.alioth.debian.org mattia at users.alioth.debian.org
Sat Jan 7 17:24:38 UTC 2017


The following commit has been merged in the experimental branch:
commit 8fa8bc02072e75b9562ae4970ea329898f4f4d83
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Jan 7 18:24:27 2017 +0100

    Add patch fixing lintian's warning executable-not-elf-or-script

diff --git a/debian/patches/0002-Fix-lintian-s-executable-not-elf-or-script.patch b/debian/patches/0002-Fix-lintian-s-executable-not-elf-or-script.patch
new file mode 100644
index 0000000..1214959
--- /dev/null
+++ b/debian/patches/0002-Fix-lintian-s-executable-not-elf-or-script.patch
@@ -0,0 +1,33 @@
+From: Mattia Rizzolo <mattia at debian.org>
+Date: Sat, 7 Jan 2017 13:34:03 +0100
+Subject: Fix lintian's executable-not-elf-or-script
+
+Forwarded: https://code.launchpad.net/~mapreri/inkscape/executable-not-elf-or-script/+merge/314278
+---
+ share/extensions/CMakeLists.txt | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/share/extensions/CMakeLists.txt b/share/extensions/CMakeLists.txt
+index b311c6c..47dfbe0 100644
+--- a/share/extensions/CMakeLists.txt
++++ b/share/extensions/CMakeLists.txt
+@@ -26,8 +26,18 @@ file(GLOB _SCRIPTS
+       "*.sh"
+       "*.rb"
+     )
+-
++# These files don't need the +x bit
++set(_SCRIPTS_NOEXEC
++    "hersheydata.py"
++    "hpgl_decoder.py"
++    "hpgl_encoder.py"
++    "simplepath.py"
++    "simplestyle.py"
++    "simpletransform.py"
++)
++list(REMOVE_ITEM _SCRIPTS ${_SCRIPTS_NOEXEC})
+ install(PROGRAMS ${_SCRIPTS} DESTINATION ${INKSCAPE_SHARE_INSTALL}/extensions)
++install(FILES ${_SCRIPTS_NOEXEC} DESTINATION ${INKSCAPE_SHARE_INSTALL}/extensions)
+ 
+ file(GLOB _FILES "alphabet_soup/*.svg")
+ install(FILES ${_FILES} DESTINATION ${INKSCAPE_SHARE_INSTALL}/extensions/alphabet_soup)
diff --git a/debian/patches/series b/debian/patches/series
index b090f5f..d8448f1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Drop_PS_and_PDF_support_in_MimeType.patch
+0002-Fix-lintian-s-executable-not-elf-or-script.patch

-- 
inkscape packaging



More information about the pkg-multimedia-commits mailing list