Package Details: drawpile-tools 2.2.1-1

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 (tools)
Upstream URL: https://drawpile.net/
Keywords: collaborative drawing editing image pen qt qt5 tablet
Licenses: GPL3
Submitter: None
Maintainer: notfood
Last Packager: notfood
Votes: 21
Popularity: 0.96
First Submitted: 2008-11-30 08:59 (UTC)
Last Updated: 2024-02-19 15:14 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 Next › Last »

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.

notfood commented on 2021-08-27 17:48 (UTC)

qtkeychain is in the optdepends. I don't understand the request. All optdepends will become required wherever you move a built package to install.

altermetax commented on 2021-08-27 13:17 (UTC)

I'd like to point out that if you build this package with qt5-qtkeychain installed (in order to have "remember password" support) it won't work on a system that doesn't have it installed (missing shared object).

Maybe this package should have qt5-qtkeychain as a dependency whenever it's built with that package installed?

notfood commented on 2021-03-17 06:48 (UTC)

Alright, next release.

micwoj92 commented on 2021-03-10 04:28 (UTC)

hello, could you update links to https?

notfood commented on 2020-08-21 23:21 (UTC)

Server fixed, I forgot to comment