Merge ~chihchun/+git/mlt:debian-enabling-opencv into ~kdenlive/+git/mlt-old:debian

Proposed by Rex Tsai
Status: Needs review
Proposed branch: ~chihchun/+git/mlt:debian-enabling-opencv
Merge into: ~kdenlive/+git/mlt-old:debian
Diff against target: 28 lines (+4/-2)
2 files modified
debian/control (+2/-1)
debian/rules (+2/-1)
Reviewer Review Type Date Requested Status
Vincent Pinon Pending
Review via email: mp+416008@code.launchpad.net

Description of the change

This change enabling opencv module, which allow the user to use motion tracker with kdenlive. Tested on 20.04 (focal).

To post a comment you must log in.
Revision history for this message
Rex Tsai (chihchun) wrote :

It seems the opencv on 20.04 is too old, the plugin is available but the tracker is not actually working.

Revision history for this message
Vincent Pinon (vpinon) wrote :

Hello,
Thanks for your contribution!
Actually the tracker is in opencv_contrib, which is not built by most distributions.
We would need to rebuild opencv in the ppa, merging opencv_contrib into opencv source...
I don't know how to do that with dpkg?

Unmerged commits

67262bc... by Rex Tsai

Enable OpenCV module for Motion Tracker.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/control b/debian/control
2index ee4ea0c..c147654 100644
3--- a/debian/control
4+++ b/debian/control
5@@ -32,7 +32,8 @@ Build-Depends: debhelper-compat (= 12),
6 libebur128-dev (>= 1.2.0-2),
7 python3-dev,
8 dh-python,
9- cmake
10+ cmake,
11+ libopencv-dev
12 Standards-Version: 4.5.1
13 Section: libs
14 Rules-Requires-Root: no
15diff --git a/debian/rules b/debian/rules
16index 9a181f9..19b86df 100755
17--- a/debian/rules
18+++ b/debian/rules
19@@ -3,7 +3,8 @@
20 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
21
22 DEB_CONFIGURE_EXTRA_FLAGS := \
23- -DSWIG_PYTHON=ON
24+ -DSWIG_PYTHON=ON \
25+ -DMOD_OPENCV=ON
26
27 %:
28 dh $@ --buildsystem=cmake --with python3

Subscribers

People subscribed via source and target branches

to all changes: