[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44492] [PATCH v2 27/52] gnu: Add rust-pangocairo-sys-0.11.
From: |
Leo Prikler |
Subject: |
[bug#44492] [PATCH v2 27/52] gnu: Add rust-pangocairo-sys-0.11. |
Date: |
Sun, 28 Feb 2021 23:37:47 +0100 |
* gnu/packages/crates-gtk.scm (rust-pangocairo-sys-0.11): New variable.
---
gnu/packages/crates-gtk.scm | 53 ++++++++++++++++++++++++++++++++-----
1 file changed, 47 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b7eb62b0d3..42bfadb54b 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1805,8 +1805,54 @@ converts raw links to http links and strips unwanted
tags.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-pangocairo-sys-0.11
+ (package
+ (name "rust-pangocairo-sys")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "167b1z6ns3lw1dqfq3mnhmknf7isi5vacp2fp0rh4bwcd5zwkk4l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.10)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'fix-version-requirements
+ (lambda* (#:key inputs vendor-dir #:allow-other-keys)
+ (substitute*
+ (map
+ (lambda (dir) (string-append dir "/Cargo.toml"))
+ (find-files vendor-dir "system-deps.*" #:directories? #t))
+ (("0.0.10") ,(package-version rust-version-compare-0.0)))
+ #t)))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("cairo" ,cairo)
+ ("glib" ,glib)
+ ("pango" ,pango)))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to pangocairo")
+ (description "This package provides FFI bindings to pangocairo.")
+ (license license:expat)))
+
(define-public rust-pangocairo-sys-0.10
(package
+ (inherit rust-pangocairo-sys-0.11)
(name "rust-pangocairo-sys")
(version "0.10.1")
(source
@@ -1818,7 +1864,6 @@ converts raw links to http links and strips unwanted
tags.")
(sha256
(base32
"1zlyf5vajarnxg5034b8qa5w5zajv96lfvlgiki26svpmcqip4m3"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
@@ -1830,8 +1875,4 @@ converts raw links to http links and strips unwanted
tags.")
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(inputs
- `(("gtk+" ,gtk+)))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgtk-3")
- (description "This package provides FFI bindings to libgtk-3.")
- (license license:expat)))
+ `(("gtk+" ,gtk+)))))
--
2.30.1
- [bug#44492] [PATCH v2 15/52] gnu: Add rust-gstreamer-base-sys-0.8., (continued)
- [bug#44492] [PATCH v2 15/52] gnu: Add rust-gstreamer-base-sys-0.8., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 20/52] gnu: Add rust-gstreamer-player-0.15., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 23/52] gnu: Add rust-gstreamer-pbutils-0.15., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 22/52] gnu: Add rust-gstreamer-pbutils-sys-0.8., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 21/52] gnu: Add rust-gstreamer-audio-sys-0.8., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 25/52] gnu: Add rust-ammonia-3., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 24/52] gnu: Add rust-markup5ever-rcdom-0.1., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 28/52] gnu: Add rust-pangocairo-0.10., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 29/52] gnu: Add rust-letter-avatar-1., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 26/52] gnu: Add rust-html2pango-0.3., Leo Prikler, 2021/02/28
- [bug#44492] [PATCH v2 27/52] gnu: Add rust-pangocairo-sys-0.11.,
Leo Prikler <=
- [bug#44492] [PATCH 51/52] gnu: Add rust-letter-avatar-for-fractal., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 52/52] gnu: Add fractal., Leo Prikler, 2021/02/24