From patchwork Sun Aug 11 09:29:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 66942 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 79C5827BBE9; Sun, 11 Aug 2024 10:30:44 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A4DC427BBE2 for ; Sun, 11 Aug 2024 10:30:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sd4uH-0008J2-Qo; Sun, 11 Aug 2024 05:30:34 -0400 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 1sd4uG-0008HD-1U for guix-patches@gnu.org; Sun, 11 Aug 2024 05:30:32 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sd4uF-0003ia-Or for guix-patches@gnu.org; Sun, 11 Aug 2024 05:30:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=X9gS84feGdj+Dk0cuYowRNh1x/8+xV5FBLsqhrta6dc=; b=rLsoQjxhIz1St52CT5lVMQbDo2AuzY+otWHTWHTum1uOPI4xdputp99RosWO1kcEmY/0RfkYWAwDHe1luBEs4xGtASczWBqYJItnHKGTwD2jrlDr20nEVM0HDR/a3LePnSAaa4YGntCw2WeZvc3tMG1WBbVQDDGEe8MblvEfkvHY9G1K8j00hJMtIdMXbwrA/e83qbcujRfrHpuXbRWHdwP6UKmpMJvL3BuJbzuaqsfCo45XYw/afjsF5Qbchgiw9YKwMsnKnMy1Gufq/gc807jWoZadp/p9FTI5YUn1P1ADK6+HKs2TcH6o+A7MjOWIRzIHLKILnLkuVIXKrDnrzQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sd4uk-0006Pr-5P for guix-patches@gnu.org; Sun, 11 Aug 2024 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72572] [PATCH] gnu: Add elinks. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Aug 2024 09:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72572@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172336862824615 (code B ref -1); Sun, 11 Aug 2024 09:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2024 09:30:28 +0000 Received: from localhost ([127.0.0.1]:40666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sd4uB-0006Ow-Jt for submit@debbugs.gnu.org; Sun, 11 Aug 2024 05:30:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:41122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sd4u8-0006Om-FM for submit@debbugs.gnu.org; Sun, 11 Aug 2024 05:30:26 -0400 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 1sd4tc-0008Eg-9I for guix-patches@gnu.org; Sun, 11 Aug 2024 05:29:52 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sd4tZ-0003V6-Va for guix-patches@gnu.org; Sun, 11 Aug 2024 05:29:51 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3EC4F41A41 for ; Sun, 11 Aug 2024 11:29:47 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Nq8PqAMuIyi for ; Sun, 11 Aug 2024 11:29:46 +0200 (CEST) Message-ID: <90ca0a57-30bf-2b10-5e27-6b6d3e709cbe@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723368586; bh=yU/1dlfe9AZ8UVCZyzVHqHU1A2hbx4EDTrmTqTn6nDc=; h=Date:To:From:Subject; b=AsgdMJi89IWzwiv4yuq6t0UwyannmGDyaGSHwDhJRZVpOYBrsWXvbKoQVqJSVpHlA mcyoEKCV4Z8xk0xUnUkuyf11sguyy7G6nVh1H81vf1nqkRkx5hgvtvTAo+DEAGVUiW d5XlF+Fv+WVNPKa08UZUVEZbcejaZuz2F9sNqZ0Gt7t7+ClWM0n+0tyjEL+s07v9AJ fBF5dXsntvEZb9+kVqtXY0Fkb55PWaVWh8WNg8L5Z5VitsJgoqdihyfM0ze5nG23px mxa3gMJCIAINdg7Fep+bgQkiF8yBmU+Q4xFZS5Hg2zZAQV5YyTliVsc+fG/+eSghZ/ oMNL6nmA7mULw== Date: Sun, 11 Aug 2024 17:29:22 +0800 MIME-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From e5f84076855745ba103053933beafbd75a4c68d2 Mon Sep 17 00:00:00 2001 Message-ID: From: AwesomeAdam54321 Date: Sun, 11 Aug 2024 17:26:37 +0800 Subject: [PATCH] gnu: Add elinks. * gnu/packages/web-browsers.scm (elinks): New variable. --- gnu/packages/web-browsers.scm | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 4a2b28916d..adb9444dac 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -97,6 +97,7 @@ (define-module (gnu packages web-browsers) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) + #:use-module (gnu packages regex) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages suckless) @@ -105,6 +106,7 @@ (define-module (gnu packages web-browsers) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages webkit) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) (define-public midori @@ -218,6 +220,61 @@ (define-public links ;; linking of the program with openssl. (license license:gpl1+))) +(define-public elinks + (package + (name "elinks") + (version "0.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rkd77/elinks") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ij738y1ig2cdfdim85al9iyqz6cwrfac0zg0mqrqj9af0q25r95")))) + (build-system gnu-build-system) + (arguments + (list + #:configure-flags + #~(list "--enable-finger" + "--enable-html-highlight" + "--enable-gopher" + "--enable-gemini" + "--enable-cgi" + "--enable-bittorrent" + "--enable-nntp" + "--enable-256-colors" + "--enable-true-color" + "--with-brotli" + "--with-lzma" + "--with-libev"))) + (native-inputs + (list autoconf + automake + gnu-gettext + pkg-config)) + (inputs + (list brotli + bzip2 + expat + gnutls + gpm + libev + libgcrypt + libidn + lua + tre + xz + zlib)) + (synopsis "Advanced text mode web browser") + (description "ELinks is a feature-rich program for browsing the web +in text mode. It can render both frames and tables, is highly customisable +and can be extended via Lua scripts. It is like an enhanced Lynx and Links.") + (home-page "http://elinks.cz/") + (license license:gpl2+))) + (define-public luakit (package (name "luakit")