Do

Comment 4 for bug 497184

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 497184] Re: GNOME Do 0.8.3 dependancy on gnome-desktop-sharp vague

This is not an upstream gnome-desktop-sharp upstream bug; it's a bug in
Gentoo's packaging of gnome-desktop-sharp. Let me describe in detail
what's going on:

gnome-desktop-sharp is a C# binding for libgnome-desktop. It
dynamically opens the libgnome-desktop shared object. Since the precise
name of this object will change from platform to platform, Mono
uses .dll.config files to map between what the CIL code specifies and
the library to dynamically load. "gnome-desktop-2" is what's specified
in gnomedesktop-sharp.dll, and for Ubuntu's current development release
we ship the following gnomedesktop-sharp.dll.config configuration file:

<configuration>
  <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
  <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
  <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so.0"/>
  <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
  <dllmap dll="gnome-desktop-2" target="libgnome-desktop-2.so.11"/>
</configuration>

This maps "gnome-desktop-2" to "libgnome-desktop-2.so.11", which is the
current libgnome-desktop-2 SONAME. This means that our
gnome-desktop-sharp package needs a dependency on libgnome-desktop-2-11,
because gnome-desktop-sharp won't work without libgnome-desktop-2.so.11.

So, for Gentoo, your bug can be fixed by either:
1) Adding a dependency on a version of libgnome-desktop with SO version
7 to gnome-desktop-sharp
2) Updating the .dll.config file to point to libgnome-desktop-2.so.11
(and adding a dependency on _that_ version of libgnome-desktop)
3) Because you're Gentoo, and always have development symlinks
available, update the .dll.config to point to libgnome-desktop-2.so