From patchwork Tue Sep 7 01:02:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 32685 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C159427BBE3; Tue, 7 Sep 2021 02:03:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8551827BBE1 for ; Tue, 7 Sep 2021 02:03:30 +0100 (BST) Received: from localhost ([::1]:52068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNPWL-0003cx-KE for patchwork@mira.cbaines.net; Mon, 06 Sep 2021 21:03:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNPVw-0003aq-4O for guix-patches@gnu.org; Mon, 06 Sep 2021 21:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNPVv-0005AF-Rw for guix-patches@gnu.org; Mon, 06 Sep 2021 21:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNPVv-0004cw-P2 for guix-patches@gnu.org; Mon, 06 Sep 2021 21:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50445] [PATCHES wip-gnome v1 4/4] gnu: gtksourceview@3: Adjust inherited fields and update to 3.24.11. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Sep 2021 01:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50445 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 50445@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 50445-submit@debbugs.gnu.org id=B50445.163097655517722 (code B ref 50445); Tue, 07 Sep 2021 01:03:03 +0000 Received: (at 50445) by debbugs.gnu.org; 7 Sep 2021 01:02:35 +0000 Received: from localhost ([127.0.0.1]:54841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNPVT-0004bh-27 for submit@debbugs.gnu.org; Mon, 06 Sep 2021 21:02:35 -0400 Received: from out1.migadu.com ([91.121.223.63]:15651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNPVP-0004bE-5n for 50445@debbugs.gnu.org; Mon, 06 Sep 2021 21:02:31 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1630976550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=896+D7Xlo2ImROpIq/85xpsWx7oz+H9cTBO545k2BP4=; b=lZqZSrv5hztf60CObFk/RYUt7KAzQ4rshlitxpvhCd5vkurR/QlEXpefFU0qot8Gq3cTdA STjN5JLwKzAeuN04LC99dpzICiMVFHjDRiIs+I/qP1TsIsghV4ImGiRak/7jDa5au8gRDp LiE9SUC4Hi7IHHZymbnV1axtfOwNi/dgIEZ1UaX8x+BXpxaU6NjzbrjtK6G5wTLrLOVTU+ fXFVbjgtIqvH1sj0TFAUeVIOX5MU8Dh3e8XCa2NZnJnyQ1pwITHdBvb7Sjuy9+5KoaNQVK TU+R7fJhepz+FPKpbo5z+VrBfIWErvhgNjmQqaYs4PWPxlHiTdA3fexq1iQp/g== Date: Mon, 6 Sep 2021 21:02:17 -0400 Message-Id: <20210907010217.12746-4-rg@raghavgururajan.name> In-Reply-To: <20210907010217.12746-1-rg@raghavgururajan.name> References: <20210907010217.12746-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gtk.scm (gtksourceview-3)[version]: Update to 3.24.11. [build-system]: New field. [arguments]: New field. --- gnu/packages/gtk.scm | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 0a80671629..c12ac512bc 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -614,7 +614,7 @@ highlighting and other features typical of a source code editor.") (define-public gtksourceview-3 (package (inherit gtksourceview) (name "gtksourceview") - (version "3.24.10") + (version "3.24.11") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -622,7 +622,39 @@ highlighting and other features typical of a source code editor.") name "-" version ".tar.xz")) (sha256 (base32 - "16ym7jwiki4s1pilwr4incx0yg7ll94f1cajrnpndkxxs36hcm5b")))))) + "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list + ,@(if (%current-target-system) + ;; If true, gtkdoc-scangobj will try to execute a + ;; cross-compiled binary. + '("--disable-gtk-doc") + '("--enable-gtk-doc")) + (string-append "--with-html-dir=" + (assoc-ref %outputs "doc") + "/share/gtk-doc/html")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-docbook-xml + (lambda* (#:key inputs native-inputs outputs #:allow-other-keys) + (substitute* (find-files "docs" "\\.xml\\.in$") + (("http://www.oasis-open.org/docbook/xml/4.3/") + (string-append + (assoc-ref (or native-inputs inputs) "docbook-xml-4.3") + "/xml/dtd/docbook/"))))) + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1") + ;; Tests write to $HOME. + (setenv "HOME" (getcwd)) + ;; Tests look for $XDG_RUNTIME_DIR. + (setenv "XDG_RUNTIME_DIR" (getcwd)) + ;; For missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0")))))))) (define-public gdk-pixbuf (package