<div dir="ltr"><div><div><div><div><div><div>Hi Boudewijn,<br><br></div>Thanks for that! After some wrestling with my distro (which has a too-old 'flatpak', though I managed to update it) it fails with:<br><br>From git://<a href="http://anongit.kde.org/krita">anongit.kde.org/krita</a><br> * [new branch]      master     -> master<br>flatpak-builder: symbol lookup error: /usr/lib64/libostree-1.so.1: undefined symbol: g_utf8_make_valid<br><br><br></div>While I know what the means, I don't know how to deal with it...<br><br></div>Having looked at the Python docs, it looks like I'll be able to do a lot of what I'm hoping to do (connect Krita to other apps, embed it in pipelines etc) so that's cool.<br><br></div>I know you and your team are likely swamped, so I will wait! I'd be happy to attempt to put Python into the AppImage, but I bet C++ is involved and I'm not close to being smart enough to handle that :)<br><br></div>Cheers,<br><br></div>Peter B<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 January 2018 at 02:20, Boudewijn Rempt <span dir="ltr"><<a href="mailto:boud@valdyas.org" target="_blank">boud@valdyas.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday, 26 January 2018 23:26:09 CET Peter Bowmar wrote:<br>
> Cool, thanks guys. The interface seems easy from those docs, though parsing<br>
> the C++ into SIPified Python might be a bit of a challenge, once I have<br>
> access to Python in Krita I'll give it a try.<br>
><br>
> Boudewijn if you have a link to a flatpak with the Python I can give a<br>
> shot. I'm not sure I have the time to try to build it myself, since my<br>
> experience with that is that it usually takes 2 days to resolve all the<br>
> dependencies :)<br>
<br>
</span>I haven't tested it myself, but this is what's in the instructions:<br>
<br>
1. add the flathub repository:<br>
<br>
`$ flatpak remote-add --if-not-exists flathub <a href="https://flathub.org/repo/" rel="noreferrer" target="_blank">https://flathub.org/repo/</a><br>
flathub.flatpakrepo`<br>
<br>
2. install the KDE SDK from flathub:<br>
<br>
`$ flatpak install flathub org.kde.Sdk`<br>
<br>
3. compile krita and install it into a local repository:<br>
<br>
`$ flatpak-builder --repo=repo_dir --force-clean build_dir org.kde.krita-<br>
nightly.json`<br>
<br>
4. export krita from the local repository to a bundle:<br>
<br>
`$ flatpak build-bundle repo_dir krita-nightly-x86_64.flatpak org.kde.krita<br>
master`<br>
<br>
5. install the bundle:<br>
<br>
`$ flatpak install krita-nightly-x86_64.flatpak`<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
Boudewijn Rempt | <a href="https://www.valdyas.org" rel="noreferrer" target="_blank">https://www.valdyas.org</a> | <a href="https://www.krita.org" rel="noreferrer" target="_blank">https://www.krita.org</a><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Cheers,<br><br>Peter B<br></div></div></div></div></div></div>
</div>