unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [patch] Add webkitgtk-2.4/gtk+-3.0.patch
@ 2015-05-25 12:07 Feng Shu
  2015-05-29  8:14 ` 宋文武
  0 siblings, 1 reply; 5+ messages in thread
From: Feng Shu @ 2015-05-25 12:07 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-webkitgtk-2.4-gtk-3.0.patch --]
[-- Type: text/x-diff, Size: 875 bytes --]

From f755ed7e31446c86ed52fc1acfda2f90690688a2 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Mon, 25 May 2015 19:36:28 +0800
Subject: [PATCH] gnu: Add webkitgtk-2.4/gtk+-3.0

---
 gnu/packages/webkit.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index b091c88..ccc2c12 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -140,3 +140,11 @@ HTML/CSS applications to full-fledged web browsers.")
      `(("flex" ,flex)
        ("which" ,which)
        ,@(package-inputs webkitgtk)))))
+
+(define-public webkitgtk-2.4/gtk+-3.0
+  ;; Build webkit1 with gtk3
+  (package (inherit webkitgtk-2.4)
+           (name "webkitgtk")
+           (arguments '(#:configure-flags
+                        '("--enable-webkit2=no"
+                          "--with-gtk=3.0")))))
-- 
2.1.4


[-- Attachment #2: Type: text/plain, Size: 5 bytes --]


-- 

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

* Re: [patch] Add webkitgtk-2.4/gtk+-3.0.patch
  2015-05-25 12:07 [patch] Add webkitgtk-2.4/gtk+-3.0.patch Feng Shu
@ 2015-05-29  8:14 ` 宋文武
  2015-05-29 20:52   ` Feng Shu
  0 siblings, 1 reply; 5+ messages in thread
From: 宋文武 @ 2015-05-29  8:14 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

Feng Shu <tumashu@163.com> writes:

> From f755ed7e31446c86ed52fc1acfda2f90690688a2 Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Mon, 25 May 2015 19:36:28 +0800
> Subject: [PATCH] gnu: Add webkitgtk-2.4/gtk+-3.0
>
> ---
>  gnu/packages/webkit.scm | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
> index b091c88..ccc2c12 100644
> --- a/gnu/packages/webkit.scm
> +++ b/gnu/packages/webkit.scm
> @@ -140,3 +140,11 @@ HTML/CSS applications to full-fledged web browsers.")
>       `(("flex" ,flex)
>         ("which" ,which)
>         ,@(package-inputs webkitgtk)))))
> +
> +(define-public webkitgtk-2.4/gtk+-3.0
> +  ;; Build webkit1 with gtk3
> +  (package (inherit webkitgtk-2.4)
> +           (name "webkitgtk")
> +           (arguments '(#:configure-flags
> +                        '("--enable-webkit2=no"
> +                          "--with-gtk=3.0")))))
> -- 
> 2.1.4
>
>
> -- 
Hi, I update it to webkitgtk-2.4.9, apply and modify your patch, end with:

* webkitgtk
  Unmodified, for upstream 'stable' release.
  GTK3 port with only WebKit2 API.

* webkitgtk-2.4
  Last version with WebKit1 API support (also with WebKit2), GTK3 port.
   
* webkitgtk/gtk+-2
  Last GTK2 port, only support WebKit1 API.

Thanks!

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

* Re: [patch] Add webkitgtk-2.4/gtk+-3.0.patch
  2015-05-29  8:14 ` 宋文武
@ 2015-05-29 20:52   ` Feng Shu
  2015-05-30  2:23     ` 宋文武
  0 siblings, 1 reply; 5+ messages in thread
From: Feng Shu @ 2015-05-29 20:52 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

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

> Hi, I update it to webkitgtk-2.4.9, apply and modify your patch, end with:
>
> * webkitgtk
>   Unmodified, for upstream 'stable' release.
>   GTK3 port with only WebKit2 API.
>
> * webkitgtk-2.4
>   Last version with WebKit1 API support (also with WebKit2), GTK3 port.
>    
> * webkitgtk/gtk+-2
>   Last GTK2 port, only support WebKit1 API.
>

Good job, but after i build emacs-xwidget with webkitgtk-2.4, it can't
open "https://..." ssl url, I don't know the reason, is it the
webkitgtk's problem? How to test it?

-- 

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

* Re: [patch] Add webkitgtk-2.4/gtk+-3.0.patch
  2015-05-29 20:52   ` Feng Shu
@ 2015-05-30  2:23     ` 宋文武
  2015-05-31 19:23       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: 宋文武 @ 2015-05-30  2:23 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

Feng Shu <tumashu@163.com> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> Hi, I update it to webkitgtk-2.4.9, apply and modify your patch, end with:
>>
>> * webkitgtk
>>   Unmodified, for upstream 'stable' release.
>>   GTK3 port with only WebKit2 API.
>>
>> * webkitgtk-2.4
>>   Last version with WebKit1 API support (also with WebKit2), GTK3 port.
>>    
>> * webkitgtk/gtk+-2
>>   Last GTK2 port, only support WebKit1 API.
>>
>
> Good job, but after i build emacs-xwidget with webkitgtk-2.4, it can't
> open "https://..." ssl url, I don't know the reason, is it the
> webkitgtk's problem? How to test it?
webkitgtk based applications use glib-networking to handle 'https',
it's a gio module and used at the runtime.
try:

  $ guix package -i glib-networking
  $ GIO_EXTRA_MODULES=$HOME/.guix-profile/lib/gio/modules emacs

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

* Re: [patch] Add webkitgtk-2.4/gtk+-3.0.patch
  2015-05-30  2:23     ` 宋文武
@ 2015-05-31 19:23       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-05-31 19:23 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel, Feng Shu

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

> Feng Shu <tumashu@163.com> writes:
>
>> 宋文武 <iyzsong@gmail.com> writes:
>>
>>> Hi, I update it to webkitgtk-2.4.9, apply and modify your patch, end with:
>>>
>>> * webkitgtk
>>>   Unmodified, for upstream 'stable' release.
>>>   GTK3 port with only WebKit2 API.
>>>
>>> * webkitgtk-2.4
>>>   Last version with WebKit1 API support (also with WebKit2), GTK3 port.
>>>    
>>> * webkitgtk/gtk+-2
>>>   Last GTK2 port, only support WebKit1 API.
>>>
>>
>> Good job, but after i build emacs-xwidget with webkitgtk-2.4, it can't
>> open "https://..." ssl url, I don't know the reason, is it the
>> webkitgtk's problem? How to test it?
> webkitgtk based applications use glib-networking to handle 'https',
> it's a gio module and used at the runtime.
> try:
>
>   $ guix package -i glib-networking
>   $ GIO_EXTRA_MODULES=$HOME/.guix-profile/lib/gio/modules emacs

Should we arrange so that webkitgtk always adds glib-networking to its
set of GIO modules?

Ludo’.

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

end of thread, other threads:[~2015-05-31 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25 12:07 [patch] Add webkitgtk-2.4/gtk+-3.0.patch Feng Shu
2015-05-29  8:14 ` 宋文武
2015-05-29 20:52   ` Feng Shu
2015-05-30  2:23     ` 宋文武
2015-05-31 19:23       ` Ludovic Courtès

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