rev 17748 - trunk/packages/phonon/debian
Modestas Vainius
modax at alioth.debian.org
Wed Apr 28 22:17:18 UTC 2010
Author: modax
Date: 2010-04-28 22:17:17 +0000 (Wed, 28 Apr 2010)
New Revision: 17748
Added:
trunk/packages/phonon/debian/libphonon-dev.postinst
Modified:
trunk/packages/phonon/debian/changelog
trunk/packages/phonon/debian/control
Log:
* Make libphonon-dev depend on libqt4-dev.
* Manually create /usr/include/qt4/phonon symlink on upgrades.
See #404850 why dpkg does not create it by itself.
* Urgency high as the bug leaves Phonon undiscoverable by KDE
FindPhonon.cmake after upgrade and the buggy libphonon-dev is already in
testing.
Modified: trunk/packages/phonon/debian/changelog
===================================================================
--- trunk/packages/phonon/debian/changelog 2010-04-28 17:42:03 UTC (rev 17747)
+++ trunk/packages/phonon/debian/changelog 2010-04-28 22:17:17 UTC (rev 17748)
@@ -1,3 +1,15 @@
+phonon (4:4.6.0really4.4.0-4) unstable; urgency=high
+
+ [ Modestas Vainius ]
+ * Make libphonon-dev depend on libqt4-dev.
+ * Manually create /usr/include/qt4/phonon symlink on upgrades.
+ See #404850 why dpkg does not create it by itself.
+ * Urgency high as the bug leaves Phonon undiscoverable by KDE
+ FindPhonon.cmake after upgrade and the buggy libphonon-dev is already in
+ testing.
+
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Thu, 29 Apr 2010 00:52:29 +0300
+
phonon (4:4.6.0really4.4.0-3) unstable; urgency=low
[ Pino Toscano ]
Modified: trunk/packages/phonon/debian/control
===================================================================
--- trunk/packages/phonon/debian/control 2010-04-28 17:42:03 UTC (rev 17747)
+++ trunk/packages/phonon/debian/control 2010-04-28 22:17:17 UTC (rev 17748)
@@ -31,7 +31,8 @@
Package: libphonon-dev
Architecture: any
Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libphonon4 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libphonon4 (= ${binary:Version}),
+ ${sameVersionDep:libqt4-dev:libphonon4}
Replaces: kdelibs5-dev (<< 4:4.0.81)
Description: development files for the Phonon multimedia framework
Phonon is the Qt 4 multimedia API, which provides a task-oriented abstraction
Added: trunk/packages/phonon/debian/libphonon-dev.postinst
===================================================================
--- trunk/packages/phonon/debian/libphonon-dev.postinst (rev 0)
+++ trunk/packages/phonon/debian/libphonon-dev.postinst 2010-04-28 22:17:17 UTC (rev 17748)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ # Manually create /usr/include/qt4/phonon symlink on upgrades.
+ # See #404850 why dpkg does not create it by itself.
+ qtphonon="/usr/include/qt4/phonon"
+ if [ -d $qtphonon ] && [ ! -L $qtphonon ]; then
+ if rmdir $qtphonon 2>/dev/null; then
+ ln -s ../phonon $qtphonon
+ else
+ echo "Unable to create $qtphonon symlink due to error above" >&2
+ exit 1
+ fi
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
More information about the pkg-kde-commits
mailing list