* Wed Jul 20 2022 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.15.9-3 - Drop obsolete no-icudtl-dat patch, code has been fixed upstream since 5.11.0 If you look closely at the patch, you will see that the code that is removed does not actually mention the offending icudtl.dat anywhere. This upstream code snippet was fixed back in 5.11.0 to check for qtwebengine_resources.pak instead, which is always installed. (Compare my original patch with the version rebased by Rex Dieter for 5.11.0.) Searching for alternate resource paths is still pointless in packaged QtWebEngine, mind you. (The file installed by the package should always be found.) So the patch did not hurt. But still, it is no longer necessary to patch this out.epel9
parent
a9c79ab034
commit
9816079afb
@ -1,33 +0,0 @@
|
||||
diff -up qtwebengine-everywhere-src-5.15.5/src/core/web_engine_library_info.cpp.no-icudtl-dat qtwebengine-everywhere-src-5.15.5/src/core/web_engine_library_info.cpp
|
||||
--- qtwebengine-everywhere-src-5.15.5/src/core/web_engine_library_info.cpp.no-icudtl-dat 2021-06-24 07:26:58.976486102 -0500
|
||||
+++ qtwebengine-everywhere-src-5.15.5/src/core/web_engine_library_info.cpp 2021-06-24 07:32:19.272863523 -0500
|
||||
@@ -273,7 +273,6 @@ QString dictionariesPath()
|
||||
|
||||
QString resourcesDataPath()
|
||||
{
|
||||
- static bool initialized = false;
|
||||
static QString potentialResourcesPath =
|
||||
#if defined(OS_MAC) && defined(QT_MAC_FRAMEWORK_BUILD)
|
||||
getResourcesPath(frameworkBundle());
|
||||
@@ -282,21 +281,6 @@ QString resourcesDataPath()
|
||||
#else
|
||||
QLibraryInfo::location(QLibraryInfo::DataPath) % QLatin1String("/resources");
|
||||
#endif
|
||||
- if (!initialized) {
|
||||
- initialized = true;
|
||||
- if (!QFileInfo::exists(potentialResourcesPath % QLatin1String("/qtwebengine_resources.pak"))) {
|
||||
- qWarning("Qt WebEngine resources not found at %s. Trying parent directory...", qPrintable(potentialResourcesPath));
|
||||
- potentialResourcesPath = QLibraryInfo::location(QLibraryInfo::DataPath);
|
||||
- }
|
||||
- if (!QFileInfo::exists(potentialResourcesPath % QLatin1String("/qtwebengine_resources.pak"))) {
|
||||
- qWarning("Qt WebEngine resources not found at %s. Trying application directory...", qPrintable(potentialResourcesPath));
|
||||
- potentialResourcesPath = QCoreApplication::applicationDirPath();
|
||||
- }
|
||||
- if (!QFileInfo::exists(potentialResourcesPath % QLatin1String("/qtwebengine_resources.pak"))) {
|
||||
- qWarning("Qt WebEngine resources not found at %s. Trying fallback directory... The application MAY NOT work.", qPrintable(potentialResourcesPath));
|
||||
- potentialResourcesPath = fallbackDir();
|
||||
- }
|
||||
- }
|
||||
|
||||
return potentialResourcesPath;
|
||||
}
|
Loading…
Reference in new issue