GNU bug report logs - #49703
[PATCH] gnu: Add rust-rot8

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Fri, 23 Jul 2021 03:28:02 UTC

Severity: normal

Tags: patch

Done: Hilton Chain <hako <at> ultrarare.space>

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 49703 in the body.
You can then email your comments to 49703 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#49703; Package guix-patches. (Fri, 23 Jul 2021 03:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to phodina <phodina <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 23 Jul 2021 03:28:02 GMT) Full text and rfc822 format available.

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

From: phodina <phodina <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add rust-rot8
Date: Fri, 23 Jul 2021 03:27:00 +0000
---
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 <at> kodmin.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#49703; Package guix-patches. (Sat, 24 Jul 2021 13:20:01 GMT) Full text and rfc822 format available.

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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: phodina <phodina <at> protonmail.com>, 49703 <at> debbugs.gnu.org
Subject: Re: [bug#49703] [PATCH] gnu: Add rust-rot8
Date: Sat, 24 Jul 2021 15:19:51 +0200
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49703; Package guix-patches. (Sun, 25 Jul 2021 18:45:01 GMT) Full text and rfc822 format available.

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

From: phodina <phodina <at> protonmail.com>
To: 49703 <at> debbugs.gnu.org
Cc: Xinglu Chen <public <at> yoctocell.xyz>
Subject: Re: [bug#49703][PATCH v2] gnu: Add rust-rot8-0.1.
Date: Sun, 25 Jul 2021 18:44:42 +0000
* 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 <at> kodmin.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#49703; Package guix-patches. (Sat, 18 Sep 2021 08:03:01 GMT) Full text and rfc822 format available.

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

From: phodina <phodina <at> protonmail.com>
To: 49703 <at> debbugs.gnu.org
Cc: Xinglu Chen <public <at> yoctocell.xyz>
Subject: Re: [bug#49703][PATCH v2] gnu: Add rust-rot8-0.1.
Date: Sat, 18 Sep 2021 08:02:12 +0000
Hi Xinglu,

anything else to be fixed to upstream this patch?

Petr




Information forwarded to guix-patches <at> gnu.org:
bug#49703; Package guix-patches. (Mon, 20 Sep 2021 12:04:01 GMT) Full text and rfc822 format available.

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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: phodina <phodina <at> protonmail.com>, 49703 <at> debbugs.gnu.org
Subject: Re: [bug#49703][PATCH v2] gnu: Add rust-rot8-0.1.
Date: Mon, 20 Sep 2021 14:03:23 +0200
[Message part 1 (text/plain, inline)]
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.  :-)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49703; Package guix-patches. (Mon, 20 Sep 2021 15:22:01 GMT) Full text and rfc822 format available.

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

From: phodina <phodina <at> protonmail.com>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49703 <at> debbugs.gnu.org
Subject: Re: [bug#49703][PATCH v2] gnu: Add rust-rot8-0.1.
Date: Mon, 20 Sep 2021 15:20:56 +0000
On Monday, September 20th, 2021 at 2:03 PM, Xinglu Chen <public <at> 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




Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Wed, 30 Apr 2025 16:02:02 GMT) Full text and rfc822 format available.

Notification sent to phodina <phodina <at> protonmail.com>:
bug acknowledged by developer. (Wed, 30 Apr 2025 16:02:02 GMT) Full text and rfc822 format available.

Message #25 received at 49703-close <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 49703-close <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add rust-rot8
Date: Wed, 30 Apr 2025 23:44:52 +0800
This package has been available as ‘rot8’ since 2022.

Closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 May 2025 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 38 days ago.

Previous Next


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