mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
mupdf: add recipe for version 1.10~a. (#1121)
* Mark 1.10~a as broken since there are still a few issues:
- libmupdf.so is not being built.
- libmupdfthird.a is being built but is empty.
- unlike 1.8, 1.10~a cannot be built on x88_gcc2 primary
arch because a dependency on harfbuzz was added. That
said, it might be possible to remove that dependency.
* Updated patches from 1.8 to 1.10~a.
* Added patches to fix includes for hb.h and hb-ft.h and to
skip unneeded workaround in source/fitz/load-jpx.c
* Merged/replaced old patch with one from @korli.
* Add dependency on libharfbuzz and libglib_2.0 too, as it is
required by harfbuzz.
This commit is contained in:
28
app-text/mupdf/patches/mupdf-1.10~a-openjpeg21.patchset
Normal file
28
app-text/mupdf/patches/mupdf-1.10~a-openjpeg21.patchset
Normal file
@@ -0,0 +1,28 @@
|
||||
From 218fa2f41479cce876896632d9ce3a159b29eaf0 Mon Sep 17 00:00:00 2001
|
||||
From: fbrosson <fbrosson@localhost>
|
||||
Date: Mon, 28 Nov 2016 13:37:54 +0000
|
||||
Subject: Skip unneeded workaround in source/fitz/load-jpx.c
|
||||
|
||||
|
||||
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
|
||||
index b1d77c7..d37f90d 100644
|
||||
--- a/source/fitz/load-jpx.c
|
||||
+++ b/source/fitz/load-jpx.c
|
||||
@@ -481,14 +481,6 @@ fz_load_jpx_info(fz_context *ctx, unsigned char *data, size_t size, int *wp, int
|
||||
|
||||
#else /* HAVE_LURATECH */
|
||||
|
||||
-/* Without the definition of OPJ_STATIC, compilation fails on windows
|
||||
- * due to the use of __stdcall. We believe it is required on some
|
||||
- * linux toolchains too. */
|
||||
-#define OPJ_STATIC
|
||||
-#ifndef _MSC_VER
|
||||
-#define OPJ_HAVE_STDINT_H
|
||||
-#endif
|
||||
-
|
||||
#include <openjpeg.h>
|
||||
|
||||
/* OpenJPEG does not provide a safe mechanism to intercept
|
||||
--
|
||||
2.11.0
|
||||
|
||||
Reference in New Issue
Block a user