[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-12-15 Thread Launchpad Bug Tracker
This bug was fixed in the package phonon - 4:4.7.0really4.5.1-0ubuntu2

---
phonon (4:4.7.0really4.5.1-0ubuntu2) precise; urgency=low

  * Build for multiarch. (LP: #893170)
- Switch to debhelper compat level v9.
- Change phonon to arch:any and multi-arch:same.
- Update no_rpath.patch to include multiarch lib paths.
- Fix debconf prompt to cope with multi-arch:same phonon package.
  * Drop libphonon4-designer transitional package, it's not needed anymore.
 -- Felix GeyerThu, 15 Dec 2011 21:40:54 +0100

** Changed in: phonon (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread André Caron
@Jonathan

Phonon is in integral part of the Qt [1].  The CMakeLists provided by
Félix works fine on Debian with libqt4-dev[2] and libqt4-phonon[3]
packages.  It also works on Arch linux and with both the latest pre-
built and from-source Qt4 packages for Windows.

FindQt4 is a reliable way to find Phonon for Qt4 applications except on
Ubuntu.  Given where it is maintained (KDE), I doubt the FindPhonon
script [4] will ever get Windows support.  We can rely on much better
support from FindQt4 given that it's part of CMake itself.

Seems to me like this is a problem with the way Ubuntu distributes
Phonon.

[1]: http://doc.qt.nokia.com/stable/phonon-overview.html
[2]: http://packages.debian.org/squeeze/libqt4-dev
[3]: http://packages.debian.org/squeeze/libqt4-phonon
[4]: 
http://quickgit.kde.org/?p=kdelibs.git&a=blob_plain&h=cd9e5cb44f4d36347de79a4fe1af771bb2f2b2e5&f=cmake/modules/FindPhonon.cmake

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread Félix C . Morency
@Jonathan
I tested your solution and it is not portable to Windows. Version number and 
Debug/Release dll subtleties are not taken into account in the FindPhonon 
script (but they are in the FindQt4 script).

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread Jonathan Riddell
Ubuntu uses the independently released phonon library rather than the
version included with Qt.  So using FindQt4 to find phonon is probably
incorrect.  I recommend using FindPhonon.cmake which is part of
kdelibs5-dev

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread Alan Boudreault
I confirm the issue here to. Fresh installation of Kubuntu 11.10 with
libphonon-dev and libqt4-dev installed.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: phonon (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs



[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread Félix C . Morency
** Tags added: phonon

** Tags added: cmake qt4

** Description changed:

+ Ubuntu 11.10-64
+ 
  CMake FindQt4 module is unable to find phonon.
  
  The CMake module tries to find phonon in the Qt4 library path
  
  QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu
  
  while phonon is located in
  
  /usr/lib/
  
  The CMake NO_DEFAULT_PATH parameter is given while looking for the
  phonon library and therefore the FindQt4 module never search in
  /usr/lib.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 893170] Re: Incorrect Phonon location when used with Qt4 and CMake

2011-11-21 Thread Félix C . Morency
** Attachment added: "CMake dummy faulty example project"
   
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+attachment/2603908/+files/CMakeLists.txt

** Description changed:

  CMake FindQt4 module is unable to find phonon.
  
  The CMake module tries to find phonon in the Qt4 library path
  
  QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu
  
  while phonon is located in
  
  /usr/lib/
- The CMake NO_DEFAULT_PATH parameter is given while looking for the phonon 
library and therefore the FindQt4 module never search in /usr/lib.
+ 
+ The CMake NO_DEFAULT_PATH parameter is given while looking for the
+ phonon library and therefore the FindQt4 module never search in
+ /usr/lib.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon in Ubuntu.
https://bugs.launchpad.net/bugs/893170

Title:
  Incorrect Phonon location when used with Qt4 and CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs