Re: editors/ghostwriter 24.12.0 versus x11/kde5

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Wed, 01 Jan 2025 16:53:51 UTC
On Wed, 1 Jan 2025 16:05:19 +0000
Graham Perrin <grahamperrin@gmail.com> wrote:

> First noted on CURRENT (below, abbreviated), then with latest packages 
> for 14.2-RELEASE (<https://pastebin.com/raw/rzqJAkUt>).
> 
> Avoidable by locking ghostwriter-24.02.2 :-)
> 
> <https://github.com/FreeBSD/freebsd-ports/commit/3c946a45d311a3e41712cbb5c6550878e564ac50>
> 
> > … now only supports qt6 …

Just my opinion as a user.

Basically ports depend on kf* ports should NOT switch to Qt6 until KDE5
is remaining as defaut KDE on FreeBSD. The exceptions would be:

  *KDE6 ports themselves,
  *Security fix is available only for KF6 versions upstream.

Unless the second reason, if upstream stops support building with kf5,
ports should be stick with currently in-tree version and wait for KDE6
to be default on ports.

This is because some kf6 ports conflict with their kf5 versions.
For ports not at all depends on kf6 but qt6, it seems to be OK to
coexsist with KDE5, as far as I've experienced.
And not all kf6 ports conflict with kf5 versions.

I know it's just a dream regarding human resources, but if kf5 ports
and corresponding kf6 ports are completely separated and named
differently (i.e., all files for kf5 include "kf5-" or "-kf5" and all
files for kf6 includes "kf6-" or "-kf6" to avoid conflicts), this kind
of problems wouldn't happen, as dependencies need to explicitly specify
which to use.

Unfortunately, forcible switches to kf6 would happen more and more as
of upstream switches and unavailabilities of security updates for kf5
variants.

> 
> …
> root@mowa219-gjp4-zbook-freebsd:~# time pkg -r /tmp/up upgrade --yes 
> --fetch-only --quiet --repository FreeBSD-ports
> Conflicts with the existing packages have been found.
> One more solver iteration is needed to resolve them.
> 27.438u 3.826s 2:09.57 24.1% 3196+537k 829+2293io 1080pf+0w
> root@mowa219-gjp4-zbook-freebsd:~# time pkg -r /tmp/up upgrade --yes 
> --fetch-only --repository FreeBSD-ports
> Updating FreeBSD-ports repository catalogue...
> FreeBSD-ports repository is up to date.
> All repositories are up to date.
> Checking for upgrades (22 candidates): 100%
> Processing candidates (22 candidates): 100%
> Checking integrity... done (3 conflicting)
> - kf6-kguiaddons-6.9.0 [FreeBSD-ports] conflicts with 
> kf5-kguiaddons-5.116.0 [installed] on /usr/local/bin/kde-geo-uri-handler
> - kf6-kguiaddons-6.9.0 [FreeBSD-ports] conflicts with 
> kf5-kguiaddons-5.116.0 [FreeBSD-ports] on /usr/local/bin/kde-geo-uri-handler
> - kf6-breeze-icons-6.9.0 [FreeBSD-ports] conflicts with 
> kf5-breeze-icons-5.116.0 [installed] on 
> /usr/local/share/icons/breeze-dark/actions/12/object-fill.svg
> Checking integrity... done (0 conflicting)
> The following 278 package(s) will be affected (of 0 checked):
> Installed packages to be REMOVED:
> …
> Number of packages to be removed: 252
> …


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>