* [bug#68306] [PATCH 1/3] gnu: Add rust-evdev-0.11.
2024-01-07 15:58 [bug#68306] [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11 Troy Figiel
@ 2024-01-07 11:41 ` Troy Figiel
2024-01-07 11:49 ` [bug#68306] [PATCH 3/3] gnu: Add rust-xkbcommon-0.5 Troy Figiel
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-07 11:41 UTC (permalink / raw)
To: 68306
* gnu/packages/crates-io.scm (rust-evdev-0.11): New variable.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bfd8fb143..578d40c781 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25515,6 +25515,19 @@ (define-public rust-evdev-0.12
(description "This package provides evdev interface for Linux.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-evdev-0.11
+ (package
+ (inherit rust-evdev-0.12)
+ (name "rust-evdev")
+ (version "0.11.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "evdev" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zknxkgkyh9fx3mq4div9kcgvgsiy91vzd5sq7bdinsn467sfx65"))))))
+
(define-public rust-event-listener-2
(package
(name "rust-event-listener")
--
2.42.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#68306] [PATCH 3/3] gnu: Add rust-xkbcommon-0.5.
2024-01-07 15:58 [bug#68306] [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11 Troy Figiel
2024-01-07 11:41 ` [bug#68306] [PATCH 1/3] gnu: Add rust-evdev-0.11 Troy Figiel
@ 2024-01-07 11:49 ` Troy Figiel
2024-01-07 11:55 ` [bug#68306] [PATCH 2/3] gnu: rust-evdev-0.12: Update home-page Troy Figiel
2024-01-18 7:45 ` bug#68306: [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11 Efraim Flashner
3 siblings, 0 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-07 11:49 UTC (permalink / raw)
To: 68306
* gnu/packages/crates-io.scm (rust-xkbcommon-0.5): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb52318538..4f5966ef25 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Steve George <steve@futurile.net>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -103,6 +104,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
+ #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages webkit)
@@ -90486,6 +90488,30 @@ (define-public rust-xi-unicode-0.3
including a line breaking iterator.")
(license license:asl2.0)))
+(define-public rust-xkbcommon-0.5
+ (package
+ (name "rust-xkbcommon")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkbcommon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "123b96fbp693z43z2f2gbadb9dzf523n2d21j3izcaz9k6sjbnsj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memmap2" ,rust-memmap2-0.7))
+ #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11))))
+ (inputs (list libxkbcommon))
+ (home-page "https://github.com/rust-x-bindings/xkbcommon-rs")
+ (synopsis "Rust bindings and wrappers for @code{libxkbcommon}")
+ (description "This package provides a set of bindings and safe wrappers
+for @code{libxkbcommon}.")
+ (license license:expat)))
+
(define-public rust-xml-rs-0.8
(package
(name "rust-xml-rs")
--
2.42.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#68306] [PATCH 2/3] gnu: rust-evdev-0.12: Update home-page.
2024-01-07 15:58 [bug#68306] [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11 Troy Figiel
2024-01-07 11:41 ` [bug#68306] [PATCH 1/3] gnu: Add rust-evdev-0.11 Troy Figiel
2024-01-07 11:49 ` [bug#68306] [PATCH 3/3] gnu: Add rust-xkbcommon-0.5 Troy Figiel
@ 2024-01-07 11:55 ` Troy Figiel
2024-01-18 7:45 ` bug#68306: [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11 Efraim Flashner
3 siblings, 0 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-07 11:55 UTC (permalink / raw)
To: 68306
* gnu/packages/crates-io.scm (rust-evdev-0.12): Update home-page.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 578d40c781..bb52318538 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25510,7 +25510,7 @@ (define-public rust-evdev-0.12
#:cargo-development-inputs
(("rust-itertools" ,rust-itertools-0.10)
("rust-tokio" ,rust-tokio-1))))
- (home-page "https://github.com/cmr/evdev")
+ (home-page "https://github.com/emberian/evdev")
(synopsis "Rust interface to Linux event devices")
(description "This package provides evdev interface for Linux.")
(license (list license:asl2.0 license:expat))))
--
2.42.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#68306: [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11
2024-01-07 15:58 [bug#68306] [PATCH 0/3] Add rust-xkbcommon-0.5 and rust-evdev-0.11 Troy Figiel
` (2 preceding siblings ...)
2024-01-07 11:55 ` [bug#68306] [PATCH 2/3] gnu: rust-evdev-0.12: Update home-page Troy Figiel
@ 2024-01-18 7:45 ` Efraim Flashner
3 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2024-01-18 7:45 UTC (permalink / raw)
To: Troy Figiel; +Cc: 68306-done
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
Thanks. Patches applied to the rust-team branch.
On Sun, Jan 07, 2024 at 04:58:32PM +0100, Troy Figiel wrote:
> This patch series adds rust-xkbcommon-0.5 and its dependency rust-evdev-0.11. It also fixes a linting issue for rust-evdev-0.12.
>
> These are not the latest versions, since they are dependencies of shotman, which I am trying to package in the meantime.
>
> Troy Figiel (3):
> gnu: Add rust-evdev-0.11.
> gnu: rust-evdev-0.12: Update home-page.
> gnu: Add rust-xkbcommon-0.5.
>
> gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++++++++-
> 1 file changed, 40 insertions(+), 1 deletion(-)
>
>
> base-commit: b212e6934643e085f168a5364cb593f61aa616ba
> --
> 2.42.0
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread