Closed stuart-little closed 4 years ago
This is really an upstream issue, so you might want to report it at http://djvu.sourceforge.net/
Will do, thank you!
This is embarrassing: that's precisely what I intended, but found my way to the cloned repo instead.. My apologies for the misunderstanding.
The report will at least be easy to copy-paste now that I have it here though.
It's silly that these systems aren't all "federated" so issues etc could cross git hosting domains. I don't really care if upstream is on github or gitlab or sourceforge, right?
Absolutely!
Anyway, the "bug" (which isn't really what this is) is being discussed upstream.
An update: they were very responsive over there, and this seems to have been fixed:
I cloned that repo (just djvulibre
) and it built fine on my phone just now.
Yes, djvulibre upstream is super-nice!
I'm on an
aarch64
phone running Android 10 and the Termux terminal emulator / Linux environment.I was trying to build a clone of this repo and ran into the issue that
pthread_cancel()
is absent on this machine.It built in the end, but I implemented the change suggested in that thread I linked. The
git diff
is as follows:So I added a header file
libdjvu/android-compat.h
that changespthread_cancel(*)
topthread_kill(*,0)
conditional onifdef __ANDROID__
and then included that header file inlibdjvu/GThreads.cpp
.This seems to have worked; I've used the
ddjvu
utility to convert a.djvu
to a.pdf
in my phone's terminal just now for instance.