Hello!

On Fri, Sep 04, 2015 at 01:39:34PM +0100, Iain Lane wrote:
> tags 797571 + moreinfo
> thanks
> 
> On Mon, Aug 31, 2015 at 06:12:47PM +0200, Andreas Henriksson wrote:
> > Package: ftp.debian.org
> > Severity: normal
> > 
> > Please remove this package which is a (direct or indirect) reverse
> > dependency of gnome-desktop-sharp2, see #797567, which in turn is a
> > reverse dependency of gtkhtml3.14, see #797441
> 
> We might want to keep this one - I just pinged RAOF to check.
> 
> Please wait a little bit before removing.

For what it's worth....

Short-term "fixing" gnome-desktop-sharp2 to not depend on gtkhtml is as
easy as dropping the bindings which is unused.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797567#19
(This would mean you still block the gnome-desktop removal though, see
#721079.)

If you're aiming at a more complete fix, then getting rid of the
gnome-desktop dependency would be useful.  I've quickly looked into
gnome-do sources and it seems the only dependency is on using the
thumbnails functionality (but I might have missed something).

See ./Do.Platform.Linux/src/Do.Universe/Desktop.cs which exposes a few
Thumbnail* functions.

The only caller of these seems to be in
./Do.Platform.Linux/src/Do.Universe/FileItem.cs
which only calls ThumbnailPathForUri.

The equivalent code for using glib/gio to look up the path for the
thumbnail should look something like this:

GLib.File fi = GLib.FileFactory.NewForUri(fileUri);
GLib.FileInfo info = fi.QueryInfo("thumbnail::path", 
GLib.FileQueryInfoFlags.None, null);
string thumbnailPath = info.GetAttributeByteString("thumbnail::path");

You might want to revamp the code here a bit further though and fully
leverage the GIcon parts provided by GLib/GIO.

HTH.

Regards,
Andreas Henriksson

Reply via email to