unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: Xinglu Chen <public@yoctocell.xyz>, 50439@debbugs.gnu.org
Subject: [bug#50439] [PATCH] gnu: Add av-98
Date: Fri, 10 Sep 2021 05:14:30 -0800	[thread overview]
Message-ID: <efdec90828ff864ce066735fb3a4a5887fa97626.camel@librehacker.com> (raw)
In-Reply-To: <87k0jqzyte.fsf@yoctocell.xyz>

[-- Attachment #1: Type: text/plain, Size: 3372 bytes --]

Patch has been attached with the requested changes.

-- 
Christopher Howard
Gemini capsule: gemini://gem.librehacker.com
Web version: https://proxy.vulpes.one/gemini/gem.librehacker.com


On Wed, 2021-09-08 at 20:50 +0200, Xinglu Chen wrote:
> On Mon, Sep 06 2021, Christopher Howard wrote:
> 
> > This patch adds `av-98`, a command-line Gemini browser.
> > 
> > -- 
> > Christopher Howard
> > Gemini capsule: gemini://gem.librehacker.com
> > Web version: https://proxy.vulpes.one/gemini/gem.librehacker.com
> > 
> > From 6695c286ef661924f8c666f645be4830dfaff70f Mon Sep 17 00:00:00 2001
> > From: Christopher Howard <christopher@librehacker.com>
> > Date: Mon, 6 Sep 2021 11:42:09 -0800
> > Subject: [PATCH] gnu: Add av-98
> > 
> > * gnu/packages/web-browsers.scm (av-98): New variable.
> > ---
> >  gnu/packages/web-browsers.scm | 19 +++++++++++++++++++
> >  1 file changed, 19 insertions(+)
> > 
> > diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
> > index be4fa61a37..f7faeab89f 100644
> > --- a/gnu/packages/web-browsers.scm
> > +++ b/gnu/packages/web-browsers.scm
> > @@ -19,6 +19,7 @@
> >  ;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
> >  ;;; Copyright © 2021 Alexander Krotov <krotov@iitp.ru>
> >  ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
> > +;;; Copyright © 2021 Christopher Howard <christopher@librehacker.com>
> >  ;;;
> >  ;;; This file is part of GNU Guix.
> >  ;;;
> > @@ -903,3 +904,21 @@ interface.")
> >      (synopsis "Gemini client with a terminal interface")
> >      (description "Telescope is a w3m-like browser for Gemini.")
> >      (license license:x11)))
> > +
> > +(define-public av-98
> > +  (package
> > +    (name "av-98")
> > +    (version "1.0.1")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (pypi-uri "AV-98" version))
> 
> I noticed that the PyPi updater mistakes the package for the ‘av’[1]
> package and says that it can updated to version 8.0.3.
> 
>   /home/yoctocell/src/guix/gnu/packages/web-browsers.scm:911:13: av-98@1.0.1: can be upgraded to 8.0.3
> 
> That’s probably something that should be fixed with the PyPi importer,
> though.
> 
> > +       (sha256
> > +        (base32
> > +         "02fjnc2rvm010gb3i07p8r4xlhrmnv1wca1qymfjcymr7vm68h0i"))))
> > +    (build-system python-build-system)
> > +    (home-page
> > +     "https://tildegit.org/solderpunk/AV-98/")
> 
> No need for a newline.  :-)
> 
> > +    (synopsis "Command line Gemini client")
> > +    (description "Command line Gemini client.")
> 
> The descrption should consist of one or more complete sentences,  see
> “16.4.4 Synopses and Descriptions” in the manual for more details.  I
> suggest (based on the README):
> 
>   AV-98 is an experimental client for the Gemini protocol.  Features
>   include
> 
>   @itemize
>   @item TOFU or CA server certificate validation;
>   @item Extensive client certificate support if an openssl binary is available;
>   @item Ability to specify external handler programs for different MIME types;
>   @item Gopher proxy support;
>   @item Advanced navigation tools like tour and mark (as per VF-1);
>   @item Bookmarks;
>   @item IPv6 support;
>   @item Support for any character encoding recognised by Python.
>   @end itemize
> 
> Otherwise, builds fine and LGTM!
> 
> [1]: <https://pypi.org/project/av/>

[-- Attachment #2: 0001-gnu-Add-av-98.patch --]
[-- Type: text/x-patch, Size: 2030 bytes --]

From 561cdb35e69226c4c86fa611863f6abb82216011 Mon Sep 17 00:00:00 2001
From: Christopher Howard <christopher@librehacker.com>
Date: Fri, 10 Sep 2021 05:07:46 -0800
Subject: [PATCH] gnu: Add av-98

* gnu/packages/web-browsers.scm (av-98): New variable.
---
 gnu/packages/web-browsers.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index be4fa61a37..cda9dee32f 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
 ;;; Copyright © 2021 Alexander Krotov <krotov@iitp.ru>
 ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2021 Christopher Howard <christopher@librehacker.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -903,3 +904,31 @@ interface.")
     (synopsis "Gemini client with a terminal interface")
     (description "Telescope is a w3m-like browser for Gemini.")
     (license license:x11)))
+
+(define-public av-98
+  (package
+    (name "av-98")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "AV-98" version))
+       (sha256
+        (base32
+         "02fjnc2rvm010gb3i07p8r4xlhrmnv1wca1qymfjcymr7vm68h0i"))))
+    (build-system python-build-system)
+    (home-page "https://tildegit.org/solderpunk/AV-98/")
+    (synopsis "Command line Gemini client")
+    (description "AV-98 is an experimental client for the Gemini protocol.
+Features include
+@itemize
+@item TOFU or CA server certificate validation;
+@item Extensive client certificate support if an openssl binary is available;
+@item Ability to specify external handler programs for different MIME types;
+@item Gopher proxy support;
+@item Advanced navigation tools like tour and mark (as per VF-1);
+@item Bookmarks;
+@item IPv6 support;
+@item Support for any character encoding recognised by Python.
+@end itemize")
+    (license license:bsd-2)))
-- 
2.33.0


  parent reply	other threads:[~2021-09-10 13:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 19:48 [bug#50439] [PATCH] gnu: Add av-98 Christopher Howard
2021-09-08 18:50 ` Xinglu Chen
2021-09-08 20:07   ` Christopher Howard
2021-09-10 13:14   ` Christopher Howard [this message]
2021-09-14 15:36     ` Xinglu Chen
2021-09-14 21:53       ` bug#50439: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efdec90828ff864ce066735fb3a4a5887fa97626.camel@librehacker.com \
    --to=christopher@librehacker.com \
    --cc=50439@debbugs.gnu.org \
    --cc=public@yoctocell.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).