Package: tuxpaint-stamps-default
Version: 2014.08.23-3.1
Severity: minor
Tags: patch

Hi,

the melon stamp in tuxpaint is broken
(placeholder image for broken pictures is shown instead of the melon picture);
from gimp's error message I assume that the reason is the picture being an 
inkscape svg instead of a plain svg:

Opening '/usr/share/tuxpaint/stamps/food/fruit/cartoon/watermelon.svg' failed: 
Could not open
'/usr/share/tuxpaint/stamps/food/fruit/cartoon/watermelon.svg' for reading: XML 
parse error: error
code=201 (3) in (null):12:30: Namespace prefix inkscape for label on g is not 
defined

Attached a patch with the same melon picture, just saved as plain svg.
Description: Fixing melon stamp
 Instead of a melon, a placeholder for broken images is shown in tuxpaint.
 This patch replaces the current inkscape svg with a plain svg
 what brings the melon stamp back.
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2021-05-10

--- tuxpaint-stamps-2014.08.23.orig/stamps/food/fruit/cartoon/watermelon.svg
+++ tuxpaint-stamps-2014.08.23/stamps/food/fruit/cartoon/watermelon.svg
@@ -1,15 +1,30 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
 <svg
-
-   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
    height="21cm"
    id="svg2"
-   width="21cm">
+   width="21cm"
+   version="1.1">
+  <metadata
+     id="metadata28">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs26" />
   <g
-     id="layer1"
-     inkscape:groupmode="layer"
-     inkscape:label="Layer 1">
+     id="layer1">
     <g
        id="g1340"
        transform="matrix(1.030149,0,0,1.016235,-19.83182,-219.4139)">

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to