#548 Gear 24.08 changes
Closed: Fixed by yselkowitz. Opened by yselkowitz.

Additions, removals, and conversions to KF6 are expected:

https://community.kde.org/KDE_Gear/24.08_Release_notes

Added to Gear:
- kgraphviewer
- kweathercore
- massif-visualizer

Dropped from Gear:
- kf5-kipi-plugins
- kf5-libkipi
- knotes

Switched from Qt5/KF5 to Qt6/KF6:
- ghostwriter
- kdevelop
- kdevelop-php
- kirigami-gallery
- kompare
- libkomparediff2
- lokalize
- poxml

No longer need -DQT_MAJOR_VERSION=6:
- k3b
- kdeedu-data
- kmplot
- krdc


Please note that kgraphviewer and massif-visualizer do not have \@kde-sig permissions. However, their versions in rawhide/f41 have already been migrated to KF6, so initial spec file changes should be minimal.

Hey @lkundrak , could you add the @kde-sig group as commiter to the following repos:
- https://src.fedoraproject.org/rpms/kgraphviewer
- https://src.fedoraproject.org/rpms/massif-visualizer

Thanks!

Hey @smani, could you please add @kde-sig as either commit or admin level on these packages?

24.07.90 PRs for rawhide, so that the 24.08.0 updates can be automated:

https://src.fedoraproject.org/rpms/ghostwriter/pull-request/3
https://src.fedoraproject.org/rpms/kgraphviewer/pull-request/2
https://src.fedoraproject.org/rpms/massif-visualizer/pull-request/4

kirigami-gallery seems not completely ready; filed https://invent.kde.org/sdk/kirigami-gallery/-/merge_requests/95 but more work is needed.

Hey \@smani, could you please add @kde-sig as either commit or admin level on these packages?

This is done.

PoC builds: https://copr.fedorainfracloud.org/coprs/yselkowitz/kde-gear-24.08/monitor/

Most of the PRs will need to be coordinated and built in a side tag.

Metadata Update from @yselkowitz:
- Issue tagged with: meeting

Metadata Update from @yselkowitz:
- Issue untagged with: meeting
- Issue assigned to farchord (was: marcdeop)

https://bodhi.fedoraproject.org/updates/FEDORA-2024-ee69755999

The changes are stable in rawhide, except for kirigami-gallery as noted above.

Add to automation:
- kgraphviewer
- kweathercore
- massif-visualizer

Remove from automation:
- kf5-kipi-plugins
- kf5-libkipi
- kirigami-gallery (temporarily)
- knotes

Virtual provides mappings to add or verify:
libkomparediff2-devel: cmake(KompareDiff2) -- was previously cmake(LibKompareDiff2)
kdevelop-devel: cmake(KDevelop) and cmake(KDevPlatform)
kdevelop-pg-qt-devel: cmake(KDevelop-PG-Qt)
kgraphviewer-devel: cmake(KGraphViewerPart)
kweathercore-devel: cmake(KWeatherCore)

The changes are stable in rawhide, except for kirigami-gallery as noted above.

Add to automation:
- kgraphviewer
- kweathercore
- massif-visualizer

Remove from automation:
- kf5-kipi-plugins
- kf5-libkipi
- kirigami-gallery (temporarily)
- knotes

Virtual provides mappings to add or verify:
libkomparediff2-devel: cmake(KompareDiff2) -- was previously cmake(LibKompareDiff2)
kdevelop-devel: cmake(KDevelop) and cmake(KDevPlatform)
kdevelop-pg-qt-devel: cmake(KDevelop-PG-Qt)
kgraphviewer-devel: cmake(KGraphViewerPart)
kweathercore-devel: cmake(KWeatherCore)

So we good to update?

Once you make those automation changes, you should be good to go.

Alright I updated the automation's config to add the new packages to the ignore list. The new gear packages should be picked up by the API (...?) and they have identical name to fedora packages, so things should line up perfectly.

I didn't commit ignoring kirigami-gallery as it (should?) be for one release only. I did ignore it locally though.

Side note: kjots and trojita seem to have not gotten a release on the pim side.

Side note: kjots and trojita seem to have not gotten a release on the pim side.

Neither are part of Gear. kjots will probably need to be rebuilt against the new PIM libraries, and if it fails, hopefully a newer snapshot will help (and may be a good idea anyway). trojita is still Qt5 and so won't be affected by this update.

Cantor might need to be modified somehow. I had to remove this patch from the spec:

cantor-24.02.2-jl_array_data.patch

Reason: It would build on everything, but f40. Something about an array not being defined. Attaching build log.
builder-live.txt

That's probably due to different julia versions in F40 (1.9) vs F41+ (1.11), but F40 has 1.11 in testing, so hopefully by they time you're ready to build 24.08 for F40, they'll all be in sync.

Yeah someone else'll have to work on Cantor. With that patch removed, it now builds on F40, but fails on 41/rawhide. So I'll skip it for now.

That's probably due to different julia versions in F40 (1.9) vs F41+ (1.11), but F40 has 1.11 in testing, so hopefully by they time you're ready to build 24.08 for F40, they'll all be in sync.

yeah that's the thing: I'm building right now :) I'll skip it for now, we can update it separately, I don't think it's a dependancy for anything else

Gonna have to skip kdevelop too on f41/f40:

No match for argument: cmake(KDevelop-PG-Qt) >= 2.3.0

(Will have to do this once the package hits stable)

kdevelop, kdevelop-php, kompare, and libkomparediff2 need to be updated together, since there are dependencies between them. That just means that kdevelop-pg-qt (which is not Gear) needs to be updated in F40/F41 as it already is in rawhide.

The automatic dependency resolution relies on repoquery to discover the SRPM names, meaning the build has to be in the repos already for it to work.
That's not great, but you can work around it by temporarily forcing it to rawhide instead of git branch: https://pagure.io/fedora-kde/kde-update-scripts/blob/master/f/Package.py#_374

Oh you also need to wipe the cache i guess: ~/.cache/kde-update-scripts/pkgs/

Okay so kdevelop and kdevelop-php were built on rawhide just fine. Umbrello had to be modified to remove the kdevelop integration because configure was failing (Seems mixing Qt5 and Qt6 stuff dont really work here, considering kdevelop is now Qt6).

I commented out the kdevelop stuff in the umbrello spec until umbrello goes Qt6.

F41 sidetag: f41-build-side-94792
F40 sidetag: f40-build-side-94802

All done. Side notes:

kjots may need to be rebuilt. kdevelop/kdevelop-php is built on all 3 repos, Cantor is built on F41 and rawhide but not F40 (As that julia update is stuck in a perpetual limbo it seems). I did send an email to the maintainer.

Thanks @farchord ! https://invent.kde.org/pim/pim-technical-roadmap/-/issues/58 would seem to imply that kjots should also be considered obsolete.

Working on kirigami-gallery in https://invent.kde.org/sdk/kirigami-gallery/-/merge_requests/95

kirigami-gallery is fixed upstream, and heading to testing downstream with patches on top of 24.08.0. The patches will need to be removed whenever they are shipped upstream (either a later 24.08.z or 24.12.0) but otherwise kirigami-gallery should be included in Gear updates again.

Anything left to track here?

No that's it. I didn't modify the script to omit kirigami-gallery, I simply did a unpushed edit to the script. It'll be updated next release.

Then looks like we're done!

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

Metadata