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

Asked by mspanc on 2012-01-28

Hi,

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

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Bentley
Solved:
2012-02-02
Last query:
2012-02-02
Last reply:
2012-02-02
Best Aaron Bentley (abentley) said : #1

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.

mspanc (mspanc) said : #2

Aaron,

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

mspanc (mspanc) said : #3

Thanks Aaron Bentley, that solved my question.