2015-09-16 0:23 GMT+08:00 Ludovic Courtès <[email protected]>:
> ??? <[email protected]> skribis:
>
>> commit eb6afbcde784a72a96f3c5a70d657630d421b02a
>> Author: 宋文武 <[email protected]>
>> Date: Tue Sep 15 20:19:39 2015 +0800
>>
>> gnu: harfbuzz: Add "bin" output.
>>
>> * gnu/packages/gtk.scm (harfbuzz)[outputs]: New field.
>> [arguments]<#:configure-flags>: Pass '--bindir'.
>
> [...]
>
>> --- a/gnu/packages/gtk.scm
>> +++ b/gnu/packages/gtk.scm
>> @@ -154,6 +154,7 @@ affine transformation (scale, rotation, shear, etc.).")
>> (base32
>> "1xrxlrvgyr6mm9qjxmkif2kvcah082y94gf1vqi0f0bdl1g8gp7b"))))
>> (build-system gnu-build-system)
>> + (outputs '("out" "bin"))
>
> Could you add a comment explaining why things are split? I suppose this
> was motivated by the size of the closure or something, no?
Yes, I notice only the executables depend on cairo, and is about 100k of 700kb.
>
> Also, adding an explicit --bindir is normally not necessary: ‘configure’
> in gnu-build-system.scm does that when there’s a “bin” output. Or did
> it turn out to be buggy?
oops, I don't know this.