GNU bug report logs - #42114
[PATCH] gnu: Add plover.

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Sun, 28 Jun 2020 22:55:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 42114 in the body.
You can then email your comments to 42114 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#42114; Package guix-patches. (Sun, 28 Jun 2020 22:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 28 Jun 2020 22:55:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add plover.
Date: Mon, 29 Jun 2020 00:53:46 +0200
* gnu/local.mk (plover): New variable.
(GNU_SYSTEM_MODULES): Add stenography.scm.
---
 gnu/local.mk                 |  1 +
 gnu/packages/stenography.scm | 65 ++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 gnu/packages/stenography.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 8bb56010c2..967f86fb7b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -504,6 +504,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/stalonetray.scm			\
   %D%/packages/statistics.scm			\
   %D%/packages/stb.scm				\
+  %D%/packages/stenography.scm			\
   %D%/packages/storage.scm			\
   %D%/packages/suckless.scm			\
   %D%/packages/swig.scm				\
diff --git a/gnu/packages/stenography.scm b/gnu/packages/stenography.scm
new file mode 100644
index 0000000000..f0193da25f
--- /dev/null
+++ b/gnu/packages/stenography.scm
@@ -0,0 +1,65 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages stenography)
+  #:use-module (guix build-system python)
+  #:use-module (guix git-download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages check)
+  #:use-module (gnu packages libusb)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages wxwidgets))
+
+(define-public plover
+  (package
+    (name "plover")
+    (version "3.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/openstenoproject/plover.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "114rlxvq471fyifwcdcgdad79ak7q3w2lk8z9nqhz1i9fg05721c"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (native-inputs
+     `(("python2-mock" ,python2-mock)
+       ("python2-pytest" ,python2-pytest)
+       ("python2-setuptools-scm" ,python2-setuptools-scm)))
+    (inputs
+     `(("python2-appdirs" ,python2-appdirs)
+       ("python2-dbus" ,python2-dbus)
+       ("python2-hidapi" ,python2-hidapi)
+       ("python2-pyserial" ,python2-pyserial)
+       ("python2-wxpython" ,python2-wxpython)
+       ("python2-xlib" ,python2-xlib)))
+    (home-page "https://www.openstenoproject.org/plover/")
+    (synopsis "Stenography engine")
+    (description
+     "Plover (rhymes with @emph{lover}) is a desktop application that
+allows anyone to use stenography to write on their computer, up to
+speeds of 200WPM and beyond.")
+    (license license:gpl2+)))
+
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#42114; Package guix-patches. (Sun, 05 Jul 2020 09:48:01 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 42114 <at> debbugs.gnu.org
Subject: Re: [bug#42114] [PATCH] gnu: Add plover.
Date: Sun, 05 Jul 2020 11:47:42 +0200
Hello Nicolas,

> +    (arguments
> +     `(#:python ,python-2))
> +    (native-inputs
> +     `(("python2-mock" ,python2-mock)
> +       ("python2-pytest" ,python2-pytest)
> +       ("python2-setuptools-scm" ,python2-setuptools-scm)))
> +    (inputs
> +     `(("python2-appdirs" ,python2-appdirs)
> +       ("python2-dbus" ,python2-dbus)
> +       ("python2-hidapi" ,python2-hidapi)
> +       ("python2-pyserial" ,python2-pyserial)
> +       ("python2-wxpython" ,python2-wxpython)
> +       ("python2-xlib" ,python2-xlib)))

It seems that this packages supports Python 3, any particular reason to
stick with Python 2 revision?

Otherwise, this looks fine.

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#42114; Package guix-patches. (Mon, 06 Jul 2020 13:04:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 42114 <at> debbugs.gnu.org
Subject: Re: [bug#42114] [PATCH] gnu: Add plover.
Date: Mon, 06 Jul 2020 15:03:03 +0200
Hello,

Mathieu Othacehe <othacehe <at> gnu.org> writes:

>> +    (arguments
>> +     `(#:python ,python-2))
>> +    (native-inputs
>> +     `(("python2-mock" ,python2-mock)
>> +       ("python2-pytest" ,python2-pytest)
>> +       ("python2-setuptools-scm" ,python2-setuptools-scm)))
>> +    (inputs
>> +     `(("python2-appdirs" ,python2-appdirs)
>> +       ("python2-dbus" ,python2-dbus)
>> +       ("python2-hidapi" ,python2-hidapi)
>> +       ("python2-pyserial" ,python2-pyserial)
>> +       ("python2-wxpython" ,python2-wxpython)
>> +       ("python2-xlib" ,python2-xlib)))
>
> It seems that this packages supports Python 3, any particular reason to
> stick with Python 2 revision?

Thank you for the review.

What makes you think it supports Python 3? It seems yet-to-be-released
4.0 will do, but not the stable 3.1.1, AFAIK. In any case, using Python
3, two tests fail in the same manner:

                   try:
                        this = chr(ESCAPES[this][1])
                    except KeyError:
                        if c in ASCIILETTERS:
    >                       raise s.error('bad escape %s' % this, len(this))
    E                       re.error: bad escape \c at position 1


Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#42114; Package guix-patches. (Mon, 06 Jul 2020 15:10:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 42114 <at> debbugs.gnu.org
Subject: Re: [bug#42114] [PATCH] gnu: Add plover.
Date: Mon, 06 Jul 2020 17:09:13 +0200
Hello Nicolas,

> What makes you think it supports Python 3? It seems yet-to-be-released
> 4.0 will do, but not the stable 3.1.1, AFAIK. In any case, using Python
> 3, two tests fail in the same manner:

You're right, I was fooled by Ubuntu which is packaging a development
version[1]. Feel free to proceed with your patch.

Thanks,

Mathieu

[1]: https://packages.ubuntu.com/focal/plover




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 07 Jul 2020 16:53:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
bug acknowledged by developer. (Tue, 07 Jul 2020 16:53:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 42114-done <at> debbugs.gnu.org
Subject: Re: [bug#42114] [PATCH] gnu: Add plover.
Date: Tue, 07 Jul 2020 18:52:25 +0200
Hello,

Mathieu Othacehe <othacehe <at> gnu.org> writes:

> You're right, I was fooled by Ubuntu which is packaging a development
> version[1]. Feel free to proceed with your patch.

Applied. I'll keep an eye on the 4.0 release.

Thank ou for the review.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Aug 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 6 days ago.

Previous Next


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