Feng Shu <tuma...@163.com> writes:

> 宋文武 <iyzs...@gmail.com> writes:
>
>> Feng Shu <tuma...@163.com> writes:
>>
>>> 宋文武 <iyzs...@gmail.com> writes:
>>>
>>>> Feng Shu <tuma...@163.com> writes:
>>>>
>>>>> Webkit package is like this:
>>>>>
>>>>> 1. webkitgtk-2.8.1  -->  webkit2 + gtk3.0
>>>>> 2. webkitgtk-2.4.8  -->  webkit + gtk2
>>>>>
>>>>> In debian, it is like this:
>>>>>
>>>>> 1. webkit2gtk  -->  webkit2 + gtk3.0
>>>>> 2. webkitgtk-3.0 --> webkit + gtk3.0
>>>>> 3. webkitgtk-1.0 --> webkit + gtk2.0
>>>>>
>>>>>
>>>>> I think is is more reasonable.
>>>> The missing one (webkit1 + gtk3.0) is not very useful,
>>>> deprecated and not commonly used by other projects AFAIK.
>>>>
>>>> But feel free to send a patch for it.
>>>
>>> Confusing me is the package name, I can't find the help from
>>> guix doc?
>>>
>>> which one is better?
>>>
>>> 1. "webkitgtk3.0" 
>>> 2. "webkitgtk3"
>>> 3. "webkigtk_3.0"
>> The package name (field) should still be 'webkitgtk',
>> For the variable name, I think we can choose 'webkitgtk-2.4/gtk+-3'.
>
> run "guix build webkitgtk-2.4/gtk+-3"
>
> Seem have some problem:
>
> ---------------
> guix build: error: build failed: invalid character `/' in name 
> `webkitgtk-2.4/gtk+-3-guile-builder'
> --------------
By default, 'guix build NAME-SPEC' match the package by name field.
In this case, to select a package by variable name, we can use:

  $ guix build -e '(@ (gnu packages webkit) webkitgtk-2.4/gtk+-3'

Please see the 'Invoke guix build' section of the Guix manaual for
more information.

Reply via email to