Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101440 - app-cdr/gnomebaker-0.4 dies on missing SVG DTD.
Summary: app-cdr/gnomebaker-0.4 dies on missing SVG DTD.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 06:44 UTC by Lars Weiler (RETIRED)
Modified: 2007-03-09 00:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Weiler (RETIRED) gentoo-dev 2005-08-05 06:44:42 UTC
In bug 99252 I found out that gnomebaker-0.4 fails on the file
/usr/share/icons/Rodent/scalable/mimetypes/gnome-mime-text-x-patch.svg which is
part of xfce-extra/xfce4-icon-theme.  The error is

gnomebaker: art_render_gradient.c:338: art_render_gradient_linear_render_8:
Assertion `offset_fraction <= stops[ix].offset' failed.

After removing the file, gnomebaker starts as assumed.

Run xmllint -valid -noout <file.svg> on these svg-files and you will find out
that they don't confirm to the svg-DTD.  Probably that's causing the error.
Comment 1 XFCE Team gentoo-dev 2005-08-13 21:52:14 UTC
I'll pass along upstream and see what I can find out
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2006-12-03 05:42:52 UTC
Very old bug...  But still valid.  This svg has not been fixed in xfce-extra/xfce4-icon-theme-4.2.3.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-01-07 18:54:55 UTC
unique ~ # xmllint -valid -noout /usr/share/icons/Rodent/scalable/mimetypes/gnome-mime-text-x-patch.svg 
/usr/share/icons/Rodent/scalable/mimetypes/gnome-mime-text-x-patch.svg:18: validity error : Validation failed: no DTD found !
   sodipodi:docname="gnome-mime-text-x-patch.svg">

Still a problem in xfce-extra/xfce4-icon-theme-4.3.99.2
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-01-08 17:00:08 UTC
#svg, Freenode -

[18:52] < darobin> if gnomebaker fails on SVG that is not valid then gnomebaker is at fault
[18:52] < darobin> there is no requirement on SVG to be valid to display correctly
[18:53] < darobin> it should just ignore the invalid element and its descendants
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-01-08 17:02:12 UTC
Xfce upstream bug http://bugzilla.xfce.org/show_bug.cgi?id=2724 (RESOLVED, INVALID)
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-01-08 17:07:23 UTC
(In reply to comment #0)
> In bug 99252 I found out that gnomebaker-0.4 fails on the file

What you need to do now is reproduce this with current version of Gnomebaker.