#566 Removing dependency on Perl, Tcl & Tk
Closed: Fixed by siosm. Opened by siosm.

We should remove the last remaining users of Perl, Tcl and Tk from the default installation of the KDE Spin, KDE Mobile & Kinoite.

We have the following users:


  • khelpcenter:
    • Used to search man pages (does not work right now as far as I've tested)
    • Upstream bug: https://bugs.kde.org/show_bug.cgi?id=493223
    • It's a small helper of 100 lines of Perl. Rewriting it in Python or C++ should be reasonably easy once you've figured out what it is supposed to do.

  • mariadb-server-utils:
    • Recommended by mariadb but it's only useful for server use cases
    • Removed in Kinoite: https://pagure.io/fork/siosm/workstation-ostree-config/c/07c5d0d813a70a626b6b1f0c03a4e6a98ef8aa49
    • Should be easy to exclude from the KDE Spin default installation

  • tuned:
    • Requires python3-perf, which links to libperl
    • https://gitlab.com/cki-project/kernel-ark/-/blob/os-build/tools/perf/util/scripting-engines/trace-event-perl.c
    • https://gitlab.com/CentOS/Hyperscale/src/kernel-ark/-/commit/81464eb831cf6a5e86ad1519affd6a039afced90

  • catdoc:
    • Pulled in by kf6-filemetadata
    • Includes a Tk GUI app that we don't use

khelpcenter fix in https://invent.kde.org/system/khelpcenter/-/merge_requests/53

mariadb-server-utils removal in https://pagure.io/fedora-kickstarts/pull-request/1066

Backport in https://src.fedoraproject.org/rpms/khelpcenter/pull-request/1

Kiwi description PR: https://pagure.io/fedora-kiwi-descriptions/pull-request/95

tuned split in https://src.fedoraproject.org/rpms/tuned/pull-request/8. It looks like it would be too difficult to split the python3-perf module (or we would have to make two packages? one with and one without?), so I'm splitting the plugins that rely on this python3 package instead.

Metadata Update from @siosm:
- Issue assigned to siosm

Metadata Update from @siosm:
- Issue set to the milestone: Fedora Linux 42
- Issue tagged with: kinoite, packaging

F41 kiwi: https://pagure.io/fedora-kiwi-descriptions/pull-request/96

F41 kickstarts: https://pagure.io/fedora-kickstarts/pull-request/1067

Additional mariadb fix: https://src.fedoraproject.org/rpms/mariadb10.11/pull-request/13

I started looking into removing Tcl & Tk as well: https://src.fedoraproject.org/rpms/catdoc/pull-request/1

I started looking into removing Tcl & Tk as well: https://src.fedoraproject.org/rpms/catdoc/pull-request/1

FWIW tcl/tk are now part of the flatpak runtimes as dependencies of tkinter (as of fd.o 24.08 and f41).

khelpcenter update: https://bodhi.fedoraproject.org/updates/FEDORA-2024-85523c914b

New tuned PR: https://github.com/redhat-performance/tuned/pull/716

mariadb is getting fixed: https://src.fedoraproject.org/rpms/mariadb10.11/c/666ebcadd3eecc13de945598429f3c9abc9b6443?branch=rawhide

There should be only tuned left: https://github.com/redhat-performance/tuned/pull/716

Once the updated mariadb package lands in Rawhide, we will have to update the Kinoite & Kiwi configs to explicitly exclude the mariadb10.11-client-utils package.

Changes in tuned and mariadb landed in Rawhide and F42.

Fixed in Rawhide, will be backported for F42: https://pagure.io/workstation-ostree-config/pull-request/617

Metadata Update from @siosm:
- Issue marked as blocking: #112

Backported to F42. Likely won't be able to backport to F41. Closing.

Metadata Update from @siosm:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata