Merge lp://staging/~3v1n0/libappindicator/vala-bindings-fixes into lp://staging/libappindicator
Proposed by
Marco Trevisan (Treviño)
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 184 | ||||
Proposed branch: | lp://staging/~3v1n0/libappindicator/vala-bindings-fixes | ||||
Merge into: | lp://staging/libappindicator | ||||
Diff against target: |
528 lines (+352/-29) 11 files modified
bindings/Makefile.am (+5/-2) bindings/vala/Makefile.am (+36/-0) bindings/vala/examples/Makefile.am (+14/-0) bindings/vala/examples/indicator-example.vala (+64/-0) configure.ac (+10/-0) example/Makefile.am (+28/-1) example/simple-client-vala.vala (+170/-0) example/simple-client.c (+9/-0) src/AppIndicator-0.1.metadata.in (+2/-0) src/AppIndicator3-0.1.metadata.in (+3/-0) src/Makefile.am (+11/-26) |
||||
To merge this branch: | bzr merge lp://staging/~3v1n0/libappindicator/vala-bindings-fixes | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Marco Trevisan (Treviño) | Approve | ||
Review via email: mp+48486@code.staging.launchpad.net |
Description of the change
I've added proper support for vala bindings, fixing the gir include path, then now they are built in the bindings/vala subfolder and they include a *.deps file (so automatizing the inclusion of the proper gtk binding, when just using --pkg "appindicator-0.1" vala command line).
Plus, I've also added a small example (that is built only if valac is found in the system).
To post a comment you must log in.
I can't get this to run in "make distcheck" I get this error:
make[4]: Entering directory `/home/ ted/Development /libappindicato r/vala- bindings- fixes/libappind icator- 0.2.92/ _build/ bindings/ vala/examples' ../../. ./bindings/ vala --save-temps ../../. ./../bindings/ vala/examples/ indicator- example. vala ./../bindings/ vala/examples/ indicator- example. vala:21. 7-21.18: error: The namespace name `AppIndicator' could not be found
/usr/bin/valac --pkg appindicator-0.1 --vapidir=
../../.
using AppIndicator;
^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[4]: *** [indicator-example] Error 1
Which seems to be from the vapi file having the "App" namespace instead of the "AppIndicator" one when built in a separate directory. Can't figure out why though.