Can you make --disable-style-to-xml the default in dh_scour?

Asked by Francesco Fumanti on 2010-12-21

Hi,

Onboard ist an onscreen keyboard written in python that uses some svg files created by inkscape for the layout of the keys.

The introduction of dh-scour breaked onboard because it converts the style="fill:#e5d8b2;stroke:#000000;" attribute of the svg files to stroke="#000" fill="#e5d8b2" resulting in the error reported here:
https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/690994

According to http://codedread.com/scour/, scour understands the following option to disable the conversion: --disable-style-to-xml

Thus, could you make it the default in dh_scour?

Other solutions that come to my mind:

- https://bugs.launchpad.net/ubuntu/+source/cdbs/+bug/692016

- Use debhelper instead of cdbs for packaging; I assume that this way, it will be possible to add --disable-style-to-xml to debian/rules.

- Adapt the onboard code to work with the new attributes introduced by dh-scour; but this would probably break the compatibility with inkscape.

I am asking here to make --disable-style-to-xml the default, because it might be generally sensible to not change the style attribute in svg files.

Thanks in advance for any reply.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu scour Edit question
Assignee:
No assignee Edit question
Last query:
2010-12-21
Last reply:
Martin Pitt (pitti) said : #1

Note that dh_scour is an Ubuntu specific script and not present in the upstream scour. I'll add the option to dh_scour, see the bug report.

Can you help with this problem?

Provide an answer of your own, or ask Francesco Fumanti for more information if necessary.

To post a message you must log in.