I’m on branch distro/collabora/coda-25.04 on both https://github.com/CollaboraOnline/online.git as well as https://github.com/LibreOffice/core.git and doing the following:
But that fork does not build as of writing this, due to a few code issues that I wouldn’t know where to begin fixing.
Any idea where I could be going wrong since the flag for configure is missing?
(I wish to avoid pre-built flatpak for as long as possible, and build from source for packaging reasons)
I feel I’ve missed something crucial, because these are the only `*qt*` folders in either libreoffice core or collabora online repo under the `distro/collabora/co-25.04` branch:
And I suspect you’re referring to this qt/ folder which only lives on the `main` branch.
So I’m wondering why the buld instructions first of all does not reference entering the `qt/` folder - and also reference the wrong branch?
Or am I mix-matching instructions some how?
But sure enough, using the `main` branch allows me to do `–enable-qtapp` (without jumping into the qt/ folder). However this results in a few build errors (I’ll attach the log in a new post, because new users can’t attach files and I’ve maxed out two links in one post).
I can get around a few of them with the following:
diff --git a/net/FakeSocket.hpp b/net/FakeSocket.hpp
index 1a4c71ef0d..c97e89e598 100644
--- a/net/FakeSocket.hpp
+++ b/net/FakeSocket.hpp
@@ -16,6 +16,8 @@
#pragma once
+#include <config.h>
+
#include <common/Util.hpp>
#if MOBILEAPP
diff --git a/qt/WebView.cpp b/qt/WebView.cpp
index 0588c35057..67998d3fc5 100644
--- a/qt/WebView.cpp
+++ b/qt/WebView.cpp
@@ -9,6 +9,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <config.h>
+
#include "WebView.hpp"
#include "bridge.hpp"
#include <QWebChannel>
After applying this third patch, it appears that it builds smoothly.
Also tried building against the system-version of libreoffice with `–with-lo-path=/usr/lib/libreoffice` and that builds too.
And I can launch the application, but when opening a document I various issues, among them I get:
GBM is not supported with the current configuration. Fallback to Vulkan rendering in Chromium.
Unspecified Application Error
Hi @Torxed , nice that you are looking into packaging the desktop app on Arch.
So in general distro/collabora/coda-25.04 is still being merged into main, it is known that it does not build sucessfully on main, additionally it is a bit behind fix/patch wise.
Last release we did was from distro/collabora/coda-25.04, and it should still be building fine.