Package Details: euro-office-desktopeditors-git r320.16d1a01-2

Git Clone URL: https://aur.archlinux.org/euro-office-desktopeditors-git.git (read-only, click to copy)
Package Base: euro-office-desktopeditors-git
Description: Fork of OnlyOffice
Upstream URL: https://github.com/Euro-Office/DesktopEditors
Licenses: AGPL-3.0-only
Provides: euro-office-desktopeditors
Submitter: FranoGames
Maintainer: FranoGames
Last Packager: FranoGames
Votes: 2
Popularity: 1.02
First Submitted: 2026-05-31 13:31 (UTC)
Last Updated: 2026-07-11 13:19 (UTC)

Pinned Comments

FranoGames commented on 2026-05-31 13:32 (UTC) (edited on 2026-05-31 13:39 (UTC) by FranoGames)

Compilation very resource-intensive.

User needs to have access to docker.

Latest Comments

Lone_Wolf commented on 2026-07-10 19:12 (UTC)

@FranoGames : Please look at https://bbs.archlinux.org/viewtopic.php?pid=2304068 where a user without an aur user account has posted changes needed to build this.

gunit commented on 2026-06-28 13:20 (UTC)

Thank you very much for this project. Unfortunately, I had a lot of trouble building it. My PKGBUILD file (good luck with that...):

 
# Maintainer: FranoGames

pkgname=euro-office-desktopeditors-git
pkgver=r283.69bef73
pkgrel=1
pkgdesc="Fork of OnlyOffice"
arch=('x86_64')
url="https://github.com/Euro-Office/DesktopEditors"
license=('AGPL-3.0-only')
provides=('euro-office-desktopeditors')
depends=('libxrandr' 'libglvnd' 'expat' 'libxext' 'libxi' 'wayland' 'qt5-wayland' 'pango' 'libdrm' 'cairo' 'qt5-svg' 'bash' 'hunspell' 'gstreamer' 'libice' 'qt5-x11extras' 'glibc' 'libtiff5' 'libstdc++' 'gtk3' 'dbus' 'freetype2' 'libcups' 'qt5-base' 'mesa' 'gst-plugins-base-libs' 'libxkbcommon' 'libsm' 'glib2' 'hicolor-icon-theme' 'libxdamage' 'nss' 'libgcc' 'libxcomposite' 'libpulse' 'qt5-multimedia' 'libx11' 'fontconfig' 'at-spi2-core' 'libxkbcommon-x11' 'libnotify' 'qt5-declarative' 'alsa-lib' 'libxcb' 'harfbuzz' 'libxfixes' 'nspr')
#makedepends=('docker' 'docker-buildx' 'git' 'libarchive')
makedepends=('docker' 'docker-buildx' 'git' 'libarchive' 'curl' 'jq')
source=("git+https://github.com/Euro-Office/DesktopEditors.git")
sha256sums=('SKIP')

_get_latest_common_tag() {
  # Fragt die GitHub Packages API nach den Versionen des Containers ab.
  # Index [0] ist immer das zuletzt hochgeladene Image.
  curl -s "https://api.github.com/orgs/Euro-Office/packages/container/desktop-common/versions" | jq -r '.[0].metadata.container.tags[0]'
}

#pkgver() {
#  cd "$srcdir/DesktopEditors"
#  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
#}

pkgver() {
  cd "$srcdir/DesktopEditors"
  local _common_tag=$(_get_latest_common_tag)
  printf "r%s.%s_common_%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" "$_common_tag"
}

prepare() {
  if docker buildx inspect euro-office-desktopeditors-git &>/dev/null; then
    docker buildx rm --keep-state euro-office-desktopeditors-git
  fi
  docker buildx create --name euro-office-desktopeditors-git --driver docker-container
  cd "$srcdir/DesktopEditors"
  git submodule update --init --recursive
}

#build() {
#  cd "DesktopEditors/build"
#  BUILDX_BAKE_ENTITLEMENTS_FS=0 BUILDX_BUILDER=euro-office-desktopeditors-git docker buildx bake packages
#  rm -rf /tmp/euro-office
#}

build() {
  cd "$srcdir/DesktopEditors"

  local _common_tag=$(_get_latest_common_tag)

  BUILDX_BAKE_ENTITLEMENTS_FS=0 BUILDX_BUILDER=euro-office-desktopeditors-git \
  docker buildx bake \
    --allow=fs=/tmp \
    --allow=fs.read="$srcdir/DesktopEditors" \
    -f build/linux/docker-bake.hcl \
    --set "*.context=." \
    --set "desktop-linux.contexts.desktop-common=docker-image://ghcr.io/euro-office/desktop-common:${_common_tag}" \
    packages

  rm -rf /tmp/euro-office
}

#package() {
#  cd "$srcdir/DesktopEditors/build/deploy/packages"
#  bsdtar xvf $(ls | grep "x86_64.tar.xz")
#  chmod +x "usr/bin/euro-office-desktopeditors"
#  bsdtar xvf $(ls | grep "any.tar.xz")
#
#  cp -r "$srcdir/DesktopEditors/build/deploy/packages/usr" "$pkgdir/"
#  cp -r "$srcdir/DesktopEditors/build/deploy/packages/opt" "$pkgdir/"
#}

package() {
  # In den korrekten Ausgabeordner wechseln
  cd "$srcdir/DesktopEditors/deploy/packages"

  # Archive entpacken
  bsdtar xvf $(ls | grep "x86_64.tar.xz")
  chmod +x "usr/bin/euro-office-desktopeditors"
  bsdtar xvf $(ls | grep "any.tar.xz")

  # Entpackte Ordner in das System-Layout ($pkgdir) kopieren
  cp -r "$srcdir/DesktopEditors/deploy/packages/usr" "$pkgdir/"
  cp -r "$srcdir/DesktopEditors/deploy/packages/opt" "$pkgdir/"
}
 

AngelQC commented on 2026-06-26 22:14 (UTC) (edited on 2026-06-26 22:48 (UTC) by AngelQC)

Furthermore, if one installs docker as a make depends, it won't work as the service is not started.

To fix this, add these lines at the beginning of the Prepare() section:

 # 1. Ask systemd to start docker via loopback (requires your user password once)
systemctl start docker || pkexec systemctl start docker

# 2. Fix the socket permissions so the build script can read it
pkexec chmod 666 /var/run/docker.sock

This implies that docker is installed as a make depend AND WILL BE REMOVED. The 666 security is not suitable for permanent installation.

lobroc commented on 2026-06-22 15:36 (UTC)

Hello. How about using containers built here: https://github.com/Euro-Office/DesktopEditors/pkgs/container/desktopeditors-build-cache. Looks like they're re-generated at each commit to the feat/buildgithub branch?

rod2ik commented on 2026-06-03 13:39 (UTC) (edited on 2026-06-03 15:34 (UTC) by rod2ik)

Although my docker is installed and configured, I encountered the following errors during build time:

[+] Building 35.3s (8/8) FINISHED docker-container:euro-office-desktopeditors-git => [internal] booting buildkit 14.9s => => pulling image moby/buildkit:buildx-stable-1 14.5s => => creating container buildx_buildkit_euro-office-desktopeditors-git0 0.4s => [web-apps internal] load build definition from web-apps.bake.Dockerfile 0.1s => => transferring dockerfile: 1.46kB 0.0s => [desktop-js internal] load build definition from desktop-js.bake.Dockerfile 0.1s => => transferring dockerfile: 937B 0.0s => [core-wasm internal] load build definition from core-wasm.bake.Dockerfile 0.1s => => transferring dockerfile: 1.17kB 0.0s => [core-base internal] load build definition from core.bake.Dockerfile 0.1s => => transferring dockerfile: 6.12kB 0.0s => ERROR [web-apps internal] load metadata for docker.io/library/ubuntu:24.04 20.0s => ERROR [core-base internal] load metadata for docker.io/library/ubuntu:22.04 20.0s => ERROR [core-wasm internal] load metadata for docker.io/emscripten/emsdk:5.0.4 20.0s ------ > [web-apps internal] load metadata for docker.io/library/ubuntu:24.04: ------ ------ > [core-base internal] load metadata for docker.io/library/ubuntu:22.04: ------ ------ > [core-wasm internal] load metadata for docker.io/emscripten/emsdk:5.0.4: ------ WARNING: local cache import at /tmp/euro-office/desktop-js skipped due to err: could not read /tmp/euro-office/desktop-js/index.json: open /tmp/euro-office/desktop-js/index.json: no such file or directory WARNING: local cache import at /tmp/euro-office/core-base skipped due to err: could not read /tmp/euro-office/core-base/index.json: open /tmp/euro-office/core-base/index.json: no such file or directory WARNING: local cache import at /tmp/euro-office/core-wasm skipped due to err: could not read /tmp/euro-office/core-wasm/index.json: open /tmp/euro-office/core-wasm/index.json: no such file or directory WARNING: local cache import at /tmp/euro-office/web-apps skipped due to err: could not read /tmp/euro-office/web-apps/index.json: open /tmp/euro-office/web-apps/index.json: no such file or directory core-wasm.bake.Dockerfile:11 -------------------- 9 | 10 | #### CORE WASM #### 11 | >>> FROM emscripten/emsdk:5.0.4 AS core-wasm 12 | ARG BUILD_ROOT 13 | ARG CACHE_BUST -------------------- ERROR: target core-wasm: failed to solve: emscripten/emsdk:5.0.4: failed to resolve source metadata for docker.io/emscripten/emsdk:5.0.4: failed to do request: Head "https://registry-1.docker.io/v2/emscripten/emsdk/manifests/5.0.4": dial tcp: lookup registry-1.docker.io on 8.8.8.8:53: read udp 172.17.0.2:57836->8.8.8.8:53: i/o timeout ==> ERREUR : Une erreur s’est produite dans build(). Abandon… -> erreur lors de la compilation de : euro-office-desktopeditors-git-exit status 4 -> Échec de l'installation des paquets suivants. Une intervention manuelle est requise : euro-office-desktopeditors-git - exit status 4

To solve, modify the PKGBUILD as follows: Replace this line (25, or so):

docker buildx create --name euro-office-desktopeditors-git --driver docker-container

by this line:

docker buildx create --name euro-office-desktopeditors-git --driver docker-container --driver-opt network=host

For security purposes , after installation, remove the builder:

docker buildx rm euro-office-desktopeditors-git
docker rm -f buildx_buildkit_euro-office-desktopeditors-git0 2>/dev/null

Alternatively, you can modify your /etc/nftables.con file to add Docker rules so it can install correctly:

Modify your /etc/nftables.conf to look something like this :

destroy table inet filter
table inet filter {
  chain input {
    type filter hook input priority filter
    policy drop

    ct state invalid drop comment "early drop of invalid connections"
    ct state {established, related} accept comment "allow tracked connections"
    iif lo accept comment "allow from loopback"
    meta l4proto { icmp, icmpv6 } accept comment "allow icmp"
    tcp dport ssh accept comment "allow sshd"
    pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited
    counter
  }

  chain forward {
    type filter hook forward priority filter
    policy drop

    # Docker bridge: autoriser les conteneurs à sortir
    iifname "docker0" accept comment "allow Docker containers out"

    # Docker bridge: autoriser les réponses à revenir vers les conteneurs
    oifname "docker0" ct state established,related accept comment "allow replies to Docker containers"
  }
}

Then apply and reload :

sudo nft -f /etc/nftables.conf
sudo systemctl restart docker

FranoGames commented on 2026-05-31 13:32 (UTC) (edited on 2026-05-31 13:39 (UTC) by FranoGames)

Compilation very resource-intensive.

User needs to have access to docker.