Alien-MuPDF
view release on metacpan or search on metacpan
0.011 2020-07-09 00:55:04-0500
- Updates build parameters for MuPDF v1.17.0.
- Only build mutool binary.
See <https://github.com/project-renard/p5-Alien-MuPDF/issues/47>,
<https://github.com/project-renard/p5-Alien-MuPDF/pull/48>,
<https://github.com/project-renard/p5-Alien-MuPDF/pull/51>.
- Skip embedding some fonts to decrease build size (-DTOFU -DTOFU_CJK).
- Several Windows build fixes.
0.010 2018-01-04 20:40:51-0600
- Expand the download regex so that x.y.z versions match. This change was
introduced with MuPDF v1.12.0.
Fixes <https://rt.cpan.org/Public/Bug/Display.html?id=123916>,
<https://github.com/project-renard/p5-Alien-MuPDF/issues/39>. Thanks to
SREZIC++ for the bug report. See
0.007_01 2017-04-23 19:10:32-0500
- Compile MuPDF so that it can be linked into a shared library (e.g., with XS)
by setting `XCFLAGS=-fPIC`.
Fixes <https://github.com/project-renard/p5-Alien-MuPDF/issues/24>.
- Sets the Inline parameter `MYEXTLIB` to the path for the mupdf archive
files so that it can be found via Inline::C.
- Remove the FreeBSD patch to `fontdump.c` that is no longer needed with
mupdf-1.11.
Fixes <https://github.com/project-renard/p5-Alien-MuPDF/issues/32>,
RT#121218 <https://rt.cpan.org/Ticket/Display.html?id=121218>.
Thanks to SREZIC++ for the bug report.
0.007 2016-11-23 02:10:08-0600
- Fix the t/inline.t version number test so that it works with
the MuPDF v1.10 release.
}
plugin 'Build::MSYS' => ();
my @XCFLAGS;
if( $^O eq 'MSWin32' ) {
# builds on Windows are already position independent
} else {
push @XCFLAGS, '-fPIC';
};
# Do not embed some fonts
push @XCFLAGS, qw(-DTOFU -DTOFU_CJK);
my @EXTRA_MAKE_FLAGS = ();
build [
( '%{patch} -p1 < %{.install.patch}/0001-Use-argfile-for-ar.patch' ) x!!( $^O eq 'MSWin32' ),
'%{patch} -p1 < %{.install.patch}/0002-jbig2dec-win32-stdlib.patch',
[
'%{gmake}',
'verbose=yes',
( run in 0.520 second using v1.01-cache-2.11-cpan-5735350b133 )