unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43200] Kdenlive Fixes
@ 2020-09-04  8:27 Prafulla Giri
  2020-09-04  9:24 ` bug#43200: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Prafulla Giri @ 2020-09-04  8:27 UTC (permalink / raw)
  To: 43200


[-- Attachment #1.1: Type: text/plain, Size: 555 bytes --]

Esteemed maintainers,

Currently, Kdenlive throws errors regarding 2 things as soon as it starts:
1. ffmpeg, ffprobe and ffplay not being found
2. breeze icon theme not being found

Attached is a patch that addresses the first of these issues.

ffmpeg is added to the input of the package, and the final binary is
wrapped to include the ffmpeg binaries in it's PATH.

As for issue #2, I have sent in (rough) patches that adds the full
breeze-icon theme to guix distribution which should be merged to the tree
before another patch can be sent.

Thank you.

[-- Attachment #1.2: Type: text/html, Size: 736 bytes --]

[-- Attachment #2: 0001-gnu-kdenlive-Add-ffmpeg-to-input-list.patch --]
[-- Type: text/x-patch, Size: 1580 bytes --]

From 65b56b634745a93bf6eb58c6c3cca023c9f5ab14 Mon Sep 17 00:00:00 2001
From: Prafulla Giri <pratheblackdiamond@gmail.com>
Date: Thu, 3 Sep 2020 19:35:14 +0545
Subject: [PATCH] gnu: kdenlive: Add ffmpeg to input list

* gnu/packages/kde.scm (kdenlive): Add ffmpeg to inputs and wrap
the final binary accordingly to have ffmpeg in it's PATH.
[inputs]: Add ffmpeg.
---
 gnu/packages/kde.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 9bc753001e..a9ac23e049 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -155,6 +155,7 @@ This package contains GUI widgets for baloo.")
       (inputs
        `(("shared-mime-info" ,shared-mime-info)
          ("frei0r-plugins" ,frei0r-plugins)
+         ("ffmpeg" ,ffmpeg)
          ("rttr" ,rttr)
          ("mlt" ,mlt)
          ("qtbase" ,qtbase)
@@ -190,8 +191,11 @@ This package contains GUI widgets for baloo.")
                       (qtbase (assoc-ref inputs "qtbase"))
                       (qtdeclarative (assoc-ref inputs "qtdeclarative"))
                       (frei0r (assoc-ref inputs "frei0r-plugins"))
+                      (ffmpeg (assoc-ref inputs "ffmpeg"))
                       (qml "/lib/qt5/qml"))
                  (wrap-program (string-append out "/bin/kdenlive")
+                   `("PATH" ":" prefix
+                     ,(list (string-append ffmpeg "/bin")))
                    `("QT_PLUGIN_PATH" ":" prefix
                      ,(map (lambda (label)
                              (string-append (assoc-ref inputs label)
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#43200: Kdenlive Fixes
  2020-09-04  8:27 [bug#43200] Kdenlive Fixes Prafulla Giri
@ 2020-09-04  9:24 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-09-04  9:24 UTC (permalink / raw)
  To: Prafulla Giri; +Cc: 43200-done

Hi,

Prafulla Giri <pratheblackdiamond@gmail.com> skribis:

> From 65b56b634745a93bf6eb58c6c3cca023c9f5ab14 Mon Sep 17 00:00:00 2001
> From: Prafulla Giri <pratheblackdiamond@gmail.com>
> Date: Thu, 3 Sep 2020 19:35:14 +0545
> Subject: [PATCH] gnu: kdenlive: Add ffmpeg to input list
>
> * gnu/packages/kde.scm (kdenlive): Add ffmpeg to inputs and wrap
> the final binary accordingly to have ffmpeg in it's PATH.
> [inputs]: Add ffmpeg.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-04  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04  8:27 [bug#43200] Kdenlive Fixes Prafulla Giri
2020-09-04  9:24 ` bug#43200: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).