FS#12582 - Phonon package missing phonon header file

Attached to Project: Arch Linux
Opened by Andreas (Flasher) - Friday, 26 December 2008, 13:56 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 14 January 2009, 00:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Package: phonon
Version: 4.2.1-1
Short description: Missing header file

Detailed description:
When compiling Qt4 with phonon support there will be a summary c++ header file generated. It's called "phonon". You can import it in a c++ source code by inserting:

#include <phonon>

This file is normally located in /usr/include/phonon/ and dynamically generated during the building process. It includes all phonon headers at once. The phonon package doesn't contain this file. The file contain the following information:

#include "abstractaudiooutput.h"
#include "abstractmediastream.h"
#include "abstractvideooutput.h"
#include "addoninterface.h"
#include "audiooutput.h"
#include "audiooutputinterface.h"
#include "backendcapabilities.h"
#include "backendinterface.h"
#include "effect.h"
#include "effectinterface.h"
#include "effectparameter.h"
#include "effectwidget.h"
#include "mediacontroller.h"
#include "medianode.h"
#include "mediaobject.h"
#include "mediaobjectinterface.h"
#include "mediasource.h"
#include "objectdescription.h"
#include "objectdescriptionmodel.h"
#include "path.h"
#include "phonondefs.h"
#include "phononnamespace.h"
#include "platformplugin.h"
#include "seekslider.h"
#include "streaminterface.h"
#include "videoplayer.h"
#include "videowidget.h"
#include "videowidgetinterface.h"
#include "volumefadereffect.h"
#include "volumefaderinterface.h"
#include "volumeslider.h"


Steps to solve the problem:

I modified the qt package (abs download), activate phonon support and generated the package. After package generation is finished the file "phonon" exists in the folder /var/abs/local/qt/pkg/usr/include/phonon.

At the moment I'm using the workaround to include all phonon headers manuelly instead make the "normal" #include <phonon>

The missing file is attached in these bug report.
   phonon (0.9 KiB)
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Wednesday, 14 January 2009, 00:17 GMT
Reason for closing:  Upstream
Additional comments about closing:  ask KDE devs to include that file.
Comment by Pierre Schmitz (Pierre) - Saturday, 27 December 2008, 11:43 GMT
Did you report this to the KDE project? It does not really make sense if we add an include file which will be only available on Arch.
Comment by Andreas (Flasher) - Saturday, 27 December 2008, 12:00 GMT
I thought this is a Arch Linux Packaging Bug, because the phonon part is separated from Qt. The sources of the phonon package are located at an archlinux-mirror and because of that I thought you separated the qt sources in an qt-only and phonon-only part and forgot to add this header-file.

Other distros like gentoo or ubuntu include this file in their phonon package. (I discussed the problem with other users in a qt-board)

If the the phonon sources in PKGBUILD are the official ones, I will ask the kde guys, but I can't find an official phonon-only source tarball at kde.org or phonon.kde.org.
Comment by Pierre Schmitz (Pierre) - Sunday, 28 December 2008, 09:56 GMT
Phonon provided by QT is outdated and afaik does not work with KDE. Instead we use Phonon releases directly. The don't provide tars, but the source can be found in their svn repo: http://websvn.kde.org/tags/phonon/ The tar that can be found on our ftp is just a plain checkout without any modifications.
Comment by Jan M. (funkyou) - Wednesday, 07 January 2009, 22:48 GMT
Better use this one:

http://websvn.kde.org/tags/kdesupport-for-4.2/kdesupport/phonon/

Seems to be more "official" (fixes still going in there). Oh, and the xine backend is also available, unlike in the latest Arch package.
Comment by Jan M. (funkyou) - Wednesday, 07 January 2009, 22:53 GMT
btw, some more explanation about kdesupport for 4.2:

http://lists.kde.org/?l=kde-release-team&m=123100044726349&w=2

Loading...