summaryrefslogtreecommitdiff
path: root/graphics/kolourpaint/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kolourpaint/files')
-rw-r--r--graphics/kolourpaint/files/patch-CMakeLists.txt24
-rw-r--r--graphics/kolourpaint/files/patch-lgpl_generic_kpColorCollection.cpp24
2 files changed, 0 insertions, 48 deletions
diff --git a/graphics/kolourpaint/files/patch-CMakeLists.txt b/graphics/kolourpaint/files/patch-CMakeLists.txt
deleted file mode 100644
index 2e6df0d40d0d..000000000000
--- a/graphics/kolourpaint/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Remove unused TextWidgets.
-Don't globally install color palettes only used by this application.
-
-Ref: https://invent.kde.org/graphics/kolourpaint/-/merge_requests/79
-
---- CMakeLists.txt.orig 2025-08-07 03:21:56 UTC
-+++ CMakeLists.txt
-@@ -39,7 +39,6 @@ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
- WidgetsAddons
- KIO
- XmlGui
-- TextWidgets
- JobWidgets
- Crash
- )
-@@ -368,7 +367,7 @@ install(FILES org.kde.kolourpaint.appdata.xml DESTINAT
-
- install(PROGRAMS org.kde.kolourpaint.desktop DESTINATION ${KDE_INSTALL_APPDIR})
- install(FILES org.kde.kolourpaint.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
--install(DIRECTORY colors DESTINATION ${KDE_INSTALL_CONFDIR})
-+install(DIRECTORY colors DESTINATION ${KDE_INSTALL_DATADIR}/kolourpaint)
-
- if(BUILD_DOC)
- add_subdirectory(doc)
diff --git a/graphics/kolourpaint/files/patch-lgpl_generic_kpColorCollection.cpp b/graphics/kolourpaint/files/patch-lgpl_generic_kpColorCollection.cpp
deleted file mode 100644
index 8c471bb27858..000000000000
--- a/graphics/kolourpaint/files/patch-lgpl_generic_kpColorCollection.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-Don't globally install color palettes only used by this application.
-
-Ref: https://invent.kde.org/graphics/kolourpaint/-/merge_requests/79
-
---- lgpl/generic/kpColorCollection.cpp.orig 2025-08-07 03:21:56 UTC
-+++ lgpl/generic/kpColorCollection.cpp
-@@ -80,7 +80,7 @@ QStringList kpColorCollection::installedCollections()
- {
- QStringList paletteList;
-
-- QStringList paths = QStandardPaths::locateAll(QStandardPaths::GenericConfigLocation, QStringLiteral("colors"), QStandardPaths::LocateDirectory);
-+ QStringList paths = QStandardPaths::locateAll(QStandardPaths::AppDataLocation, QStringLiteral("colors"), QStandardPaths::LocateDirectory);
- for (const auto &path : paths) {
- paletteList.append(QDir(path).entryList(QStringList(), QDir::Files));
- }
-@@ -206,7 +206,7 @@ bool kpColorCollection::openKDE(const QString &name, Q
- return false;
- }
-
-- QString filename = QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QStringLiteral("colors/") + name);
-+ QString filename = QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("colors/") + name);
- if (filename.isEmpty()) {
- #if DEBUG_KP_COLOR_COLLECTION
- qCDebug(kpLogColorCollection) << "could not find file";