summaryrefslogtreecommitdiff
path: root/Makethird
AgeCommit message (Collapse)Author
2017-05-04Fix macOS build.Tor Andersson
2017-03-22Rename libjpeg submodule.Tor Andersson
2017-03-22Clean up makefiles.Tor Andersson
2017-03-15Only include pthread library when needed.Tor Andersson
Rename HAVE_PTHREADS to HAVE_PTHREAD to match naming of other defines, where the macro is named after the library that is linked.
2017-03-15Update GLFW submodule.Tor Andersson
2017-01-23android: Add ndk-build makefile to build JNI library for android viewers.Sebastian Rasmussen
Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android.
2016-11-17Retain only necessary files for curl support.Sebastian Rasmussen
2016-11-17Detect openssl to support https when using curl.Sebastian Rasmussen
2016-11-17Update to curl 7.51.0.Sebastian Rasmussen
Fixes bug 697337.
2016-11-17Rename openssl flags to libcrypto.Sebastian Rasmussen
Only libcrypto is used to do checking of digital signatures. The SSL library openssl is never used.
2016-11-14gl: Add macOS support.Tor Andersson
2016-10-16Link with OpenSSL if present on system.Sebastian Rasmussen
2016-09-27Move thirdparty/openjpeg onto the correct SHA.Robin Watts
Now we use the openjpeg repo automatically generated from the gs repo. Diffing the two shows mostly only whitespace diffs, but just a couple of fixes too. Also change Makefile logic not to check for a file that isn't there any more.
2016-09-26Update OpenJPEG to the latest (git) version.Robin Watts
Part of the change in this code is to require opj_malloc and co. Sadly, opj_malloc and co do not take a context field, so a we need to wrap calls to openjpeg with a lock. I am reusing the freetype lock here for simplicity.
2016-07-06Add optional support for JPEG-XR.Sebastian Rasmussen
2016-07-06Add optional support for Luratech JPEG2000 decoder.Sebastian Rasmussen
2016-06-14Add optional support for Luratech JBIG2 decoder.Sebastian Rasmussen
If thirdparty/luratech is populated then this decoder will be preferred over jbig2dec (even if both are present).
2016-06-06Add FZ_ENABLE_JS configuration define.Tor Andersson
2016-04-22thirdparty: Update to openjpeg 2.1.0.Sebastian Rasmussen
2016-02-29js: Add makefile dependencies so that one.c gets rebuilt properly.Tor Andersson
2016-01-29Force all harfbuzz allocations through our allocators.Robin Watts
Because of a shortcoming in harfbuzz, we can't easily force all its allocations through our allocators. We fudge it, with the addition of some macros to change malloc/free/calloc into hb_malloc/hb_free/hb_calloc. To prevent thread safety issues, we use our freetype lock around calls to harfbuzz. We stash the current context in a static var.
2016-01-28Add harfbuzz thirdparty submodule.Tor Andersson
2016-01-05gl: Remove unused GLUT variables from makefiles.Tor Andersson
2016-01-05Link required thirdparty libraries into one library: libmupdfthird.aTor Andersson
Keep the extra thirdparty libraries (curl and glfw) separate. This matches the build process for android and win32. Also purge some unused makefile sections.
2015-12-22Update jbig2dec to latest.Robin Watts
In particular this takes on the Memento fixes for bug 696183.
2015-12-18Fix warning in zlib thirdparty build.Tor Andersson
The gzip functions need lseek, open, read, write, close. Those functions are only defined in unistd.h is included, so make sure that happens.
2015-12-15muPDF iOS app: Support for the latest (3.4.1) Crashlytics.fredrossperry
- added four zlib files to Makethird that contain functions needed by the new version. - added -Wno-implicit-function-declaration so these new files, which contain some implicit declarations, would build for iOS - added a section to Info.plist that holds the new API key, with an invalid value that the release build script will fill in. - changes to MuAppDelegate for the new version. <log></log>
2015-10-06Update freetype submodule to version 2.6.1.Tor Andersson
2015-10-06gl: Use GLFW instead of GLUT.Tor Andersson
Add OpenGL text rendering using textured quads, instead of using glut bitmap fonts.
2015-10-06glut: Simple viewer using GLUT and fixed function OpenGL.Tor Andersson
2014-05-23Add ftdebug.c to thirdparty freetype build.Tor Andersson
Allows compilation with -DFT_DEBUG_LEVEL_TRACE to track down buggy fonts.
2014-05-19Add an application agnostic memory handler for libjpegChris Liddell
This adds a custom memory management layer between libjpeg and the calling app - in such a way that the code can be shared between mupdf and Ghostscript/PDL.
2014-05-07Fix 694428: use system CURL library if available.Tor Andersson
2014-03-25Add MuJS submodule, implementation and build.Tor Andersson
Adds simpler choice of Javascript library to makefiles. Will prefer in order: MuJS, JavaScriptCore, V8, none based on HAVE_MUJS, HAVE_JSCORE, and HAVE_V8. For simplicity, we build mujstest even with no javascript implementation.
2013-11-28Put thirdparty config headers in separate directories.Tor Andersson
Only -I the config header directory if building the thirdparty library, not if using the system library. Fix bug 694808.
2013-11-28Update mupdf to use latest openjpeg pulled from ghostpdl.Robin Watts
The OpenJPEG in gs is v2, with various patches for fixes. These are in the process of being passed upstream. We now automatically pull the openjpeg tree out of GhostPDL and put it in as one particular branch in the thirdparty/openjpeg.git repo. Change to track this in MuPDF. This is in keeping with what we have been doing with the jbig2dec repo for a while now.
2013-08-14Fix build of curl on macosx.Tor Andersson
Only build mupdf-x11-curl if the curl thirdparty library exists.
2013-07-19Add mupdf-curl appRobin Watts
Windows and X11. Allows files to be fetched and displayed as they are downloaded both with and without linearization, using hints if available.
2013-06-20Update source, makefiles and win32 projects.Tor Andersson
2013-06-19Use subdirs in build directory for thirdparty libraries.Tor Andersson
2013-06-12Some Makefile cleanups.Tor Andersson
2013-05-30Update Makefile for V8 MacOS X operation.Robin Watts
Link with 64bit by default.
2013-05-29Fix a typo in Makethird where we used $(BUILD) rather than $(build).Tor Andersson
2013-05-29Add rules to configure and build openssl if it is present in thirdparty.Tor Andersson
Also sets the -DHAVE_OPENSSL flag.
2013-05-29Clean up thirdparty / system library makefile variables.Tor Andersson
2013-05-24Update build to use the latest openJPEG2Shailesh Mistry
2013-05-22Update OpenJPEG to v2.0.0.Robin Watts
2013-05-16Only link with X11 for X11 viewer.Tor Andersson
2013-04-23Fix pkg-config issues.Tor Andersson
Only evaluate pkg-config variables if using system libraries, using a := assignment in Makethird. This silences warnings if the library is in thirdparty but not installed on the system.
2012-11-16Fix build with openjpeg-1.5.1Wouter van Kesteren