Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Change case of AppImage packages: .appimage -> .AppImage
Dmitry Kazakov4deb0e148fae
diff --git a/build-tools/ci-scripts/upload-nightly-packages.py b/build-tools/ci-scripts/upload-nightly-packages.pyindex c4d43abc54..0976fa3012 100644--- a/build-tools/ci-scripts/upload-nightly-packages.py+++ b/build-tools/ci-scripts/upload-nightly-packages.py@@ -36,7 +36,7 @@ patterns = []if arguments.platform == 'windows':patterns = ['*.zip', '*.exe', '*.msix']elif arguments.platform == 'linux':- patterns = ['*.appimage', '*.zsync']+ patterns = ['*.AppImage', '*.zsync']passelif arguments.platform == 'macos-universal':print('## WARNING: check the pattern for artifacts on macOS!')diff --git a/krita/org.kde.krita.appdata.xml b/krita/org.kde.krita.appdata.xmlindex acf82d6ddf..b991da3263 100644--- a/krita/org.kde.krita.appdata.xml+++ b/krita/org.kde.krita.appdata.xml@@ -646,7 +646,7 @@<release date="2023-01-05" version="5.1.5"><artifacts><artifact type="binary" platform="x86_64-appimage">- <location>https://download.kde.org/stable/krita/5.1.5/krita-5.1.5-x86_64.appimage</location>+ <location>https://download.kde.org/stable/krita/5.1.5/krita-5.1.5-x86_64.AppImage</location><bundle type="appimage">krita-5.1.5</bundle></artifact><artifact type="binary" platform="macOS">diff --git a/packaging/linux/appimage/build-image.sh b/packaging/linux/appimage/build-image.shindex 7718cb9448..0cb7a1dd78 100755--- a/packaging/linux/appimage/build-image.sh+++ b/packaging/linux/appimage/build-image.sh@@ -78,7 +78,7 @@ if [[ "${CI_COMMIT_BRANCH}" =~ release/.* ]]; thenfiexport VERSION=$KRITA_VERSION- NEW_APPIMAGE_NAME="krita-${VERSION}-${APPIMAGE_ARCHITECTURE}.appimage"+ NEW_APPIMAGE_NAME="krita-${VERSION}-${APPIMAGE_ARCHITECTURE}.AppImage"pushd $BUILD_DIR@@ -113,7 +113,7 @@ elseexport VERSION=$KRITA_VERSIONfi- NEW_APPIMAGE_NAME="krita-${VERSION}-${APPIMAGE_ARCHITECTURE}.appimage"+ NEW_APPIMAGE_NAME="krita-${VERSION}-${APPIMAGE_ARCHITECTURE}.AppImage"if [[ "${CI_COMMIT_BRANCH}" =~ krita/.* ]]; thenESCAPED_COMMIT_BRANCH="${CI_COMMIT_BRANCH//\//-}"diff --git a/packaging/linux/appimage/generate_zsync.sh b/packaging/linux/appimage/generate_zsync.shdeleted file mode 100755index 30992bcf82..0000000000--- a/packaging/linux/appimage/generate_zsync.sh+++ /dev/null@@ -1,44 +0,0 @@-#!/usr/bin/env bash-#-# SPDX-License-Identifier: GPL-3.0-or-later-#--set -x-set -e--APPIMAGE_PATH="${1}"-CHANNEL="${2}"-VERSION="${3}"--if [ -z $APPIMAGE_PATH ]; then- echo "path to appimage (arg1) is not set"- exit 1-fi--if [ -z $CHANNEL ]; then- echo "channel (arg2) is not set"- exit 1-fi--if [ -z $VERSION ]; then- echo "version (arg3) is not set"- exit 1-fi--# regenerate zsync file-if [ "$CHANNEL" = "Next" ]; then- URL="${BUILD_URL}/artifact/"-elif [ "$CHANNEL" = "Plus" ]; then- URL="${BUILD_URL}/artifact/"-elif [ "$CHANNEL" = "Stable" ]; then- URL="https://download.kde.org/stable/krita/${VERSION}"-elif [ "$CHANNEL" = "Beta" ]; then- URL="https://download.kde.org/unstable/krita/${VERSION}"-fi--zsyncmake -u "${URL}/$(basename ${APPIMAGE_PATH})" -o $APPIMAGE_PATH.zsync.new $APPIMAGE_PATH-ret=$?-if [ $ret -eq 0 ]; then- mv $APPIMAGE_PATH.zsync.new Krita-${CHANNEL}-x86_64.appimage.zsync-fi-diff --git a/packaging/steam/INSTRUCTIONS.md b/packaging/steam/INSTRUCTIONS.mdindex 57f1e00065..8a5703f764 100644--- a/packaging/steam/INSTRUCTIONS.md+++ b/packaging/steam/INSTRUCTIONS.md@@ -4,7 +4,7 @@ The entire process is documented on https://partner.steamgames.com/doc/sdk, but# Set up a **[[ https://partner.steamgames.com/ | Steamworks ]]** account, and download the [[ https://partner.steamgames.com/doc/sdk | Steamworks SDK ]] somewhere on your system. (Works on both Windows and Linux, and maybe MacOSX too, but I'm not sure about that.)# Download stable **Krita** binaries for all Steam platforms (right now that's just Linux and Windows); place the respective content into `windows/` and `linux/` subdirectories inside `sdk/tools/ContentBuilder/content/`.- - **Linux note:** for Steam we currently run Krita through a small `launch.sh` script. This is used to circumvent Steam's built-in "linux runtime", since we don't need it and it interferes with appimages. `launch.sh` expects the appimage to be named `krita.appimage`, so we name it that.+ - **Linux note:** for Steam we currently run Krita through a small `launch.sh` script. This is used to circumvent Steam's built-in "linux runtime", since we don't need it and it interferes with appimages. `launch.sh` expects the appimage to be named `krita.AppImage`, so we name it that.- **Windows note:** on Windows, Steam is configured to launch Krita at the relative path `krita\bin\krita.exe` so I usually rename the folder that holds our portable build to just `krita`. This could be changed, but it works for me.# With the SDK downloaded and the content in the right place, we can //almost// build and push, but first we need to set up "**SteamPipe Build Scripts**" (https://partner.steamgames.com/doc/sdk/uploading#3)diff --git a/packaging/steam/launch.sh b/packaging/steam/launch.shindex 0014ca8799..b9ad95b3e3 100755--- a/packaging/steam/launch.sh+++ b/packaging/steam/launch.sh@@ -1,6 +1,6 @@#!/bin/bash# Launcher script for running the Krita AppImage inside of the Steam Linux Runtime.-# Include alongside krita.appimage (probably in `content/linux/`) and+# Include alongside krita.AppImage (probably in `content/linux/`) and# configure Steamworks to use this as the default/primary launch option.# Prevent runtime environment or host system libraries from being used over AppImage packaged ones.@@ -14,4 +14,4 @@ STARTED_BY_STEAM=1# Launch Krita.appdir=$(dirname "$0")-$appdir/krita.appimage+$appdir/krita.AppImage