Ticket #45 (defect)

Opened 3 years ago

Last modified 2 years ago

galago-sharp doesn't test for dbus# in configure.ac

Status: new

Reported by: chipx86 Assigned to: chipx86
Priority: normal Milestone:
Component: galago-sharp Version: 0.5.0
Severity: normal Keywords:
Cc: D-BUS Version:
Patch Included: 1 OS/Distro Version:

galago-sharp doesn't test if dbus#'s .pc file is installed during configure, and fails during make if not installed.

Attachments

galago-sharp-no-dbus-sharp.patch (1.4 kB) - added by ahanke on 02/28/07 00:33:37.
Much better patch to make the dbus-sharp dependency optional.

Change History

02/27/07 23:43:31: Modified by ahanke

  • distro changed.
  • patch_included set to 1.
  • dbus_version changed.

Is it possible to get this fixed for the next release?

This bug currently blocks the removal of the libdbus-based C# wrapper from several distributions because galago-sharp cannot be compiled without it.

This is especially annoying for two reasons: Most, if not all packages are switching away from the unmaintained libdbus wrapper to NDesk DBusSharp, and galago-sharp doesn't actually need dbus-sharp at runtime, it is only used for 2 test programs which are not even installed by default.

I will attach a patch that works for me by using PKG_CHECK_EXISTS and ignoring the tests/ directory if dbus-sharp.pc was not found. A possible alternative approach is a configure option (like --disable-tests or --without-tests).

02/28/07 00:33:37: Modified by ahanke

  • attachment galago-sharp-no-dbus-sharp.patch added.

Much better patch to make the dbus-sharp dependency optional.