unity.deps contains unnecessary API dependencies

Bug #1170810 reported by Eric Gregory
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geary
Fix Released
Undecided
Unassigned
libunity
Fix Released
Undecided
Michal Hruby
libunity (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Related branches

Revision history for this message
Eric Gregory (eric-yorba) wrote :

Corresponding Geary ticket is here: http://redmine.yorba.org/issues/5745

Michal Hruby (mhr3)
Changed in libunity:
assignee: nobody → Michal Hruby (mhr3)
status: New → In Progress
Revision history for this message
Jim Nelson (yorba-jim) wrote :

We've worked around this in Geary, so marking as fixed.

Changed in geary:
status: New → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:libunity at revision 227, scheduled for release in libunity, milestone 7.0.0

Changed in libunity:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libunity - 7.0.4daily13.06.19-0ubuntu1

---------------
libunity (7.0.4daily13.06.19-0ubuntu1) saucy; urgency=low

  [ Michal Hruby ]
  * Add API to protocol library to allow category and filter definition in scope files.
  * Add SimpleScope API

  [ Ubuntu daily release ]
  * debian/*symbols: auto-update new symbols to released version

  [ Michal Hruby ]
  * Clean up deps file. (LP: #1170810)
  * Bump GIR version.

  [ James Henstridge ]
  * Update the Python scope runner to support loading multiple scopes in
    a single process.
  * Make ScopeDBusConnector.export() succeed if the process already owns
    the requested D-Bus name, making it possible to export multiple
    scopes from a process under the same bus name.
  * Make Unity.ScopeDBusConnector hold a reference to its scope.

  [ Didier Roche ]
  * relax dependency on libunity-common to avoid arch mismatch.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 234
 -- Ubuntu daily release <email address hidden> Wed, 19 Jun 2013 04:29:04 +0000

Changed in libunity (Ubuntu):
status: New → Fix Released
Michal Hruby (mhr3)
Changed in libunity:
status: Fix Committed → Fix Released
Jim Nelson (yorba-jim)
Changed in geary:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.