inkscape/inkscape-packages.patch

27 lines
1.5 KiB
Diff

Index: inkscape-0.47/share/extensions/export_gimp_palette.py
===================================================================
--- inkscape-0.47.orig/share/extensions/export_gimp_palette.py
+++ inkscape-0.47/share/extensions/export_gimp_palette.py
@@ -11,7 +11,7 @@ import sys, simplestyle
try:
from xml.dom.minidom import parse
except:
- sys.exit(_('The export_gpl.py module requires PyXML. Please download the latest version from http://pyxml.sourceforge.net/.'))
+ sys.exit(_('The export_gpl.py module requires XML modules. Please install the python-xml package.'))
colortags=(u'fill',u'stroke',u'stop-color',u'flood-color',u'lighting-color')
colors={}
Index: inkscape-0.47/share/extensions/inkex.py
===================================================================
--- inkscape-0.47.orig/share/extensions/inkex.py
+++ inkscape-0.47/share/extensions/inkex.py
@@ -63,7 +63,7 @@ def uutounit(val, unit):
try:
from lxml import etree
except:
- sys.exit(_('The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension. Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml'))
+ sys.exit(_('The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension. Please download and install it through your package manager by a command like: sudo zypper install python-lxml'))
def debug(what):
sys.stderr.write(str(what) + "\n")