Skip to content
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

LibreOffice enablement on Ubuntu Touch #523

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

fredldotme
Copy link
Contributor

WIP branch around making LibreOffice x86_64 work on Ubuntu Touch aarch64.

This is part of an effort for my Winebox project which also ships Wine and registers the binfmt_misc handler using systemd.

I feel like I'll stick around with a few contributions every now and then, so stay tuned. :)

These clear current fontconfig issues with LibreOffice on Ubuntu Touch.
Wrappings for multiple functions used by LibreOffice:
- GTK3
- Cairo
- libxml2
- GObject
@@ -120,6 +120,11 @@ EXPORT void my3_gdk_window_remove_filter(x64emu_t* emu, void* window, void* f, v
my->gdk_window_remove_filter(window, findFilterFct(f), data);
}

EXPORT unsigned int my3_gdk_threads_add_idle(x64emu_t* emu, void* function, void* data)
{
my->gdk_threads_add_idle(function, data);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to use a callback tranformation for function. Something like findGSourceFuncFct but you'll have to copy it from wrappedglib2.c first.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@@ -250,7 +250,7 @@ GO(xmlCtxtGetLastError, pFp)
GO(xmlCtxtReadDoc, pFppppi)
GO(xmlCtxtReadFd, pFpippi)
GO(xmlCtxtReadFile, pFpppi)
//GOM(xmlCtxtReadIO, pFEpBBpppi)
GO(xmlCtxtReadIO, pFppppppi)
Copy link
Owner

@ptitSeb ptitSeb Feb 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the B in the comented signature means "warning, there is a callBack": so they need special care with a find_XXXX and all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants