Bug#731447: zathura-mupdf using libmupdf.a?

2017-07-15 Thread Kevin Velghe

Hi Pavel,

I have a fork of the Debian mupdf package I use to build zathura-mupdf, 
based on Lingzhu's instructions:

https://gitlab.com/paretje/mupdf
https://gitlab.com/paretje/zathura-pdf-mupdf

Best regards,
Kevin

On Fri, Jul 14, 2017 at 11:56:32AM +0500, Pavel Sofishchenko wrote:

Right now to build the pdf.so of zathura-mupdf, just

- apt-get source mupdf
- HAVE_MUJS := no in there
- rebuild libmupdf-dev with DEB_BUILD_OPTIONS=x-fpic
- dpkg -i libmupdf-dev...deb
- cd zathura-mupdf; remove "-lmujs" there
- make
- zathura --plugins-dir=zathura-mupdf test.pdf

And it renders lightning fast!!!


Hi, Lingzhu

Could you give this .patch file for mupdf source?

---
Regards,
Pavel



signature.asc
Description: PGP signature


Bug#731447: zathura-mupdf using libmupdf.a?

2017-07-14 Thread Pavel Sofishchenko
> Right now to build the pdf.so of zathura-mupdf, just
>
> - apt-get source mupdf
> - HAVE_MUJS := no in there
> - rebuild libmupdf-dev with DEB_BUILD_OPTIONS=x-fpic
> - dpkg -i libmupdf-dev...deb
> - cd zathura-mupdf; remove "-lmujs" there
> - make
> - zathura --plugins-dir=zathura-mupdf test.pdf
>
> And it renders lightning fast!!!

Hi, Lingzhu

Could you give this .patch file for mupdf source?

---
Regards,
Pavel



Bug#731447: zathura-mupdf using libmupdf.a?

2014-10-20 Thread Lingzhu Xiang
Hi,

So mupdf upstreams says "fitz is still immature and should not be
exposed nor dynamically linked" (#719351). But isn't the point of
zathura-mupdf to encapsulate mupdf within a .so plugin and maintain a
stable interface between this plugin and zathura? That should not be a
blocker.

Zathura upstream seems very actively maintaining the plugin (last
release a week ago) and surely they will be friendly to work with over
this issue. And because actually Zathura proper and the zathura-mupdf
plugin are by the same author, it would be ridiculous if the two don't
work together.

Therefore I propose to pull in libmupdf.a to build the zathura-mupdf
shared library.

Right now to build the pdf.so of zathura-mupdf, just

- apt-get source mupdf
- HAVE_MUJS := no in there
- rebuild libmupdf-dev with DEB_BUILD_OPTIONS=x-fpic
- dpkg -i libmupdf-dev...deb
- cd zathura-mupdf; remove "-lmujs" there
- make
- zathura --plugins-dir=zathura-mupdf test.pdf

And it renders lightning fast!!!

-Lingzhu


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org