Package Details: drawpile-client 2.3.0-2

Git Clone URL: https://aur.archlinux.org/drawpile.git (read-only, click to copy)
Package Base: drawpile
Description: Collaborative drawing program specially made for use with pen tablets (client)
Upstream URL: https://drawpile.net/
Keywords: collaborative drawing editing image pen qt qt5 tablet
Licenses: GPL3
Submitter: None
Maintainer: notfood
Last Packager: notfood
Votes: 24
Popularity: 0.63
First Submitted: 2008-11-30 08:59 (UTC)
Last Updated: 2025-12-20 01:33 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 7 Next › Last »

notfood commented on 2025-12-29 20:10 (UTC)

What do you see under /build/drawpile/src/pkg/usr/bin/?

lamarpavel commented on 2025-12-27 09:59 (UTC) (edited on 2025-12-27 10:00 (UTC) by lamarpavel)

Thanks for the heads-up fekoneko. The build now proceeds until

==> Starting package_drawpile-tools()...
cp: cannot stat '/build/drawpile/src/pkg/usr/bin/dprectool': No such file or directory
cp: cannot stat '/build/drawpile/src/pkg/usr/bin/drawpile-cmd': No such file or directory
cp: cannot stat '/build/drawpile/src/pkg/usr/bin/drawpile-timelapse': No such file or directory
==> ERROR: A failure occurred in package_drawpile-tools().
    Aborting...

This is in a clean build environment, so the path given in the PKGBUILD as

cp "${srcdir}"/pkg/usr/bin/{dprectool,drawpile-cmd,drawpile-timelapse} "${pkgdir}"/usr/bin

is making a wrong assumption.

fekoneko commented on 2025-12-24 09:36 (UTC)

To fix the prior mentioned error, install the qt6-websockets package.

This probably should be added as a dependency.

Also, keywords on the AUR package page still mention qt5 :)

And, yes, thank you for maintaining this package!

lamarpavel commented on 2025-12-19 12:27 (UTC)

Hi, thanks for maintaining this package!

The sha256sum for QT6_fix.patch is incorrect in the PKGBUILD, it should be: 03242dd19518e525832c1a67a5df946f62cd383b56d0f413e0c43ae0246c4e6a

And when building in a clean environment, cmake aborts with

-- Could NOT find Qt6WebSockets (missing: Qt6WebSockets_DIR)
CMake Error at CMakeLists.txt:217 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "WebSockets".

  Expected Config file at
  "/usr/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake" does NOT exist

fekoneko commented on 2025-12-19 12:21 (UTC)

v2.3.0-1 It seems like the SHA sum is incorrect for QT6_fix.patch file:

$ sha256sum QT6_fix.patch 
03242dd19518e525832c1a67a5df946f62cd383b56d0f413e0c43ae0246c4e6a

notfood commented on 2023-10-21 06:31 (UTC)

Thanks

SunRed commented on 2023-10-20 08:47 (UTC)

Please apply the following patch since a bunch of packages were renamed (presumably) in preparation for the KDE 6 release

diff --git a/PKGBUILD b/PKGBUILD
index 038707b..0007d2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@
 pkgbase='drawpile'
 pkgname=("${pkgbase}"{,'-client','-server'})
 pkgver=2.1.20
-pkgrel=4
+pkgrel=5
 pkgdesc='Collaborative drawing program specially made for use with pen tablets'
 arch=('i686' 'x86_64')
 url='https://drawpile.net/'
 license=('GPL3')
-makedepends=('cmake' 'extra-cmake-modules' 'karchive' 'qt5-multimedia' 'qt5-svg' 'qt5-tools' 'qt5-x11extras')
+makedepends=('cmake' 'extra-cmake-modules' 'karchive5' 'qt5-multimedia' 'qt5-svg' 'qt5-tools' 'qt5-x11extras')
 source=(
     "https://drawpile.net/files/src/${pkgbase}-${pkgver}.tar.gz")
 sha256sums=(
@@ -40,12 +40,12 @@ package_drawpile() {

 package_drawpile-client() {
        pkgdesc+=' (client)'
-       depends=('desktop-file-utils' 'karchive' 'qt5-multimedia' 'qt5-x11extras')
-       optdepends=('kdnssd: automatic service discovery (such as printers)'
+       depends=('desktop-file-utils' 'karchive5' 'qt5-multimedia' 'qt5-x11extras')
+       optdepends=('kdnssd5: automatic service discovery (such as printers)'
                'giflib: GIF support'
                'miniupnpc: UPnP support'
                'qt5-color-widgets: alternative color wheel'
-               'qtkeychain: Password storage')
+               'qtkeychain-qt5: Password storage')
        install="${pkgbase}.install"
        cd "${pkgbase}-${pkgver}"

@@ -55,7 +55,7 @@ package_drawpile-client() {

 package_drawpile-server() {
        pkgdesc+=' (server)'
-       depends=('karchive')
+       depends=('karchive5')
        optdepends=('libmicrohttpd: web-admin feature'
                'libsystemd: systemd and logging support')
        cd "${pkgbase}-${pkgver}"

altermetax commented on 2021-09-01 02:24 (UTC)

I honestly don't know how one would do it elegantly - but the package should have qtkeychain as a mandatory dependency if it was built with qtkeychain support, and not have qtkeychain as a dependency at all otherwise. qtkeychain is indeed an optional dependency for drawpile when building it, but it is either a mandatory one or not a dependency at all once it's built (depending on whether it's built with or without it).

All things considered, maybe it should simply be a mandatory dependency - consider that Drawpile behaves weirdly without keychain support (it shows the "remember password" checkbox but it doesn't do anything when it's checked).

notfood commented on 2021-08-30 06:30 (UTC)

I get you but I'm not sure if that's how it's supposed to be. Drawpile can work perfectly fine without qtkeychain, is it an optional package? is it a forced depencency? I read the guideliness and the wiki and it's not very clear to me.

altermetax commented on 2021-08-29 21:40 (UTC) (edited on 2021-08-29 21:46 (UTC) by altermetax)

If you run makepkg with qtkeychain-qt5 installed, it will build Drawpile with keychain support. The resulting package won't have qtkeychain as a dependency, yet as an optional dependency. If you then install it on a system without that package, Drawpile won't run.