How could I fetch additional packages from PPA in launchpad's bzr-builder?

Asked by mspanc on 2012-01-28


I am developing software and I use launchpad to manage the code & builds. Software is written in vala.

The case is that old vala compiler has buggy API, so my code compiles on oneiric and precise, but I encounter some problems when I build for older distros (that I also want to support).

My idea is to build new valac also for older distros, put that in PPA and then, force bzr-builder to use new valac. How it can be accomplished by the recipe?

The second question is similar - I want to split my code and put some part in the shared library. That library should be then downloaded from PPA before build begins. When I just add it to debian/control it won't be downloaded as it does not figure in any official repository. So the problem is similar - how to attach the custom PPA to bzr-builder?

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
Aaron Bentley
Last query:
Last reply:
Revision history for this message
Best Aaron Bentley (abentley) said :

I believe all that's required is to give your self-compiled valac a higher version number than the one in the main archive and list it as a build-dependency. The current PPA is included when retrieving build-dependencies.

The answer to your second question is the same.

Revision history for this message
mspanc (mspanc) said :


thank your for suggestion. I hadn't thought about that way of solving the case.

Unfortunately it is not correct for PPAs with stable packages, as if some user will add my PPA to its system it could lead to upgrading also valac as this package also gets published.

Digging the net around that I've found propably better solution: to open PPA and then add valac PPA as a dependency (there's a link on the right side that allows you to create PPA dependency).

Thank you

Revision history for this message
mspanc (mspanc) said :

Thanks Aaron Bentley, that solved my question.