Python testing in 4?

Peter Bowmar pbowmar at gmail.com
Sun Jan 28 16:51:49 UTC 2018


Hi Boudewijn,

Thanks for that! After some wrestling with my distro (which has a too-old
'flatpak', though I managed to update it) it fails with:

>From git://anongit.kde.org/krita
 * [new branch]      master     -> master
flatpak-builder: symbol lookup error: /usr/lib64/libostree-1.so.1:
undefined symbol: g_utf8_make_valid


While I know what the means, I don't know how to deal with it...

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.

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 :)

Cheers,

Peter B

On 27 January 2018 at 02:20, Boudewijn Rempt <boud at valdyas.org> wrote:

> On Friday, 26 January 2018 23:26:09 CET Peter Bowmar wrote:
> > Cool, thanks guys. The interface seems easy from those docs, though
> parsing
> > the C++ into SIPified Python might be a bit of a challenge, once I have
> > access to Python in Krita I'll give it a try.
> >
> > Boudewijn if you have a link to a flatpak with the Python I can give a
> > shot. I'm not sure I have the time to try to build it myself, since my
> > experience with that is that it usually takes 2 days to resolve all the
> > dependencies :)
>
> I haven't tested it myself, but this is what's in the instructions:
>
> 1. add the flathub repository:
>
> `$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/
> flathub.flatpakrepo`
>
> 2. install the KDE SDK from flathub:
>
> `$ flatpak install flathub org.kde.Sdk`
>
> 3. compile krita and install it into a local repository:
>
> `$ flatpak-builder --repo=repo_dir --force-clean build_dir org.kde.krita-
> nightly.json`
>
> 4. export krita from the local repository to a bundle:
>
> `$ flatpak build-bundle repo_dir krita-nightly-x86_64.flatpak org.kde.krita
> master`
>
> 5. install the bundle:
>
> `$ flatpak install krita-nightly-x86_64.flatpak`
>
>
>
> --
> Boudewijn Rempt | https://www.valdyas.org | https://www.krita.org
>
>
>


-- 
Cheers,

Peter B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20180128/206dd111/attachment.html>


More information about the kimageshop mailing list