[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/27: gnu: rust-wayland-sys: Add 0.29.
From: |
guix-commits |
Subject: |
03/27: gnu: rust-wayland-sys: Add 0.29. |
Date: |
Wed, 27 Jul 2022 10:16:21 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit b6242d29f499cf8547783cad4af1cee0fe0bfce6
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jul 27 13:40:55 2022 +0200
gnu: rust-wayland-sys: Add 0.29.
* gnu/packages/crates-graphics.scm (rust-wayland-sys-0.29): New variable.
(rust-wayland-sys-0.28): Inherit from it.
---
gnu/packages/crates-graphics.scm | 51 +++++++++++++++++++++++++++++++++-------
1 file changed, 43 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index da61607266..616a0bf6f7 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2864,35 +2864,36 @@ the wayland protocol, server side.")
("rust-wayland-sys" ,rust-wayland-sys-0.21)
("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
-(define-public rust-wayland-sys-0.28
+(define-public rust-wayland-sys-0.29
(package
(name "rust-wayland-sys")
- (version "0.28.3")
+ (version "0.29.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
+ (base32 "1m2jwk5q36jidwbdmdicmi27r9dzi4wanzg3i28nfxc9kbvisd6r"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-dlib" ,rust-dlib-0.4)
+ (("rust-dlib" ,rust-dlib-0.5)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.6)
("rust-pkg-config" ,rust-pkg-config-0.3))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-libraries
(lambda* (#:key inputs #:allow-other-keys)
- (let ((libwayland (assoc-ref inputs "wayland")))
+ (let ((libwayland (dirname (search-input-file
+ inputs "lib/libwayland-client.so"))))
(substitute* (find-files "src" "\\.rs$")
(("libwayland.*\\.so" shared-lib)
- (string-append libwayland "/lib/" shared-lib)))
- #t))))))
+ (string-append libwayland "/" shared-lib)))))))))
(inputs
- (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2
+ (list rust-dlib-0.5 rust-lazy-static-1 rust-libc-0.2
rust-pkg-config-0.3))
(propagated-inputs
(list wayland))
@@ -2905,6 +2906,40 @@ you are working on custom Wayland protocol extensions.
Look at the
crate @code{rust-wayland-client} for usable bindings.")
(license license:expat)))
+(define-public rust-wayland-sys-0.28
+ (package
+ (inherit rust-wayland-sys-0.29)
+ (name "rust-wayland-sys")
+ (version "0.28.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dlib" ,rust-dlib-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-libraries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libwayland (assoc-ref inputs "wayland")))
+ (substitute* (find-files "src" "\\.rs$")
+ (("libwayland.*\\.so" shared-lib)
+ (string-append libwayland "/lib/" shared-lib)))
+ #t))))))
+ (inputs
+ (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2
+ rust-pkg-config-0.3))
+ (propagated-inputs
+ (list wayland))))
+
(define-public rust-wayland-sys-0.23
(package
(inherit rust-wayland-sys-0.28)
- 12/27: gnu: rust-wayland-protocols: Add 0.29.4., (continued)
- 12/27: gnu: rust-wayland-protocols: Add 0.29.4., guix-commits, 2022/07/27
- 09/27: gnu: rust-memoffset: Add cargo-inputs to inputs., guix-commits, 2022/07/27
- 05/27: gnu: rust-libloading: Add cargo-inputs to inputs., guix-commits, 2022/07/27
- 18/27: gnu: rust-android-log-sys: Add 0.2.0., guix-commits, 2022/07/27
- 15/27: gnu: rust-smithay-client-toolkit: Add 0.15.4., guix-commits, 2022/07/27
- 01/27: gnu: rust-dlib: Add rust-libloading to inputs., guix-commits, 2022/07/27
- 06/27: gnu: rust-libloading: Don't skip build., guix-commits, 2022/07/27
- 11/27: gnu: rust-wayland-server: Add 0.29.4., guix-commits, 2022/07/27
- 23/27: gnu: rust-winit: Add 0.26.1., guix-commits, 2022/07/27
- 27/27: gnu: rust-glium: Add 0.31.0., guix-commits, 2022/07/27
- 03/27: gnu: rust-wayland-sys: Add 0.29.,
guix-commits <=
- 07/27: gnu: rust-nix@0.22: Add dependent packages to inputs., guix-commits, 2022/07/27
- 26/27: gnu: rust-cgmath: Add 0.18.0., guix-commits, 2022/07/27
- 25/27: gnu: rust-glutin: Add 0.28.0., guix-commits, 2022/07/27
- 13/27: gnu: rust-wayland-egl: Add 0.29.4., guix-commits, 2022/07/27
- 20/27: gnu: rust-ndk-sys: Update to 0.2.2., guix-commits, 2022/07/27
- 19/27: gnu: rust-android-logger: Add 0.10.1., guix-commits, 2022/07/27