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

Asked by Francesco Fumanti on 2010-12-21


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:

According to, 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:


- 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

English Edit question
Ubuntu scour Edit question
No assignee Edit question
Last query:
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.