The title is somewhat self explanatory.
Details
gtk-app-here --gtk-module colorreload-gtk-module
Diff Detail
- Repository
- R99 KDE Gtk Configuration Tool
- Branch
- color-reload-module (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 23759 Build 23777: arc lint + arc unit
color-reload-module/CMakeLists.txt | ||
---|---|---|
1 | Would you mind setting this at the parent CMakeLists.txt? | |
2 | Would you mind making this as a subproject? | |
10 | Also, could you remove spaces around parentaces to match the CMake style with the one, that is in kded and kconf_update directories? | |
14 | Isn't the PUBLIC/PRIVATE modifiers a good modern CMake practice? The same for target_include_directories |
color-reload-module/CMakeLists.txt | ||
---|---|---|
2 | That's a Meson thing, not a CMake thing. CMake just has add_subdirectory, afaik. |
CMakeLists.txt | ||
---|---|---|
3 ↗ | (On Diff #77730) | Extra space |
GTK needs to be configured to load the GTK module colorreload-gtk-module.
You mean we need to add gtk-modules=colorreload-gtk-module to settings.ini? And how to add this module to autoload in Wayland?
Seems like I've made a mistake. This does not build.
/home/gikari/kde/src/kde-gtk-config/color-reload-module/reloader.c:21:10: fatal error: gtk/gtk.h: No such file or directory 21 | #include <gtk/gtk.h> | ^~
I tried to change these ones to GTK3_LIBRARY and GLIB2_LIBRARY, but now it throws this:
/home/gikari/kde/src/kde-gtk-config/color-reload-module/reloader.c:37: undefined reference to `g_type_check_instance_cast'
color-reload-module/CMakeLists.txt | ||
---|---|---|
11 ↗ | (On Diff #77730) | It seems like you use other variables, than in other parts of kde-gtk-config. |
Looks like my cached version was behaving properly, while a clean build wasn't. Investigating.
This change, and changes subsequent to it have broken the build of kde-gtk-config.
Please see https://build.kde.org/view/Failing/job/Plasma/job/kde-gtk-config/job/kf5-qt5%20SUSEQt5.12/ and https://build.kde.org/view/Failing/job/Plasma/job/kde-gtk-config/job/kf5-qt5%20FreeBSDQt5.13/
Plasma developers - this is one of several breakages which have occurred over the last couple of days which you have failed to address in a timely fashion.
Should this behaviour continue then CI coverage for Plasma will be discontinued and Plasma repositories will be blacklisted from the CI system and be unable to be used by other KDE software projects.
color-reload-module/CMakeLists.txt | ||
---|---|---|
4 ↗ | (On Diff #77730) | Why is this needed? Aren't the CMake default languages in project (parent CMakeLists) both CXX and C? |
color-reload-module/reloader.c | ||
36 ↗ | (On Diff #77730) | This is hardcoded directory. The $XDG_CONFIG_HOME may be set to something other, not only the default. |
color-reload-module/CMakeLists.txt | ||
---|---|---|
2 ↗ | (On Diff #77730) | May be this could be moved to parent CMakeLists with other includes? |