Package Details: drawpile 2.1.20-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 (meta package)
Upstream URL: https://drawpile.net/
Keywords: collaborative drawing editing image pen qt qt5 tablet
Licenses: GPL3
Conflicts: drawpile-common
Submitter: None
Maintainer: notfood
Last Packager: notfood
Votes: 20
Popularity: 0.52
First Submitted: 2008-11-30 08:59 (UTC)
Last Updated: 2021-10-22 17:49 (UTC)

Pinned Comments

Latest Comments

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

notfood commented on 2020-08-19 04:54 (UTC) (edited on 2020-08-19 04:55 (UTC) by notfood)

I pushed a fix. Unfortunately I can't get the server to compile so it's been disabled for now. I didn't up the version, I don't want the people who have the working server to lose it.

notfood commented on 2020-08-19 04:18 (UTC)

Interesting. I thought it was just a git master issue.

cuppajoeman commented on 2020-08-14 16:31 (UTC)

When I try to compile I get:

[ 72%] Building CXX object src/desktop/CMakeFiles/drawpile.dir/widgets/popupmessage.cpp.o
In file included from /home/cuppajoeman/aur/drawpile/src/drawpile-2.1.17/src/desktop/widgets/popupmessage.cpp:28:
/home/cuppajoeman/aur/drawpile/src/drawpile-2.1.17/src/desktop/widgets/popupmessage.h:59:15: error: field ‘m_bubble’ has incomplete type ‘QPainterPath’
   59 |  QPainterPath m_bubble;

some searches yield this issue in other packages:

https://aur.tuna.tsinghua.edu.cn/packages/j9-git/ https://aur.archlinux.org/packages/cutecom/ https://aur.archlinux.org/packages/golden-cheetah/

notfood commented on 2019-09-20 18:29 (UTC)

Okay, next version.

Raansu commented on 2019-09-19 06:04 (UTC)

Drawpile will not compile without the package qt5-x11extras being installed. qt5-x11extras should be added as a makedepends dependency.

Mojyo commented on 2019-03-25 10:36 (UTC)

@notfood

Worked like a charm, thanks :) still a newbie here

notfood commented on 2019-03-25 09:31 (UTC)

@Mojyo Try overriding the theme.

Launch with env QT_STYLE_OVERRIDE=fusion drawpile

Feels like your QT is configured for a dark theme despite what Gnome says. Use qt5ct to set the global theme for QT.

Mojyo commented on 2019-03-24 18:30 (UTC) (edited on 2019-03-24 18:31 (UTC) by Mojyo)

@notfood

Hi, I saw you in the drawpile github lol just a question, I'm trying to change the app icons in the usr/share/drawpile/theme because the app has dark icons no matter what theme/shell i put in my gnome heres a pic: http://oi65.tinypic.com/35je77q.jpg any recommendation how to make the icons bright?

p.s. I love the new version :) p.p.s. wanna draw sometime? XD

Mojyo commented on 2019-02-28 13:00 (UTC)

@notfood @matoro

Can you confirm that installing extra-cmake-modules fixes your issue?

Solved the issue for me atleast

altermetax commented on 2019-02-26 11:53 (UTC) (edited on 2019-02-26 11:54 (UTC) by altermetax)

extra-cmake-modules should be added to makedepends. Didn't compile without it (same error as @matoro).

notfood commented on 2019-02-18 23:18 (UTC)

@Mojyo What error are you getting?

notfood commented on 2019-02-18 23:18 (UTC)

@matoro

Can you confirm that installing extra-cmake-modules fixes your issue?

Mojyo commented on 2019-02-11 11:12 (UTC) (edited on 2019-02-11 11:27 (UTC) by Mojyo)

@matoro

Download the old snapshot for 2.0.7 from here https://aur.archlinux.org/cgit/aur.git/log/?h=drawpile and follow the steps again

@Ivk Thanks for the help but id rephrase it a bit

Download snapshot and extract
in extracted folder in the PKGBUILD file Change 'pkgver' from 2.0.7 to 2.0.11
Open a terminal in extracted folder location and run the command makepkg -si PKGBUILD, it'll fail to validate but it'll download the .tar.gz for 2.0.11
Run the command sha256sum drawpile-2.0.11.tar.gz
Replace the 'sha256sums' in the PKGBUILD with the sha256sum result for 2.0.11 it should be f34a9be3414dca26d059e292e994eaa05932cca70a465a39be9c02067b460140
Run the command makepkg -si PKGBUILD again, it'll install this time

again thanks @Ivk it helped me :) P.S had to change the md5sum command to sha256sum as it didn't work and the sum was shorter than original file, with sha256sum it worked perfectly.

no idea why the updated version pkgbuild doesnt work, still a newbie here but from what I see comparing differences from the working 2.0.11 pkgbuild I use the pkgrel=1 was changed from 1 to 2 in this new one and _cmakeargs+=('-Wno-dev') were changed to _cmakeargs+=('-Wno-dev' '-DKIS_TABLET=ON') in this new one otherwise all looks ok with the version 2.0.11 and the shasum. So changing these 2 parameters should work when installing from pamac and choosing the edit build option.

matoro commented on 2019-02-08 13:26 (UTC) (edited on 2019-02-08 13:26 (UTC) by matoro)

build failing for me with:

-- Build type: Release
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.0") 
-- Could NOT find Sodium (missing: SODIUM_LIBRARY SODIUM_INCLUDE_DIR) 
CMake Warning at src/shared/CMakeLists.txt:53 (message):
  Libsodium not found: Ext-auth support not enabled


-- Could NOT find KF5DNSSD (missing: KF5DNSSD_DIR)
-- Found GIF: /usr/lib/libgif.so (found version "5.1.4") 
-- Found libminiupnpc: /usr/lib/libminiupnpc.so  
-- Could NOT find QtColorWidgets (missing: LIBQTCOLORWIDGETS_LIBRARY LIBQTCOLORWIDGETS_INCLUDE_DIR) 
CMake Error at src/desktop/CMakeLists.txt:92 (find_package):
  By not providing "FindECM.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ECM", but
  CMake did not find one.

  Could not find a package configuration file provided by "ECM" (requested
  version 5.19) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.

Mojyo commented on 2018-11-10 22:40 (UTC) (edited on 2019-01-10 14:13 (UTC) by Mojyo)

@Ivk Thanks for the help but id rephrase it a bit

  1. Download snapshot and extract
  2. in extracted folder in the PKGBUILD file Change 'pkgver' from 2.0.7 to 2.0.11
  3. Open a terminal in extracted folder location and run the command makepkg -si PKGBUILD, it'll fail to validate but it'll download the .tar.gz for 2.0.11
  4. Run the command sha256sum drawpile-2.0.11.tar.gz
  5. Replace the 'sha256sums' in the PKGBUILD with the sha256sum result for 2.0.11 it should be f34a9be3414dca26d059e292e994eaa05932cca70a465a39be9c02067b460140
  6. Run the command makepkg -si PKGBUILD again, it'll install this time

again thanks @Ivk it helped me :) P.S had to change the md5sum command to sha256sum as it didn't work and the sum was shorter than original file, with sha256sum it worked perfectly.

lvk commented on 2018-09-28 22:43 (UTC)

Can confirm it can build 2.0.11 with minor changes:

  1. Change 'pkgver' in the PKGBUILD to 2.0.11
  2. Run makepkg -si, it'll fail to validate but it'll download the .tar.gz for 2.0.11
  3. Run md5sum drawpile-2.0.11.tar.gz
  4. Replace the 'sha256sums' in the PKGBUILD with the md5sum result for 2.0.11
  5. Run makepkg -si again, it'll install this time

Might not be optimal, but hope it helps someone.

notfood commented on 2018-08-14 19:32 (UTC)

It does build, what's the issue?

I changed it to use 2.0.11 and it works fine.

jimmyneutron2 commented on 2018-07-05 14:13 (UTC)

@SunRed Please, this is the only way I can use Drawpile on Antergos as far as I know

SunRed commented on 2018-06-14 15:07 (UTC)

@electricprism I am aware of that but currently have no fix for it.

electricprism commented on 2018-06-04 20:29 (UTC)

Fails to build.

SunRed commented on 2016-02-09 18:27 (UTC) (edited on 2016-02-10 15:17 (UTC) by SunRed)

@ChlorideCull Thank you for your feedback. I also thought it wasn't a that good idea using the build variable though. I will take a look at splitting the package later. The patches I brought into are just some minor fixes. I added them because the Drawpile developer isn't quite active anymore. Ninja was used since I adopted the package, so I hadn't thought about removing it. Edit: I split the package for separation of client and server but kept using Ninja as - to my experience - it builds Drawpile much faster than make does (at least on my machine - i7 6700k). Also I haven't removed the Drawpile 1.0.3 patches because - like already mentioned - these are just some minor fixes and the developer of Drawpile isn't quite active anymore, thus updating to the latest GitHub commit isn't bad.

ChlorideCull commented on 2016-02-07 20:14 (UTC)

I'd for ease of use, I'd recommend restructuring the PKGBUILD to build a split package, instead of building different packages with the same name based on the "_build" variable. Additionally, please don't pull additional features that are unreleased and patching them in, if the version says 1.0.2, I assume I will get the same 1.0.2 as the website. Third, why is Ninja being used? It's just an additional dependency that, frankly, is unneccesary.

SunRed commented on 2015-11-18 10:02 (UTC) (edited on 2015-11-18 10:04 (UTC) by SunRed)

@fgaz I included a patch. It should build correctly now. Also, I could add a git package if there is need to.

fgaz commented on 2015-11-15 20:53 (UTC)

https://github.com/callaa/Drawpile/issues/273 Doesn't work with lastest miniupnpc. Please update the pkgbuild to the lastest commit on branch stable-1.x

filwit commented on 2015-09-15 22:19 (UTC)

np, thanks for the update! works great.

SunRed commented on 2015-09-15 15:19 (UTC)

Sorry for the late update, had some problems when building with all optional deps, but it is building correctly now. :)

filwit commented on 2015-09-13 16:48 (UTC)

Please update to the newly released 1.0.2 soon! It has an important pressure-sensitivity bug fix which is preventing me from using my tablet correctly. Thanks for the AUR package :)

SunRed commented on 2015-08-09 12:02 (UTC)

Updated to 1.0.1!

SunRed commented on 2015-07-24 17:40 (UTC)

Updated to 1.0.0!

feufochmar commented on 2015-06-21 22:06 (UTC)

drawpile 0.9.11 is available. Checksum is : sha256sums=('75decaf51142e9e5fc1edda285fd20ca4d2e89f3d6709d64d4a65164817122c1')

LucasHenderson commented on 2015-04-08 13:52 (UTC)

Out of date, latest version is 0.9.9

xyproto commented on 2014-10-27 14:44 (UTC)

Updated to 0.9.5.

codl commented on 2014-10-20 15:32 (UTC)

0.9.5 has been released on oct 17

xyproto commented on 2014-10-06 12:41 (UTC)

Updated to 0.9.4. Experienced an issue with "missing Qt platform plugin" in a virtual machine, will have to test on another system as well.

thx1138 commented on 2014-10-06 02:14 (UTC)

Drawpile 0.9.4 released, August 15 2014

xyproto commented on 2014-08-04 11:09 (UTC)

Updated to 0.9.3. Also updated the upstream url, which has changed.

xyproto commented on 2013-12-29 21:22 (UTC)

Updated to the latest version. Qt5 is now supported and used.

xyproto commented on 2013-10-14 12:35 (UTC)

@giniu Drawpile does not support Qt5 yet.

xyproto commented on 2013-09-13 14:37 (UTC)

Adopted and updated the package.

giniu commented on 2010-11-15 23:09 (UTC)

could you please update qt4 dependency to qt?