Index | Thread | Search

From:
David Uhden Collado <daviduhden@gmail.com>
Subject:
Re: [UPDATE] multimedia/mat2 0.13.4 -> 0.15.0
To:
ports@openbsd.org
Date:
Sat, 19 Sep 2026 02:25:00 +0000

Download raw body.

Thread
David Uhden Collado wrote:
> Hello,
> 
> Please find attached a patch that updates the multimedia/mat2 port from
> version 0.13.4 to 0.15.0.
> 
> The upstream changelog and full list of changes are available at:
> 
> https://github.com/jvoisin/mat2/blob/master/CHANGELOG.md
> https://github.com/jvoisin/mat2/compare/0.13.4...0.15.0
> 
> In short, the changes since 0.13.4 include improved support for modern
> Python versions, MS Office documents, EPUB, ODT, and unusual PDF
> filenames. Support for WebP, AVIF, and JPEG XL files has also been
> added.
> 
> The update improves audio metadata cleaning by removing appended APEv2
> and ID3v1 tags from MP3, OGG, and FLAC files. It also preserves the PDF
> version of cleaned files and avoids reordering elements in Office
> documents, improving compatibility with Microsoft Office.
> 
> Upstream removed Bubblewrap sandboxing in 0.14.0 and removed setup.py in
> 0.15.0 in favor of fully using pyproject.toml. The release also adds
> integration with the Nemo file manager and includes various reliability,
> performance, and compatibility improvements.
> 
> For the port, I added graphics/py-cairo to RUN_DEPENDS and regenerated
> distinfo for the new source archive.
> 
> I also updated the package list for the upstream changes. The removed
> libmat2/bubblewrap.py module and its bytecode files were dropped, and
> the new man page installation layout and packaged documentation were
> added.
> 
> Thank you for your time and consideration.
> 
> Best regards,
> David.

Hello,

Please find attached a revised patch for the multimedia/mat2 update to
version 0.15.0.

The update itself is unchanged from the previous diff. The only
additional change is that HOMEPAGE has been updated from:

https://0xacab.org/jvoisin/mat2

to the project's current upstream location:

https://github.com/jvoisin/mat2

This also makes HOMEPAGE consistent with the source archive and the
upstream changelog and comparison links used in the previous email.

This patch supersedes the one I sent previously.

Thank you for your time and consideration.

Best regards,
David.
Index: multimedia/mat2/Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mat2/Makefile,v
diff -u -p -u -p -r1.4 Makefile
--- multimedia/mat2/Makefile	2 Jun 2025 09:14:27 -0000	1.4
+++ multimedia/mat2/Makefile	19 Sep 2026 01:29:44 -0000
@@ -1,12 +1,11 @@
 COMMENT =		remove metadata from media files
 
-MODPY_DISTV =		0.13.4
+MODPY_DISTV =		0.15.0
 DISTNAME =		mat2-${MODPY_DISTV}
-REVISION =		2
 
 CATEGORIES =		multimedia
 
-HOMEPAGE =		https://0xacab.org/jvoisin/mat2
+HOMEPAGE =		https://github.com/jvoisin/mat2
 
 # GPLv3
 PERMIT_PACKAGE =	Yes
@@ -17,6 +16,7 @@ MODPY_PYBUILD =		setuptools
 
 RUN_DEPENDS =		audio/py-mutagen \
 			devel/py-gobject3 \
+			graphics/py-cairo \
 			graphics/ffmpeg \
 			graphics/gdk-pixbuf2 \
 			graphics/libimagequant \
Index: multimedia/mat2/distinfo
===================================================================
RCS file: /cvs/ports/multimedia/mat2/distinfo,v
diff -u -p -u -p -r1.1.1.1 distinfo
--- multimedia/mat2/distinfo	18 Jul 2024 14:42:56 -0000	1.1.1.1
+++ multimedia/mat2/distinfo	19 Sep 2026 01:29:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (mat2-0.13.4.tar.gz) = dEru6STJiYo5f+kwWTuAPFQDib85zSRVO5momswvWQE=
-SIZE (mat2-0.13.4.tar.gz) = 47947
+SHA256 (mat2-0.15.0.tar.gz) = BzLfMuu9gA46aAM5+gSclmJOWUMMndv0E2rYJFnvYjE=
+SIZE (mat2-0.15.0.tar.gz) = 53936
Index: multimedia/mat2/pkg/PLIST
===================================================================
RCS file: /cvs/ports/multimedia/mat2/pkg/PLIST,v
diff -u -p -u -p -r1.4 PLIST
--- multimedia/mat2/pkg/PLIST	23 Oct 2025 13:20:06 -0000	1.4
+++ multimedia/mat2/pkg/PLIST	19 Sep 2026 01:29:44 -0000
@@ -1,4 +1,6 @@
 bin/mat2
+lib/python${MODPY_VERSION}/site-packages/doc/
+lib/python${MODPY_VERSION}/site-packages/doc/mat2.1
 lib/python${MODPY_VERSION}/site-packages/libmat2/
 lib/python${MODPY_VERSION}/site-packages/libmat2/__init__.py
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}/
@@ -10,8 +12,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}archive.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}audio.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}audio.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}bubblewrap.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
-lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}bubblewrap.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}epub.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}epub.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/libmat2/${MODPY_PYCACHE}exiftool.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
@@ -35,7 +35,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/libmat2/abstract.py
 lib/python${MODPY_VERSION}/site-packages/libmat2/archive.py
 lib/python${MODPY_VERSION}/site-packages/libmat2/audio.py
-lib/python${MODPY_VERSION}/site-packages/libmat2/bubblewrap.py
 lib/python${MODPY_VERSION}/site-packages/libmat2/epub.py
 lib/python${MODPY_VERSION}/site-packages/libmat2/exiftool.py
 lib/python${MODPY_VERSION}/site-packages/libmat2/harmless.py
@@ -53,4 +52,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/mat2-${MODPY_DISTV}.dist-info/licenses/
 lib/python${MODPY_VERSION}/site-packages/mat2-${MODPY_DISTV}.dist-info/licenses/LICENSE
 lib/python${MODPY_VERSION}/site-packages/mat2-${MODPY_DISTV}.dist-info/top_level.txt
-@man man/man1/mat2.1
+@mandir share/man/
+share/man/man1/
+@man share/man/man1/mat2.1