Skip to content

feat(euro-office): add Euro-Office (org.eurooffice.desktopeditors) - #634

Merged
jing2uo merged 2 commits into
flatpark:mainfrom
3ddruck12:add/org.eurooffice.desktopeditors
Oct 12, 2026
Merged

jing2uo merged 2 commits into
flatpark:mainfrom
3ddruck12:add/org.eurooffice.desktopeditors

Conversation

@3ddruck12

@3ddruck12 3ddruck12 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What

Euro-Office (org.eurooffice.desktopeditors), the AGPL office suite from Euro-Office/DesktopEditors v9.3.5-2. The catalog heading is Euro-Office.

Why this fills a gap

Not on Flathub. org.onlyoffice.desktopeditors is a different application and is not reused. Installing a local copy does not update through flatpak update.

Packaging

  • Runtime org.freedesktop.Platform//26.08. extra-data is the official x86_64 archive euro-office-euro-office-9.3.5-2-x86_64.tar.xz (497902864 bytes), unpacked with bsdtar --no-same-owner. Upstream does not publish a .tar.gz. The .deb and .rpm of the same release are not used. The payload is not patched.
  • The archive records usr/bin/euro-office-euro-office as mode 644. That launcher hardcodes /opt/euro-office/euro-office and preloads the vendor's own libcef.so. The wrapper recreates the prefix as a symlink and runs the launcher with /bin/sh. The file is not chmod'd and not edited.
  • libQt6Network.so.6 needs libgssapi_krb5.so.2 (gssapi_krb5_2_MIT). Neither the archive nor the runtime ships it, so libgssapi-krb5-2, libkrb5-3, libk5crypto3, libkrb5support0 and libkeyutils1 are pinned from Debian trixie (MANAGED DEBIAN). libcom_err and libssl are already in the runtime.
  • x86_64 only. Upstream also ships an aarch64 .tar.xz, but scripts/update-debian-pins.mjs resolves Debian packages from binary-amd64 only, so an aarch64 Kerberos pin would be rewritten to the amd64 URL. aarch64 is not published.
  • App id: Euro-Office publishes no Flatpak id. The window class is Euro-Office, which the binary sets and the upstream .desktop records as StartupWMClass.
  • The suggested help archive is not included. The editors start without it.
  • No screenshot in the metainfo. The only image in the upstream repo is an ONLYOFFICE marketing banner, so it is not used here.

Sandbox

Granted: Wayland, fallback-x11, ipc, dri, pulseaudio, cups, notifications, xdg-documents, xdg-download.

Withheld, with overrides in the metainfo:

  • --share=network for connecting to a document server. Local editing does not need it.
  • --filesystem=home. Files outside Documents and Downloads go through the file chooser.

Verification

  • read-descriptor.mjs and audit-descriptor.mjs exit 0
  • appstreamcli validate --no-net succeeded
  • appstreamcli compose printed Success
  • resolver prints 9.3.5-2 and the x86_64 .tar.xz URL
  • update-debian-pins.mjs reports the Debian pins up to date
  • check-apply-extra.sh unpacked the .tar.xz as root with no capabilities
  • Installed from a temporary local remote, launched, window title Euro-Office, class DesktopEditors.Euro-Office
  • State landed in ~/.var/app/org.eurooffice.desktopeditors, not in the host home
  • Opened probe.docx, typed ProbeBeta123, saved. The same text is in the docx. Print panel listed the CUPS printer MFCJ5320DW. Saved as PDF (probe.pdf, 1 page, text ProbeBeta123). No job was sent to the physical printer
  • Did not exercise a document-server connection
  • aarch64 was not built or run (not published)
  • The separate help archive was not installed
  • LD_TRACE_LOADED_OBJECTS on the installed .tar.xz tree (DesktopEditors, converter/x2t, editors_helper, with the app tree and the Debian libs on LD_LIBRARY_PATH): no missing libraries

The vendor binary starts its CEF helper processes with --no-sandbox. This package does not add that flag, and the wrapper does not set LD_PRELOAD; the unmodified vendor launcher preloads the vendor libcef.so.

3ddruck and others added 2 commits October 12, 2026 11:18
…sktopeditors)

The official amd64 deb is unpacked unmodified. Qt6Network needs
libgssapi_krb5, which the runtime does not ship, so the Kerberos
libraries are pinned from Debian trixie.

Co-authored-by: Cursor <[email protected]>
Upstream ships euro-office-euro-office-<version>-x86_64.tar.xz rather
than a tar.gz. The launcher in that archive is mode 644, so the wrapper
runs it with /bin/sh and leaves the file unchanged.

Co-authored-by: Cursor <[email protected]>
@3ddruck12 3ddruck12 changed the title feat(euro-office): add Euro-Office Desktop Editors (org.eurooffice.desktopeditors) feat(euro-office): add Euro-Office (org.eurooffice.desktopeditors) Oct 12, 2026
@jing2uo

jing2uo commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Review — Euro-Office (org.eurooffice.desktopeditors)

Recommendation: PASS (Tier 2, official upstream prebuilt). Static review only. Nothing from the PR was executed. CI is waiting for maintainer approval (pr-checks: action_required), so merging still needs a green run.

# Check Verdict Evidence
0 Static-only, isolated dir ✅ Archive and debs downloaded as bytes into a scratch dir, listed before extraction, extracted --no-same-owner --no-same-permissions. None of apply_extra.sh, the wrapper or resolve-update.sh was run.
1.1 Scope ✅ New app: 8 files, all under registry/org.eurooffice.desktopeditors/
1.2 High-scrutiny surface ✅ No .github/, scripts/ or config/ changes. The resolver is in a brand-new app dir.
2.1 Submitter ✅ @3ddruck12: account since 2021-05, 32 repos, 3 merged FlatPark app PRs (IngeCAD, IngeTrazo, SolidCraft)
2.2 Upstream repo ✅ Euro-Office/DesktopEditors: org since 2025-09, repo since 2025-10, 620★, 43 forks, pushed 2026-10-12. v9.3.5-2 assets were uploaded by github-actions[bot].
2.3 Commit identity ✅ 2 commits, 3ddruck <[email protected]> as both author and committer
2.4 Timeline ✅ Release 2026-10-09, PR 2026-10-12, established submitter
2.5 Trust tier ✅ established
2.6 Provenance tier ✅ Tier 2: official upstream release archive, repackaged unmodified
3.1 Pinning ✅ 6 × extra-data, each with sha256 and a non-zero size. Local file sources only.
3.1b Nothing remote in /app ✅ The one simple module only installs the 5 in-repo files. The payload and the Kerberos libs are all extra-data.
3.2 finish-args ✅ wayland, fallback-x11, ipc, dri, pulseaudio, cups, Notifications, xdg-documents, xdg-download. No escape perms, no network, no home.
3.3 policy: ✅ proprietary: false is accurate (upstream LICENSE is AGPL-3.0). dangerous_permissions: [] matches the finish-args. AGPL-3.0-only AND CC-BY-SA-4.0 matches the upstream source headers (the UI elements are CC BY-SA 4.0).
3.4 build-commands / no payload change ✅ Install-only. The wrapper symlinks /opt/euro-office/euro-office to /app/extra/..., prepends /app/extra/deps to LD_LIBRARY_PATH, and runs the vendor launcher with /bin/sh. That is external adaptation: no file in the payload is edited or chmod'd. The LD_PRELOAD=libcef.so comes from the vendor's own launcher (usr/bin/euro-office-euro-office, last 4 lines), not from this package.
3.4b packaging: ✅ Nothing to declare. The Debian extra-data is derived as support-files. Our scripts contain no LD_PRELOAD, flatpak-spawn or --no-sandbox. audit-descriptor.mjs exits 0.
3.5 Source URLs genuine ✅ github.com/Euro-Office/DesktopEditors/releases/download/v9.3.5-2/… and deb.debian.org/debian/pool/main/…
3.6 App id ✅ Upstream publishes no Flatpak id. org.eurooffice.* names the project and doesn't reuse org.onlyoffice.desktopeditors.
3.7 update.command ✅ ./resolve-update.sh
3.8 Download host ✅ Upstream's own GitHub releases, not the submitter's account
3.9 Optional caps opt-in ✅ --share=network (document server) and --filesystem=home are both withheld, with flatpak override commands in the metainfo
3.10 Local-test attestation ✅ Built, installed from a local remote, launched. Edited, saved and printed to PDF. Gaps named: document server, aarch64, help package.
4.1 No runtime fetch-and-exec ✅ None in the manifest or scripts. The vendor launcher only copies bundled templates when given --new-document-templates.
4.2 Resolver as code ✅ One GitHub API call (optional GITHUB_TOKEN header), jq selects a non-draft, non-prerelease release with an exact ^euro-office-euro-office-[0-9].*-x86_64\.tar\.xz$ asset, and the output JSON is built with jq --arg. Nothing is eval'd and nothing is written.
4.3 Network endpoints ✅ No network by default, so the filesystem grant isn't paired with network access
5.1 sha256 == pin ✅ c846d3ec…bc56, 497902864 bytes, which is also GitHub's own asset digest. All 5 debs match their pins and are in the trixie main/binary-amd64/Packages index.
5.2 Inspected, clean ✅ 4552 entries, all root/root. No absolute paths, no .., no setuid/setgid, no hardlinks. 189 symlinks, all relative same-dir .so links. Debs: each has only usr/lib/x86_64-linux-gnu/lib*.so* plus the SONAME link (krb5/plugins/preauth/spake.so is excluded by -maxdepth 3 -name 'lib*'). Maintainer scripts aren't run, since only data.tar* is read.
5.3 Tier 1 byte-diff ➖ Tier 2
5.4 Shipped == official ✅ Re-fetched and hashed (5.1). apply_extra only unpacks the archive. The PR's icon is byte-identical to upstream usr/share/icons/hicolor/256x256/apps/euro-office-euro-office.png (89566ac8…bf13). The .desktop matches upstream's except for Exec/Icon and an added StartupNotify.
5.5 Bundled prebuilts ✅ CEF/Qt come inside the official archive (covered by 5.4). The Kerberos libs are Debian's signed-index packages.
5.6 IOC scan ✅ No xmrig/stratum+tcp//dev/tcp//nc -e. No autostart, systemd or cron entries. RPATH/RUNPATH are all $ORIGIN-relative (one vendor build path, /build-cache-desktop/..., is inert).
6.1 Purpose / legality ✅ AGPL office suite, shipped under its own name and branding
6.2 Non-FOSS not a reason ➖ FOSS

Nit (non-blocking): the first comment in euro-office-wrapper still says "The vendor launcher shipped in the .deb". Since cf76662 it comes from the .tar.xz.

The reviewer recommends only. A maintainer approves the CI run and merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants