Calligra version 4.0.1 is has been available since 2024-08-27 from the KDE developers working on the KDE Calligra project. The ports collection for OpenBSD has the new version of Calligra (4.0.1) and a Makefile. FreeBSD should update the calligra-3.2.1 to calligra-4.0.1, too. Perhaps most useful will be the Makefile that OpenBSD uses to build the port. See below. Here are some valuable links: Maintainer's site: https://carlschwan.eu/2024/09/03/calligra-4.0.1/ Site for list of mirrors for downloading source: https://download.kde.org/stable/calligra/calligra-4.0.1.tar.xz.mirrorlist Makefile at openbsd/ports/calligra https://github.com/openbsd/ports/blob/master/editors/calligra/Makefile It seems one could start with the Makefile there at openbsd/ports/calligra/Makefile, change WANTLIB to LIB_DEPENDS, double-check that the CONFIGURE_ARGS that disable certain optional dependencies is compatible with FreeBSD, and then build.
I think the summary I chose is misleading folks. What I mean is that KDE Developers have had Calligra 4.0.0 out since 2024-08-27, and OpenBSD has the package available for installation, but FreeBSD is still hanging on to the previous version, 3.2.1. Would anyone be interested in building and providing this updated package for FreeBSD, or otherwise, would anyone be interested in guiding me. I'd be willing to give building it a go, but I'd need some mentoring.
Calligra 4.x requires Qt6/KF6, so we can't update it quite yet. We on kde@ are aware of the situation, however, and it will be updated once the big migration to Qt6/KF6 of the KDE universe has been completed. No definite ETA, but it should be relatively soon.
I'm working on an update to the port -- while it requires KF6 and Qt6, those are already available and the code is fetchable and at least *starts* to build once I have updated the dependencies.
Jason, Adriaan, I appreciate your effort. I already realize the building will be tedious. Calligra is so complicated with all its seemingly endless dependencies. It sort of reminds me of Kmail and how the software developers created that piece of software. It is so incredibly unintuitive to set up and configure. I had to create a "prescription" of sorts so that I could refer to the more than 20 steps needed just to configure the send (smtp) and receive (imap) and other personal settings in the configuration part of the application. I would bet / guess Calligra is likewise quite intertwined with scores of KF6 and Qt6 libraries. Thank you for the update, gentlemen.
Because Calligra 4 depends on KDE Frameworks 6, it cannot be installed alongside KDE Frameworks 5 -- if you're using the main ports tree, that means you can't install it alongside a KDE Plasma desktop environment. I don't consider that a viable upgrade path.
Created attachment 255305 [details] Tarball of calligra/ This is a tarball of my updated Calligra port. If you have a non-KDE Plasma desktop environment to run it in (x11-wm/twm will do, or so will river, a wayland compositor) then you can try it.
(In reply to Adriaan de Groot from comment #5) I am using the main ports tree, and it contains plasma6, and I am running a KDE Plasma6 desktop, not Plasma5. So, I thought I would have the right environment to run the newer version of Calligra. I run Calligra 4.0.1 on Manjaro and Arch on these KDE Plasma6 desktop environments. I have never been able to get a Wayaland session of any kind running on FreeBSD. I tried Wayfire and Hyprland by following the FreeBSD Manual and also by looking at other people's efforts, but still could not get Wayland running after I installed KDE Plasma6 on FreeBSD-14.1-RELEASE. I'll give the tarball you created a try. But, why cannot Calligra be in the ports tree when both Plasma6 and Plasma5 and KF5 and KF6 are both in the ports tree? I am not understanding well.
Comment on attachment 255305 [details] Tarball of calligra/ This tarball is 34 kibibytes. It seems quite small for a whole office suite. Is this tarball the correct size?
(In reply to raob from comment #8) The tarball just contains the ports files (Makefile, pkg-plist, etc.) that you can use to replace the current ones in the ports tree. You still have to build it...it's not a package.
(In reply to Jason E. Hale from comment #9) All right, thank you for clarifying. Do you have any comment about why Adriaan says Calligra cannot be in the ports tree of FreeBSD when it is in the ports tree of OpenBSD and when the ports tree of FreeBSD includes both KDE Frameworks 5 and KDE Frameworks 6 and Qt5 and Qt6 and one can run a KDE Plasma 6 desktop environment just as easily as the prior version?
(In reply to raob from comment #10) I know there are still some KF6 components that conflict with their KF5 counterpart in the main ports tree that could block a plasma5 user from installing KF6-based applications and vice versa. Qt5 and Qt6 don't conflict at all. As I alluded to in comment #2, there is a lot of work being done behind the scenes to remedy this, not to mention Wayland support. [1] On kde@, I currently deal mostly with Qt, CMake, and other random ports. I'm also still using plasma5, so I'm not the best one to ask about KF* and plasma6. [1] https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6
To everyone here, I'm in my Plasma6 K Desktop Environment. I extracted the calligra.tgz into /opt/calligra4 and then copied the files from /opt/calligra4/calligra/* to /usr/porst/editors/calligra4, which I created. I started the build 9 minutes ago, and after an enormous amount of compiling Fortran objects for lapack, the Makefile is proceeding along while I accept the default options. Now, it's been 10 minutes building, and all is well so far. It's such a huge project. There must be 1000s of files that this office suite depends upon. Thank you, Adriaan, and the rest of you, for taking time out of your schedule to work on this project and to write to me about its requirements and eccentricities. And so, if you don't hear from me, I again thank you! If the build isn't successful for any reason, I'll let you know.
Beautiful, folks. Just beautiful. I got it to build and install on FreeBSD-14.1-RELEASE running K Desktop Environment Plasma6. It took 1h 24min to build everything, fetching dependencies, and building them. Awesome work, Mr/Dr Adriaan de Groot. Your Makefile worked perfectly on my system / configuration. I'm very happy to have this laptop set up with a desktop environment (Plasma6) that also includes Calligra 4.0.1. I don't need to concern myself with installing a virtual machine with that office suite and piping the display through with X11Forwarding nor do I need to concern myself with running Fedora, for example, containerized (with podman), and sharing the display back to the host via xhost, etc. This work is marvelous! And accomplished so rapidly, too. Kudos.
Just a heads up, calligra has been added to the KDE Gear release-service starting with 24.12 which is due out next week. We will have to integrate it into the new Qt6-based ports we already have in our test repo.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=77b5b752b88ce8558279b677d252ea1b28adf36d commit 77b5b752b88ce8558279b677d252ea1b28adf36d Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2025-02-06 06:49:20 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2025-02-06 06:49:20 +0000 editors/calligra: update to 24.12.0 for KF6/Qt6 Initial porting and update to 4.0.1 by adridg@ PR: 282626 editors/calligra/Makefile | 70 +- editors/calligra/distinfo | 10 +- ...9aec11052733e393976142516d2190e4564.diff (gone) | 46 - ...9cd114db9d97e28e31869919bba545a979d.diff (gone) | 127 -- editors/calligra/files/patch-CMakeLists.txt (gone) | 33 - editors/calligra/files/patch-cxx17.diff (gone) | 1421 -------------------- .../files/patch-libs_text_CMakeLists.txt (gone) | 20 - editors/calligra/pkg-plist | 719 ++++++---- 8 files changed, 445 insertions(+), 2001 deletions(-)
Landed with a version-numbering-scheme change (from upstream) just recently.