Package Details: slate 0.9.0-2

Git Clone URL: https://aur.archlinux.org/slate.git (read-only, click to copy)
Package Base: slate
Description: A qt-based purpose-built pixel art editor
Upstream URL: https://github.com/mitchcurtis/slate
Keywords: art drawing editor pixel
Licenses: GPL3
Submitter: henry0w
Maintainer: eclairevoyant
Last Packager: henry0w
Votes: 2
Popularity: 0.000080
First Submitted: 2020-05-23 21:09 (UTC)
Last Updated: 2020-06-01 21:46 (UTC)

Latest Comments

LuckyTurtleDev commented on 2023-01-14 16:17 (UTC)

The following patch would fix the issue mention before:

commit 6829d4c6190ae97fa972c50883476432312d5694
Author: LuckyTurtleDev <git@lukas1818.de>
Date:   Sat Jan 14 17:15:28 2023 +0100

    Fix compilation with Qt 5.15

diff --git a/.SRCINFO b/.SRCINFO
index e3ab743..1c94e16 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = slate
    pkgdesc = A qt-based purpose-built pixel art editor
    pkgver = 0.9.0
-   pkgrel = 2
+   pkgrel = 3
    url = https://github.com/mitchcurtis/slate
    arch = any
    license = GPL3
@@ -10,7 +10,8 @@ pkgbase = slate
    depends = qt5-base
    depends = qt5-declarative
    source = https://github.com/mitchcurtis/slate/archive/v0.9.0.tar.gz
+   source = fix_qt5.15.patch::https://github.com/mitchcurtis/slate/commit/92279b1d594d7d09c7e1f77841c1002c1a3782b7.patch
    md5sums = b2726cbb51ff314f5adefc3a891ce228
+   md5sums = ab1b2e79da774fa1cdb8063964ab3356

 pkgname = slate
-
diff --git a/PKGBUILD b/PKGBUILD
index f89cad4..9834b89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgname=slate
 pkgver=0.9.0
 _pkgname=$pkgname-$pkgver
-pkgrel=2
+pkgrel=3
 epoch=
 pkgdesc="A qt-based purpose-built pixel art editor"
 arch=('any')
@@ -23,9 +23,11 @@ install=
 changelog=
 source=(
     "https://github.com/mitchcurtis/slate/archive/v0.9.0.tar.gz"
+    "fix_qt5.15.patch::https://github.com/mitchcurtis/slate/commit/92279b1d594d7d09c7e1f77841c1002c1a3782b7.patch"
 )
 noextract=()
-md5sums=('b2726cbb51ff314f5adefc3a891ce228')
+md5sums=('b2726cbb51ff314f5adefc3a891ce228'
+         'ab1b2e79da774fa1cdb8063964ab3356')
 validpgpkeys=()

 prepare() {
@@ -33,6 +35,7 @@ prepare() {
     echo "Exec=slate" >> "$_pkgname/app/Slate.desktop"
     sed -i "s/TryExec=Slate/TryExec=slate/g" "$_pkgname/app/Slate.desktop"
     cd $_pkgname
+    patch -Np1 -i ../fix_qt5.15.patch
     git init
 }

LuckyTurtleDev commented on 2023-01-14 16:05 (UTC)

The build does still fail by the error mention by @jose1711 at 2021-01-07. I would recommend to apply https://github.com/mitchcurtis/slate/commit/92279b1d594d7d09c7e1f77841c1002c1a3782b7.patch as patch like suggested by @jose1711.

henry0w commented on 2021-07-19 01:26 (UTC)

@TheGhostHybrid @jose1711 Apologies for the delay, the -git package is now up at https://aur.archlinux.org/packages/slate-git

henry0w commented on 2021-07-01 23:56 (UTC)

Oh shoot my bad, I got really busy with schoolwork and stuff so I completely forgot about it honestly. Hopefully I'll get one finished within the next 2 weeks.

TheGhostHybrid commented on 2021-03-29 03:58 (UTC)

Hello! Any luck in getting the separate -git package (or the patch just for this PKGBUILD) figured out? Life happens, so it’s totally understandable if you’ve been busy. :)

henry0w commented on 2021-01-08 22:38 (UTC)

@jose1711 Huh, because this patch is not in the latest release, I'll probably just make a separate -git package. I'll make another comment when I'm done.

jose1711 commented on 2021-01-08 22:34 (UTC)

please integrate patch from https://github.com/mitchcurtis/slate/commit/92279b1d594d7d09c7e1f77841c1002c1a3782b7 so that it's possible to build with Qt 5.15. thank you

jose1711 commented on 2021-01-07 21:56 (UTC)

failed to build:

/home/jose/.cache/yay/slate/src/slate-0.9.0/lib/tilegrid.cpp: In member function ‘virtual void TileGrid::paint(QPainter*)’:
/home/jose/.cache/yay/slate/src/slate-0.9.0/lib/tilegrid.cpp:76:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
   76 |         QPainterPath path;
      |                      ^~~~
make[2]: *** [lib/CMakeFiles/slate.dir/build.make:1135: lib/CMakeFiles/slate.dir/tilegrid.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:238: lib/CMakeFiles/slate.dir/all] Error 2
make: *** [Makefile:114: all] Error 2

StuckUpCreations commented on 2020-05-26 09:56 (UTC)

Linux recognizes de executable as shared library, runs if i do ./ but clicking does not work..