guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: openshot: Use free font.


From: guix-commits
Subject: branch master updated: gnu: openshot: Use free font.
Date: Thu, 03 Jun 2021 02:52:19 -0400

This is an automated email from the git hooks/post-receive script.

leoprikler pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f6a9798  gnu: openshot: Use free font.
f6a9798 is described below

commit f6a979860c4550e35b595d3ecdfc5be490c40836
Author: Leo Prikler <leo.prikler@student.tugraz.at>
AuthorDate: Thu Jun 3 08:49:18 2021 +0200

    gnu: openshot: Use free font.
    
    * gnu/packages/video.scm (openshot)[inputs]: Use font-dejavu.
    [patch-font-location]: Adjust accordingly.
---
 gnu/packages/video.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2e9f9e3..d85a404 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4535,7 +4535,7 @@ API.  It includes bindings for Python, Ruby, and other 
languages.")
     (build-system python-build-system)
     (inputs
      `(("ffmpeg" ,ffmpeg)
-       ("font-ubuntu" ,font-ubuntu)
+       ("font-dejavu" ,font-dejavu)
        ("libopenshot" ,libopenshot)
        ("python" ,python)
        ("python-pyqt" ,python-pyqt)
@@ -4556,10 +4556,11 @@ API.  It includes bindings for Python, Ruby, and other 
languages.")
                       (invoke "python" "src/tests/query_tests.py")))
                   (add-after 'unpack 'patch-font-location
                     (lambda* (#:key inputs #:allow-other-keys)
-                      (let ((font (assoc-ref inputs "font-ubuntu")))
+                      (let ((font (assoc-ref inputs "font-dejavu")))
                         (substitute* "src/classes/app.py"
                           (("info.IMAGES_PATH") (string-append "\"" font "\""))
-                          (("fonts") "share/fonts/truetype")))
+                          (("fonts") "share/fonts/truetype")
+                          (("[A-Za-z_-]+.ttf") "DejaVuSans.ttf")))
                       #t))
                   (add-before 'install 'set-tmp-home
                     (lambda _



reply via email to

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