[Midnightbsd-cvs] [MidnightBSD/mports] d3a2b3: kde: fix kinfocenter distro config path and plasma...
Lucas Holt
noreply at github.com
Sun Sep 20 10:51:45 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: d3a2b35ca50b0ebc72b655d422ae2c4265e08582
https://github.com/MidnightBSD/mports/commit/d3a2b35ca50b0ebc72b655d422ae2c4265e08582
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-20 (Sun, 20 Sep 2026)
Changed paths:
M sysutils/plasma6-kinfocenter/Makefile
M x11/plasma6-plasma-desktop/Makefile
A x11/plasma6-plasma-desktop/files/patch-CMakeLists.txt
Log Message:
-----------
kde: fix kinfocenter distro config path and plasma-desktop SCIM option (#1498)
Two follow-up fixes to the Plasma 6.6.6 update (#1482).
### sysutils/plasma6-kinfocenter
`post-install` substituted `%%DATADIR%%` in `kcm-about-distrorc` with
`${DATADIR}`, which during `fake` points into the staging directory. The
build path was baked into the shipped config, so *About This System*
could not find `freebsd_logo.svg` on an installed system.
Substitute the runtime path (`${DATADIR:S,^${PREFIX},${TRUE_PREFIX},}`)
instead.
Verified on the installed package:
```
LogoPath=/usr/local/share/kinfocenter/images/freebsd_logo.svg
```
### x11/plasma6-plasma-desktop
SCIM is located with `pkg_check_modules`, which
`CMAKE_DISABLE_FIND_PACKAGE_SCIM` does not affect — only `find_package`
honours that variable. The port's `SCIM` option was therefore dead: an
installed `textproc/scim` was always compiled in regardless of the
option state.
The kimpanel SCIM backend does not build against libc++ (scim's `ucs4_t`
is `unsigned int`, for which there is no `std::char_traits`
specialisation), so the port failed to build on any box that had scim
installed.
New `files/patch-CMakeLists.txt` wraps the lookup in `if (NOT
CMAKE_DISABLE_FIND_PACKAGE_SCIM)`, making the option work as intended.
Re-enabling the backend properly is tracked in #1493.
### Testing
- `bmake package` — EXIT=0 for both ports, zero SCIM errors in the
plasma-desktop log
- Both packages install cleanly at 6.6.6_1
- `PORTREVISION` bumped on both
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01NSsgED5s7GPYJNb1HxuaU9
## Summary by Sourcery
Correct KInfoCenter resource paths and restore functional SCIM option
handling in Plasma Desktop.
Bug Fixes:
- Fix the KInfoCenter distribution configuration to use the installed
runtime path for the FreeBSD logo.
- Make the Plasma Desktop SCIM option correctly disable SCIM detection
when the option is off, preventing unintended SCIM builds and related
failures.
Chores:
- Bump PORTREVISION for both ports.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list