Subject: Re: bug#57990: Add package: python-mat2 (remove metadata from images to improve privacy)

From: Maxime Devos <[email-masked]>
Date: Thu, 22 Sep 2022 17:58:24 +0200

On 22-09-2022 00:14, Dr. Arne Babenhauserheide wrote:
> Hi,
> 
> this packages python-mat2.

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.