[maemo-developers] Optional build dependencies (e.g. for fremantle)

From: Till Harbaum / Lists lists at harbaum.org
Date: Tue Mar 17 21:48:05 EET 2009
Hi,

Andrew (who is not subscribed to this list) suggested the following:

> Guess the answer is "yes, but only if the autobuilder satisfies the
> published deps (if it can)". You might be able to do some sort of
>
> Build-Depends: would-like-to-have-pkg1|harmless-pkg2,
>     would-like-to-have-pkg2|harmless-pkg2, ...
>
> hack to keep autobuilders happy and building the package in a maximally
> useful fashion on as many platforms as you can with the same source, but
> this may be considered harmful.

I'll give it a try.

Till

Am Dienstag 17 März 2009 schrieb Jeremiah Foster:
> 
> On Mar 17, 2009, at 1:38 PM, Till Harbaum / Lists wrote:
> 
> > Hi,
> >
> > i am currently trying to prepare the osm2go package to build for  
> > fremantle. I've
> > fixed most things, but one thing still lacks: How do i specify  
> > "would like
> > to have" build dependencies?
> 
> When you say "would like to have" do you mean "suggests"?
> 
> > E.g. i'd like to rely
> 
> The term for rely in debian packaging language is "depends" - is this  
> what you mean?
> 
> > on table-browser-interface-dev. But this isn't there yet for  
> > fremantle.
> 
> Hopefully I will be pulling some of the packages from diablo into  
> fremantle, I'll put this down as one of the first candidates. :^)
> 
> > So if i have it in the build-depends line in the control file the  
> > fremantle build breaks.
> > If i don't put it there it won't be installed in any autobuild  
> > process, hence it won't be used
> > in chinook/diablo autobuild.
> >
> > How do i specifiy a package that i'd like to use during buikd but  
> > that i can cope with
> > if it's not there (yet)?
> 
> This mechanism should not exist, simple because it would make things  
> very hard to reproduce. The goal is to have a single set of  
> requirements (as much as is possible) and have that single set of  
> requirements be your build target. This way we have the best chance of  
> the package building on every one else's device and environment.
> 
> So the best solution is to introduce all your build-depends into  
> fremantle. If you are only missing one build-depends, that is not too  
> bad, should be easy to add to the repos.
> 
> Jeremiah
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> 



More information about the maemo-developers mailing list