bug-guix
[Top][All Lists]
Advanced

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

bug#57990: Add package: python-mat2 (remove metadata from images to impr


From: Maxime Devos
Subject: bug#57990: Add package: python-mat2 (remove metadata from images to improve privacy)
Date: Thu, 22 Sep 2022 20:57:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0



On 22-09-2022 13:38, Dr. Arne Babenhauserheide wrote:

Tobias Geerinckx-Rice <me@tobias.gr> writes:

can I express "any version of ffmpeg"?

No, this would go against the goals of Guix: packages can't depend on 
properties of the environment they'll end up in (if any).

What’s the right way to deal with this, then? I need ffmpeg at as
propagated-input, but I do not want to create a conflict with a manifest
that just defines "ffmpeg".

In one my replies, I have proposed a method that avoids propagating ffmpeg:

To avoid profile collisions when the user installed a different version of 
ffmpeg (e.g. ffmpeg@5) in their profile, could you modify the code to look at a 
/gnu/store/.../bin/ffmpeg instead?  Likewise for bubblewrap, gdk-pixbuf, 
poppler and librsvg, if feasible.

For ffmpeg, the following function needs to be modified:

https://0xacab.org/jvoisin/mat2/-/blob/master/libmat2/video.py#L139

(substitute* + search-input-file can be useful).

Greetings,
Maxime.

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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