guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

286/311: gnu: rust-tectonic-bridge-harfbuzz-0.2: Update to 0.2.8.


From: guix-commits
Subject: 286/311: gnu: rust-tectonic-bridge-harfbuzz-0.2: Update to 0.2.8.
Date: Sat, 28 Oct 2023 16:39:41 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 83a2811a49fdc71319fc5104880a06b1e88ab932
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Oct 28 15:51:30 2023 +0300

    gnu: rust-tectonic-bridge-harfbuzz-0.2: Update to 0.2.8.
    
    * gnu/packages/crates-io.scm (rust-tectonic-bridge-harfbuzz-0.2): Update
    to 0.2.8.
    [source]: Add snippet to remove bundled harfbuzz, default to external
    harfbuzz.
    [arguments]: Don't skip build.
    [inputs]: Add graphite2, harfbuzz, icu4c.
    [native-inputs]: Add pkg-config.
    
    Change-Id: Ibf330ab9a1dde380af0edc9cb5857991155c55c2
---
 gnu/packages/crates-io.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be7c60b680..8c66007865 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74720,22 +74720,30 @@ with no Rust bindings.")
 (define-public rust-tectonic-bridge-harfbuzz-0.2
   (package
     (name "rust-tectonic-bridge-harfbuzz")
-    (version "0.2.2")
+    (version "0.2.8")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tectonic_bridge_harfbuzz" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "01f307014bndmby6prpygzkf7wxdxfrl36pvcw7s5mika7s7bw9k"))))
+        (base32 "18mn8yjrnh2dv7r40ipzj8qzqda09cn3c7dsl7134wv1whn42hvb"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (delete-file-recursively "harfbuzz")
+                 (substitute* "Cargo.toml"
+                   (("external-harfbuzz")
+                    (string-append "default = ['external-harfbuzz']\n"
+                                   "external-harfbuzz")))))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-cc" ,rust-cc-1)
         ("rust-tectonic-bridge-graphite2" ,rust-tectonic-bridge-graphite2-0.2)
         ("rust-tectonic-bridge-icu" ,rust-tectonic-bridge-icu-0.2)
         ("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1))))
+    (inputs (list freetype graphite2 harfbuzz icu4c))
+    (native-inputs (list pkg-config))
     (home-page "https://tectonic-typesetting.github.io/";)
     (synopsis "Expose the Harfbuzz C/C++ APIs to Rust/Cargo")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]