From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: bug#34107: Kdenlive searched-for paths Date: Wed, 16 Jan 2019 18:01:14 +0000 (GMT) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjpkY-0003cL-Mk for bug-guix@gnu.org; Wed, 16 Jan 2019 13:17:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjpkW-0006Sf-JR for bug-guix@gnu.org; Wed, 16 Jan 2019 13:17:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjpkN-0006JG-2u for bug-guix@gnu.org; Wed, 16 Jan 2019 13:17:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjpkM-0001pC-K6 for bug-guix@gnu.org; Wed, 16 Jan 2019 13:17:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:57682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjpk5-0003GK-5v for bug-guix@gnu.org; Wed, 16 Jan 2019 13:16:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjpV7-0007Wx-WA for bug-guix@gnu.org; Wed, 16 Jan 2019 13:01:20 -0500 Received: from aibo.runbox.com ([91.220.196.211]:43092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjpV7-0007Vo-3k for bug-guix@gnu.org; Wed, 16 Jan 2019 13:01:17 -0500 Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gjpV4-0004MG-S0 for bug-guix@gnu.org; Wed, 16 Jan 2019 19:01:14 +0100 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1gjpV4-0007V1-RA for bug-guix@gnu.org; Wed, 16 Jan 2019 19:01:14 +0100 Content-Disposition: inline Received: from [Authenticated user (850733)] by runbox.com with http (RMM6); for ; Wed, 16 Jan 2019 18:01:14 GMT List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34107@debbugs.gnu.org There are a few issues with Kdenlive I've found, mostly relating to finding= paths for things: It doesn't know where to look for mlt profiles by default, so it asks the u= ser in a popup where to look for them - the default suggestion in the popup= is incorrect (constructed like '/bin/share/mlt/profiles). Th= e correct path is found with `$(guix build mlt)/share/mlt/profiles`. It stores this path in the '[env]' section of ~/.config/kdenliverc, which i= t autogenerates. If it doesn't find the mlt profiles in this stored path wh= en run, it asks the user to specify the path in the popup again. It also stores other paths it needs that it finds, like the path to ffmpeg = (to the relative guix profiles they're in, e.g. /run/current-system/profile= and ~/.guix-profile. I don't know if this is an issue, I think it will jus= t try to find these other paths again if they're invalid when starting kden= live. One way to fix the mlt path not being found is by wrapping the kdenlive exe= cutable with an additional CLI flag `--mlt-path /share/mlt/pro= files`. It would maybe better to use an environment variable (which could e= ither be wrapped, or if propagated could allow additional mlt profiles to b= e added to the guix profile) but I couldn't find one for specifying the pat= h to the mlt profiles. ----- Another issue is that it heavily uses the icons from the breeze-icons packa= ge (which it gives a warning if not found), and these need to be installed = to the user's profile (not tested with system profile) as kdenlive doesn't = find them when running `guix environment --ad-hoc kdenlive breeze-icons -- = kdenlive` It also gives the warning ``` No LADSPA plugins were found! Check your LADSPA_PATH environment variable. ``` which is gotten rid of by running kdenlive with `LADSPA_PATH=3D$(guix build= ladspa)/lib/ladspa kdenlive`. This environment variable could also be adde= d to the kdenlive wrapper, and/or added as a search path.=