WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: new version of mupdf  (Read 543 times)

Offline jazzbiker

  • Jr. Member
  • **
  • Posts: 65
Re: new version of mupdf
« Reply #15 on: June 15, 2019, 09:30:49 AM »
You didn't follow the lfs instructions:
Code: [Select]
$ patch -Np1 -i ../mupdf-1.15.0-shared_libs-1.patch
$ USE_SYSTEM_LIBS=yes CC="gcc -march=i486 -mtune=i686 -Os -pipe" make
$ sudo USE_SYSTEM_LIBS=yes CC="gcc -march=i486 -mtune=i686 -Os -pipe" make prefix=/usr/local build=release install
$ ls build/release
libmupdf-pkcs7.so    mupdf-gl             platform/
libmupdf-third.so    mupdf-x11            resources/
libmupdf-threads.so  muraster             source/
libmupdf.so          mutool               thirdparty/

Hi, Juanito!

I do tried this patch. It concerns shared libs, but ldd result was the same - Illegal instruction.
If You did make, please try ldd ./mupdf-x11.

Offline jazzbiker

  • Jr. Member
  • **
  • Posts: 65
Re: new version of mupdf
« Reply #16 on: June 15, 2019, 09:53:00 AM »
I've tried with USE_SYSTEM_LIBS=yes, but this decreased binary only by 1M from 34M to 33M, it is huge. The cause are fonts linked into binary, variety of fonts, including many of Eastern ones. It is very good for using without any toolkit and external fonts, but the new mupdf is huge, not a mu one, i think )
So it appears to be usefull only for minimal X neighbourhood. I think it is useless for full Xorg, especially if some toolkits are already loaded. And now i am not sure that such a huge extension with basic functional should find its place in TinyCore repo.
But there is no other FB2 viewer at all.
And TOC in .pdf's is accessible only in mupdf-gl binary, which i failed to make work at all.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10882
Re: new version of mupdf
« Reply #17 on: June 15, 2019, 09:55:17 AM »
You're correct and even without CFLAGS there is an invalid opcode...