From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kJGMH+5nLmPtNAEAbAwnHQ (envelope-from ) for ; Sat, 24 Sep 2022 04:14:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sGGhH+5nLmMpHQAA9RJhRA (envelope-from ) for ; Sat, 24 Sep 2022 04:14:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0A5243A087 for ; Sat, 24 Sep 2022 04:14:06 +0200 (CEST) Received: from localhost ([::1]:49178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obug9-0007OZ-6D for larch@yhetil.org; Fri, 23 Sep 2022 22:14:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obug7-0007OJ-4T for bug-guix@gnu.org; Fri, 23 Sep 2022 22:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obug6-00068x-Sk for bug-guix@gnu.org; Fri, 23 Sep 2022 22:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obug6-0006zE-GG for bug-guix@gnu.org; Fri, 23 Sep 2022 22:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57990: Add package: python-mat2 (remove metadata from images to improve privacy) Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 24 Sep 2022 02:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57990 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 57990@debbugs.gnu.org, "Dr. Arne Babenhauserheide" , Tobias Geerinckx-Rice Received: via spool by 57990-submit@debbugs.gnu.org id=B57990.166398563926840 (code B ref 57990); Sat, 24 Sep 2022 02:14:02 +0000 Received: (at 57990) by debbugs.gnu.org; 24 Sep 2022 02:13:59 +0000 Received: from localhost ([127.0.0.1]:42006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obug2-0006yq-PM for submit@debbugs.gnu.org; Fri, 23 Sep 2022 22:13:59 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:38589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obufz-0006yY-Sj for 57990@debbugs.gnu.org; Fri, 23 Sep 2022 22:13:57 -0400 Received: by mail-lf1-f41.google.com with SMTP id 10so2870019lfy.5 for <57990@debbugs.gnu.org>; Fri, 23 Sep 2022 19:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=V2Tb5WiAdZd2gYg2DZmoOXeowT9jZMRmaWA4yR8ClB0=; b=itDfJVapCH3mZUwN6XaIormvB1yKpdXuexdkk1/0TaWhGBKMb/Wp3wVp5+s+wWCxIH uASst7A+NX2Nj4iWPkbMENBK2vIgkxhcI5VIfPi1urQxjpWDYfkQXVXHq2bbDU+7MUJQ um0ykqfZx5hx//aOcUXytilibHLCtJZPQZ+bbYrg22T30Waqih6RaT2Im6duGzx4p1iK a3MxAHgQV75T7MYJSlsLoCszUGCs5mdOD3sjxpLr2BKwuWKOCuVYWcvBxCj7ehmV1J6W ovif9lVKEL0hi3AcpJfpweeImBXyxUfHDgFoJZN6qpG3qhj/OxlGgN31mNYHi83ruGoP sE3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=V2Tb5WiAdZd2gYg2DZmoOXeowT9jZMRmaWA4yR8ClB0=; b=MVUiebtLfP9A6QC7XctWk+YGGIPNESfTMjY4u9T1COJJmStSxhNJnzrmuTcyOoVv4Z hDCabHp30SkiHJrULdUwZk4nUkpRZISUjb1GTeTScsWUC3aVEnlxgO5iwMp5qjzFl4L+ 6T0CBIqAYlJfTbI9oVxYd2z02D55sIlWVF4N/8wlBCY5Cu9e/qGdFDarXwPGuCggx1XZ U9edOO9C8U68za0rJRa2MiYc+HOOD0EhIu7gIIWqn4DyD6aGGH06Cy7cRxUHNnWPZjXM nz69Ub/S9Vbj4Vs2ZlOpxaj/vdPLQ+Ky57a6thWdpvI+RY/JyDBtgPRFP30edzazTwGB Y/Yg== X-Gm-Message-State: ACrzQf0TJTm4ldRupQAzRMRVX7qyNPJOq8aOy+Z1FxdbPvYqGaP3N1n/ ShfPfQjzy3zuqZ8chxO93ZhC+jh7zdCcaNoqNXA= X-Google-Smtp-Source: AMsMyM4U3lRMhnF7FcEGeNRpvoLAbeYYRKR6mBHrfYWrHc0XXRiivj7YPtsj11kbaR8z7zCIy8kWRhx6QFcoRzoJjcA= X-Received: by 2002:a05:6512:2308:b0:497:a290:cef6 with SMTP id o8-20020a056512230800b00497a290cef6mr4573080lfu.488.1663985629385; Fri, 23 Sep 2022 19:13:49 -0700 (PDT) MIME-Version: 1.0 References: <8735ckv0fi.fsf@web.de> <8735ckjrgt.fsf@web.de> <87y1ucictz.fsf@web.de> <86633D0F-2A2A-4773-87EA-ED14887DB69F@tobias.gr> <87pmfniboa.fsf@web.de> In-Reply-To: From: Chris Marusich Date: Fri, 23 Sep 2022 19:13:38 -0700 Message-ID: Content-Type: multipart/alternative; boundary="00000000000059da4805e962d880" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663985646; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=V2Tb5WiAdZd2gYg2DZmoOXeowT9jZMRmaWA4yR8ClB0=; b=IOwDdQ/vr02swOhhWjHXJ9SvaOvZPCfVpo32ASHHisZKpiiYOOBivLLEn5YCONqbnPSJyo i9wJtUHXxMdoBYflJ2xt27HITOZqov6tOnluWH3YF3ZQyfRTVmtmtKe9jmvTbycuODcy1G 9C8HKeNkt9jdVoyLDTLfVWoapKanUO+RQG3uTGn/Rlh4vP9ayR1xCRR8SeGrepj+FcW7kj CbVWL+AbEIdJEWy+CZYLobLbweKRdWcadWLd1OIhkINeKQPAJJBIQCsJgshSTMPVgL4YY/ p/npgzV4gumqKvJvtigoXAjvaKalOij11NQ2IcpbXNCVuHoTeVs4QOIW/faQRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663985646; a=rsa-sha256; cv=none; b=HSXdL/GtWbN6a04/12CDQlWGHQCUqlEthbrx1kZ8MhntvsgB8IwvRwcdZYJh7lBUdAuklX uziGTyAf+Ib7csNS3vTIa+8ZWr0H4EiQbulUEOwRlVXB0S0Q3MnfKSnV6ZTjoQmIz9LEIR GaV9ce27rVYTRw9bxgSoDB/8ZIGcE7YG4B6H0jQN6enUqA/IPMS5qfp7wznF3cSnwGQlKD YQAqTxIvXt3+xc+IrDv3hkjrmArMI9q81WRbinyKiPqjejaDM2I2ulejjauU9NWwMYKt+D ob2KRrySHx+Iq6EiF0huXyKHopGAsfHJeCpCRBMMpfkdEbEIGPUq7olRDiSTIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=itDfJVap; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=itDfJVap; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0A5243A087 X-Spam-Score: 5.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZOX44mpcbbZH --00000000000059da4805e962d880 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Apologies for the top post. I noticed this email and wanted to point you to prior work, in case it proves useful: https://issues.guix.gnu.org/31307#14 On Thu, Sep 22, 2022 at 12:24 PM Maxime Devos wrote: > > > On 22-09-2022 13:38, Dr. Arne Babenhauserheide wrote: > > > > Tobias Geerinckx-Rice 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=E2=80=99s 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 manifes= t > > that just defines "ffmpeg". > > In one my replies, I have proposed a method that avoids propagating ffmpe= g: > > > 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. > --00000000000059da4805e962d880 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Apologies for the top post.=C2=A0 I noticed this email and= wanted to point you to prior work, in case it proves useful:
On Thu, Sep 22, 2022 at 12:24 PM Maxime Devos= <maximedevos@telenet.be&g= t; wrote:


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 de= pend on properties of the environment they'll end up in (if any).
>
> What=E2=80=99s 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 manife= st
> 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 versio= n of ffmpeg (e.g. ffmpeg@5) in their profile, could you modify the code to = look at a /gnu/store/.../bin/ffmpeg instead?=C2=A0 Likewise for bubblewrap,= gdk-pixbuf, poppler and librsvg, if feasible.
>
> For ffmpeg, the following function needs to be modified:
>
> https://0xacab.org/jvoisin/m= at2/-/blob/master/libmat2/video.py#L139
>
> (substitute* + search-input-file can be useful).

Greetings,
Maxime.
--00000000000059da4805e962d880--