tags 574125 patch
thanks

Quoting "Patrick Matthäi" <[email protected]>:
I do not like the decision to install per-default recommends as dependencies. My first step with new servers and desktops is, to deactivate this.

I understand very well, that you are changing the default,
because many recommends should indeed be suggests, while many
depends should be recommends. But this takes some time to
change and bug reports like this one.

Please accept the status quo for now and allow your users to
enjoy the advantages of the differentiation between suggests
and recommends. (It never made sense to me that we had two
different fields with the same semantics before.)

It is a bug, if I install xyz, the needed libs were just recommended (so they will not be installed) and I enter $ xyz and I just get: libxyz not found.
This is a bug.

But why should this happen? kdenlive would have to depend on
libmlt2-qt, probably. (Maybe openshot on libmlt2-gtk, but I have
the impression that openshot does not even use this module.)

You are also a DD, please think about, what a workload it is (with many pot. new bugs) if you have to drop ${shlibs:Depends} and then to list each library yourself. This is needed for this step.

Maybe I'm wrong, but probably you only need to add two debhelper
install files (one line each), remove the two modules in debian/rules
(two lines), and add the packages to debian/control (some lines, but
mainly the dupes of the package description). No need to mess with
${shlibs:Depends}, which, I agree, would be bad. See attachment.

IMHO, both solutions (changing to recommends or adding two packages)
are neither complicated nor dangerous and do not lead to bugs, given
that kdenlive could depend on libmlt2-qt instead of libmlt2.
diff -uraN debian.old/control debian/control
--- debian.old/control	2010-03-16 23:04:06.000000000 +0100
+++ debian/control	2010-03-16 23:04:06.000000000 +0100
@@ -44,6 +44,34 @@
  This package contains the files necessary for running applications that
  use the MLT multimedia framework.
 
+Package: libmlt2-gtk
+Architecture: any
+Depends: libmlt2, ${shlibs:Depends}, ${misc:Depends}
+Description: multimedia framework (runtime for GTK+)
+ MLT is an open source multimedia framework, designed and developed for
+ television broadcasting. It provides a toolkit for broadcasters, video
+ editors, media players, transcoders, web streamers and many more types of
+ applications. The functionality of the system is provided via an assortment
+ of ready to use tools, xml authoring components, and an extendible plug-in
+ based API.
+ .
+ This package contains the files necessary for running applications that
+ use the MLT multimedia framework for GTK+.
+
+Package: libmlt2-qt
+Architecture: any
+Depends: libmlt2, ${shlibs:Depends}, ${misc:Depends}
+Description: multimedia framework (runtime for Qt)
+ MLT is an open source multimedia framework, designed and developed for
+ television broadcasting. It provides a toolkit for broadcasters, video
+ editors, media players, transcoders, web streamers and many more types of
+ applications. The functionality of the system is provided via an assortment
+ of ready to use tools, xml authoring components, and an extendible plug-in
+ based API.
+ .
+ This package contains the files necessary for running applications that
+ use the MLT multimedia framework for Qt.
+
 Package: libmlt-data
 Architecture: all
 Depends: ${misc:Depends}
diff -uraN debian.old/libmlt2-gtk.install debian/libmlt2-gtk.install
--- debian.old/libmlt2-gtk.install	1970-01-01 01:00:00.000000000 +0100
+++ debian/libmlt2-gtk.install	2010-03-16 23:04:06.000000000 +0100
@@ -0,0 +1 @@
+usr/lib/mlt/libmltgtk2.so
diff -uraN debian.old/libmlt2-qt.install debian/libmlt2-qt.install
--- debian.old/libmlt2-qt.install	1970-01-01 01:00:00.000000000 +0100
+++ debian/libmlt2-qt.install	2010-03-16 23:04:06.000000000 +0100
@@ -0,0 +1 @@
+usr/lib/mlt/libmltqimage.so
diff -uraN debian.old/rules debian/rules
--- debian.old/rules	2010-03-16 23:04:06.000000000 +0100
+++ debian/rules	2010-03-16 23:07:38.832747037 +0100
@@ -34,6 +34,8 @@
 	install -m 644 src/swig/python/mlt.py debian/python-mlt2/$(PYTHON_DIR)/mlt.py
 	install -m 644 src/swig/python/_mlt.so debian/python-mlt2/$(PYTHON_DIR)/_mlt.so
 	dh_install --list-missing
+	rm debian/libmlt2/usr/lib/mlt/libmltgtk2.so
+	rm debian/libmlt2/usr/lib/mlt/libmltqimage.so
 
 override_dh_strip:
 	dh_strip --dbg-package=libmlt-dbg

Reply via email to