← Back to team overview

dx-packages team mailing list archive

[Bug 1170810] Re: unity.deps contains unnecessary API dependencies

 

** Changed in: libunity
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libunity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1170810

Title:
  unity.deps contains unnecessary API dependencies

Status in Geary:
  Fix Committed
Status in LibUnity:
  Fix Released
Status in “libunity” package in Ubuntu:
  Fix Released

Bug description:
  The unity.deps file (required for Vala compilation) includes gee-1.0
  as a dependency.  However, libgee is not used by the vapi and
  therefore should not be included.

  To quote from the Vala upstream bindings guide (from https://live.gnome.org/Vala/UpstreamGuide )
  "The only other file that should be distributed is a deps file, which lists pkg-config names of any dependencies exposed in the public API."

  In other words, if there are no libgee symbols in the API, libgee
  shouldn't be included in the deps file.  It's quite possible some of
  the other libraries aren't needed for the API as well, I haven't
  checked.

  This is a problem for us as it means we can't link against both
  libunity and libgee 0.8, since libunity's deps file causes Vala to
  pull in symbols for libgee 0.6, which causes the compiler to error out
  with a symbol conflict.

To manage notifications about this bug go to:
https://bugs.launchpad.net/geary/+bug/1170810/+subscriptions