From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 17 07:28:10 2022 Received: (at 53311) by debbugs.gnu.org; 17 Jan 2022 12:28:10 +0000 Received: from localhost ([127.0.0.1]:44918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9R7K-0000yy-0V for submit@debbugs.gnu.org; Mon, 17 Jan 2022 07:28:10 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:45070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9R7E-0000yi-QF for 53311@debbugs.gnu.org; Mon, 17 Jan 2022 07:28:09 -0500 Received: from [192.168.179.254] ([188.189.128.58]) by laurent.telenet-ops.be with bizsmtp id joU12600Q1Fk3F801oU1dG; Mon, 17 Jan 2022 13:28:03 +0100 Message-ID: <4cdc6c79871e510b8f22b5d51647c42f537e551f.camel@telenet.be> Subject: Re: [bug#53311] [PATCH] gnu: kdenlive: Update to 21.12.1. From: Maxime Devos To: Vinicius Monego , 53311@debbugs.gnu.org Date: Mon, 17 Jan 2022 12:27:54 +0000 In-Reply-To: <20220116235713.243223-1-monego@posteo.net> References: <20220116235713.243223-1-monego@posteo.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-iaz/s+O3ROwOYyfvE34u" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1642422483; bh=3yxIQ3lWObZ0sT1RhCvh8pFUZ3VIsB8GNnsZSbgIxZI=; h=Subject:From:To:Date:In-Reply-To:References; b=JZqxjzClFh8sScbZgZhXC3xCOO4xu60N5v8qmRk4KQFk9zFGws0oIZpIsas4ffVNL dKJaU3nPn+oiYgn5UkqkYXY+BNMVVs7xhCXrqlLppCK65l4m2rJziHUp8O4D4vnq5x zS0zKO4IlfHHrDMFPRE5zHtfnV1fyPdwc/313ZYF4seaNbpzHh4/N59uiG2uOyny/6 B3ILm9ZF2U/XUEjlLpc4KA9kHuilyuMkel7BbFYZsIOehKh/3AHsZJ1dxIr1b4gBam BE1QCZgiMNtdmAm9wjiMCA+WqRY3fEyx4QmWSSQx6xsT4nfwerHnT2HxyZh6zvM8dq P8xIj4WtzxvXA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53311 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-iaz/s+O3ROwOYyfvE34u Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Vinicius Monego schreef op zo 16-01-2022 om 23:57 [+0000]: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (wrap-program (string-append out "/bin/kdenlive") > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `("PATH" ":" prefix > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ,(list (string-append ffmp= eg "/bin"))) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [...] > [...] > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (wrap-program (string-append out "/bin/kdenlive") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 `("PATH" ":" prefix > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ,(list (string-append ffmpeg "/bin"))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 [...] >=20 >=20 'data/scripts/checkvosk.py' (called from 'src/dialogs/kdenlivesettingsdialog.cpp') has a call to 'python -m pip install', can it be neutralised? There are a few python scripts, are we missing 'python' in inputs? 'ffmpeg' is invoked from a few Python scripts and from C++ code, using ffmpegpath. So FWIW, the absolute path to 'ffmpeg' can be baked in with a few substitute* and by adding a line to the following code in src/core.cpp: if (isAppImage) { QString appPath =3D qApp->applicationDirPath(); KdenliveSettings::setFfmpegpath(QDir::cleanPath(appPath + QStringLi= teral("/ffmpeg"))); KdenliveSettings::setFfplaypath(QDir::cleanPath(appPath + QStringLi= teral("/ffplay"))); KdenliveSettings::setFfprobepath(QDir::cleanPath(appPath + QStringL= iteral("/ffprobe"))); KdenliveSettings::setRendererpath(QDir::cleanPath(appPath + QString= Literal("/melt"))); m_mainWindow->init(QDir::cleanPath(appPath + QStringLiteral("/../sh= are/mlt/profiles"))); } else { // Open connection with Mlt m_mainWindow->init(MltPath); // setFfmpegpath and the like can be set here! } YMMW whether this is an improvement or not. Greetings, Maxime. --=-iaz/s+O3ROwOYyfvE34u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYeVgyhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iWmAQD8Xc7JVNmndv0wjN5m2RzDddGD gc/6zD0TpoDjQcMIGgD/cYMS10tjWrwR2NLatsvSus01ORvQo3MWwos6/uitpQI= =mn5g -----END PGP SIGNATURE----- --=-iaz/s+O3ROwOYyfvE34u--