* a recipe for qt4-plugin-phonon-backend-vlc
@ 2010-08-27 12:39 Sylvain Paré
2010-08-30 9:38 ` Sylvain Paré
2010-08-30 14:04 ` Holger Freyther
0 siblings, 2 replies; 5+ messages in thread
From: Sylvain Paré @ 2010-08-27 12:39 UTC (permalink / raw)
To: openembedded-devel, shr-devel, List for Openmoko community discussion
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
Hi,
If someone is interested I am trying to build the vlc backend for phonon (in
replacement of the gstreamer one).
It needs at least libvlc 1.1 that you can found attached
(David I tested it and it works!. well not very smoothly at all but I think
it can be largely optimized. don't have the skill to do it plus here it is
for playing sound which interests me, not video :) )
I did a recipe (attached) but it needs automoc4 which is provided by
automoc-native to build.
And this is where I gets stuck :
automoc-native itself does not build.
(According to OE's log automoc-native is ~ 2 years old.)
Attached my CMakeError.log => 'Q_WS_WIN' undeclared (first use in this
function)
which was defined in QtCore/glogal.h but not anymore now and I don't know
where it is supposed to be.
I don't know how to fix this properly.
If someone can help me.
thx by advance!
Sylvain (aka GarthPS)
[-- Attachment #2: vlc_1.1.2.bb --]
[-- Type: application/octet-stream, Size: 1186 bytes --]
# This recipe packages vlc as a library as well, so qt4 dependencies
# can be avoided when ony the library is installed.
# Would be cool if when newer vlc is added to OE and older ones are phased
# out that could be made the default.
require vlc.inc
SRC_URI[md5sum] = "dec11ed850e044c518aee6fef7e7f893"
SRC_URI[sha256sum] = "db95e8667534e44f26c053e9f3f470d37c06d5ece10d2645cf2f7c25880a33f7"
DEPENDS += "libdvdcss libdvdread libdvdnav"
#PR = "r0"
EXTRA_OECONF += "\
--enable-dvdread \
--disable-lua \
"
LEAD_SONAME = "libvlc.so.5"
PACKAGES =+ "libvlc-dbg libvlc-dev libvlc"
FILES_libvlc = "${libdir}/lib*.so.*"
FILES_libvlc-dev = " \
${libdir}/lib*.so \
${libdir}/lib*.la \
${libdir}/pkgconfig \
${includedir} \
"
FILES_libvlc-dbg = "${libdir}/.debug"
FILES_${PN} += " \
${bindir}/vlc \
${datadir}/applications \
${datadir}/vlc/ \
${datadir}/icons/hicolor/16x16/apps/vlc.png \
${datadir}/icons/hicolor/32x32/apps/vlc.png \
${datadir}/icons/hicolor/48x48/apps/vlc.png \
"
FILES_${PN}-dev += " \
${libdir}/vlc/plugins/*.la \
"
FILES_${PN}-dbg += " \
${libdir}/vlc/.debug \
${libdir}/vlc/plugins/*/.debug \
"
[-- Attachment #3: qt4-plugin-phonon-backend-vlc.bb --]
[-- Type: application/octet-stream, Size: 1248 bytes --]
DESCRIPTION = " qt4-plugin-phonon-backend-vlc"
AUTHOR = "Fathi Boudra <fabo@kde.org> (current maintainer) Lukas Durfina <lukas.durfina@gmail.com> Tanguy Krotoff <tkrotoff@gmail.com>"
SECTION = "libs"
PRIORITY = "optional"
HOMEPAGE = "http://phonon.kde.org/"
LICENSE = "LGPL"
DEPENDS += "qt4-x11-free automoc-native vlc"
SRCREV = "9cdcab67b75438c5f7a91f89d468ce3259d0138f"
PV = "master"
PR = "r0"
PR_append = "+git${SRCREV}"
inherit qt4x11 cmake
SRC_URI = "git://gitorious.org/phonon/phonon-vlc.git;protocol=git;branch=master "
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "-DQTONLY=ON -DCMAKE_BUILD_TYPE=Release \
-DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
-DQT_INSTALL_LIBS=${OE_QMAKE_LIBDIR_QT} \
-DQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
-DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
-DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
-DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
-DQT_UIC3_EXECUTABLE=${OE_QMAKE_UIC3} \
-DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
-DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
-DQT_DBUSXML2CPP_EXECUTABLE=/usr/bin/qdbusxml2cpp \
-DQT_DBUSCPP2XML_EXECUTABLE=/usr/bin/qdbuscpp2xml \
-DQT_MKSPECS_DIR=${QMAKESPEC}/../ \
"
OECMAKE_BUILDPATH = "build"
OECMAKE_SOURCEPATH = "../"
#do_install() {
#}
[-- Attachment #4: CMakeError.log --]
[-- Type: text/x-log, Size: 7530 bytes --]
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o
/usr/bin/gcc -isystem/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_WIN' undeclared (first use in this function)
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.)
make[1]: Leaving directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2
File /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_WIN
cmakeRequireSymbol(0,&Q_WS_WIN);
#endif
return 0;
}
Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o
/usr/bin/gcc -isystem/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_QWS' undeclared (first use in this function)
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.)
make[1]: Leaving directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2
File /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_QWS
cmakeRequireSymbol(0,&Q_WS_QWS);
#endif
return 0;
}
Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o
/usr/bin/gcc -isystem/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_MAC' undeclared (first use in this function)
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.)
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2
File /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_MAC
cmakeRequireSymbol(0,&Q_WS_MAC);
#endif
return 0;
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: a recipe for qt4-plugin-phonon-backend-vlc
2010-08-27 12:39 a recipe for qt4-plugin-phonon-backend-vlc Sylvain Paré
@ 2010-08-30 9:38 ` Sylvain Paré
2010-08-30 14:04 ` Holger Freyther
1 sibling, 0 replies; 5+ messages in thread
From: Sylvain Paré @ 2010-08-30 9:38 UTC (permalink / raw)
To: openembedded-devel, shr-devel, List for Openmoko community discussion
Up.
Nobody is interestied or wants to give me a hint ?
2010/8/27 Sylvain Paré <sylvain.pare@gmail.com>
> Hi,
>
> If someone is interested I am trying to build the vlc backend for phonon
> (in replacement of the gstreamer one).
> It needs at least libvlc 1.1 that you can found attached
> (David I tested it and it works!. well not very smoothly at all but I think
> it can be largely optimized. don't have the skill to do it plus here it is
> for playing sound which interests me, not video :) )
> I did a recipe (attached) but it needs automoc4 which is provided by
> automoc-native to build.
> And this is where I gets stuck :
> automoc-native itself does not build.
> (According to OE's log automoc-native is ~ 2 years old.)
> Attached my CMakeError.log => 'Q_WS_WIN' undeclared (first use in this
> function)
> which was defined in QtCore/glogal.h but not anymore now and I don't know
> where it is supposed to be.
> I don't know how to fix this properly.
> If someone can help me.
> thx by advance!
>
> Sylvain (aka GarthPS)
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: a recipe for qt4-plugin-phonon-backend-vlc
2010-08-27 12:39 a recipe for qt4-plugin-phonon-backend-vlc Sylvain Paré
2010-08-30 9:38 ` Sylvain Paré
@ 2010-08-30 14:04 ` Holger Freyther
2010-08-31 14:37 ` Sylvain Paré
1 sibling, 1 reply; 5+ messages in thread
From: Holger Freyther @ 2010-08-30 14:04 UTC (permalink / raw)
To: openembedded-devel
On 08/27/2010 08:39 PM, Sylvain Paré wrote:
> automoc-native itself does not build.
> (According to OE's log automoc-native is ~ 2 years old.)
Well, pick the latest version then, /usr/include/qt4 as include is looking
bad, Q_WS_WIN is only defined when Qt was build for windows.
So in summary...
- automoc-native probably deserves an update
- it should use the "native" version of Qt (like qmake, uic, moc...)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: a recipe for qt4-plugin-phonon-backend-vlc
2010-08-30 14:04 ` Holger Freyther
@ 2010-08-31 14:37 ` Sylvain Paré
2010-09-09 10:53 ` Sylvain Paré
0 siblings, 1 reply; 5+ messages in thread
From: Sylvain Paré @ 2010-08-31 14:37 UTC (permalink / raw)
To: openembedded-devel
I tried to update automoc-native and kde4 but it is not better.
I know that Q_WS_WIN is only defined when Qt was build for windows. But how
to fix this?
I am not very skilled, at least not enough to fix this..
I miss some things so more explanation/help will be very well received!
thx
Sylvain
2010/8/30 Holger Freyther <zecke@selfish.org>
> On 08/27/2010 08:39 PM, Sylvain Paré wrote:
>
> > automoc-native itself does not build.
> > (According to OE's log automoc-native is ~ 2 years old.)
>
>
> Well, pick the latest version then, /usr/include/qt4 as include is looking
> bad, Q_WS_WIN is only defined when Qt was build for windows.
>
> So in summary...
> - automoc-native probably deserves an update
> - it should use the "native" version of Qt (like qmake, uic, moc...)
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: a recipe for qt4-plugin-phonon-backend-vlc
2010-08-31 14:37 ` Sylvain Paré
@ 2010-09-09 10:53 ` Sylvain Paré
0 siblings, 0 replies; 5+ messages in thread
From: Sylvain Paré @ 2010-09-09 10:53 UTC (permalink / raw)
To: openembedded-devel
sorry but it is to complicated ofr my skill with oe
so if someone is interessted int this and/or kind enought to take a look at
this..
thanks
personnaly I drop it .
KR
Sylvain
2010/8/31 Sylvain Paré <sylvain.pare@gmail.com>
> I tried to update automoc-native and kde4 but it is not better.
> I know that Q_WS_WIN is only defined when Qt was build for windows. But how
> to fix this?
> I am not very skilled, at least not enough to fix this..
> I miss some things so more explanation/help will be very well received!
> thx
> Sylvain
>
>
> 2010/8/30 Holger Freyther <zecke@selfish.org>
>
> On 08/27/2010 08:39 PM, Sylvain Paré wrote:
>>
>> > automoc-native itself does not build.
>> > (According to OE's log automoc-native is ~ 2 years old.)
>>
>>
>> Well, pick the latest version then, /usr/include/qt4 as include is looking
>> bad, Q_WS_WIN is only defined when Qt was build for windows.
>>
>> So in summary...
>> - automoc-native probably deserves an update
>> - it should use the "native" version of Qt (like qmake, uic,
>> moc...)
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-09-09 10:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27 12:39 a recipe for qt4-plugin-phonon-backend-vlc Sylvain Paré
2010-08-30 9:38 ` Sylvain Paré
2010-08-30 14:04 ` Holger Freyther
2010-08-31 14:37 ` Sylvain Paré
2010-09-09 10:53 ` Sylvain Paré
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.