From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cJMmEgUHx2ME1AAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 21:37:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sNNlEQUHx2OCsgAAG6o9tA (envelope-from ) for ; Tue, 17 Jan 2023 21:37:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DF4FD3E371 for ; Tue, 17 Jan 2023 21:37:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHshd-00079w-7Q; Tue, 17 Jan 2023 15:37:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHshb-00079h-Hm for guix-patches@gnu.org; Tue, 17 Jan 2023 15:37:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHsha-0001SZ-T3 for guix-patches@gnu.org; Tue, 17 Jan 2023 15:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHsha-00081Y-8z for guix-patches@gnu.org; Tue, 17 Jan 2023 15:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60864] [PATCH v2] gnu: Unify webkitgtk and webkitgtk-next. References: <7fefb08b5d40d00b116f38c519425c95da19a63a.camel@gmail.com> In-Reply-To: <7fefb08b5d40d00b116f38c519425c95da19a63a.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Jan 2023 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60864@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 60864-submit@debbugs.gnu.org id=B60864.167398782130840 (code B ref 60864); Tue, 17 Jan 2023 20:37:02 +0000 Received: (at 60864) by debbugs.gnu.org; 17 Jan 2023 20:37:01 +0000 Received: from localhost ([127.0.0.1]:38382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHshZ-00081J-7z for submit@debbugs.gnu.org; Tue, 17 Jan 2023 15:37:01 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:38872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHshT-000812-UL for 60864@debbugs.gnu.org; Tue, 17 Jan 2023 15:36:59 -0500 Received: by mail-ej1-f68.google.com with SMTP id mg12so5883746ejc.5 for <60864@debbugs.gnu.org>; Tue, 17 Jan 2023 12:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:cc:to:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=l42RZD50Cmge9avQEuWIxP9xmV8DkEO/bVajwLgSp+E=; b=n0TVOPy39Mo9pw0VMtQtARTuOnftXuqkAtU2+GAak3qgJ+jfaqeEiXuIAhzZVrqdAW V1N2N38RJ8Lix/7gzPHD9Gl38k3YCeEADgRYZiBk01jxNxrGl6WnWTxS1Qka9MdZ89sb yXN8oPmQ5CcxFy78XWhZIOBf62dRhQASL5c7Nxfumysviwi4qMJu7eJKveqMcy97JAXL VsIkVyUJDQJxVa5dbuQdtAUxfLmPXPtxaGNccYxLVVM1RyjkAVbH9Mx5KvU5m4L0W53l oI5CVbkScKuAnUl7ZQ80P4Uy3oxjEhUtQEvPCxCsjs3rzKZXPCLgs8QeN22CI8dxLQ4Z TlQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:cc:to:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l42RZD50Cmge9avQEuWIxP9xmV8DkEO/bVajwLgSp+E=; b=fWrv640+Jv7s1SLe5oJftxx98pVp2NWv256QbmE3M2fbThKvw7A4ldHEfCgG4NOQ5E GZsNVcaonu9MjzYNEUGMqsXmRDJCHFnSCETrl2YvuT10xXBUVVewt7i75VUE5fWC9IGW +AUhQF9vEpbU058Zd2N1wr0HGyNnABNnCn9YozZ6i2pYJjQCc/G8loQfQuNsh+4JT7eX yHEvIDsyKZRnyrzeruWSVH4DALr3NV7DwePV1buLlAfpPbenaNxAB4D9HORN/wxHHOZz q+UEUEqq4i5Udocj+ndTjX9t+9JcsP+AQ2iiH3lkcvNyJd1i521lIkTmPiaWF5jhffdi cy3Q== X-Gm-Message-State: AFqh2kqAdQBn6BgzS65d9RM1Ay4U/MulujOpQYhtYG8dM5bvY8NaMB9N sToLQV9NLsw7hiKcifhcjGUsp/Iq93w= X-Google-Smtp-Source: AMrXdXuJqqXmw5mxbkPXVZ8HA9gzoxeDgtj1Cad2E1fLfps9ApF3TMwd8cs+XtUN0d8KSKVH4nb93A== X-Received: by 2002:a17:907:cf48:b0:86b:914a:576 with SMTP id uv8-20020a170907cf4800b0086b914a0576mr4105426ejc.6.1673987810023; Tue, 17 Jan 2023 12:36:50 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id j17-20020a17090623f100b00770812e2394sm11422706ejg.160.2023.01.17.12.36.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 12:36:49 -0800 (PST) From: Liliana Marie Prikler Date: Mon, 16 Jan 2023 18:02:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673987845; a=rsa-sha256; cv=none; b=V77o8j1K5lggbOw3nswgfu8giDmuy3gRS5tSY7T35aIoeqGfaA7Hr2jBpiKNzxHMspfOsH qKd4NOJxK6Ol4v0PNq2Um8+TUnfeZtZra6A+MXII2c0AxXNQIrHHcHGKYUic7f8czIKe5c IQRtgt7KUmcdcorj7th0UGswZ6r4Nabvh6ZDoSh51e1RWqJ4GwcS8DLZT9vutuFRHPvJPX 2vZOznQFeJqCoe8HAm6PF7psfA3f7uZvdoA9ygF6EKf0hNnOynnP03y7fqosNTJKlyeD1Y 3LTbt65gmWxDtszQviV0zQsEnFZonVlT8ZbKLqsYwun2ockFrimclY7wQ8Vzxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=n0TVOPy3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673987845; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=l42RZD50Cmge9avQEuWIxP9xmV8DkEO/bVajwLgSp+E=; b=PTza+WJhYfWLa0KouEIsAFXS09tqSIXJEahhXLsqIDzyJgNOksZC3FIxBCFbWEcw1WECLc 370dzMdHnCbrxPfY11eJBt4KoKQy9VbLo+2ZHsGEArssPspDTSHPR3IIgBdAnhf9u+LeFA 6GUIJN3oIMAtoK95LCIo49pErbXWVe9FFY8rR/jVjcdUmpuTA3hXLD/i1BvDh6fYMCMYE/ zLcNp2R/pGFTpjt5CkLzWjrJSMW7dt56JPxQ1ePJ2t+qqdwRau47/TAz4otB7l7F0jOVSJ GKEjA9aYGM6M+JpGwWwXS6nXk2qdtJJOIMUootrO/f9FwkTfNY6Nfl8LeGrPtw== X-Spam-Score: 5.77 X-Migadu-Queue-Id: DF4FD3E371 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=n0TVOPy3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 5.77 X-TUID: bjJQQBZ5I64x * gnu/packages/webkit.scm (%webkit-version): Update to 2.38.3. (webkitgtk)[source]: Update hash. [arguments]<#:phases>: Add ‘set-CC’. Remove ‘patch-gtk-doc-scan’. [native-inputs]: Remove gtk-doc/stable and docbook-xml. Add gi-docgen. (webkitgtk-next)[name]: Rename to ‘webkitgtk-next’. [source, native-inputs]: Inherit fully. [arguments]<#:phases>: Inherit fully. (wpewebkit)[source]: Update hash. --- In the previous version, I forgot to update teh hash of WPEWebkit. This is now done. Sadly, I've already had two builds failing due to the compiler getting killed near the end. I hope this is just a limitation on my end and not a general feature. Cheers gnu/packages/webkit.scm | 47 +++++++++++------------------------------ 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm index 29f89721b7..35fb5926a3 100644 --- a/gnu/packages/webkit.scm +++ b/gnu/packages/webkit.scm @@ -124,18 +124,18 @@ (define-public wpebackend-fdo engine that uses Wayland for graphics output.") (license license:bsd-2))) -(define %webkit-version "2.36.8") ;webkit2gtk4 +(define %webkit-version "2.38.3") (define-public webkitgtk (package - (name "webkitgtk") + (name "webkitgtk") ; webkit2gtk4 (version %webkit-version) (source (origin (method url-fetch) (uri (string-append "https://www.webkitgtk.org/releases/" name "-" version ".tar.xz")) (sha256 - (base32 "0dq4s0rw3cmsxlv22pc38qdsq4wx2yyq9wgsi4wgw243y9mzpn8a")) + (base32 "0njac0878ksh53gn50phly1vzvj08q7g5aclncv6k324xp8h3w21")) (patches (search-patches "webkitgtk-adjust-bubblewrap-paths.patch")))) (build-system cmake-build-system) @@ -166,6 +166,11 @@ (define-public webkitgtk #:make-flags #~(list "-j" (number->string (max 2 (parallel-job-count)))) #:phases #~(modify-phases %standard-phases + (add-before 'build 'set-CC + (lambda _ + ;; Some Perl scripts check for the CC environment variable, else + ;; use /usr/bin/gcc. + (setenv "CC" #$(cc-for-target)))) (add-after 'unpack 'configure-bubblewrap-store-directory (lambda _ ;; This phase works in tandem with @@ -189,12 +194,6 @@ (define-public webkitgtk ;; the pkg-config search to locate headers. (("pkg_check_modules\\(PC_SYSTEMD QUIET libsystemd") "pkg_check_modules(PC_SYSTEMD QUIET libelogind")))) - (add-after 'unpack 'patch-gtk-doc-scan - (lambda* (#:key native-inputs inputs #:allow-other-keys) - (substitute* (find-files "Source" "\\.sgml$") - (("http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd") - (search-input-file (or native-inputs inputs) - "xml/dtd/docbook/docbookx.dtd"))))) (add-after 'unpack 'embed-absolute-wpebackend-reference (lambda* (#:key inputs #:allow-other-keys) (let ((wpebackend-fdo (assoc-ref inputs "wpebackend-fdo"))) @@ -223,9 +222,7 @@ (define-public webkitgtk perl pkg-config python-wrapper - ;; These are required to build the documentation. - gtk-doc/stable - docbook-xml + gi-docgen ruby)) (propagated-inputs (list gtk+ libsoup)) @@ -282,33 +279,13 @@ (define-public webkitgtk (define-public webkitgtk-next (package (inherit webkitgtk) - (name "webkitgtk") - (version "2.38.3") ;webkit2gtk5 - (source (origin - (inherit (package-source webkitgtk)) - (method url-fetch) - (uri (string-append "https://www.webkitgtk.org/releases/" - name "-" version ".tar.xz")) - (sha256 - (base32 "0njac0878ksh53gn50phly1vzvj08q7g5aclncv6k324xp8h3w21")))) - (build-system cmake-build-system) + (name "webkitgtk-next") ; webkit2gtk5 (arguments (substitute-keyword-arguments (package-arguments webkitgtk) ((#:configure-flags flags) #~(cons* "-DENABLE_INTROSPECTION=ON" "-DUSE_GTK4=ON" - (delete "-DENABLE_GTKDOC=ON" #$flags))) - ((#:phases phases) - #~(modify-phases #$phases - (add-before 'build 'set-CC - (lambda _ - ;; Some Perl scripts check for the CC environment variable, else - ;; use /usr/bin/gcc. - (setenv "CC" "gcc"))))))) - (native-inputs - (modify-inputs (package-native-inputs webkitgtk) - (delete "docbook-xml" "gtk-doc") - (append gi-docgen))) + (delete "-DENABLE_GTKDOC=ON" #$flags))))) (propagated-inputs (modify-inputs (package-propagated-inputs webkitgtk) (replace "gtk+" gtk))) @@ -340,7 +317,7 @@ (define-public wpewebkit (uri (string-append "https://wpewebkit.org/releases/" name "-" version ".tar.xz")) (sha256 - (base32 "1svmvj96c0lhdhs7fndgwchkvv4wyb7gwd4d3fbd1chhr54s6hld")))) + (base32 "160456k4yiml0zn2fxba9qwp94dvvn93z9rqs2qa2lvjxig0gn8x")))) (arguments (substitute-keyword-arguments (package-arguments webkitgtk) ((#:configure-flags flags) -- 2.38.1