Lunar Improvement
Auke Kok
sofar at lunar-linux.org
Tue Jul 6 07:07:50 GMT 2004
joel vennin wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
> Hello every one,
>I've think a little but (usefull) improvement inside the lunar script. In
>fact, florin and me are main maintener of KDE packages, so as you know some
>times maintening some packages is boring. The "improvement" is about BUILD
>files but it can be extend to other.
>
>I explain, the most parts of kde BUILD file are the same (i think it's the
>same for gnome), so we can reduce size of build file and facilitate the
>update of some packa ges. In the same way we can make generic functions to
>do some works.
>
>For the improvement just some changes:
>
>in the config file /etc/lunar/config we can add a variable like this
>LUNAR_TEMPLATE=$MOONBASE/template
>
>add a function into lunar which can be called use_template.
>
>it's definition:
>use_template () {
> . $LUNAR_TEMPLATE/$1
>}
>
>So, this function can be used inside BUILD file, like this for kde package:
>(
> use_template kde.build
>) > $C_FIFO 2>&1
>
>where the kde.build file is inside the $LUNAR_TEMPLATE directory.
>
>So this is not outstanding, but very useful, IMO.
>
>Tell me what do you think about it and if you want i can add it into theedge.
>
1) we have other things to do first (two whole meetings with lots of
action points to which nothing has been done yet)
2) effectively that means we should be in a feature freeze with respect
to theedge/lunar.
sofar
More information about the Lunar-dev
mailing list