[go: up one dir, main page]

Snap package (meta-issue)

Summary:

The Inkscape build for the Snap package format has various issues.

According to the README https://gitlab.com/inkscape/inkscape/-/tree/master/snap , the nightly build logs are here: https://launchpad.net/~ted/+snap/inkscape-master

These build logs show errors.

Steps to reproduce:

  • On Ubuntu 24.04:
  • 1.4.x sudo snap install --candidate inkscape
  • 1.5: sudo snap install --edge inkscape
  • Try running inkscape and do various things

Sub-issues for Inkscape 1.4.x

  • Fix build failure --> !6846 (merged)
  • Fix patches --> also !6846 (merged)
  • Setup automatic build on launchpad --> needs config changes, see comments below. https://launchpad.net/~inkscape.dev/inkscape/+snap/inkscape-1.4.x
  • Publish to store as stable release
  • Minor issues: (are there already bugreports for this?)
    • Text box for file path in Export dialog makes no sense for snap. We can only access a file if the user clicked on it in the file picker. --> Will not be fixed for 1.4. Fixed for 1.5. #4015 (closed)
    • It is not possible to select other variants of SVG (e.g. normal SVG vs Inkscape SVG) because the file-save dialog of Snap only supports one type per extension.
    • Extension manager can install extensions (to ~/.config/inkscape ) but Inkscape expects them in a snap-specific directory and therefore can not find them --> for 1.5: !7220 (merged), to be backported
    • Check if #4027 (closed) has been fixed

Sub-issues for Inkscape 1.5.x

  • Showstoppers
  • Further issues
    • Extension manager does not start, no error message shown --> !6873 (merged)
    • Extension dependencies are probably incomplete (we only use the main pyproject.toml file, not the lower level ones) --> !6873 (merged)
    • Extension manager not testable, install button always greyed out --> First fix it for 1.4, see above
    • Close/Minimize/Maximize buttons are on the wrong side of the window title bar on Wayland
    • Make sure releasing the snap is part of the release instructions
  • Cleanup
    • Try to remove old hacks/workarounds from the snapcraft.yaml. In theory, all needed magic is already provided by the gnome build snap.
    • Check snapcraft build log for warnings regarding migration etc.
    • Fix warnings on first start of inkscape after installing snap, regarding missing libpxbackend-1.0.so and libgiolibproxy.so, and some DBUS AppArmor permission error
    • Check "unused library" lint warnings
Edited by Max Gaukler