bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort


From: Eli Zaretskii
Subject: bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort
Date: Thu, 05 Sep 2024 11:14:42 +0300

> Date: Wed, 4 Sep 2024 12:23:28 +0100 (BST)
> From: Peter Oliver <p.d.oliver@mavit.org.uk>
> 
> If my understanding of this bug is correct, newer versions of WebKitGTK 
> reliably crash Emacs, and no-one has been in touch with the WebKitGTK 
> developers, so there are no plans to fix that.
> 
> If that’s the case, how about this attached patch to disable this feature 
> with problematic versions of the library?

> * configure.ac: Accept only webkit2gtk-4.* versions less than 2.41.92.
> ---
>  configure.ac | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 28361be4211..1d0ea314f6a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -4511,10 +4511,11 @@ AC_DEFUN
>  if test "$with_xwidgets" != "no"; then
>    if test "$USE_GTK_TOOLKIT" = "GTK3" && test "$window_system" != "none"; 
> then
>      WEBKIT_REQUIRED=2.12
> -    WEBKIT_MODULES="webkit2gtk-4.1 >= $WEBKIT_REQUIRED"
> +    WEBKIT_BROKEN=2.41.92
> +    WEBKIT_MODULES="webkit2gtk-4.1 >= $WEBKIT_REQUIRED webkit2gtk-4.1 < 
> $WEBKIT_BROKEN"
>      EMACS_CHECK_MODULES([WEBKIT], [$WEBKIT_MODULES])
>      if test "$HAVE_WEBKIT" = "no"; then
> -      WEBKIT_MODULES="webkit2gtk-4.0 >= $WEBKIT_REQUIRED"
> +      WEBKIT_MODULES="webkit2gtk-4.0 >= $WEBKIT_REQUIRED webkit2gtk-4.0 < 
> $WEBKIT_BROKEN"
>        EMACS_CHECK_MODULES([WEBKIT], [$WEBKIT_MODULES])
>      fi
>      HAVE_XWIDGETS=$HAVE_WEBKIT
> -- 
> 2.46.0
> 

Po Lu, any comments to the patch?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]