From 72b1097c9a732b448da2d6ff9cc71bdb4ab22b84 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 30 Jun 2022 14:43:22 +0200 Subject: [PATCH] Add auxiliary files needed for AppImage AppRun is the file that gets packaged inside of the AppImage that bootstraps the application. The AppImage can only have one icon, so we use the largest sample we have available. The appdata.xml contains some metadata. Contributes to issue CURA-9409. --- packaging/AppRun | 16 ++++++++++++++++ packaging/cura.appdata.xml | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 packaging/AppRun create mode 100644 packaging/cura.appdata.xml diff --git a/packaging/AppRun b/packaging/AppRun new file mode 100644 index 0000000000..5a134fa12d --- /dev/null +++ b/packaging/AppRun @@ -0,0 +1,16 @@ +#!/bin/sh + +scriptdir=$(dirname $0) + +export PYTHONPATH="$scriptdir/lib/python3.10" +export LD_LIBRARY_PATH=$scriptdir +export QT_PLUGIN_PATH="$scriptdir/qt/plugins" +export QML2_IMPORT_PATH="$scriptdir/qt/qml" +export QT_QPA_FONTDIR=/usr/share/fonts +export QT_QPA_PLATFORMTHEME=xdgdesktopportal +export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb + +# Use the openssl.cnf packaged in the AppImage +export OPENSSL_CONF="$scriptdir/openssl.cnf" + +$scriptdir/Ultimaker-Cura "$@" diff --git a/packaging/cura.appdata.xml b/packaging/cura.appdata.xml new file mode 100644 index 0000000000..de940af939 --- /dev/null +++ b/packaging/cura.appdata.xml @@ -0,0 +1,18 @@ + + + com.ultimaker.cura + CC0-1.0 + LGPL-3.0 + Ultimaker Cura + Slicer to prepare your 3D printing projects + +

Ultimaker Cura is a slicer, an application that prepares your model for 3D printing. Optimized, expert-tested profiles for 3D printers and materials mean you can start printing reliably in no time. And with industry-standard software integration, you can streamline your workflow for maximum efficiency.

+
+ https://ultimaker.com/en/software/ultimaker-cura + + + Print preparation screen + https://raw.githubusercontent.com/Ultimaker/Cura/master/screenshot.png + + +