unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* About webkitgtk and gtk
@ 2015-05-25  9:19 Feng Shu
  2015-05-25 10:43 ` 宋文武
  0 siblings, 1 reply; 9+ messages in thread
From: Feng Shu @ 2015-05-25  9:19 UTC (permalink / raw)
  To: guix; +Cc: Feng Shu


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.


-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
  2015-05-25  9:19 About webkitgtk and gtk Feng Shu
@ 2015-05-25 10:43 ` 宋文武
       [not found]   ` <87twv1545r.fsf@163.com>
  2015-05-25 14:35   ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: 宋文武 @ 2015-05-25 10:43 UTC (permalink / raw)
  To: guix; +Cc: Feng Shu

Feng Shu <tumashu@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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
       [not found]   ` <87twv1545r.fsf@163.com>
@ 2015-05-25 11:16     ` 宋文武
       [not found]     ` <87a8wsgbjf.fsf@gmail.com>
  1 sibling, 0 replies; 9+ messages in thread
From: 宋文武 @ 2015-05-25 11:16 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

Hi, you sent mails to me directly without CC to the list.

Feng Shu <tumashu@163.com> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> Feng Shu <tumashu@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'.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
       [not found]       ` <87k2vw6hoo.fsf@163.com>
@ 2015-05-25 11:24         ` 宋文武
       [not found]           ` <87fv6k6gjm.fsf@163.com>
  0 siblings, 1 reply; 9+ messages in thread
From: 宋文武 @ 2015-05-25 11:24 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

Feng Shu <tumashu@163.com> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> 宋文武 <iyzsong@gmail.com> writes:
>>>
>>>> Feng Shu <tumashu@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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
       [not found]           ` <87fv6k6gjm.fsf@163.com>
@ 2015-05-25 13:09             ` 宋文武
  2015-05-25 13:15               ` Feng Shu
  2015-05-26 20:42               ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: 宋文武 @ 2015-05-25 13:09 UTC (permalink / raw)
  To: Feng Shu; +Cc: guix-devel

Feng Shu <tumashu@163.com> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> 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.
>
> I put the below code to module "emacs-snapshot",
>
> #+BEGIN_SRC lisp
>
> (define-public webkitgtk-2.4/gtk+-3.0
>   ;; webkit1 + gtk3
>   (package (inherit webkitgtk-2.4)
>            (name "webkitgtk")
>            (arguments
>             '(#:configure-flags '("--enable-webkit2=no"
>                                   "--with-gtk=3.0")))))
> #+END_SRC
>
> Then run:
>
>    guix build -e '(@ (emacs-snapshot) webkitgtk-2.4/gtk+-3)'
>
>
> error:
>
> #+BEGIN_COMMENT
> guix build: error: failed to evaluate expression `(@ (emacs-snapshot) webkitgtk-2.4/gtk+-3)': (wrong-type-arg "module-variable" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "module" #f) (#f))
>
> #+END_COMMENT
I have no idea about this (CC to the list).

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
  2015-05-25 13:09             ` 宋文武
@ 2015-05-25 13:15               ` Feng Shu
  2015-05-26 20:42               ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Feng Shu @ 2015-05-25 13:15 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

宋文武 <iyzsong@gmail.com> writes:

>> #+BEGIN_COMMENT
>> guix build: error: failed to evaluate expression `(@ (emacs-snapshot) webkitgtk-2.4/gtk+-3)': (wrong-type-arg "module-variable" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "module" #f) (#f))
>>
>> #+END_COMMENT
> I have no idea about this (CC to the list).

Sorry, my type error....

But, I think "webkitgtk-2.4/gtk+-3" is not a convenience name.

-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
  2015-05-25 10:43 ` 宋文武
       [not found]   ` <87twv1545r.fsf@163.com>
@ 2015-05-25 14:35   ` Ludovic Courtès
  2015-05-25 14:56     ` 宋文武
  1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2015-05-25 14:35 UTC (permalink / raw)
  To: 宋文武; +Cc: guix, Feng Shu

宋文武 <iyzsong@gmail.com> skribis:

> 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.

If it’s not used, should we really provide it as a package?
I’d rather avoid it.  WDYT?

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
  2015-05-25 14:35   ` Ludovic Courtès
@ 2015-05-25 14:56     ` 宋文武
  0 siblings, 0 replies; 9+ messages in thread
From: 宋文武 @ 2015-05-25 14:56 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix, Feng Shu

Ludovic Courtès <ludo@gnu.org> writes:

> 宋文武 <iyzsong@gmail.com> skribis:
>
>> The missing one (webkit1 + gtk3.0) is not very useful,
>> deprecated and not commonly used by other projects AFAIK.
>>
I may said it wrong here, what came into my mind is webkit2 + gtk2.
>> But feel free to send a patch for it.
>
> If it’s not used, should we really provide it as a package?
> I’d rather avoid it.  WDYT?
Look like the 'webkit1/gtk3' is needed for the xwidget emacs.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: About webkitgtk and gtk
  2015-05-25 13:09             ` 宋文武
  2015-05-25 13:15               ` Feng Shu
@ 2015-05-26 20:42               ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2015-05-26 20:42 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel, Feng Shu

宋文武 <iyzsong@gmail.com> skribis:

>> Then run:
>>
>>    guix build -e '(@ (emacs-snapshot) webkitgtk-2.4/gtk+-3)'
>>
>>
>> error:
>>
>> #+BEGIN_COMMENT
>> guix build: error: failed to evaluate expression `(@ (emacs-snapshot) webkitgtk-2.4/gtk+-3)': (wrong-type-arg "module-variable" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "module" #f) (#f))

I’ve improved the format of error reports now (this one looks
terrible!), but it’s trying to tell you that the ‘@’ form is misused.

The expected syntax is:

  (@ MODULE VARIABLE)

when MODULE is a valid module name, such as (gnu packages emacs), and
VARIABLE is a variable name.

Here there’s apparently no (emacs-snapshot) module.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-26 20:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25  9:19 About webkitgtk and gtk Feng Shu
2015-05-25 10:43 ` 宋文武
     [not found]   ` <87twv1545r.fsf@163.com>
2015-05-25 11:16     ` 宋文武
     [not found]     ` <87a8wsgbjf.fsf@gmail.com>
     [not found]       ` <87k2vw6hoo.fsf@163.com>
2015-05-25 11:24         ` 宋文武
     [not found]           ` <87fv6k6gjm.fsf@163.com>
2015-05-25 13:09             ` 宋文武
2015-05-25 13:15               ` Feng Shu
2015-05-26 20:42               ` Ludovic Courtès
2015-05-25 14:35   ` Ludovic Courtès
2015-05-25 14:56     ` 宋文武

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).