[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Docker environment for Krita developers
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2018-07-03 10:34:59
Message-ID: 46b85df4-1f4e-40c6-9345-890a54533301 () gmail ! com
[Download RAW message or body]

Hi, all!

I have created a separate repository with a docker-based scripts for 
building Kirta build environment for developers. The docker image is 
based on the prebuilt dependencies our KDE CI uses for building AppImage 
packages, so if you decide to use such docker environment, you will 
always have the most actual and official deps versions :)

To set up the environment, just follow the steps described in the 
README.md file:
https://cgit.kde.org/scratch/dkazakov/krita-docker-env.git/tree/README.md

Some notes:

1) Docker container forwards all X11 and GPU calls to the host system so 
you can run Krita at full speed
2) To let QtCreator build Krita and do semantic analysis correctly, 
QtCreator should be run **inside** the docker image. There is a script 
that makes it easier, but you should still copy your preferences manually.
3) When using GDB and Valgrind, you should run them inside the container
4) This docker image is based on Ubuntu 12.04, which is used for 
AppImage build, the version of valgrind is rather old, so it will not 
handle AVX2 instructions correctly. That is the only knows drawback of 
the solution.

And don't hesitate to write your comments about the image! I'm open to 
suggestions :)


-- 
Dmitry Kazakov


[Attachment #3 (text/html)]

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font size="-1">Hi, all!<br>
      <br>
      I have created a separate repository with a docker-based scripts
      for building Kirta build environment for developers. The docker
      image is based on the prebuilt dependencies our KDE CI uses for
      building AppImage packages, so if you decide to use such docker
      environment, you will always have the most actual and official
      deps versions :)<br>
      <br>
      To set up the environment, just follow the steps described in the
      README.md file:<br>
<a class="moz-txt-link-freetext" \
href="https://cgit.kde.org/scratch/dkazakov/krita-docker-env.git/tree/README.md">https://cgit.kde.org/scratch/dkazakov/krita-docker-env.git/tree/README.md</a><br>
  <br>
      Some notes:<br>
      <br>
      1) Docker container forwards all X11 and GPU calls to the host
      system so you can run Krita at full speed<br>
      2) To let QtCreator build Krita and do semantic analysis
      correctly, QtCreator should be run **inside** the docker image.
      There is a script that makes it easier, but you should still copy
      your preferences manually.<br>
      3) When using GDB and Valgrind, you should run them inside the
      container<br>
      4) This docker image is based on Ubuntu 12.04, which is used for
      AppImage build, the version of valgrind is rather old, so it will
      not handle AVX2 instructions correctly. That is the only knows
      drawback of the solution.<br>
      <br>
      And don't hesitate to write your comments about the image! I'm
      open to suggestions :)<br>
      <br>
      <br>
    </font>
    <pre class="moz-signature" cols="72">-- 
Dmitry Kazakov</pre>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic