Re: [PATCH] Add Krita to guix

2017-12-05 Thread Efraim Flashner
On Tue, Dec 05, 2017 at 12:57:59PM +0100, Mark Meyer wrote: > I tried enabling test, but sometimes it's easiest to just ask, from the > Krita IRC channel: > > 12:49 < ofosos> hey, I'm trying to package Krita for Guix and I'm > getting a lot > errors, when I activate the check phas

Re: [PATCH] Add Krita to guix

2017-12-05 Thread Mark Meyer
But in theory it should work with QT_QPA_PLATFORM, this only yields a comparatively small number of failed test in my run, likey 20-30 out of ~200. Cheers, Mark On Tue, Dec 5, 2017, at 12:57, Mark Meyer wrote: > I tried enabling test, but sometimes it's easiest to just ask, from the > Krita IRC c

Re: [PATCH] Add Krita to guix

2017-12-05 Thread Mark Meyer
I tried enabling test, but sometimes it's easiest to just ask, from the Krita IRC channel: 12:49 < ofosos> hey, I'm trying to package Krita for Guix and I'm getting a lot errors, when I activate the check phase of the build. Are these tests suppose

Re: [PATCH] Add Krita to guix

2017-12-05 Thread Efraim Flashner
On Tue, Dec 05, 2017 at 11:33:22AM +0100, Mark Meyer wrote: > On Tue, Dec 5, 2017, at 11:30, Danny Milosavljevic wrote: > > Hi, > > > > On Tue, 05 Dec 2017 02:26:15 +0100 > > Mark Meyer wrote: > > > > > I disabled all tests, since these required an X11 display to be present. > > > > Does (seten

Re: [PATCH] Add Krita to guix

2017-12-05 Thread Mark Meyer
Disabling the tests worked for me, and this also brings down the compile time, which is already in excess of 1h on my system. On Tue, Dec 5, 2017, at 11:30, Danny Milosavljevic wrote: > Hi, > > On Tue, 05 Dec 2017 02:26:15 +0100 > Mark Meyer wrote: > > > I disabled all tests, since these requir

Re: [PATCH] Add Krita to guix

2017-12-05 Thread Danny Milosavljevic
Hi, On Tue, 05 Dec 2017 02:26:15 +0100 Mark Meyer wrote: > I disabled all tests, since these required an X11 display to be present. Does (setenv "QT_QPA_PLATFORM" "offscreen") help? If not, then it's possible to start an X server (Xvfb) in the container, something like "/bin/Xvfb :1 -screen 0

[PATCH] Add Krita to guix

2017-12-04 Thread Mark Meyer
Second try. I disabled all tests, since these required an X11 display to be present. It's running now. I created a new file and saved the output. Looks good. Please find the patch attached. Lints fine, but I didn't test if this is reproducible, since the build is taking a very long time (even w