Hi Lisandro, all:

El Jueves, 11 de septiembre de 2014 16:37:25 Lisandro Damián Nicanor Pérez 
Meyer escribió:
> As you already may know, we have a new qtwebkit version in unstable which is
> currently FTBFS. This seems to be fixed with the latest patch.
> 
> But this webkit version links against gstreamer 1.0. We currently have
> phonon linking against gstreamer 0.10, which seems solvavble.
> 
> Now Diane found that we also have gstreamer support in Qt4 but with
> gstreamer 0.10. AFAIU there is no way to make it work with gstreamer 1.0.
> 
> Could this create us a problem? Both gstreamers should not be mixed.

  I've already found problems mixing gstreamer versions, To keep on the safe 
side I'd always bet for not mixing them. I haven't comprehensively analysed 
implication though.

> 
> If it can create us problems and can not be fixed, I think the best solution
> is to downgrade qtwebkit and be done with it.
> 
> Any other ideas?

  My idea would be disabling phonon (and gstreamer) dependency from the qt-x11 
build. The only binary that's related to phonon (and gstreamer) is libqt4-
phonon which provides:
  * phonon solibs (already provided by libphonon4 package). Moreover the 
phonon libs that can be found in libqt4-phonon corresponds to an old phonon 
version 4.4.0 vs current 4.7.2 in libphonon4 package
  * phonon designed plugin. I'm not sure what's this for, but if it's related 
to qtconfig somehow I can say that here qtconfig provides a phonon tab 
(detecting libphonon4 phonon version and gstreamer 0.10!! [1] )

[1] I'm running self build debian package for 4.8.3 phonon-backend-gstreamer

  Also libphonon4 conflicts with libqt4-phonon.

  If you would like to go this path I can offer the patch (attached) I'm trying 
to use to build qt4-x11. I have failed to build it so far due to problems on 
my machine. Patch should apply cleanly to current debian qt4-x11 git HEAD.

> 
> Kinds regards, Lisandro.

  Please, let me know how else I can help. Regards


-- 
     Raúl Sánchez Siles
----->Proud Debian user<-----
Linux registered user #416098
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3) 
     platform_arg = linux-g++ for it.
   * Add two more files to override_dh_auto_clean.
 
+  [ Raúl Sánchez Siles ]
+  * Remove phonon (and gstreamer) dependencies. phonon is already a separate
+  	package.
+
  -- Debian Qt/KDE Maintainers <debian-qt-...@lists.debian.org>  Sat, 06 Sep 2014 19:50:03 -0300
 
 qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -21,8 +21,6 @@ Build-Depends: debhelper (>= 9),
                libgl1-mesa-dev,
                libglib2.0-dev,
                libglu1-mesa-dev,
-               libgstreamer-plugins-base0.10-dev,
-               libgstreamer0.10-dev,
                libgtk2.0-dev,
                libice-dev,
                libicu-dev,
@@ -441,23 +439,6 @@ Description: Qt 4 test module
  The QtTest module provides classes for unit testing Qt applications and
  libraries.
 
-Package: libqt4-phonon
-Architecture: any
-Multi-Arch: same
-Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Conflicts: libphonon4
-Description: Qt 4 Phonon module
- Qt is a cross-platform C++ application framework. Qt's primary feature
- is its rich set of widgets that provide standard GUI functionality.
- .
- The Qt Phonon module provides a cross-platform multimedia framework that
- enables the use of audio and video content in Qt applications.
- .
- The sole purpose of this package to provide Phonon libraries until libphonon4
- is built from the phonon source package. Therefore it's only useful when
- bootstraping new architectures or rebuilding the whole archive from scratch.
-
 Package: libqt4-declarative
 Architecture: any
 Multi-Arch: same
diff --git a/debian/libqt4-phonon.install b/debian/libqt4-phonon.install
deleted file mode 100644
--- a/debian/libqt4-phonon.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/*/libphonon.so.4*
-usr/lib/*/qt4/plugins/designer/libphononwidgets.so
diff --git a/debian/libqt4-phonon.lintian-overrides b/debian/libqt4-phonon.lintian-overrides
deleted file mode 100644
--- a/debian/libqt4-phonon.lintian-overrides
+++ /dev/null
@@ -1,4 +0,0 @@
-# This package is only used for bootstrapping new archs or rebuilding the
-# whole archive from scratch. People should use libphonon4 instead.
-libqt4-phonon: package-name-doesnt-match-sonames libphonon4
-libqt4-phonon: no-symbols-control-file usr/lib/x86_64-linux-gnu/libphonon.so.4.4.0
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -27,9 +27,6 @@ upstream_changes := $(wildcard changes-*
 current_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
 # Specific shlibs version (e.g.: 4:4.5.2)
 shlibs_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d '-')
-# libqt4-phonon shlibs. Minimum libphonon4 version may need adjusting for new
-# Qt upstream release
-libqt4phonon_shlibs := libphonon4 (>= 4:4.6.0) | libqt4-phonon (= $(current_version))
 # Distribution vendor
 vendor := $(shell dpkg-vendor --query Vendor)
 
@@ -142,7 +139,7 @@ endif
 	            -xmlpatterns \
 	            -no-multimedia \
 	            -audio-backend \
-	            -phonon \
+	            -no-phonon \
 	            -no-phonon-backend \
 	            -svg \
 	            -no-webkit \
@@ -313,15 +310,6 @@ override_dh_auto_install:
 	# QTBUG-12159 workaround
 	rm -fv debian/tmp//usr/share/qt4/mkspecs/modules/qt_webkit_version.pri
 
-	# Remove phonon development files
-	rm -fv debian/tmp/usr/lib/*/libphonon.la
-	rm -fv debian/tmp/usr/lib/*/libphonon.prl
-	rm -fv debian/tmp/usr/lib/*/libphonon.so
-	rm -fv debian/tmp/usr/lib/*/pkgconfig/phonon.pc
-	rm -rfv debian/tmp/usr/include/qt4/phonon
-	# And the gstreamer backend.
-	rm -fv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/phonon_backend/libphonon_gstreamer.so
-
 	# Remove the embedded jquery library. We will later link to the one provided
 	# by the libjs-jquery package.
 	rm -fv debian/tmp/usr/share/qt4/doc/html/scripts/jquery.js
@@ -370,13 +358,11 @@ override_dh_installchangelogs:
 override_dh_strip:
 	$(foreach pkg,$(pkgs_dbg),dh_strip -p$(pkg) --dbg-package=$(pkg)-dbg;)
 	dh_strip $(foreach pkg,$(pkgs_dbgbin),-p$(pkg)) --dbg-package=qt4-bin-dbg
-	dh_strip -plibqt4-phonon
 	dh_strip --remaining-packages --dbg-package=libqt4-dbg
 
 override_dh_makeshlibs:
 	# Specific shlibs version (e.g.: 4:4.5.2)
 	$(foreach pkg,$(pkgs_lib),dh_makeshlibs -p$(pkg) -V '$(pkg) (>= $(shlibs_version))' -- -c0;)
-	dh_makeshlibs -plibqt4-phonon -V'$(libqt4phonon_shlibs)'
 	# Generate shlibs local files
 	for pkg in $(pkgs_lib); do \
 		if test -e debian/$${pkg}/DEBIAN/shlibs ; then \
@@ -384,11 +370,6 @@ override_dh_makeshlibs:
 		fi \
 	done
 
-override_dh_shlibdeps:
-	# Exclude phonon deps from libqt4-phonon itself (they get injected there somehow)
-	dh_shlibdeps -plibqt4-phonon -- -xlibphonon4 -xlibqt4-phonon
-	dh_shlibdeps --remaining-packages
-
 override_dh_builddeb:
 	dh_builddeb -- -Zxz
 
-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk

Reply via email to