unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67655] [PATCH]: Update webkitgtk to 2.42.3
@ 2023-12-06  8:10 André A. Gomes
  2023-12-08 18:08 ` Liliana Marie Prikler
  0 siblings, 1 reply; 6+ messages in thread
From: André A. Gomes @ 2023-12-06  8:10 UTC (permalink / raw)
  To: 67655

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

Hi Guix,

Tested the build locally by running the minibrowser and it works fine
(x86-64).  Thanks.

-- 
André A. Gomes
"You cannot even find the ruins..."

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-webkitgtk-Update-to-2.42.3.patch --]
[-- Type: text/x-patch, Size: 1788 bytes --]

From 8db07a63b96ab85312d4560f7faaf6bb6c15fb1c Mon Sep 17 00:00:00 2001
From: "Andre A. Gomes" <andremegafone@gmail.com>
Date: Wed, 6 Dec 2023 10:07:45 +0200
Subject: [PATCH] gnu: webkitgtk: Update to 2.42.3.

* gnu/packages/webkit.scm (webkitgtk): Update to 2.42.3.
---
 gnu/packages/webkit.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 0c82435cde..bcd5ea02fd 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -127,13 +127,13 @@ (define-public wpebackend-fdo
 (define-public webkitgtk
   (package
     (name "webkitgtk")                  ; webkit2gtk4
-    (version "2.40.5")
+    (version "2.42.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://www.webkitgtk.org/releases/"
                                   name "-" version ".tar.xz"))
               (sha256
-               (base32 "0zq32rn34v7hzr53s100r77aglbi6wffp9b13bcj31k6cfi53q3x"))
+               (base32 "1qnq2f6chsfns1psrqbbsqhgyb458zf75nlmzskb6a2n0hq4c6ha"))
               (patches (search-patches
                         "webkitgtk-adjust-bubblewrap-paths.patch"))))
     (build-system cmake-build-system)
@@ -149,6 +149,7 @@ (define-public webkitgtk
       #:build-type "Release"
       #:configure-flags
       #~(list "-DPORT=GTK"
+              "-DUSE_GTK4=OFF"
               ;; GTKDOC will be removed upstream soon in favor of
               ;; gi-docgen; it is normally disabled because the
               ;; doc is rather expensive to build.
@@ -249,6 +250,7 @@ (define-public webkitgtk
            libgcrypt
            libgudev
            libjpeg-turbo
+           libjxl
            libmanette
            libnotify
            libpng
-- 
2.41.0


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

* [bug#67655] [PATCH]: Update webkitgtk to 2.42.3
  2023-12-06  8:10 [bug#67655] [PATCH]: Update webkitgtk to 2.42.3 André A. Gomes
@ 2023-12-08 18:08 ` Liliana Marie Prikler
  2023-12-08 18:41   ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-12-08 18:08 UTC (permalink / raw)
  To: André A. Gomes, 67655

Am Mittwoch, dem 06.12.2023 um 10:10 +0200 schrieb André A. Gomes:
> Hi Guix,
> 
> Tested the build locally by running the minibrowser and it works fine
> (x86-64).  Thanks.
Hi,

> -    (version "2.40.5")
> +    (version "2.42.3")

Unfortunately, this is a GNOME rebuild, so I'm reluctant to push this
directly to master.  What's more, we can not even graft it because the
GTK4 Typelib changed.  Sorry :(

Feel free to rebase this on gnome-team, however.

Cheers




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

* [bug#67655] [PATCH]: Update webkitgtk to 2.42.3
  2023-12-08 18:08 ` Liliana Marie Prikler
@ 2023-12-08 18:41   ` Leo Famulari
  2023-12-08 19:55     ` Liliana Marie Prikler
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2023-12-08 18:41 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: André A. Gomes, 67655

On Fri, Dec 08, 2023 at 07:08:28PM +0100, Liliana Marie Prikler wrote:
> Unfortunately, this is a GNOME rebuild, so I'm reluctant to push this
> directly to master.  What's more, we can not even graft it because the
> GTK4 Typelib changed.  Sorry :(

WebKitGTK is a security-sensitive package with frequent potential for
arbitrary code execution via web content.

My advice is to push it to master ASAP. We used to be able to do that,
btw.




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

* [bug#67655] [PATCH]: Update webkitgtk to 2.42.3
  2023-12-08 18:41   ` Leo Famulari
@ 2023-12-08 19:55     ` Liliana Marie Prikler
  2023-12-12  8:15       ` André A. Gomes
  0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-12-08 19:55 UTC (permalink / raw)
  To: Leo Famulari; +Cc: André A. Gomes, 67655

Am Freitag, dem 08.12.2023 um 13:41 -0500 schrieb Leo Famulari:
> On Fri, Dec 08, 2023 at 07:08:28PM +0100, Liliana Marie Prikler
> wrote:
> > Unfortunately, this is a GNOME rebuild, so I'm reluctant to push
> > this directly to master.  What's more, we can not even graft it
> > because the GTK4 Typelib changed.  Sorry :(
> 
> WebKitGTK is a security-sensitive package with frequent potential for
> arbitrary code execution via web content.
And we normally have the grafting mechanism for just that.  The problem
with WebkitGTK 2.42 is that paths change, so we can't graft it.

> My advice is to push it to master ASAP. We used to be able to do
> that, btw.

From the manual:
> Changes which affect more than 300 dependent packages (*note Invoking
> guix refresh::) should first be pushed to a topic branch other than
> ‘master’
The webkitgtk-* family collectively accounts for more than 600
rebuilds, three of them being webkit (i.e. you'll wait 10 hours while
your machine nearly dies grasping for more RAM).  Even with a graft,
I'd first verify that it builds on CI.

Plus, I don't see how this series accounts for webkitgtk-next, i.e. the
GTK4 variant.  We have that over at gnome-team already, but a
nontrivial amount of work went into getting it into a functional state.
I've cherry-picked them onto a wip-webkit branch now.  Hopefully we can
merge that faster than gnome itself.

Cheers




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

* [bug#67655] [PATCH]: Update webkitgtk to 2.42.3
  2023-12-08 19:55     ` Liliana Marie Prikler
@ 2023-12-12  8:15       ` André A. Gomes
  2023-12-12 17:56         ` Liliana Marie Prikler
  0 siblings, 1 reply; 6+ messages in thread
From: André A. Gomes @ 2023-12-12  8:15 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 67655, Leo Famulari

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> The webkitgtk-* family collectively accounts for more than 600
> rebuilds, three of them being webkit (i.e. you'll wait 10 hours while
> your machine nearly dies grasping for more RAM).  Even with a graft,
> I'd first verify that it builds on CI.
>
> Plus, I don't see how this series accounts for webkitgtk-next, i.e. the
> GTK4 variant.  We have that over at gnome-team already, but a
> nontrivial amount of work went into getting it into a functional state.
> I've cherry-picked them onto a wip-webkit branch now.  Hopefully we can
> merge that faster than gnome itself.

As Leo mentioned, WebKitGTK updates are paramount from a security point
of view.  But I understand the constraints that Liliana mentions.  Is
there anything I can do to help?  It's hard for me to grasp the full
picture that you describe.  Thanks.


-- 
André A. Gomes
"You cannot even find the ruins..."




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

* [bug#67655] [PATCH]: Update webkitgtk to 2.42.3
  2023-12-12  8:15       ` André A. Gomes
@ 2023-12-12 17:56         ` Liliana Marie Prikler
  0 siblings, 0 replies; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-12-12 17:56 UTC (permalink / raw)
  To: André A. Gomes; +Cc: 67655, Leo Famulari

Am Dienstag, dem 12.12.2023 um 10:15 +0200 schrieb André A. Gomes:
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> 
> > The webkitgtk-* family collectively accounts for more than 600
> > rebuilds, three of them being webkit (i.e. you'll wait 10 hours
> > while your machine nearly dies grasping for more RAM).  Even with a
> > graft, I'd first verify that it builds on CI.
> > 
> > Plus, I don't see how this series accounts for webkitgtk-next, i.e.
> > the GTK4 variant.  We have that over at gnome-team already, but a
> > nontrivial amount of work went into getting it into a functional
> > state.
> > I've cherry-picked them onto a wip-webkit branch now.  Hopefully we
> > can merge that faster than gnome itself.
> 
> As Leo mentioned, WebKitGTK updates are paramount from a security
> point of view.  But I understand the constraints that Liliana
> mentions.  Is there anything I can do to help?  It's hard for me to
> grasp the full picture that you describe.  Thanks.
Looking at QA [1] and fixing freshly failing builds as they come along
would be a great help.  Vivien mentioned in both IRC and XMPP that our
old Epiphany fails, so we gotta bump that to a newer version.  I don't
see any other gnome-critical rebuilds (yet), but am staying tuned for
more to come.

Cheers

[1] https://qa.guix.gnu.org/branch/wip-webkit




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

end of thread, other threads:[~2023-12-12 17:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06  8:10 [bug#67655] [PATCH]: Update webkitgtk to 2.42.3 André A. Gomes
2023-12-08 18:08 ` Liliana Marie Prikler
2023-12-08 18:41   ` Leo Famulari
2023-12-08 19:55     ` Liliana Marie Prikler
2023-12-12  8:15       ` André A. Gomes
2023-12-12 17:56         ` Liliana Marie Prikler

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