Merge lp:~3v1n0/bamf/gir-package into lp:bamf/0.4
| Status: | Merged |
|---|---|
| Approved by: | Marco Trevisan (Treviño) on 2013-01-09 |
| Approved revision: | 526 |
| Merged at revision: | 515 |
| Proposed branch: | lp:~3v1n0/bamf/gir-package |
| Merge into: | lp:bamf/0.4 |
| Prerequisite: | lp:~3v1n0/bamf/soname-up |
| Diff against target: |
485 lines (+93/-99) 13 files modified
.bzrignore (+19/-14) configure.ac (+17/-9) debian/changelog (+2/-0) debian/control (+17/-21) debian/gir1.2-bamf-3.install (+1/-1) debian/libbamf-dev.install (+0/-5) debian/libbamf3-dev.install (+5/-5) debian/rules (+2/-2) doc/reference/libbamf/Makefile.am (+2/-2) lib/libbamf/Makefile.am (+13/-17) tests/functional/Makefile.am (+8/-8) tests/libbamf/Makefile.am (+0/-4) tests/libbamf/test-libbamf.c (+7/-11) |
| To merge this branch: | bzr merge lp:~3v1n0/bamf/gir-package |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2013-01-09 | |
| Michael Terry | 2012-12-19 | Approve on 2013-01-09 | |
|
Review via email:
|
|||
Commit Message
libbamf: use proper GIR dirs and build the gir1.2-bamf-0.2 package
Description of the Change
Enabled the construction of the Bamf gir package so that we can have bindings for free.
| Michael Terry (mterry) wrote : | # |
* Do we still need gir1.2-gtk-3.0 in the Build-Depends?
* Instead of override_
* The "usr/share/
* You don't need to define GIR_TYPELIBDIR, use INTROSPECTION_
* Likewise, instead of GIR_DATADIR, use INTROSPECTION_
* I believe "0.2" is the wrong version for the gir. It should be Bamf-3.
* Does ${shlibs:Depends} not add a dep on libbamf3-1 itself?
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
> * Do we still need gir1.2-gtk-3.0 in the Build-Depends?
No... I'm removing it as well.
> * Instead of override_
> --with autoreconf,gir")
Done, thanks
> * The "usr/share/
> package. Only the typelib stuff goes into the gir1.2-* package
Moved.
> * You don't need to define GIR_TYPELIBDIR, use INTROSPECTION_
> (defined by GOBJECT_
> * Likewise, instead of GIR_DATADIR, use INTROSPECTION_
Replaced... I was thinking if we had them already defined. Thanks.
> * I believe "0.2" is the wrong version for the gir. It should be
> Bamf-3.
> libsecret-1 or libgtk-3 for naming parallels)
Mh ok... Shouldn't be gir1.2-bamf-3-1 at this point?
> * Does ${shlibs:Depends} not add a dep on libbamf3-1 itself?
It wasn't before... Now it seems to add it.
But it's actually done by ${gir:Depends} since I'm getting this:
dpkg-gencontrol: warning: Depends field of package gir1.2-bamf-3.0: unknown substitution variable ${shlibs:Depends}
Should we get rid of it, right?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:524
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Rico Tzschichholz (ricotz) wrote : | # |
The gir/typelib should be called Bamf-0.
It is an API suffix following API changes.
| Michael Terry (mterry) wrote : | # |
I don't believe you're right about 0.4. I think it should be named after the library name/versioning alone.
See http://
The examples they use show no SONAME, but do use the parallel-
| Michael Terry (mterry) wrote : | # |
So, Marco, I know we were waiting on feedback from others, but didrocks pointed me at that Debian email, and it seems relatively clear.
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
> And for bamf, we are currently
> at libbamf3, so the gir should be Bamf-3.typelib and the package name
> gir1.2-bamf-3 I believe. Much like gir1.2-secret-1.
So... At this point, this branch is fine as it is, isn't it?
| Rico Tzschichholz (ricotz) wrote : | # |
> I don't believe you're right about 0.4. I think it should be named after the
> library name/versioning alone.
>
> See http://
>
> The examples they use show no SONAME, but do use the parallel-
> version in the library name for the typelib. And for bamf, we are currently
> at libbamf3, so the gir should be Bamf-3.typelib and the package name
> gir1.2-bamf-3 I believe. Much like gir1.2-secret-1.
Looking at the debian policy doesn't say much. The usage of gir/typelib isn't bound to the actually library (with its soname) behind it. So if there are ABI breaks it is no concern for the GI bindings to work.
Telepathy-Logger might be a good example here which has a stable API (0.2) but not ABI (currently 3).
So using 0.4, as i mentioned, is the right choice here.
| Michael Terry (mterry) wrote : | # |
@Marco, right you are. This branch already uses 3 as the gir version. But I guess I'll wait to approve until we finish discussing 3 vs 0.4.
@Rico, you're talking more about using the version number of the package, not the API number. 3 is the API here. (The 3 denotes the parallel-
| Michael Terry (mterry) wrote : | # |
Alright, I think we agreed on IRC that 3 is fine. Rico's concern was that we weren't treating the library version as an API guarantee like we should (which we hadn't in the past when removing API but keeping the 3). But that was a one-off laziness thing, not a policy.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
| Michael Terry (mterry) wrote : | # |
I believe you need to add GOBJECT_
(exact version is iffy, I just stole that number from another app)
| Francis Ginther (fginther) wrote : | # |
I as able to reproduce this inside a pbuilder chroot. The failure looks like a missing build dependency. From the logs:
...
checking for X... yes
checking for gobject-
checking for vapigen... no
...
As a results ${vapigen} appears to be an empty string.
Adding "valac-0.18" to debian/dontrol resolved the issue on my pbuilder.
- 525. By Marco Trevisan (Treviño) on 2013-01-09
-
configure.ac: add more errors when checking build tools
- 526. By Marco Trevisan (Treviño) on 2013-01-09
-
debian/control: add valac as build depends

FAILED: Continuous integration, rev:517 jenkins. qa.ubuntu. com/job/ bamf-mbs- ci/25/ jenkins. qa.ubuntu. com/job/ bamf-mbs- ci/./build= pbuilder, distribution= quantal, flavor= amd64/25/ console jenkins. qa.ubuntu. com/job/ bamf-mbs- ci/./build= pbuilder, distribution= quantal, flavor= i386/25/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ bamf-mbs- ci/25// rebuild/?
http://