gir ABI change

Michael Terry michael.terry at canonical.com
Tue Dec 21 19:58:14 UTC 2010


Hello, gentle developers!

Recently, Debian changed their gir policy to have package names more
accurately reflect the abi of the gir.  Basically, gir1.0 became gir1.2.

The Desktop team has been making the transition this past week, and
we're largely done.  All the core GNOME libraries have been changed as
well as a bunch of apps.

But some packages still refer to the old names or build gir1.0 packages.
Here's how to fix them if you encounter a FTBFS because of this
transition:

 * If your package merely Build-Depends on some gir1.0-* packages, just
change those to gir1.2-*.
 * Else if your package actually builds a gir1.0-* package:
  1) Rename the package to gir1.2-*
  2) Add Replaces/Conflicts lines for the old gir1.0-* version
  3) Rename any debian/gir1.0-* files to debian/gir1.2-*
  4) Check debian/rules for any references that need to be updated
  5) And lastly check for any Build-Depends/Depends that also need to be
updated from gir1.0-* to gir1.2-*

The takeaway is that this is just a naming change and should be simple
to fix.  Come ping your friendly Desktop team member in #ubuntu-desktop
for help with a stubborn package.

-- 
mterry




More information about the ubuntu-devel mailing list