Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-kio
kio-5.103.0-add-5-suffix-to-cache-cleaner.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kio-5.103.0-add-5-suffix-to-cache-cleaner.patch of Package mingw64-kio
diff -ur kio-5.103.0.ori/src/kioworkers/http/CMakeLists.txt kio-5.103.0/src/kioworkers/http/CMakeLists.txt --- kio-5.103.0.ori/src/kioworkers/http/CMakeLists.txt 2023-02-05 10:23:00.000000000 +0100 +++ kio-5.103.0/src/kioworkers/http/CMakeLists.txt 2024-08-08 00:22:26.036024770 +0200 @@ -30,6 +30,8 @@ # Mark it as non-gui so we won't create an app bundle on Mac OS X ecm_mark_nongui_executable(kio_http_cache_cleaner) +set_target_properties(kio_http_cache_cleaner PROPERTIES OUTPUT_NAME kio_http_cache_cleaner5) + target_sources(kio_http_cache_cleaner PRIVATE http_cache_cleaner.cpp ) @@ -101,6 +103,7 @@ install( FILES http_cache_cleaner.desktop - DESTINATION ${KDE_INSTALL_KSERVICESDIR} ) + DESTINATION ${KDE_INSTALL_KSERVICESDIR} + RENAME http_cache_cleaner5.desktop ) diff -ur kio-5.103.0.ori/src/kioworkers/http/http_cache_cleaner.cpp kio-5.103.0/src/kioworkers/http/http_cache_cleaner.cpp --- kio-5.103.0.ori/src/kioworkers/http/http_cache_cleaner.cpp 2023-02-05 10:23:00.000000000 +0100 +++ kio-5.103.0/src/kioworkers/http/http_cache_cleaner.cpp 2024-08-08 00:20:33.467550475 +0200 @@ -38,7 +38,7 @@ qint64 g_maxCacheSize; static const char appFullName[] = "org.kio5.kio_http_cache_cleaner"; -static const char appName[] = "kio_http_cache_cleaner"; +static const char appName[] = "kio_http_cache_cleaner5"; // !START OF SYNC! // Keep the following in sync with the cache code in http.cpp @@ -770,7 +770,7 @@ } QLocalServer lServer; - const QString socketFileName = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QLatin1String("/kio_http_cache_cleaner"); + const QString socketFileName = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QLatin1String("/kio_http_cache_cleaner5"); // we need to create the file by opening the socket, otherwise it won't work QFile::remove(socketFileName); if (!lServer.listen(socketFileName)) { diff -ur kio-5.103.0.ori/src/kioworkers/http/http_cache_cleaner.desktop kio-5.103.0/src/kioworkers/http/http_cache_cleaner.desktop --- kio-5.103.0.ori/src/kioworkers/http/http_cache_cleaner.desktop 2023-02-05 10:23:00.000000000 +0100 +++ kio-5.103.0/src/kioworkers/http/http_cache_cleaner.desktop 2024-08-08 00:19:10.944269755 +0200 @@ -67,7 +67,7 @@ Name[zh_CN]=HTTP 缓存清除程序 Name[zh_HK]=HTTP 快取清除程式 Name[zh_TW]=HTTP 快取清除程式 -Exec=kio_http_cache_cleaner +Exec=kio_http_cache_cleaner5 Comment=Cleans up old entries from the HTTP cache Comment[ar]=ينظّف خبيئة HTTP من المُدخلات القديمة Comment[az]=Köhnə girişləri HTTP keşindən təmizləyin diff -ur kio-5.103.0.ori/src/kioworkers/http/http.cpp kio-5.103.0/src/kioworkers/http/http.cpp --- kio-5.103.0.ori/src/kioworkers/http/http.cpp 2023-02-05 10:23:00.000000000 +0100 +++ kio-5.103.0/src/kioworkers/http/http.cpp 2024-08-08 00:19:42.501524316 +0200 @@ -4913,7 +4913,7 @@ } Q_ASSERT(command.size() == BinaryCacheFileHeader::size + s_hashedUrlNibbles + sizeof(quint32)); if (m_cacheCleanerConnection.state() != QLocalSocket::ConnectedState) { - QString socketFileName = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QLatin1Char('/') + QLatin1String("kio_http_cache_cleaner"); + QString socketFileName = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QLatin1Char('/') + QLatin1String("kio_http_cache_cleaner5"); m_cacheCleanerConnection.connectToServer(socketFileName, QIODevice::WriteOnly); if (m_cacheCleanerConnection.state() == QLocalSocket::UnconnectedState) { @@ -4925,9 +4925,9 @@ << QCoreApplication::applicationDirPath() // then look where our application binary is located << QLibraryInfo::location(QLibraryInfo::LibraryExecutablesPath) // look where libexec path is (can be set in qt.conf) << QFile::decodeName(KDE_INSTALL_FULL_LIBEXECDIR_KF); // look at our installation location - const QString exe = QStandardPaths::findExecutable(QStringLiteral("kio_http_cache_cleaner"), searchPaths); + const QString exe = QStandardPaths::findExecutable(QStringLiteral("kio_http_cache_cleaner5"), searchPaths); if (exe.isEmpty()) { - qCWarning(KIO_HTTP) << "kio_http_cache_cleaner not found in" << searchPaths; + qCWarning(KIO_HTTP) << "kio_http_cache_cleaner5 not found in" << searchPaths; return; } qCDebug(KIO_HTTP) << "starting" << exe;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor