* [bug#49703] [PATCH] gnu: Add rust-rot8
@ 2021-07-23 3:27 phodina via Guix-patches via
2021-07-24 13:19 ` Xinglu Chen
2021-07-25 18:44 ` [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1 phodina via Guix-patches via
0 siblings, 2 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-07-23 3:27 UTC (permalink / raw)
To: 49703
---
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6a383156d..07b1de05df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37525,6 +37526,35 @@ text-buffer for applications such as text editors. Ropey is fast, robust, and
can handle huge texts and memory-incoherent edits with ease.")
(license license:expat)))
+(define-public rust-rot8-0.1
+ (package
+ (name "rust-rot8")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rot8" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15mhszk9qy2q49dpab4p0d9d4aph61yshaxjf02mhdx07n9qpnmh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/efernau/rot8")
+ (synopsis
+ "A screen rotation daemon")
+ (description
+ "Automatic rotation for modern Linux screen and input device. Compatible
+with wayland and X11. Uses built-in accelerometer with configurable threshold.")
+ (license license:expat)))
+
(define-public rust-route-recognizer-0.2
(package
(name "rust-route-recognizer")
--
2.31.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#49703] [PATCH] gnu: Add rust-rot8
2021-07-23 3:27 [bug#49703] [PATCH] gnu: Add rust-rot8 phodina via Guix-patches via
@ 2021-07-24 13:19 ` Xinglu Chen
2021-07-25 18:44 ` [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1 phodina via Guix-patches via
1 sibling, 0 replies; 6+ messages in thread
From: Xinglu Chen @ 2021-07-24 13:19 UTC (permalink / raw)
To: phodina, 49703
[-- Attachment #1: Type: text/plain, Size: 1540 bytes --]
On Fri, Jul 23 2021, phodina via Guix-patches via wrote:
> ---
Please write a proper commit message in the GNU ChangeLog format; you
can see the commit log for examples, or read the manual.
<https://www.gnu.org/prep/standards/html_node/Change-Logs.html>
> +(define-public rust-rot8-0.1
> + (package
> + (name "rust-rot8")
> + (version "0.1.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (crate-uri "rot8" version))
> + (file-name
> + (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "15mhszk9qy2q49dpab4p0d9d4aph61yshaxjf02mhdx07n9qpnmh"))))
> + (build-system cargo-build-system)
> + (arguments
> + `(#:cargo-inputs
> + (("rust-clap" ,rust-clap-2)
> + ("rust-glob" ,rust-glob-0.3)
> + ("rust-regex" ,rust-regex-1)
> + ("rust-serde" ,rust-serde-1)
> + ("rust-serde-json" ,rust-serde-json-1))))
> + (home-page "https://github.com/efernau/rot8")
> + (synopsis
> + "A screen rotation daemon")
Avoid articles like “A” or “An” in the synopsis.
> + (description
> + "Automatic rotation for modern Linux screen and input device. Compatible
The description should consist of full sentences, and there should be
two spaces after periods. See the “16.4.4 Synopses and Descriptions” in
the manual for more details. Make sure to run ‘guix lint’ to catch
common mistakes like these. :)
Otherwise, LGTM.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1.
2021-07-23 3:27 [bug#49703] [PATCH] gnu: Add rust-rot8 phodina via Guix-patches via
2021-07-24 13:19 ` Xinglu Chen
@ 2021-07-25 18:44 ` phodina via Guix-patches via
2021-09-18 8:02 ` phodina via Guix-patches via
1 sibling, 1 reply; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-07-25 18:44 UTC (permalink / raw)
To: 49703; +Cc: Xinglu Chen
* gnu/packages/crates-io.scm (rust-rot8-0.1): New variable.
---
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6a383156d..8a2e0e9e84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37525,6 +37526,35 @@ text-buffer for applications such as text editors. Ropey is fast, robust, and
can handle huge texts and memory-incoherent edits with ease.")
(license license:expat)))
+(define-public rust-rot8-0.1
+ (package
+ (name "rust-rot8")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rot8" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15mhszk9qy2q49dpab4p0d9d4aph61yshaxjf02mhdx07n9qpnmh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/efernau/rot8")
+ (synopsis
+ "Screen rotation daemon")
+ (description
+ "Automatic rotation for modern Linux screen and input device. Compatible
+with wayland and X11. Uses built-in accelerometer with configurable threshold.")
+ (license license:expat)))
+
(define-public rust-route-recognizer-0.2
(package
(name "rust-route-recognizer")
--
2.31.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1.
2021-07-25 18:44 ` [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1 phodina via Guix-patches via
@ 2021-09-18 8:02 ` phodina via Guix-patches via
2021-09-20 12:03 ` Xinglu Chen
0 siblings, 1 reply; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-09-18 8:02 UTC (permalink / raw)
To: 49703; +Cc: Xinglu Chen
Hi Xinglu,
anything else to be fixed to upstream this patch?
Petr
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1.
2021-09-18 8:02 ` phodina via Guix-patches via
@ 2021-09-20 12:03 ` Xinglu Chen
2021-09-20 15:20 ` phodina via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: Xinglu Chen @ 2021-09-20 12:03 UTC (permalink / raw)
To: phodina, 49703
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
On Sat, Sep 18 2021, phodina wrote:
> Hi Xinglu,
>
> anything else to be fixed to upstream this patch?
Sorry for taking so long to reply! The patch looks good, except that
the description should consist of full sentences (the first sentence
doesn’t have a subject), something like:
This Rust library implements automatic rotation for modern Linux
screen and input device. Compatible with wayland and X11. Uses
built-in accelerometer with configurable threshold.
The person who commits the patch (I don’t have commit access) can
probably adjust the description for you, so you don’t have to send a
reroll just for this small change. :-)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1.
2021-09-20 12:03 ` Xinglu Chen
@ 2021-09-20 15:20 ` phodina via Guix-patches via
0 siblings, 0 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-09-20 15:20 UTC (permalink / raw)
To: Xinglu Chen; +Cc: 49703
On Monday, September 20th, 2021 at 2:03 PM, Xinglu Chen <public@yoctocell.xyz> wrote:
> On Sat, Sep 18 2021, phodina wrote:
>
> > Hi Xinglu,
> >
> > anything else to be fixed to upstream this patch?
>
> Sorry for taking so long to reply! The patch looks good, except that
>
> the description should consist of full sentences (the first sentence
>
> doesn’t have a subject), something like:
>
> This Rust library implements automatic rotation for modern Linux
>
> screen and input device. Compatible with wayland and X11. Uses
>
> built-in accelerometer with configurable threshold.
>
> The person who commits the patch (I don’t have commit access) can
>
> probably adjust the description for you, so you don’t have to send a
>
> reroll just for this small change. :-)
Thanks! I've looked into the [1] so I hope to write better synopses and description according to the guidelines.
Thanks for your patience and help!
Regards
Petr
[1] https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-09-20 15:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-23 3:27 [bug#49703] [PATCH] gnu: Add rust-rot8 phodina via Guix-patches via
2021-07-24 13:19 ` Xinglu Chen
2021-07-25 18:44 ` [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1 phodina via Guix-patches via
2021-09-18 8:02 ` phodina via Guix-patches via
2021-09-20 12:03 ` Xinglu Chen
2021-09-20 15:20 ` phodina via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.