Bug#666478: upcoming rsvg removal

Michael Biebl biebl at debian.org
Sat Apr 7 05:53:51 UTC 2012


Hi everyone,

a few questions have come up since I filed those bugs reports and my bug
description was not fully accurate, I'll try address them with this email.

On 06.04.2012 23:25, Barak A. Pearlmutter wrote:
>> As I wrote, rsvg and rsvg-convert are command line compatible, so
>> > you basically just need to do a search and replace for rsvg.
> Turns out not to be quite the case.
>
>   rsvg         -w 64 -h 64 foo.svg > foo.png    # works
>   rsvg-convert -w 64 -h 64 foo.svg > foo.png    # FAILS
>   rsvg-convert -w 64 -h 64 -o foo.png foo.svg   # works


This is indeed correct. rsvg and rsvg-convert are *not* fully command
line compatbile in one regard. rsvg-convert expects an "-o" parameter
for the output file whereas rsvg doesn't, e.g.

  rsvg inputfile.svg outputfile.png
  rsvg-convert inputfile.svg -o outputfile.png

This is something you need to change when switching from rsvg to
rsvg-convert.

The other parameters (-w,-h,-d,-p,-x,-y,-f) behave the same though.


On 07.04.2012 07:15, Kamaraju Kusumanchi wrote:
> debian_chroot:sid:kusumanchi:/home/texmacs/texmacs-1.0.7.15# ls -al
> /usr/bin/rsvg
> lrwxrwxrwx 1 root root 12 Apr  2 04:12 /usr/bin/rsvg -> rsvg-convert
>
> So it looks like rsvg is actually a symlink to rsvg-convert. Will this
> symlink be available in future versions of librsvg2-bin?

As I wrote, upstream removed the old rsvg python script. In the Debian
package, I added that symlink to not break existing packages until they
have been updated. When rsvg-convert is called as "rsvg", i.e. via the
symlink, it set's the -o parameter automatically to be fully compatible
with the old rsvg script.

Once all packages have been fixed to use rsvg-convert instead of rsvg, I
will remove rsvg in the next release cycle. I would like to see all
packages being fixed for wheezy, that means the rsvg symlink would be
removed in wheezy+1.

If there are still open questions, please don't hesitate to ask.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120407/3ee4bbbb/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list