Skip to content

[codex] wire optional K3b dependencies - #409

Draft
JeremyZeng77 wants to merge 5 commits into
rxrbln:mainfrom
JeremyZeng77:codex/t2sde-k3b-optional-deps
Draft

[codex] wire optional K3b dependencies#409
JeremyZeng77 wants to merge 5 commits into
rxrbln:mainfrom
JeremyZeng77:codex/t2sde-k3b-optional-deps

Conversation

@JeremyZeng77

@JeremyZeng77 JeremyZeng77 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add optional dependency metadata for K3b's docs and codec-related integrations
  • mark Krita feature/plugin dependencies as optional where upstream already treats them as optional
  • keep leaner T2 builds degradable instead of implicitly pulling broad KDE/media/image stacks

Why

This is a focused first pass for #24.

Both K3b and Krita expose substantial optional functionality upstream, but the T2 package descriptions were still missing matching optional dependency metadata in several places. That makes slimmer builds harder than necessary and turns feature dependencies into broader hard requirements.

What changed

  • k3b: wire docs, DVD ripping, Taglib, FFmpeg, FLAC, MAD, Musepack, libsndfile, and Ogg/Vorbis plugin toggles to pkginstalled guards
  • krita: mark optional image/plugin/runtime integrations as optional in T2 metadata, including WebP/JPEG-XL/HEIF/OpenEXR/OpenJPEG/Poppler/MyPaint/PyQt-related features and touch GUI support

Validation

  • "C:\Program Files\Git\bin\bash.exe" scripts/Check-PkgFormat k3b
  • "C:\Program Files\Git\bin\bash.exe" scripts/Check-PkgFormat krita
  • git diff --check

Notes

  • first pass for #24
  • kept the Krita change metadata-only where upstream already auto-detects optional components

@JeremyZeng77

Copy link
Copy Markdown
Contributor Author

Added a second pass to this PR: krita.desc now marks multiple upstream-optional feature dependencies as optional in T2 metadata as well, instead of keeping them implicit hard dependencies. This includes image/plugin-related integrations such as WebP, HEIF, JPEG-XL, OpenEXR, OpenJPEG, Poppler, MyPaint, PyQt, and touch-GUI support.

@rxrbln

rxrbln commented Jun 17, 2026

Copy link
Copy Markdown
Owner

this random AI slop realy is not helpful. A human needs to thru all the changes and verify the options even exist and work. Also why do you use Windows to work on a LInux distro? Windows is not a professional code enviroment, that is why even MS added the Linux Subsystem to Windows! Please test build in a Linux environment and provide updated build .cache files as proff, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants