Subject: bug#45079: closed (Re: [bug#45079] [PATCH 3/3] gnu: rav1e: Update to 0.3.4.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 07 Dec 2020 08:51:02 +0000

Your bug report

#45079: [PATCH 1/3] gnu: Add rust-aom-sys-0.2.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
45079: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45079
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#45079] [PATCH 3/3] gnu: rav1e: Update to 0.3.4.
From: Nicolas Goaziou <[email-masked]>
To: Antoine Côté <[email-masked]>
Cc: [email-masked]
Date: Mon, 07 Dec 2020 09:50:38 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Antoine Côté <[email-masked]> writes:

> * gnu/packages/video.scm (rav1e): Update to 0.3.4.
> [arguments]: In cargo-inputs replace rust-aom-sys-0.1 with 0.2,
> rust-nasm-rs-0.1 with 0.2.

Applied from another bug report.

Regards,

Subject: [PATCH 1/3] gnu: Add rust-aom-sys-0.2.
From: Antoine Côté <[email-masked]>
To: [email-masked]
Date: Sun, 6 Dec 2020 09:45:50 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): New variable.
(rust-aom-sys-0.1): Inherit from rust-aom-sys-0.2.
---
gnu/packages/crates-graphics.scm | 37 +++++++++++++++++++++++++++-----
1 file changed, 32 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm
b/gnu/packages/crates-graphics.scm
index 9a755d46b4..02bf7b27a4 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Tobias Geerinckx-Rice <[email-masked]>
;;; Copyright © 2020 Leo Famulari <[email-masked]>
;;; Copyright © 2020 Nicolas Goaziou <[email-masked]>
+;;; Copyright © 2020 Antoine Côté <[email-masked]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -167,8 +168,38 @@ text or blue underlined text, on ANSI terminals.")
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
(arguments `())))
+(define-public rust-aom-sys-0.2
+ (package
+ (name "rust-aom-sys")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aom-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bindgen" ,rust-bindgen-0.54)
+ ("rust-metadeps" ,rust-metadeps-1.1))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libaom" ,libaom)
+ ("clang" ,clang)
+ ("llvm" ,llvm)))
+ (home-page "https://github.com/rust-av/aom-rs")
+ (synopsis "FFI bindings to aom")
+ (description "This package provides FFI bindings to aom.")
+ (license license:expat)))
+
(define-public rust-aom-sys-0.1
(package
+ (inherit rust-aom-sys-0.2)
(name "rust-aom-sys")
(version "0.1.4")
(source
@@ -190,11 +221,7 @@ text or blue underlined text, on ANSI terminals.")
(inputs
`(("libaom" ,libaom)
("clang" ,clang)
- ("llvm" ,llvm)))
- (home-page "https://github.com/rust-av/aom-rs")
- (synopsis "FFI bindings to aom")
- (description "This package provides FFI bindings to aom.")
- (license license:expat)))
+ ("llvm" ,llvm)))))
(define-public rust-ascii-canvas-2
(package

-- 
2.29.2