Bug#1104028: bookworm-pu: package mlt/7.12.0-1+deb12u1
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: mlt@packages.debian.org
Control: affects -1 + src:mlt
The bug submitter noticed that two function calls are not migrated to the
new naming schema.
[ Reason ]
The bug makes the python part of this package unuseable for most users
[ Tests ]
Manual
[ Risks ]
None
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
I have replaced both _mlt. with _mlt7.
diff -Nru mlt-7.12.0/debian/changelog mlt-7.12.0/debian/changelog
--- mlt-7.12.0/debian/changelog 2022-11-22 15:11:24.000000000 +0100
+++ mlt-7.12.0/debian/changelog 2025-04-24 13:01:51.000000000 +0200
@@ -1,3 +1,11 @@
+mlt (7.12.0-1+deb12u1) bookworm; urgency=medium
+
+ * Add patch 01-wrong-python-function to fix not migrated python3-mlt function
+ calls.
+ Closes: #1104027
+
+ -- Patrick Matthäi <pmatthaei@debian.org> Thu, 24 Apr 2025 13:01:51 +0200
+
mlt (7.12.0-1) unstable; urgency=medium
* New upstream release.
diff -Nru mlt-7.12.0/debian/patches/01-wrong-python-function.diff mlt-7.12.0/debian/patches/01-wrong-python-function.diff
--- mlt-7.12.0/debian/patches/01-wrong-python-function.diff 1970-01-01 01:00:00.000000000 +0100
+++ mlt-7.12.0/debian/patches/01-wrong-python-function.diff 2025-04-24 13:01:51.000000000 +0200
@@ -0,0 +1,19 @@
+# There are two missing replaced functions in the python3-mlt module.
+# Closes: #1104027
+
+diff -Naur mlt-7.12.0.orig/src/swig/mlt.i mlt-7.12.0/src/swig/mlt.i
+--- mlt-7.12.0.orig/src/swig/mlt.i 2022-11-19 20:57:22.000000000 +0100
++++ mlt-7.12.0/src/swig/mlt.i 2025-04-24 12:59:57.571166597 +0200
+@@ -69,10 +69,10 @@
+
+ #if defined(SWIGPYTHON)
+ %feature("shadow") Frame::get_waveform(int, int) %{
+- def get_waveform(*args): return _mlt.frame_get_waveform(*args)
++ def get_waveform(*args): return _mlt7.frame_get_waveform(*args)
+ %}
+ %feature("shadow") Frame::get_image(mlt_image_format&, int&, int&) %{
+- def get_image(*args): return _mlt.frame_get_image(*args)
++ def get_image(*args): return _mlt7.frame_get_image(*args)
+ %}
+ #endif
+
diff -Nru mlt-7.12.0/debian/patches/series mlt-7.12.0/debian/patches/series
--- mlt-7.12.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ mlt-7.12.0/debian/patches/series 2025-04-24 13:01:51.000000000 +0200
@@ -0,0 +1 @@
+01-wrong-python-function.diff
Reply to: