Been trying to do that but I am using the Krita 4.3.3 patch file for Krita 4.3.2 as I can’t find the patch file for it when making the package but I am running into integrity issues but I do have the sha key checks to SKIP
I have done some modifications
# Maintainer: Antonio Rojas <arojas@archlinux,org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on vc
pkgname=krita
_pkgver=4.4.2
pkgver=${_pkgver/-/}
pkgrel=3
pkgdesc="Edit and paint images"
arch=('x64' 'aarch64')
url="https://krita.org"
license=(GPL3)
depends=(kitemviews kitemmodels ki18n kcompletion kguiaddons kcrash qt5-svg qt5-multimedia quazip
gsl libraw exiv2 openexr fftw giflib openjpeg2 hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools boost poppler-qt5 opencolorio1 python-pyqt5 libheif
qt5-tools sip4 python-sip4 kseexpr)
optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations' 'opencolorio1: for the LUT docker'
"krita-plugin-gmic: G'MIC plugin" 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter'
'kseexpr: SeExpr generator layer' 'kimageformats: PSD support')
source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz)
sha256sums=('SKIP'
'SKIP'
'SKIP')
validpgpkeys=('SKIP' # Boudewijn Rempt <foundation@krita.org>
'SKIP') # Dmitry Kazakov (main key) <dimula73@gmail.com>
prepare() {
patch -d $pkgname-$_pkgver -p1 < krita-openexr3.patch # Fix build with OpenEXR 3
}
build() {
cmake -B build -S $pkgname-$_pkgver \
-DBUILD_TESTING=OFF \
-DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
Gotta figure it out
[corey@corey-pi4 Krita]$ makepkg
==> Making package: krita 4.4.2-3 (Sun 30 May 2021 12:31:12)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found krita-4.4.2.tar.gz
==> ERROR: Integrity checks (sha256) differ in size from the source array.
If I leave sig on the makepkgbuild file, I run into another issue
# Maintainer: Antonio Rojas <arojas@archlinux,org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on vc
pkgname=krita
_pkgver=4.4.2
pkgver=${_pkgver/-/}
pkgrel=3
pkgdesc="Edit and paint images"
arch=('x64' 'aarch64')
url="https://krita.org"
license=(GPL3)
depends=(kitemviews kitemmodels ki18n kcompletion kguiaddons kcrash qt5-svg qt5-multimedia quazip
gsl libraw exiv2 openexr fftw giflib openjpeg2 hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools boost poppler-qt5 opencolorio1 python-pyqt5 libheif
qt5-tools sip4 python-sip4 kseexpr)
optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations' 'opencolorio1: for the LUT docker'
"krita-plugin-gmic: G'MIC plugin" 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter'
'kseexpr: SeExpr generator layer' 'kimageformats: PSD support')
source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig}
krita-openexr3.patch)
sha256sums=('SKIP'
'SKIP'
'SKIP')
validpgpkeys=('SKIP' # Boudewijn Rempt <foundation@krita.org>
'SKIP') # Dmitry Kazakov (main key) <dimula73@gmail.com>
prepare() {
patch -d $pkgname-$_pkgver -p1 < krita-openexr3.patch # Fix build with OpenEXR 3
}
build() {
cmake -B build -S $pkgname-$_pkgver \
-DBUILD_TESTING=OFF \
-DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
[corey@corey-pi4 Krita]$ makepkg
==> Making package: krita 4.4.2-3 (Sun 30 May 2021 12:34:16)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found krita-4.4.2.tar.gz
-> Found krita-4.4.2.tar.gz.sig
-> Found krita-openexr3.patch
==> Validating source files with sha256sums...
krita-4.4.2.tar.gz ... Skipped
krita-4.4.2.tar.gz.sig ... Skipped
krita-openexr3.patch ... Skipped
==> Verifying source file signatures with gpg...
krita-4.4.2.tar.gz ... FAILED (unknown public key B69EB4CF7468332F)
==> ERROR: One or more PGP signatures could not be verified!
I found the sig file on their download page here but I am not sure how to implement it to work at the moment.
https://download.kde.org/stable/krita/4.4.2/krita-4.4.2.tar.gz.sig
-EDIT-
I have made some progress and I will document it on here once it’s finished building.
I have a working Krita 4.4.2 package, it took quite a long time as it has to recompile using the patch (from 13:12:41 to 16:11:12 to finish)
Do you guys want the package to revert to until this is fixed?
Strit
30 May 2021 12:43
24
What makes you think it’s going to be “fixed” by Krita?
The only thing I can think off that probably will fix it, is when Mesa drivers get higher OpenGL support for your GPU.
I mean if that is the issue than yeah I guess that would be the only fix unless the next pi supports a higher OpenGL version but I do hope the pi 4 does get higher opengl support.
Did you want the Krita 4.4.2 package or should I upload it anywhere for people to download if they want to keep using Krita on the Raspberry pi 4?
The Flatpak version is working on my PC.
Yeah this is talking about a issue with Krita on ARM or to be specific on the Raspberry pi 4
I installed flatpak
first I install current vesrion
flatpak install flathub org.kde.krita
after with
flatpak remote-info --log flathub org.kde.krita
You can choose older builds.
I downgrade to 4.4.1 with
sudo flatpak update --commit=0d60b091b299361587b237c6e518c08ac54d5d9e7297d4a69e26af1c7c172494 org.kde.krita
It’s works, and we can wait the new drivers or new version of krita fixed.