-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emscripten build #262
base: main
Are you sure you want to change the base?
Emscripten build #262
Conversation
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: yanovskyy <[email protected]>
DCO signed off ✔️All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1. |
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: Alexander Y. <[email protected]>
- removed gmodule for gdk-pixbuf - refactored a bit Signed-off-by: yanovskyy <[email protected]>
Errors previously showed in screen are fixed by e1f3519, now it seem to compile with different warnings in gdk-pixbuf side and some problems
I might fix it if I have some times. |
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: yanovskyy <[email protected]>
Signed-off-by: yanovskyy <[email protected]>
From openslide/openslide#621
For building, you will need to have emscripten and wasm-ld installed
Meson setup command
I have changed glib.wrap because building glib with emscripten needs particular changes (emscripten-core/emscripten#11066) but it stills fails building.
It currently stuck to glib/gdk-pixbuf compilation part
When trying to compile pcre2 it says
but pcre2 wasm build are present online https://github.com/stephen-riley/pcre2-wasm/blob/master/Makefile, so it is possible but I don't know for now how to do it. (Pcre2 was needed for glib 2.80.3 (previous version of glib.wrap that I modified))
So, for a successful wasm32 build, I think a correct emscripten patch for glib would do the trick.