[csw-maintainers] GAR modulations questions

Maciej (Matchek) Blizinski maciej at opencsw.org
Tue Oct 6 18:16:36 CEST 2009


On Tue, Oct 6, 2009 at 5:04 PM, Dagobert Michelsen <dam at opencsw.org> wrote:
> Hi Maciej,
>
> Am 06.10.2009 um 17:55 schrieb Maciej (Matchek) Blizinski:
>>
>> I have two issues regarding modulations. One is a feature request.
>> Suppose I have two extra modulators, foo and bar. If each has two
>> values, I end up with four... um... modulations. The name for each
>> modulation is foomod-foovar-barmod-barval. If I want to add my own
>> merge rules, I need to enter:
>>
>> MERGE_foomod-fooval1-barmod-barval1 = ...
>> MERGE_foomod-fooval1-barmod-barval2 = ...
>> MERGE_foomod-fooval2-barmod-barval1 = ...
>> MERGE_foomod-fooval2-barmod-barval2 = ...
>>
>> Suppose I have a merge rule that applies to both values of barmod. I
>> would like then to say:
>>
>> MERGE_foomod-fooval1 = one thing
>> MERGE_foomod-fooval2 = some other thing
>>
>> The desired effect is that "one thing" is included in both barval1 and
>> barval2 modulations. Is it doable?
>
> Sure. But I don't see a usecase for this. Usually you take all from
> barval1 and only some specific things with renames from barval2.
> Additionally, the modulators grow long with the default ISA modulation
> and maybe the added version modulator. Some kind of sane defaults
> can make this much easier to use.
> Can I have a look at your Makefile?

Here's my minimal example:

https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/examples/modulations/branches/minimal-version-modulation/Makefile

> But before I make more changes to GAR I would like to deploy v2-pbuild
> for general use, so please everyone test!

Okay, I'm going to start using it with the packages I'm currently working on.

Maciej



More information about the maintainers mailing list