From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 28 18:54:06 2020 Received: (at submit) by debbugs.gnu.org; 28 Jun 2020 22:54:07 +0000 Received: from localhost ([127.0.0.1]:47195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpgBX-000583-67 for submit@debbugs.gnu.org; Sun, 28 Jun 2020 18:54:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:35394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpgBR-00057Z-G7 for submit@debbugs.gnu.org; Sun, 28 Jun 2020 18:54:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpgBR-0001tO-5C for guix-patches@gnu.org; Sun, 28 Jun 2020 18:53:57 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:58475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpgBM-0008Uk-71 for guix-patches@gnu.org; Sun, 28 Jun 2020 18:53:56 -0400 X-Originating-IP: 185.131.40.67 Received: from saiph.lan (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E047E20003 for ; Sun, 28 Jun 2020 22:53:48 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] gnu: Add plover. Date: Mon, 29 Jun 2020 00:53:46 +0200 Message-Id: <20200628225346.22751-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/28 18:53:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) * 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 +;;; +;;; 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 . + +(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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 05:47:51 2020 Received: (at 42114) by debbugs.gnu.org; 5 Jul 2020 09:47:51 +0000 Received: from localhost ([127.0.0.1]:60043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1js1FX-0001je-E2 for submit@debbugs.gnu.org; Sun, 05 Jul 2020 05:47:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1js1FV-0001jR-Q9 for 42114@debbugs.gnu.org; Sun, 05 Jul 2020 05:47:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59415) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1js1FQ-0001GC-Bx; Sun, 05 Jul 2020 05:47:44 -0400 Received: from [2a01:e0a:fa:a50:84fd:6270:81db:82dd] (port=54820 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1js1FP-0007vu-E1; Sun, 05 Jul 2020 05:47:43 -0400 From: Mathieu Othacehe To: Nicolas Goaziou Subject: Re: [bug#42114] [PATCH] gnu: Add plover. References: <20200628225346.22751-1-mail@nicolasgoaziou.fr> Date: Sun, 05 Jul 2020 11:47:42 +0200 In-Reply-To: <20200628225346.22751-1-mail@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 29 Jun 2020 00:53:46 +0200") Message-ID: <871rlqjnsx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42114 Cc: 42114@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 09:03:14 2020 Received: (at 42114) by debbugs.gnu.org; 6 Jul 2020 13:03:14 +0000 Received: from localhost ([127.0.0.1]:33778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsQmA-0005ov-Cw for submit@debbugs.gnu.org; Mon, 06 Jul 2020 09:03:14 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsQm7-0005od-0t for 42114@debbugs.gnu.org; Mon, 06 Jul 2020 09:03:13 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id B3E342000C; Mon, 6 Jul 2020 13:03:04 +0000 (UTC) From: Nicolas Goaziou To: Mathieu Othacehe Subject: Re: [bug#42114] [PATCH] gnu: Add plover. References: <20200628225346.22751-1-mail@nicolasgoaziou.fr> <871rlqjnsx.fsf@gnu.org> Date: Mon, 06 Jul 2020 15:03:03 +0200 In-Reply-To: <871rlqjnsx.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 05 Jul 2020 11:47:42 +0200") Message-ID: <874kqk7q48.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42114 Cc: 42114@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Mathieu Othacehe 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 11:09:26 2020 Received: (at 42114) by debbugs.gnu.org; 6 Jul 2020 15:09:26 +0000 Received: from localhost ([127.0.0.1]:34648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsSkH-0000WK-N8 for submit@debbugs.gnu.org; Mon, 06 Jul 2020 11:09:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsSkG-0000W8-Cx for 42114@debbugs.gnu.org; Mon, 06 Jul 2020 11:09:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56220) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsSkA-0000ZL-8L; Mon, 06 Jul 2020 11:09:18 -0400 Received: from lfbn-ann-1-356-169.w86-200.abo.wanadoo.fr ([86.200.73.169]:41696 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jsSk9-000803-Ha; Mon, 06 Jul 2020 11:09:18 -0400 From: Mathieu Othacehe To: Nicolas Goaziou Subject: Re: [bug#42114] [PATCH] gnu: Add plover. References: <20200628225346.22751-1-mail@nicolasgoaziou.fr> <871rlqjnsx.fsf@gnu.org> <874kqk7q48.fsf@nicolasgoaziou.fr> Date: Mon, 06 Jul 2020 17:09:13 +0200 In-Reply-To: <874kqk7q48.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 06 Jul 2020 15:03:03 +0200") Message-ID: <874kqk7k9y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42114 Cc: 42114@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 07 12:52:36 2020 Received: (at 42114-done) by debbugs.gnu.org; 7 Jul 2020 16:52:36 +0000 Received: from localhost ([127.0.0.1]:36634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsqpg-0002K2-0K for submit@debbugs.gnu.org; Tue, 07 Jul 2020 12:52:36 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:57207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsqpc-0002Jo-Qh for 42114-done@debbugs.gnu.org; Tue, 07 Jul 2020 12:52:34 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id B840340003; Tue, 7 Jul 2020 16:52:26 +0000 (UTC) From: Nicolas Goaziou To: Mathieu Othacehe Subject: Re: [bug#42114] [PATCH] gnu: Add plover. References: <20200628225346.22751-1-mail@nicolasgoaziou.fr> <871rlqjnsx.fsf@gnu.org> <874kqk7q48.fsf@nicolasgoaziou.fr> <874kqk7k9y.fsf@gnu.org> Date: Tue, 07 Jul 2020 18:52:25 +0200 In-Reply-To: <874kqk7k9y.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 06 Jul 2020 17:09:13 +0200") Message-ID: <87h7uj5kty.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42114-done Cc: 42114-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Mathieu Othacehe 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 From unknown Mon Aug 11 18:16:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Aug 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator