[lfs-patches] r3141 - trunk/inkscape

ken at higgs.linuxfromscratch.org ken at higgs.linuxfromscratch.org
Sat Feb 7 16:31:28 PST 2015


Author: ken
Date: Sat Feb  7 16:31:28 2015
New Revision: 3141

Log:
Patch to let the inkscape tests succeed.

Added:
   trunk/inkscape/inkscape-0.91-testfiles.patch

Added: trunk/inkscape/inkscape-0.91-testfiles.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/inkscape/inkscape-0.91-testfiles.patch	Sat Feb  7 16:31:28 2015	(r3141)
@@ -0,0 +1,257 @@
+Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
+Date: 2015-02-07
+Initial Package Version: 0.91
+Upstream Status: Applied
+Origin: Upstream
+Description: The tarball for 0.91 is missing the svg files used for the
+extensions tests. Taken from
+https://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/files/head:/share/extensions
+/test/svg/
+
+diff -Naur inkscape-0.91/share/extensions/test/svg/default-inkscape-SVG.svg inkscape-0.91-testfiles/share/extensions/test/svg/default-inkscape-SVG.svg
+--- inkscape-0.91/share/extensions/test/svg/default-inkscape-SVG.svg	1970-01-01 01:00:00.000000000 +0100
++++ inkscape-0.91-testfiles/share/extensions/test/svg/default-inkscape-SVG.svg	2015-02-07 13:59:29.083967647 +0000
+@@ -0,0 +1,37 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<!-- Created with Inkscape (http://www.inkscape.org/) -->
++<svg
++   xmlns="http://www.w3.org/2000/svg"
++   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
++   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
++   xmlns:xlink="http://www.w3.org/1999/xlink"
++   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
++   xmlns:cc="http://web.resource.org/cc/"
++   xmlns:dc="http://purl.org/dc/elements/1.1/"
++   width="744.09448819"
++   height="1052.3622047">
++  <defs />
++  <sodipodi:namedview
++     id="base"
++     pagecolor="#ffffff"
++     bordercolor="#666666"
++     borderopacity="1.0"
++     inkscape:pageopacity="0.0"
++     inkscape:pageshadow="2"
++     inkscape:zoom="0.35"
++     inkscape:cx="375"
++     inkscape:cy="520" 
++     inkscape:document-units="px"
++     inkscape:current-layer="layer1" />
++  <metadata>
++    <rdf:RDF>
++      <cc:Work
++         rdf:about="">
++        <dc:format>image/svg+xml</dc:format>
++        <dc:type
++           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
++      </cc:Work>
++    </rdf:RDF>
++  </metadata>
++  <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" />
++</svg>
+diff -Naur inkscape-0.91/share/extensions/test/svg/default-plain-SVG.svg inkscape-0.91-testfiles/share/extensions/test/svg/default-plain-SVG.svg
+--- inkscape-0.91/share/extensions/test/svg/default-plain-SVG.svg	1970-01-01 01:00:00.000000000 +0100
++++ inkscape-0.91-testfiles/share/extensions/test/svg/default-plain-SVG.svg	2015-02-07 13:59:29.087967572 +0000
+@@ -0,0 +1,29 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<!-- Created with Inkscape (http://www.inkscape.org/) -->
++
++<svg
++   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"
++   version="1.1"
++   width="744.09448819"
++   height="1052.3622047">
++  <defs
++     id="defs4" />
++  <metadata
++     id="metadata7">
++    <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>
++  <g
++     id="layer1" />
++</svg>
+diff -Naur inkscape-0.91/share/extensions/test/svg/empty-SVG.svg inkscape-0.91-testfiles/share/extensions/test/svg/empty-SVG.svg
+--- inkscape-0.91/share/extensions/test/svg/empty-SVG.svg	1970-01-01 01:00:00.000000000 +0100
++++ inkscape-0.91-testfiles/share/extensions/test/svg/empty-SVG.svg	2015-02-07 13:59:29.087967572 +0000
+@@ -0,0 +1,13 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<!-- Created with Inkscape (http://www.inkscape.org/) -->
++
++<svg
++   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"
++   version="1.1"
++   width="744.09448819"
++   height="1052.3622047">
++</svg>
+diff -Naur inkscape-0.91/share/extensions/test/svg/multilayered-test.svg inkscape-0.91-testfiles/share/extensions/test/svg/multilayered-test.svg
+--- inkscape-0.91/share/extensions/test/svg/multilayered-test.svg	1970-01-01 01:00:00.000000000 +0100
++++ inkscape-0.91-testfiles/share/extensions/test/svg/multilayered-test.svg	2015-02-07 13:59:29.091967496 +0000
+@@ -0,0 +1,152 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<!-- Created with Inkscape (http://www.inkscape.org/) -->
++
++<svg
++   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"
++   xmlns:xlink="http://www.w3.org/1999/xlink"
++   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
++   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
++   width="210mm"
++   height="297mm"
++   id="svg2"
++   version="1.1"
++   inkscape:version="0.48+devel "
++   sodipodi:docname="Nouveau document 1">
++  <defs
++     id="defs4" />
++  <sodipodi:namedview
++     id="base"
++     pagecolor="#ffffff"
++     bordercolor="#666666"
++     borderopacity="1.0"
++     inkscape:pageopacity="0.0"
++     inkscape:pageshadow="2"
++     inkscape:zoom="0.35"
++     inkscape:cx="30.714286"
++     inkscape:cy="520"
++     inkscape:document-units="px"
++     inkscape:current-layer="layer3"
++     showgrid="false"
++     inkscape:window-width="1251"
++     inkscape:window-height="670"
++     inkscape:window-x="119"
++     inkscape:window-y="69"
++     inkscape:window-maximized="0" />
++  <metadata
++     id="metadata7">
++    <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>
++  <g
++     inkscape:groupmode="layer"
++     id="layer3"
++     inkscape:label="Bottom layer">
++    <g
++       id="g3930">
++      <path
++         transform="matrix(-0.97176714,-0.23594199,0.23594199,-0.97176714,541.8979,1030.862)"
++         inkscape:transform-center-y="21.296232"
++         inkscape:transform-center-x="0.78818963"
++         d="M 431.42857,463.79076 283.13917,424.83761 166.98297,524.91176 158.20567,371.84296 27.135259,292.29647 170,236.6479 205.15023,87.411314 302.22279,206.0874 455.01724,193.40062 372.14664,322.39504 z"
++         inkscape:randomized="0"
++         inkscape:rounded="0"
++         inkscape:flatsided="false"
++         sodipodi:arg2="1.3436561"
++         sodipodi:arg1="0.71533758"
++         sodipodi:r2="115.44059"
++         sodipodi:r1="230.8812"
++         sodipodi:cy="312.36218"
++         sodipodi:cx="257.14285"
++         sodipodi:sides="5"
++         id="path3902"
++         style="fill:#ffccaa;fill-opacity:1"
++         sodipodi:type="star" />
++      <text
++         sodipodi:linespacing="125%"
++         id="text3926"
++         y="723.79077"
++         x="245.71429"
++         style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
++         xml:space="preserve"><tspan
++           y="723.79077"
++           x="245.71429"
++           id="tspan3928"
++           sodipodi:role="line">Bottom layer</tspan></text>
++    </g>
++  </g>
++  <g
++     inkscape:groupmode="layer"
++     id="layer2"
++     inkscape:label="Middle layer">
++    <g
++       inkscape:groupmode="layer"
++       id="layer4"
++       inkscape:label="Middle sublayer">
++      <path
++         style="fill:#ffaaaa;fill-opacity:1"
++         d="m 522.85714,488.07648 c 0,73.37498 -71.63444,132.85715 -160,132.85715 -88.36556,0 -159.99999,-59.48217 -159.99999,-132.85715 0,-73.37497 71.63443,-132.85714 159.99999,-132.85714 88.36556,0 160,59.48217 160,132.85714 z"
++         id="path3900"
++         inkscape:connector-curvature="0" />
++      <text
++         xml:space="preserve"
++         style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
++         id="text3918"
++         sodipodi:linespacing="125%"><textPath
++           xlink:href="#path3900"
++           id="textPath3923"><tspan
++   id="tspan3920">Middle sublayer</tspan></textPath></text>
++    </g>
++    <g
++       id="g3913"
++       transform="translate(8.5714286,-94.285711)">
++      <rect
++         y="406.64789"
++         x="162.85715"
++         height="134.28572"
++         width="385.71429"
++         id="rect3898"
++         style="fill:#cccccc;fill-opacity:1" />
++      <text
++         sodipodi:linespacing="125%"
++         id="text3909"
++         y="520.93365"
++         x="294.28571"
++         style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
++         xml:space="preserve"><tspan
++           y="520.93365"
++           x="294.28571"
++           id="tspan3911"
++           sodipodi:role="line">Middle layer</tspan></text>
++    </g>
++  </g>
++  <g
++     inkscape:label="Top Layer"
++     inkscape:groupmode="layer"
++     id="layer1"
++     style="display:inline">
++    <text
++       xml:space="preserve"
++       style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
++       id="text3894"
++       sodipodi:linespacing="125%"><textPath
++         xlink:href="#path3904"
++         id="textPath3906"><tspan
++   id="tspan3896">Top layer</tspan></textPath></text>
++    <path
++       style="fill:#00d4aa;fill-opacity:1"
++       id="path3904"
++       d="m 199.54403,352.9691 c 33.89855,-23.39174 72.10651,-36.95679 109.79252,-52.48463 7.71344,-3.19326 15.44578,-6.34124 23.14032,-9.57978 26.03103,-10.95613 51.7881,-22.59387 76.79106,-35.76157 42.32507,-22.29031 32.37854,-17.45018 21.71695,-12.37413 27.69959,-16.89942 54.76258,-34.80763 82.06841,-52.32954 3.94676,-2.5326 7.78542,-5.23846 11.81547,-7.63629 13.93107,-8.28881 28.03813,-16.27818 42.05719,-24.41727 1.82085,-0.65301 3.535,-1.79625 5.46253,-1.95903 1.14748,-0.0969 2.55329,0.29335 3.23024,1.22493 4.4402,6.11031 -2.74745,15.55901 -5.48451,20.72818 -5.75765,10.57294 -11.80107,21.00672 -18.37568,31.09425 -8.69682,12.13204 -17.21613,24.35107 -25.30545,36.8994 -8.76999,14.06322 -13.80724,29.8609 -17.16277,45.97506 -1.61982,9.03135 -2.30641,16.44531 6.23493,21.70829 3.31001,1.71191 6.61295,2.19795 10.26307,2.25814 0,0 -34.1559,24.2492 -34.1559,24.2492 l 0,0 c -4.04274,-0.78094 -7.88137,-1.74859 -11.38493,-4.05868 -9.57886,-7.50134 -10.04511,-14.7248 -7.95368,-26.29078 3.70976,-16.48328 8.59159,-32.8557 17.13895,-47.54924 7.808,-12.43792 15.71401,-24.76749 24.43097,-36.58289 6.64463,-10.0123 12.98801,-20.22738 18.69995,-30.80719 1.06673,-2.02099 5.47855,-11.97387 6.83302,-13.43922 0.3422,-0.37021 1.06394,-0.32013 1.51003,-0.0852 0.35221,0.18545 -0.77587,0.17836 -1.1638,0.26755 -1.3924,0.57649 -2.7848,1.15299 -4.1772,1.72949 8.53309,-5.01782 16.92726,-10.27974 25.59928,-15.05345 4.46703,-2.45898 -8.64504,5.40995 -12.97447,8.10383 -28.33878,17.63307 -56.24248,35.94219 -84.66825,53.43629 -22.66355,13.24936 -55.91511,33.356 -81.64049,46.80647 -32.95242,17.22913 -67.12661,31.94029 -101.42871,46.2266 -18.19015,7.69388 -36.62175,14.9775 -54.55262,23.27042 -3.77844,1.7475 -7.50549,3.60582 -11.21421,5.49679 -2.53121,1.2906 -9.9408,5.50416 -7.50216,4.04617 10.489,-6.27105 21.10584,-12.32577 31.65876,-18.48866 0,0 -39.29882,15.37653 -39.29882,15.37653 z"
++       inkscape:connector-curvature="0" />
++  </g>
++</svg>


More information about the patches mailing list