fix(kde): don't modify LD_LIBRARY_PATH
Metadata
Current evaluation
Merged in PR #6016 (commit 3fc9abd0b), removing Snapcraft-added LD_LIBRARY_PATH and QT_LIBRARY_PATH from KDE Neon 6 in favor of launcher configuration.
Resolution: closed resolved
Reason: PR #6016 was merged as commit 3fc9abd0b. The KDE Neon 6 extension no longer injects these variables into generated project files; they are instead defined by KDE's launcher-specific configuration.
Evaluated by: mr-cal-bot
No scores available.
Issue body
<!-- Describe your changes -->
I removed LD_LIBRARY_PATH and QT_LIBRARY_PATH from the kde-neon-6 extension file to add them to the launcher-specific file.
Could you take a look at this change in desktop-exports?
It's so that more GTK configuration files are accessible, for example, the colors.css file used by KDE to change the colors used by the GTK Breeze theme.
---
- [X] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #6016 (commit 3fc9abd0b), removing Snapcraft-added LD_LIBRARY_PATH and QT_LIBRARY_PATH from KDE Neon 6 in favor of launcher configuration. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6016 as commit 63991e833, stopping the KDE extension from modifying library paths and relying on the desktop launcher instead. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6016 as commit 3fc9abd0b: the kde-neon-6 extension no longer injects LD_LIBRARY_PATH/QT_LIBRARY_PATH, leaving that to KDE's desktop-launcher; reverted later on 8.x by 63991e833 and re-landed in #6366. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6016 as commit 3fc9abd0b, removing Snapcraft-added LD_LIBRARY_PATH and QT_LIBRARY_PATH from KDE Neon 6 in favor of launcher configuration. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as 3fc9abd0b: the KDE Neon 6 extension no longer sets LD_LIBRARY_PATH or QT_LIBRARY_PATH; KDE's desktop launcher now handles them. All CI checks passed. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged removal of LD_LIBRARY_PATH and QT_LIBRARY_PATH from the kde_neon_6 extension. These variables are now managed by KDE's snapcraft-desktop-integration launcher. Approved by maintainers and passed all CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Removes LD_LIBRARY_PATH and QT_LIBRARY_PATH from the KDE Neon 6 extension, delegating them to the kf6-core desktop-launch file. Resolves GTK config accessibility and was coordinated with KDE maintainers ahead of Snapcraft 8.14.1. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6366 fix(kde-neon-6): don't modify LD_LIBRARY_PATH | snapcraft | merged | Merged PR #6366 reapplies #6016 onto main: KDE Neon 6 no longer sets LD_LIBRARY_PATH/QT_PLUGIN_PATH in snapcraft.yaml (moved to the launcher) and lxqt-support is updated, fixing #6327 (SNAPCRAFT-1365). | |
| #6002 Fix kde-neon-6 LD_LIBRARY_PATH | snapcraft | closed | Superseded by merged PR canonical/snapcraft#6016 (commit 3fc9abd0b), which corrected KDE Neon 6 environment handling by relying on launcher configuration. | |
| #6327 Snapcraft 9 incorrectly sets LD_LIBRARY_PATH and QT_LIBRARY_PATH in the extensions | snapcraft | closed | Fixed in merged PR #6366, restoring #6016 on main: KDE Neon 6 configures library paths in its launcher, and lxqt-support symlinks are corrected. | |
| #5302 kde-neon: invalid CMAKE_PREFIX_PATH | snapcraft | closed | Fixed KDE Neon CMAKE_PREFIX_PATH handling in merged PR #5310 (commit 9cb3f5155), released in Snapcraft 8.8; the maintainer marked #5302 completed. | |
| #5585 fix: kde-neon: Append usr to cmake prefix path #5272 | snapcraft | merged | Merged as e2daf4cbe: PR #5585 updates KDE Neon CMAKE_PREFIX_PATH entries to use SDK usr subdirectories, fixing #5272; released in Snapcraft 8.10.1. | |
| #5104 extensions/kde-neon-6: fix XDG_CONFIG_DIRS | snapcraft | merged | Merged PR #5104, adding $SNAP_REAL_HOME/.config to XDG_CONFIG_DIRS so KDE Neon 6 can locate kdeglobals theming settings. |