GNU bug report logs - #75347
[PATCH] gnu: surfraw: Update to 2.3.0-0.ebb8131.

Previous Next

Package: guix-patches;

Reported by: Cayetano Santos <csantosb <at> inventati.org>

Date: Sat, 4 Jan 2025 10:10:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75347 in the body.
You can then email your comments to 75347 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75347; Package guix-patches. (Sat, 04 Jan 2025 10:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cayetano Santos <csantosb <at> inventati.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 04 Jan 2025 10:10:02 GMT) Full text and rfc822 format available.

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

From: Cayetano Santos <csantosb <at> inventati.org>
To: guix-patches <at> gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [PATCH] gnu: surfraw: Update to 2.3.0-0.ebb8131.
Date: Sat,  4 Jan 2025 11:06:08 +0100
* gnu/packages/web.scm (surfraw): Update to 2.3.0-0.ebb8131.

Change-Id: I5ee1766f78b20281454efcd75feca75ecdad2d4f
Signed-off-by: Cayetano Santos <csantosb <at> inventati.org>
---

Updated to latest commit, fixing issues. Current release dates back from 7 years ago, and is broken.

- update home page
- updated to git fetch
- include a couple of required native inputs

 gnu/packages/web.scm | 74 +++++++++++++++++++++++---------------------
 1 file changed, 38 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 8f816acfd9..752f71ddef 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6420,44 +6420,46 @@ (define-public netsurf
     (license license:gpl2+)))
 
 (define-public surfraw
-  (package
-    (name "surfraw")
-    (version "2.3.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
-                           "2de827b2786ef2fe43b6f07913ca7b7f/"
-                           "surfraw-" version ".tar.gz"))
-       (sha256
-        (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'patch-perl
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((perl (assoc-ref inputs "perl")))
-               (substitute* "surfraw.IN"
-                 (("perl -e")
-                  (string-append perl "/bin/perl -e")))
-               #t)))
-         (add-after 'install 'compress-elvi.1sr
-           (lambda* (#:key outputs #:allow-other-keys)
-             ;; The manpages of the elvis are symlinks to elvi.1sr.gz
-             ;; but elvi.1sr does not get compressed by our manpage phase.
-             (let* ((out (assoc-ref %outputs "out"))
-                    (man (string-append out "/share/man/man1")))
-               (with-directory-excursion man
-                 (invoke "gzip" "elvi.1sr"))))))))
-    (inputs
-     (list perl perl-www-opensearch perl-html-parser perl-libwww))
-    (synopsis "Unix command line interface to the www")
-    (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
+  (let ((commit "ebb8131c7c623ef90d3345cd9d64203693861013")
+        (revision "0"))
+    (package
+      (name "surfraw")
+      (version (git-version "2.3.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/surfraw/Surfraw/")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1y3qybbyv8fnfpaw76xkh1b53pd7dvx1zr9pj71df649g4kbbibs"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:phases (modify-phases %standard-phases
+                    (add-before 'configure 'patch-perl
+                      (lambda* (#:key inputs #:allow-other-keys)
+                        (let ((perl (assoc-ref inputs "perl")))
+                          (substitute* "surfraw.IN"
+                            (("perl -e")
+                             (string-append perl "/bin/perl -e"))) #t)))
+                    (add-after 'install 'compress-elvi.1sr
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        ;; The manpages of the elvis are symlinks to elvi.1sr.gz
+                        ;; but elvi.1sr does not get compressed by our manpage phase.
+                        (let* ((out (assoc-ref %outputs "out"))
+                               (man (string-append out "/share/man/man1")))
+                          (with-directory-excursion man
+                            (invoke "gzip" "elvi.1sr"))))))))
+      (native-inputs (list autoconf automake))
+      (inputs (list perl perl-www-opensearch perl-html-parser perl-libwww))
+      (synopsis "Unix command line interface to the www")
+      (description
+       "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
 provides a unix command line interface to a variety of popular www search engines
 and similar services.")
-    (home-page "https://surfraw.alioth.debian.org/")
-    (license license:public-domain)))
+      (home-page "http://surfraw.org/")
+      (license license:public-domain))))
 
 (define-public darkhttpd
   (package

base-commit: 321edcf0744a8895690579e8a5b09b66c75d102c
--
2.47.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 27 Jan 2025 13:45:02 GMT) Full text and rfc822 format available.

Notification sent to Cayetano Santos <csantosb <at> inventati.org>:
bug acknowledged by developer. (Mon, 27 Jan 2025 13:45:02 GMT) Full text and rfc822 format available.

Message #10 received at 75347-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Cayetano Santos <csantosb <at> inventati.org>
Cc: 75347-done <at> debbugs.gnu.org
Subject: Re: [bug#75347] [PATCH] gnu: surfraw: Update to 2.3.0-0.ebb8131.
Date: Mon, 27 Jan 2025 14:44:16 +0100
Cayetano Santos <csantosb <at> inventati.org> skribis:

> * gnu/packages/web.scm (surfraw): Update to 2.3.0-0.ebb8131.
>
> Change-Id: I5ee1766f78b20281454efcd75feca75ecdad2d4f
> Signed-off-by: Cayetano Santos <csantosb <at> inventati.org>

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Feb 2025 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 172 days ago.

Previous Next


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