GNU bug report logs - #61226
Decouple w3m from xdg-utils test suite

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Thu, 2 Feb 2023 11:37:02 UTC

Severity: normal

Tags: patch

Full log


Message #26 received at 61226 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 61226 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: Add a pinned-version variant of w3m.
Date: Fri,  3 Feb 2023 16:21:16 +0100
* gnu/packages/w3m.scm (w3m-for-tests): New variable.
---
 gnu/packages/w3m.scm | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/w3m.scm b/gnu/packages/w3m.scm
index 3efacf7346..73e6417cf2 100644
--- a/gnu/packages/w3m.scm
+++ b/gnu/packages/w3m.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Nikita Karetnikov <nikita <at> karetnikov.org>
-;;; Copyright © 2016, 2017, 2018 Leo Famulari <leo <at> famulari.name>
+;;; Copyright © 2016, 2017, 2018, 2023 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2016 Kei Kebreau <kkebreau <at> posteo.net>
 ;;; Copyright © 2016, 2019 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2018 Rutger Helling <rhelling <at> mykolab.com>
@@ -86,3 +86,21 @@ (define-public w3m
 typesets HTML into plain text.")
     (license (x11-style "file://doc/README"
                         "See 'doc/README' in the distribution."))))
+
+;; Used in the test suite of xdg-utils
+(define-public w3m-for-tests
+  (hidden-package
+   (package
+     (inherit w3m)
+     (name "w3m")
+     (version "0.5.3+git20230121")
+     (source (origin
+               (method git-fetch)
+               ;; Debian's fork of w3m is the only one that is still maintained.
+               (uri (git-reference
+                     (url "https://salsa.debian.org/debian/w3m.git")
+                     (commit (string-append "v" version))))
+               (file-name (git-file-name name version))
+               (sha256
+                (base32
+                 "0nvhxsqxgxjrr62mvxzhhfzvbvg56g19vlqcgb8mh2x1daazk5ms")))))))
-- 
2.38.1





This bug report was last modified 2 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.