guix-commits
[Top][All Lists]
Advanced

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

02/03: website: video-pipeline: Mention 'guix repl'.


From: Ludovic Courtès
Subject: 02/03: website: video-pipeline: Mention 'guix repl'.
Date: Fri, 11 Jun 2021 10:40:49 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix-artwork.

commit ed69806471f9b68017f799e269141cbc7b96a246
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jun 11 16:32:26 2021 +0200

    website: video-pipeline: Mention 'guix repl'.
    
    * website/drafts/video-pipeline.md: Mention 'guix repl'.
---
 website/drafts/video-pipeline.md | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/website/drafts/video-pipeline.md b/website/drafts/video-pipeline.md
index 565a067..4a057e2 100644
--- a/website/drafts/video-pipeline.md
+++ b/website/drafts/video-pipeline.md
@@ -159,7 +159,30 @@ First it defines the source code location of bbb-render as 
an
 Second, it defines `rendering-profile` as a
 
[“profileâ€](https://guix.gnu.org/manual/en/html_node/Getting-Started.html#index-profile)
 containing all the packages needed to run bbb-render’s `make-xges.py`
-script.
+script.  The `specification->manifest` procedure creates a _manifest_
+from a set of packages specs, and likewise `specification->package`
+returns the package that matches a given spec.  You try these things at
+the [`guix
+repl`](https://guix.gnu.org/manual/en/html_node/Invoking-guix-repl.html)
+prompt:
+
+```
+$ guix repl
+GNU Guile 3.0.7
+Copyright (C) 1995-2021 Free Software Foundation, Inc.
+
+Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
+This program is free software, and you are welcome to redistribute it
+under certain conditions; type `,show c' for details.
+
+Enter `,help' for help.
+scheme@(guix-user)> ,use(guix profiles)
+scheme@(guix-user)> ,use(gnu)
+scheme@(guix-user)> (specification->package "guile@2.0")
+$1 = #<package guile@2.0.14 gnu/packages/guile.scm:139 7f416be776e0>
+scheme@(guix-user)> (specifications->manifest '("guile" "gstreamer" "python"))
+$2 = #<<manifest> entries: (#<<manifest-entry> name: "guile" version: "3.0.7" 
…> #<<manifest-entry> name: "gstreamer" version: "1.18.2" …> …)
+```
 
 Last, it defines `video-ges-project` as a function that takes the BBB
 raw data, a start and end time, and produces a `video.ges` file.  There



reply via email to

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