remove phonon vestiges
Change-Id: Ifae2c631ddaae95ad9fc92e1f768fd910b254292 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
a87006d4d2
commit
051f97f350
22
configure
vendored
22
configure
vendored
@ -1968,13 +1968,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
silent)
|
silent)
|
||||||
CFG_SILENT="$VAL"
|
CFG_SILENT="$VAL"
|
||||||
;;
|
;;
|
||||||
phonon-backend)
|
|
||||||
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
|
|
||||||
CFG_PHONON_BACKEND="$VAL"
|
|
||||||
else
|
|
||||||
UNKNOWN_OPT=yes
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
dont-process)
|
dont-process)
|
||||||
CFG_NOPROCESS=yes
|
CFG_NOPROCESS=yes
|
||||||
;;
|
;;
|
||||||
@ -3015,9 +3008,6 @@ Configure options:
|
|||||||
|
|
||||||
-system-sqlite ..... Use sqlite from the operating system.
|
-system-sqlite ..... Use sqlite from the operating system.
|
||||||
|
|
||||||
-no-phonon-backend.. Do not build the platform phonon plugin.
|
|
||||||
+ -phonon-backend..... Build the platform phonon plugin.
|
|
||||||
|
|
||||||
-no-javascript-jit . Do not build the JavaScriptCore JIT compiler.
|
-no-javascript-jit . Do not build the JavaScriptCore JIT compiler.
|
||||||
+ -javascript-jit .... Build the JavaScriptCore JIT compiler.
|
+ -javascript-jit .... Build the JavaScriptCore JIT compiler.
|
||||||
|
|
||||||
@ -4538,11 +4528,6 @@ if [ "$XPLATFORM_MINGW" = "yes" ]; then
|
|||||||
fi # X11/MINGW OpenGL
|
fi # X11/MINGW OpenGL
|
||||||
|
|
||||||
if [ "$BUILD_ON_MAC" = "yes" ]; then
|
if [ "$BUILD_ON_MAC" = "yes" ]; then
|
||||||
if [ "$CFG_PHONON" != "no" ]; then
|
|
||||||
# Always enable Phonon (unless it was explicitly disabled)
|
|
||||||
CFG_PHONON=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CFG_COREWLAN" = "auto" ]; then
|
if [ "$CFG_COREWLAN" = "auto" ]; then
|
||||||
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/mac/corewlan "CoreWlan" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS $MAC_CONFIG_TEST_COMMANDLINE; then
|
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/mac/corewlan "CoreWlan" $L_FLAGS $I_FLAGS $D_FLAGS $l_FLAGS $MAC_CONFIG_TEST_COMMANDLINE; then
|
||||||
CFG_COREWLAN=yes
|
CFG_COREWLAN=yes
|
||||||
@ -4891,8 +4876,6 @@ if [ "$BUILD_ON_MAC" = "no" ] && [ "$XPLATFORM_MINGW" = "no" ] && [ "$XPLATFORM_
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$XPLATFORM_MINGW" = "yes" ] && [ "$CFG_PHONON" != "no" ] && CFG_PHONON="yes"
|
|
||||||
|
|
||||||
# freetype support
|
# freetype support
|
||||||
[ "$XPLATFORM_MINGW" = "yes" ] && [ "$CFG_LIBFREETYPE" = "auto" ] && CFG_LIBFREETYPE=no
|
[ "$XPLATFORM_MINGW" = "yes" ] && [ "$CFG_LIBFREETYPE" = "auto" ] && CFG_LIBFREETYPE=no
|
||||||
if [ "$CFG_LIBFREETYPE" = "auto" ]; then
|
if [ "$CFG_LIBFREETYPE" = "auto" ]; then
|
||||||
@ -5126,11 +5109,6 @@ fi
|
|||||||
|
|
||||||
[ "$CFG_CXX11" = "yes" ] && QT_CONFIG="$QT_CONFIG c++11"
|
[ "$CFG_CXX11" = "yes" ] && QT_CONFIG="$QT_CONFIG c++11"
|
||||||
|
|
||||||
# ### Vestige
|
|
||||||
if [ "$CFG_PHONON_BACKEND" = "yes" ]; then
|
|
||||||
QT_CONFIG="$QT_CONFIG phonon-backend"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# disable accessibility
|
# disable accessibility
|
||||||
if [ "$CFG_ACCESSIBILITY" = "no" ]; then
|
if [ "$CFG_ACCESSIBILITY" = "no" ]; then
|
||||||
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ACCESSIBILITY"
|
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ACCESSIBILITY"
|
||||||
|
@ -222,10 +222,8 @@ Configure::Configure(int& argc, char** argv)
|
|||||||
dictionary[ "CE_CRT" ] = "no";
|
dictionary[ "CE_CRT" ] = "no";
|
||||||
dictionary[ "CETEST" ] = "auto";
|
dictionary[ "CETEST" ] = "auto";
|
||||||
dictionary[ "CE_SIGNATURE" ] = "no";
|
dictionary[ "CE_SIGNATURE" ] = "no";
|
||||||
dictionary[ "PHONON_BACKEND" ] = "yes";
|
|
||||||
dictionary[ "AUDIO_BACKEND" ] = "auto";
|
dictionary[ "AUDIO_BACKEND" ] = "auto";
|
||||||
dictionary[ "WMSDK" ] = "auto";
|
dictionary[ "WMSDK" ] = "auto";
|
||||||
dictionary[ "DIRECTSHOW" ] = "no";
|
|
||||||
dictionary[ "V8SNAPSHOT" ] = "auto";
|
dictionary[ "V8SNAPSHOT" ] = "auto";
|
||||||
dictionary[ "QML_DEBUG" ] = "yes";
|
dictionary[ "QML_DEBUG" ] = "yes";
|
||||||
dictionary[ "PLUGIN_MANIFESTS" ] = "yes";
|
dictionary[ "PLUGIN_MANIFESTS" ] = "yes";
|
||||||
@ -873,12 +871,6 @@ void Configure::parseCmdLine()
|
|||||||
dictionary[ "AUDIO_BACKEND" ] = "yes";
|
dictionary[ "AUDIO_BACKEND" ] = "yes";
|
||||||
} else if (configCmdLine.at(i) == "-no-audio-backend") {
|
} else if (configCmdLine.at(i) == "-no-audio-backend") {
|
||||||
dictionary[ "AUDIO_BACKEND" ] = "no";
|
dictionary[ "AUDIO_BACKEND" ] = "no";
|
||||||
} else if (configCmdLine.at(i) == "-no-phonon-backend") {
|
|
||||||
dictionary[ "PHONON_BACKEND" ] = "no";
|
|
||||||
} else if (configCmdLine.at(i) == "-phonon-backend") {
|
|
||||||
dictionary[ "PHONON_BACKEND" ] = "yes";
|
|
||||||
} else if (configCmdLine.at(i) == "-phonon-wince-ds9") {
|
|
||||||
dictionary[ "DIRECTSHOW" ] = "yes";
|
|
||||||
} else if (configCmdLine.at(i) == "-no-qml-debug") {
|
} else if (configCmdLine.at(i) == "-no-qml-debug") {
|
||||||
dictionary[ "QML_DEBUG" ] = "no";
|
dictionary[ "QML_DEBUG" ] = "no";
|
||||||
} else if (configCmdLine.at(i) == "-qml-debug") {
|
} else if (configCmdLine.at(i) == "-qml-debug") {
|
||||||
@ -1492,13 +1484,11 @@ void Configure::applySpecSpecifics()
|
|||||||
dictionary[ "AVX2" ] = "no";
|
dictionary[ "AVX2" ] = "no";
|
||||||
dictionary[ "IWMMXT" ] = "no";
|
dictionary[ "IWMMXT" ] = "no";
|
||||||
dictionary[ "CE_CRT" ] = "yes";
|
dictionary[ "CE_CRT" ] = "yes";
|
||||||
dictionary[ "DIRECTSHOW" ] = "no";
|
|
||||||
dictionary[ "LARGE_FILE" ] = "no";
|
dictionary[ "LARGE_FILE" ] = "no";
|
||||||
// We only apply MMX/IWMMXT for mkspecs we know they work
|
// We only apply MMX/IWMMXT for mkspecs we know they work
|
||||||
if (dictionary[ "XQMAKESPEC" ].startsWith("wincewm")) {
|
if (dictionary[ "XQMAKESPEC" ].startsWith("wincewm")) {
|
||||||
dictionary[ "MMX" ] = "yes";
|
dictionary[ "MMX" ] = "yes";
|
||||||
dictionary[ "IWMMXT" ] = "yes";
|
dictionary[ "IWMMXT" ] = "yes";
|
||||||
dictionary[ "DIRECTSHOW" ] = "yes";
|
|
||||||
}
|
}
|
||||||
} else if (dictionary[ "XQMAKESPEC" ].startsWith("linux")) { //TODO actually wrong.
|
} else if (dictionary[ "XQMAKESPEC" ].startsWith("linux")) { //TODO actually wrong.
|
||||||
//TODO
|
//TODO
|
||||||
@ -1759,8 +1749,6 @@ bool Configure::displayHelp()
|
|||||||
desc("DBUS", "no", "-no-dbus", "Do not compile in D-Bus support");
|
desc("DBUS", "no", "-no-dbus", "Do not compile in D-Bus support");
|
||||||
desc("DBUS", "yes", "-dbus", "Compile in D-Bus support and load libdbus-1 dynamically");
|
desc("DBUS", "yes", "-dbus", "Compile in D-Bus support and load libdbus-1 dynamically");
|
||||||
desc("DBUS", "linked", "-dbus-linked", "Compile in D-Bus support and link to libdbus-1");
|
desc("DBUS", "linked", "-dbus-linked", "Compile in D-Bus support and link to libdbus-1");
|
||||||
desc("PHONON_BACKEND","no", "-no-phonon-backend","Do not compile the platform-specific Phonon backend-plugin");
|
|
||||||
desc("PHONON_BACKEND","yes","-phonon-backend", "Compile in the platform-specific Phonon backend-plugin");
|
|
||||||
desc("AUDIO_BACKEND", "no","-no-audio-backend", "Do not compile in the platform audio backend into QtMultimedia");
|
desc("AUDIO_BACKEND", "no","-no-audio-backend", "Do not compile in the platform audio backend into QtMultimedia");
|
||||||
desc("AUDIO_BACKEND", "yes","-audio-backend", "Compile in the platform audio backend into QtMultimedia");
|
desc("AUDIO_BACKEND", "yes","-audio-backend", "Compile in the platform audio backend into QtMultimedia");
|
||||||
desc("QML_DEBUG", "no", "-no-qml-debug", "Do not build the QML debugging support");
|
desc("QML_DEBUG", "no", "-no-qml-debug", "Do not build the QML debugging support");
|
||||||
@ -1807,8 +1795,6 @@ bool Configure::displayHelp()
|
|||||||
desc("CETEST", "no", "-no-cetest", "Do not compile Windows CE remote test application");
|
desc("CETEST", "no", "-no-cetest", "Do not compile Windows CE remote test application");
|
||||||
desc("CETEST", "yes", "-cetest", "Compile Windows CE remote test application");
|
desc("CETEST", "yes", "-cetest", "Compile Windows CE remote test application");
|
||||||
desc( "-signature <file>", "Use file for signing the target project");
|
desc( "-signature <file>", "Use file for signing the target project");
|
||||||
|
|
||||||
desc("DIRECTSHOW", "no", "-phonon-wince-ds9", "Enable Phonon Direct Show 9 backend for Windows CE");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@ -1998,8 +1984,6 @@ bool Configure::checkAvailability(const QString &part)
|
|||||||
available = (dictionary.value("XQMAKESPEC").startsWith("wince"));
|
available = (dictionary.value("XQMAKESPEC").startsWith("wince"));
|
||||||
else if (part == "OPENGL_ES_2")
|
else if (part == "OPENGL_ES_2")
|
||||||
available = (dictionary.value("XQMAKESPEC").startsWith("wince"));
|
available = (dictionary.value("XQMAKESPEC").startsWith("wince"));
|
||||||
else if (part == "DIRECTSHOW")
|
|
||||||
available = (dictionary.value("XQMAKESPEC").startsWith("wince"));
|
|
||||||
else if (part == "SSE2")
|
else if (part == "SSE2")
|
||||||
available = tryCompileProject("common/sse2");
|
available = tryCompileProject("common/sse2");
|
||||||
else if (part == "SSE3")
|
else if (part == "SSE3")
|
||||||
@ -2031,27 +2015,8 @@ bool Configure::checkAvailability(const QString &part)
|
|||||||
cout << "Make sure the environment is set up for compiling with ActiveSync." << endl;
|
cout << "Make sure the environment is set up for compiling with ActiveSync." << endl;
|
||||||
dictionary[ "DONE" ] = "error";
|
dictionary[ "DONE" ] = "error";
|
||||||
}
|
}
|
||||||
}
|
} else if (part == "INCREDIBUILD_XGE") {
|
||||||
else if (part == "INCREDIBUILD_XGE")
|
|
||||||
available = findFile("BuildConsole.exe") && findFile("xgConsole.exe");
|
available = findFile("BuildConsole.exe") && findFile("xgConsole.exe");
|
||||||
else if (part == "PHONON") {
|
|
||||||
available = findFile("vmr9.h") && findFile("dshow.h") && findFile("dmo.h") && findFile("dmodshow.h")
|
|
||||||
&& (findFile("strmiids.lib") || findFile("libstrmiids.a"))
|
|
||||||
&& (findFile("dmoguids.lib") || findFile("libdmoguids.a"))
|
|
||||||
&& (findFile("msdmo.lib") || findFile("libmsdmo.a"))
|
|
||||||
&& findFile("d3d9.h");
|
|
||||||
|
|
||||||
if (!available) {
|
|
||||||
cout << "All the required DirectShow/Direct3D files couldn't be found." << endl
|
|
||||||
<< "Make sure you have either the platform SDK AND the DirectShow SDK or the Windows SDK installed." << endl
|
|
||||||
<< "If you have the DirectShow SDK installed, please make sure that you have run the <path to SDK>\\SetEnv.Cmd script." << endl;
|
|
||||||
if (!findFile("vmr9.h")) cout << "vmr9.h not found" << endl;
|
|
||||||
if (!findFile("dshow.h")) cout << "dshow.h not found" << endl;
|
|
||||||
if (!findFile("strmiids.lib")) cout << "strmiids.lib not found" << endl;
|
|
||||||
if (!findFile("dmoguids.lib")) cout << "dmoguids.lib not found" << endl;
|
|
||||||
if (!findFile("msdmo.lib")) cout << "msdmo.lib not found" << endl;
|
|
||||||
if (!findFile("d3d9.h")) cout << "d3d9.h not found" << endl;
|
|
||||||
}
|
|
||||||
} else if (part == "WMSDK") {
|
} else if (part == "WMSDK") {
|
||||||
available = findFile("wmsdk.h");
|
available = findFile("wmsdk.h");
|
||||||
} else if (part == "V8SNAPSHOT") {
|
} else if (part == "V8SNAPSHOT") {
|
||||||
@ -2474,10 +2439,6 @@ void Configure::generateOutputVars()
|
|||||||
qtConfig += "egl";
|
qtConfig += "egl";
|
||||||
}
|
}
|
||||||
|
|
||||||
// ### Vestige
|
|
||||||
if (dictionary["DIRECTSHOW"] == "yes")
|
|
||||||
qtConfig += "directshow";
|
|
||||||
|
|
||||||
if (dictionary[ "OPENSSL" ] == "yes")
|
if (dictionary[ "OPENSSL" ] == "yes")
|
||||||
qtConfig += "openssl";
|
qtConfig += "openssl";
|
||||||
else if (dictionary[ "OPENSSL" ] == "linked")
|
else if (dictionary[ "OPENSSL" ] == "linked")
|
||||||
@ -2491,10 +2452,6 @@ void Configure::generateOutputVars()
|
|||||||
if (dictionary[ "CETEST" ] == "yes")
|
if (dictionary[ "CETEST" ] == "yes")
|
||||||
qtConfig += "cetest";
|
qtConfig += "cetest";
|
||||||
|
|
||||||
// ### Vestige
|
|
||||||
if (dictionary["PHONON_BACKEND"] == "yes")
|
|
||||||
qtConfig += "phonon-backend";
|
|
||||||
|
|
||||||
// ### Vestige
|
// ### Vestige
|
||||||
if (dictionary["AUDIO_BACKEND"] == "yes")
|
if (dictionary["AUDIO_BACKEND"] == "yes")
|
||||||
qtConfig += "audio-backend";
|
qtConfig += "audio-backend";
|
||||||
|
Loading…
Reference in New Issue
Block a user