FS#18707 - [gpicview] fail to open svg files if librsvg is not present,.

Attached to Project: Community Packages
Opened by bharani deepan (bharani) - Tuesday, 16 March 2010, 14:26 GMT
Last edited by Gavin Bisesi (Daenyth) - Saturday, 20 March 2010, 21:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Gpicview fails to show svg files when librsvg is not present.
Though it works finely when librsvg is present.

It shows file format not recognized error.

If gpicview needs librsvg then it should be added as a dependency

Additional info:
* package version 0.2.1-2

Steps to reproduce:
1)Remove librsvg if present
2) Open a svg file in gpicview ->fails to open



This task depends upon

Closed by  Gavin Bisesi (Daenyth)
Saturday, 20 March 2010, 21:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in -3
Comment by Jan de Groot (JGC) - Tuesday, 16 March 2010, 14:40 GMT
gpicview uses gdk-pixbuf to load images, which uses a plugin system. Some filetypes are included by default, some filetypes are supported by using plugins, like the librsvg plugin. Another plugin is libwmf for example. The basic functionality of gpicview is not to open each and every possible image file format, so these shouldn't be basic dependencies.
Comment by Gavin Bisesi (Daenyth) - Tuesday, 16 March 2010, 23:20 GMT
Agreed. This should be an optdepend at best. Shouldn't it be an opt of gdk-pixbuf though? Can anyone shed some light?

gdk-pixbuf has been an orphan for a very long time. Maybe it could go to community with this... Not sure.
Comment by Gavin Bisesi (Daenyth) - Tuesday, 16 March 2010, 23:22 GMT
Hmm, looks like gpicview doesn't have a depend on gdk-pixbuf somehow, nor is gdk-pixbuf required by any packages I have isntalled... Odd. I'll need to look into this more. Will try a chroot build and see what happens
Comment by Jan de Groot (JGC) - Wednesday, 17 March 2010, 07:37 GMT
I'm not talking about the old gtk1-based gdk-pixbuf package, but the gdk-pixbuf library included in gtk2. As for optdepends: why should gtk2 optdepend on all possible plugins?
Comment by Gavin Bisesi (Daenyth) - Wednesday, 17 March 2010, 13:02 GMT
Oh I see. Yeah, opt for gpicview then.

Loading...