GithubHelp home page GithubHelp logo

[Request]: Skia-python about python-for-android HOT 3 OPEN

jhay06 avatar jhay06 commented on July 2, 2024
[Request]: Skia-python

from python-for-android.

Comments (3)

HinTak avatar HinTak commented on July 2, 2024

Argh, again @jhay06 you have beaten me to it - if you filed elsewhere, it is good to put a reference so the issues are linked. E.g.

Coped from:

kivy/kivy#8333 (comment) :

The skia-python wheels are built by:
https://github.com/kyamagu/skia-python/blob/main/.github/workflows/ci.yml

So mostly, if anybody wants skia-python to work against kivy on android with pythonforandroid, they probably need to add a new section in that file. Most likely using the newer aarch64 Linux section as example - unlike the other linuxes/windows/macosx, building for aarch64 linux uses qemu, so it most similar to other archs uses qemu to build software, such as android.

from python-for-android.

HinTak avatar HinTak commented on July 2, 2024

Before dealing with problems specific to skia-python and pybind11, I think it is necessary to be able to build skia for android and ios in a way compatible / integrable with kivy first.

Skia-python needs a copy of skia built with the additional compiler option -frtti . So being able to build skia first (or have it available as an android/ ios static libraries ) is a must. And skia itself is not a standard part of android/ios.

from python-for-android.

HinTak avatar HinTak commented on July 2, 2024

The instructions for building skia itself is at https://skia.org/docs/user/build/ . These are adapted and scripted in skia-python/scripts/build*.sh scripts for linux/macos/windows. Probably a new build_android.sh and build_ios.sh are needed.

from python-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.