From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "51730@debbugs.gnu.org" <51730@debbugs.gnu.org>
Subject: [bug#51730] [PATCH 19/21] gnu: Add rust-wl-clipboard-rs-0.4.
Date: Tue, 09 Nov 2021 21:22:09 +0000 [thread overview]
Message-ID: <2UFj5ObV9BKYbYJelqG8tpNRfk2ydikShOoje77XlKyAGsGoiPiiAFRUOl89abm33GcBBeb3SDuj0edL0KDW2LFhblcpI1zjCV2W8jzKB-U=@protonmail.com> (raw)
In-Reply-To: <FwQbYB7i-eS28_2VnUvFdwJqE8pWtciWOeCJvijxRlSSJDmG4DKodkzKkwMxirGHCvWGCQ9qzdsuJPx0Q3NnGBs_xTIm-UYF-4Sg7IRp9tg=@protonmail.com>
* gnu/packages/crates-graphics.scm (rust-wl-clipboard-rs-0.4): New variable.
* gnu/packages/patches/rust-wl-clipboard-rs-newer-wl.patch: New file.
* gnu/local.mk: Add patch.
diff --git a/gnu/local.mk b/gnu/local.mk
index 05258ac054..01a82248f1 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1760,6 +1760,7 @@ dist_patch_DATA = \
%D%/packages/patches/rust-nettle-sys-disable-vendor.patch \
%D%/packages/patches/rust-reproducible-builds.patch \
%D%/packages/patches/rust-openssl-sys-no-vendor.patch \
+ %D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \
%D%/packages/patches/sbc-fix-build-non-x86.patch \
%D%/packages/patches/sbcl-burgled-batteries3-fix-signals.patch\
%D%/packages/patches/sbcl-clml-fix-types.patch \
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index d50056e948..a1ea11416c 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2402,6 +2402,44 @@ (define-public rust-wayland-client-0.21
(("rust-byteorder" ,rust-byteorder-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-wl-clipboard-rs-0.4
+ (package
+ (name "rust-wl-clipboard-rs")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wl-clipboard-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (patches (search-patches "rust-wl-clipboard-rs-newer-wl.patch"))
+ (sha256
+ (base32 "1252cm67pkrr6ik5ys2cdyfr2zzw6ds7v351i1cmyi94yiv01l13"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-derive-new" ,rust-derive-new-0.5)
+ ("rust-derive-more" ,rust-derive-more-0.99)
+ ("rust-exitfailure" ,rust-exitfailure-0.5)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-nix" ,rust-nix-0.18)
+ ("rust-os-pipe" ,rust-os-pipe-0.9)
+ ("rust-stderrlog" ,rust-stderrlog-0.4)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tree-magic" ,rust-tree-magic-0.2)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.28)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
+ (home-page "https://github.com/YaLTeR/wl-clipboard-rs")
+ (synopsis "Access to the Wayland clipboard")
+ (description "This package provides access to the Wayland clipboard
+for terminal and other window-less applications.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-wayland-commons-0.28
(package
(name "rust-wayland-commons")
diff --git a/gnu/packages/patches/rust-wl-clipboard-rs-newer-wl.patch b/gnu/packages/patches/rust-wl-clipboard-rs-newer-wl.patch
new file mode 100644
index 0000000000..9fb692e9a6
--- /dev/null
+++ b/gnu/packages/patches/rust-wl-clipboard-rs-newer-wl.patch
@@ -0,0 +1,26 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index 7b975e0..313cb63 100644
+--- a/Cargo.toml
++++ b/Cargo.toml.new
+@@ -75,17 +75,17 @@ version = "3"
+ version = "0.2"
+
+ [dependencies.wayland-client]
+-version = "0.27"
++version = "0.28"
+
+ [dependencies.wayland-protocols]
+-version = "0.27"
++version = "0.28"
+ features = ["client", "unstable_protocols"]
+ [dev-dependencies.wayland-protocols]
+-version = "0.27"
++version = "0.28"
+ features = ["server", "unstable_protocols"]
+
+ [dev-dependencies.wayland-server]
+-version = "0.27"
++version = "0.28"
+
+ [features]
+ dlopen = ["native_lib", "wayland-client/dlopen", "wayland-server/dlopen"]
--
2.33.1
next prev parent reply other threads:[~2021-11-09 21:23 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 21:10 [bug#51730] [PATCH 01/21] gnu: Add rust-argh-shared-0.1 phodina via Guix-patches via
2021-11-09 21:12 ` [bug#51730] [PATCH 02/21] gnu: Add rust-argh-derive-0.1 phodina via Guix-patches via
2021-11-09 21:13 ` [bug#51730] [PATCH 03/21] gnu: Add rust-argh-0.1 phodina via Guix-patches via
2021-11-09 21:13 ` [bug#51730] [PATCH 04/21] gnu: Add rust-tui-0.16 phodina via Guix-patches via
2021-11-09 21:14 ` [bug#51730] [PATCH 05/21] gnu: Add rust-random-0.12 phodina via Guix-patches via
2021-11-09 21:14 ` [bug#51730] [PATCH 06/21] gnu: Add rust-dotenv-0.13 phodina via Guix-patches via
2021-11-09 21:15 ` [bug#51730] [PATCH 07/21] gnu: Add rust-derive-builder-core-0.5 phodina via Guix-patches via
2021-11-09 21:16 ` [bug#51730] [PATCH 08/21] gnu: Add rust-derive-builder-0.7 phodina via Guix-patches via
2021-11-09 21:17 ` [bug#51730] [PATCH 09/21] gnu: Add rust-rspotify-0.10 phodina via Guix-patches via
2021-11-09 21:17 ` [bug#51730] [PATCH 10/21] gnu: Add rust-winapi-wsapoll-0.1 phodina via Guix-patches via
2021-11-09 21:18 ` [bug#51730] [PATCH 11/21] gnu: Add rust-x11rb-0.8 phodina via Guix-patches via
2021-11-09 21:18 ` [bug#51730] [PATCH 12/21] gnu: Add rust-tree-magic-0.2 phodina via Guix-patches via
2021-11-09 21:19 ` [bug#51730] [PATCH 13/21] gnu: rust-anyhow-1: Update to 1.0.46 phodina via Guix-patches via
2021-11-09 21:19 ` [bug#51730] [PATCH 14/21] gnu: Add rust-atty-0.2.11 phodina via Guix-patches via
2021-11-09 21:19 ` [bug#51730] [PATCH 15/21] gnu: rust-os-pipe-0.9: Update to 0.9.2 phodina via Guix-patches via
2021-11-09 21:20 ` [bug#51730] [PATCH 16/21] gnu: Add rust-simple-logger-1 phodina via Guix-patches via
2021-11-09 21:21 ` [bug#51730] [PATCH 17/21] gnu: Add rust-stderrlog-0.4 phodina via Guix-patches via
2021-11-09 21:21 ` [bug#51730] [PATCH 18/21] gnu: Add rust-thread-local-0.3.4 phodina via Guix-patches via
2021-11-17 17:42 ` Nicolas Goaziou
2021-12-03 14:00 ` phodina via Guix-patches via
2021-11-09 21:22 ` phodina via Guix-patches via [this message]
2021-11-17 17:44 ` [bug#51730] [PATCH 19/21] gnu: Add rust-wl-clipboard-rs-0.4 Nicolas Goaziou
2021-12-03 14:11 ` phodina via Guix-patches via
2021-12-03 20:13 ` Nicolas Goaziou
2021-12-07 22:31 ` phodina via Guix-patches via
2021-12-09 23:36 ` Nicolas Goaziou
2021-11-09 21:22 ` [bug#51730] [PATCH 20/21] gnu: rust-arboard-1: Update to 1.2.1 phodina via Guix-patches via
2021-11-09 21:23 ` [bug#51730] [PATCH 21/21] gnu: Add rust-spotify-tui-0.25 phodina via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='2UFj5ObV9BKYbYJelqG8tpNRfk2ydikShOoje77XlKyAGsGoiPiiAFRUOl89abm33GcBBeb3SDuj0edL0KDW2LFhblcpI1zjCV2W8jzKB-U=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=51730@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.