GNU bug report logs -
#57990
Add package: python-mat2 (remove metadata from images to improve privacy)
Previous Next
To reply to this bug, email your comments to 57990 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Wed, 21 Sep 2022 22:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 21 Sep 2022 22:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
this packages python-mat2.
[0001-gnu-Add-python-mat2-0.13.0.patch (text/x-patch, inline)]
From 91f85a377361f989900f007fa08cd2a3063175ac Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Thu, 22 Sep 2022 00:12:41 +0200
Subject: [PATCH] gnu: Add python-mat2 0.13.0
* gnu/packages/python-xyz.scm (python-mat2): New variable.
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 92e0c9dbe8..8a5b796145 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -201,6 +201,7 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages maths)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages music)
#:use-module (gnu packages networking)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages node)
@@ -239,6 +240,7 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages video)
+ #:use-module (gnu packages virtualization)
#:use-module (gnu packages web)
#:use-module (gnu packages wxwidgets)
#:use-module (gnu packages base)
@@ -5567,6 +5569,23 @@ (define-public mallard-ducktype
provides additional functionality on the produced Mallard documents.")
(license license:expat)))
+(define-public python-mat2
+ (package
+ (name "python-mat2")
+ (version "0.13.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "mat2" version))
+ (sha256
+ (base32
+ "0zkk6gfjn2rlj5ncbbkc9h5l4qbkvfdlf3n1lpjr03bajrri8dhy"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-mutagen python-pycairo python-pygobject ffmpeg perl-image-exiftool bubblewrap gdk-pixbuf poppler librsvg))
+ (home-page "https://0xacab.org/jvoisin/mat2")
+ (synopsis "A handy tool to trash your metadata")
+ (description "This package provides a handy tool to trash your metadata")
+ (license license:lgpl3+)))
+
(define-public python-cython
(package
(name "python-cython")
--
2.37.3
[Message part 3 (text/plain, inline)]
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Wed, 21 Sep 2022 22:26:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:
> + (propagated-inputs (list python-mutagen python-pycairo python-pygobject ffmpeg perl-image-exiftool bubblewrap gdk-pixbuf poppler librsvg))
My local ffmpeg is ffmpeg-5, but this dependency pulls in ffmpeg-4 — can
I express "any version of ffmpeg"?
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Wed, 21 Sep 2022 22:27:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:
> + (propagated-inputs (list python-mutagen python-pycairo python-pygobject ffmpeg perl-image-exiftool bubblewrap gdk-pixbuf poppler librsvg))
My local ffmpeg is ffmpeg-5, but this dependency pulls in ffmpeg-4 — can
I express "any version of ffmpeg"?
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 06:22:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
> 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).
They must be self-contained, or use standard features like $PATH et al to find optional dependencies at run time, but these will have to be provided by the user/manifest/whatever.
Sorry,
T G-R
Sent on the go. Excuse or enjoy my brevity.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 06:22:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 15:59:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 16:00:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 22-09-2022 00:24, Dr. Arne Babenhauserheide wrote:
>
> "Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:
>
>> + (propagated-inputs (list python-mutagen python-pycairo python-pygobject ffmpeg perl-image-exiftool bubblewrap gdk-pixbuf poppler librsvg))
>
> My local ffmpeg is ffmpeg-5, but this dependency pulls in ffmpeg-4 — can
> I express "any version of ffmpeg"?
This does not answer the question you asked, but if your intention is to
pull in a newer version of ffmpeg, you can write ffmpeg-5 instead of
ffmpeg-4.
Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 17:04:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice <me <at> 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".
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 17:05:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Thu, 22 Sep 2022 18:58:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 22-09-2022 13:38, Dr. Arne Babenhauserheide wrote:
>
> Tobias Geerinckx-Rice <me <at> 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 <at> 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.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Sat, 24 Sep 2022 02:14:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <maximedevos <at> telenet.be>
wrote:
>
>
> On 22-09-2022 13:38, Dr. Arne Babenhauserheide wrote:
> >
> > Tobias Geerinckx-Rice <me <at> 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 <at> 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.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#57990
; Package
guix
.
(Sat, 24 Sep 2022 13:33:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 57990 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> gmail.com> writes:
> 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
Very cool — thank you! That should make it easier for me to follow the
tips.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.