495c1c9852
The unclassified recipes (breeze, kde-cli-tools,
kf6-kded6, kglobalacceld, plasma-desktop,
plasma-workspace) had `ecm_install_po_files_as_qm`
and `ki18n_install(po)` sed chains that targeted
calls absent from upstream 6.26.0/6.6.5. Unlike the
24-recipe cleanup-kf6-noop-seds.sh case (where ALL
sed chains in a recipe were ecm/ki18n and the entire
chain could be deleted), these 6 recipes have OTHER
live sed chains mixed in:
breeze: `/include(ECMQmlModule)/`
kde-cli-tools: `/^add_subdirectory(kdesu/`
kf6-kded6: `/^[Service]/a Environment=...`
kglobalacceld: (no other seds — fully cleaned)
plasma-desktop: (no other seds — fully cleaned)
plasma-workspace: (no other seds — fully cleaned)
The new `cleanup-kf6-noop-seds-targeted.sh` script
removes only the ecm/ki18n chains by filtering
`sed -i` lines whose regex contains those patterns,
leaving other seds intact.
Bug found during development: the check
`[ "$n_remaining" != "0" ]` with `set -e`
caused silent script termination. Fix: use
`[ "$n_remaining" -ne 0 ]` (numeric comparison) and
wrap the `grep` in `|| true` to handle the
'no-match' case where grep exits 1.
Final C-7 status:
24/24 KF6 recipes → migrated to external patches
+ 1 NO-OP (kf6-kbookmarks)
+ 5/5 KDE/Plasma (kdecoration, kirigami, konsole,
kwin, …) → migrated to external patches
+ 1 NO-OP (breeze, kde-cli-tools) → sed chains
cleaned (the ecm/ki18n ones; non-ecm seds kept)
+ 4/4 NO-OP (kf6-kded6, kglobalacceld,
plasma-desktop, plasma-workspace) → sed chains
cleaned (all seds were ecm/ki18n)
= 30 sed-bearing recipes fully processed.
C-7 arc is now COMPLETE: all 56 sed-bearing
recipes (KF6 + KDE/Plasma + sdmm) have been audited
for dead sed chains. The remaining work is C-7
step 2: edit each recipe's [build].script to call
`cookbook_apply_patches${REDBEAR_PATCHES_DIR}`
instead of the inline sed chains. That's a
per-recipe recipe.toml edit, not a script.