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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Cayetano Santos <csantosb@HIDDEN>; Keywords: patch; dated Sat, 4 Jan 2025 10:10:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jan 2025 10:09:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 05:09:09 2025
Received: from localhost ([127.0.0.1]:53446 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tU15g-0007C0-LW
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 05:09:09 -0500
Received: from lists.gnu.org ([2001:470:142::17]:39648)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <csantosb@HIDDEN>)
 id 1tU15d-0007BU-TO
 for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 05:09:06 -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 <csantosb@HIDDEN>)
 id 1tU15X-0007Aq-Gd
 for guix-patches@HIDDEN; Sat, 04 Jan 2025 05:08:59 -0500
Received: from devianza.investici.org ([2c0f:f930:0:4::108])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <csantosb@HIDDEN>)
 id 1tU15V-0006g4-4T
 for guix-patches@HIDDEN; Sat, 04 Jan 2025 05:08:59 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org;
 s=stigmate; t=1735985330;
 bh=+sb/sAC9SHKA/Khk1xg5IMSpu0dyY6ddheLe48HkjTk=;
 h=From:To:Cc:Subject:Date:From;
 b=KtqoLT9+QNipBSXDcaguUREDq++UQzkuCJG6Wv9uL3GvtlfOLaOs0tdXHEg6LrviT
 23X90kgTiezNJ+dkgnIRXJ/B6kmUDwndPaqrJmSoXVnrktW6TVgu+03rz5viEG+sl1
 7cZg6zHH7DrnlyZIjsR2xjrqU+qncYChUe6d5mTc=
Received: from mx2.investici.org (unknown [127.0.0.1])
 by devianza.investici.org (Postfix) with ESMTP id 4YQGPG4h3mz70XS;
 Sat,  4 Jan 2025 10:08:50 +0000 (UTC)
Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108])
 (Authenticated sender: cayetano.santos@HIDDEN) by localhost (Postfix)
 with ESMTPSA id 4YQGPG20Gcz6vTx; 
 Sat,  4 Jan 2025 10:08:50 +0000 (UTC)
From: Cayetano Santos <csantosb@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: surfraw: Update to 2.3.0-0.ebb8131.
Date: Sat,  4 Jan 2025 11:06:08 +0100
Message-ID: <b161ea1b9d047e99284501dcccce735c012f7d88.1735985168.git.csantosb@HIDDEN>
X-Mailer: git-send-email 2.47.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2c0f:f930:0:4::108;
 envelope-from=csantosb@HIDDEN; helo=devianza.investici.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Cayetano Santos <csantosb@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/packages/web.scm (surfraw): Update to 2.3.0-0.ebb8131.

Change-Id: I5ee1766f78b20281454efcd75feca75ecdad2d4f
Signed-off-by: Cayetano Santos <csantosb@HIDDEN>
---

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





Acknowledgement sent to Cayetano Santos <csantosb@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#75347; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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