unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark Meyer <mark@ofosos.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH] Add Krita to guix
Date: Tue, 05 Dec 2017 13:00:19 +0100	[thread overview]
Message-ID: <1512475219.805972.1194551712.0632CCB9@webmail.messagingengine.com> (raw)
In-Reply-To: <1512475079.805533.1194549768.0033E2E2@webmail.messagingengine.com>

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 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 supposed to pass in a release tarball? I have to
>                 add that 
>                 I set "QT_QPA_PLATFORM" "offscreen" to facilitate tests
>                 running 
>                 at all
> 12:50 -!- salamanderrake
> [~quassel@2605:a000:122a:32:89c6:d481:6fca:1d06] has 
>           quit [Remote host closed the connection]
> 12:52 -!- NullConstant [~quassel@5.172.232.196] has joined #krita
> 12:55 < scottyp_mobile> a lot of unit tests fail in general right now.
> no one 
>                         has had time to maintain those ofosos 
> 12:55 < ofosos> scottyp_mobile: is this true of the release tarballs?
> then I 
>                 would simply disable the check phase
> 12:56 < scottyp_mobile> this is just true in general
> 12:56 < scottyp_mobile> you could try to disable them
> 
> Looks like tests won't work anyways. So the patch can't be improved in
> this regard.
> 
> Cheers, Mark
> 
> On Tue, Dec 5, 2017, at 11:39, Efraim Flashner wrote:
> > 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 <mark@ofosos.org> 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 640x480x24 &".
> > > 
> > > 
> > > Disabling the tests worked for me, and this also brings down the compile
> > > time, which is already in excess of 1h on my system.
> > > 
> > 
> > We still prefer to run all the tests as possible, or at least all the
> > tests which don't require network access. Since there are no packages
> > which depend on krita we have no way of testing the package without
> > using it if we don't run the test suite.
> > 
> > -- 
> > Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> > GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> > Confidentiality cannot be guaranteed on emails sent or received
> > unencrypted
> > Email had 1 attachment:
> > + signature.asc
> >   1k (application/pgp-signature)
> 
> 
> -- 
>   Mark Meyer
>   mark@ofosos.org
> 


-- 
  Mark Meyer
  mark@ofosos.org

  reply	other threads:[~2017-12-05 12:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05  1:26 [PATCH] Add Krita to guix Mark Meyer
2017-12-05 10:30 ` Danny Milosavljevic
2017-12-05 10:33   ` Mark Meyer
2017-12-05 10:39     ` Efraim Flashner
2017-12-05 11:57       ` Mark Meyer
2017-12-05 12:00         ` Mark Meyer [this message]
2017-12-05 14:32         ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512475219.805972.1194551712.0632CCB9@webmail.messagingengine.com \
    --to=mark@ofosos.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).