Commit Graph

34 Commits

Author SHA1 Message Date
Michael Forney 84e81a9c8d mupdf: Remove gumbo submodule 2022-09-07 23:00:53 -07:00
Michael Forney 6219971ed5 mupdf: Remove gumbo dependency
We don't build with HTML support since it requires harfbuzz, so the
code that uses gumbo can be guarded by FZ_ENABLE_HTML, making the
dependency conditional.
2020-12-14 17:58:47 -08:00
Michael Forney cc499bb1d5 mupdf: Update to 1.18.0 2020-12-14 02:40:26 -08:00
Michael Forney c43e528ccd mupdf: Fix a protocol error that appears on other compositors 2020-10-01 18:43:57 -07:00
Michael Forney 501e736e01 jbig2dec: Update to 0.19
Also, cherry-pick mupdf patch to fix warning witht jbig2dec-0.19.
2020-09-15 23:11:05 -07:00
Michael Forney 0e24c2d373 mupdf: Update to 1.17.0 2020-07-09 13:53:21 -07:00
Michael Forney d275010a7a mupdf: Remove unused variables 2020-06-05 03:11:11 -07:00
Michael Forney d4297a13c8 Use -isystem to include library headers
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.

To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney 8a157d611e jbig2dec: Add header target 2020-06-02 04:22:27 -07:00
Michael Forney fa02fa9d7b libxkbcommon: Add header target 2020-06-02 04:22:27 -07:00
Michael Forney 3286b467f7 freetype: Add header target 2020-06-02 04:20:10 -07:00
Michael Forney 08cca5431f Move toolchain config into config.lua 2020-01-29 22:14:33 -08:00
Michael Forney 051963c7fe Add support for building multiple configurations
Now, you can build in separate directories per configuration:

	mkdir foo
	(cd foo && ../setup.lua)
	samu -C foo
2020-01-29 22:14:33 -08:00
Michael Forney 2255c43da7 Use $basedir to refer to paths relative to base source tree 2019-12-16 23:48:22 -08:00
Michael Forney f4720910b9 Update ninja requirement to 1.8.0 and don't bother with atomic outputs
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always
recorded after a job succeeds, and outputs are considered dirty if
the recorded mtime is older than any input. This means that even
if a command partially writes its output then fails (for example,
if run with stdout redirected to a file), it will still get re-run
during the next build.

This means that outputs no longer have to be written atomically
(i.e. renamed into place) in order to ensure a correct build, and
we can drop the idiom `command >$out.tmp && mv $out.tmp $out`.

[0] https://github.com/ninja-build/ninja/commit/04d886b11041bb59d01df794cce7a1e8cad2250d
[1] https://github.com/michaelforney/samurai/commit/799bc5a4719b90a1026c129b55b92c0bccf97eeb
2019-11-17 15:24:25 -08:00
Michael Forney 08bf7c79ec mupdf: Update to 1.16.1 2019-08-03 08:46:06 -07:00
Michael Forney 2cf5a444b7 mupdf: Update to 1.16.0 2019-08-01 18:58:25 -07:00
Michael Forney 1d40b501c4 mupdf: Fix a few portability issues 2019-07-06 16:22:36 -07:00
Michael Forney fb60720477 mupdf: Update to 1.15.0 2019-05-22 02:33:45 -07:00
Michael Forney 492aea83f8 mupdf: Remove thirdparty submodules
This breaks a recursive clone, which some automated build systems
insist on (docker hub, builds.sr.ht).
2019-03-19 11:38:49 -07:00
Michael Forney 10a498f912 mupdf: Update to 1.14.0 2019-03-19 00:52:22 -07:00
Michael Forney 4332740046 Rename rev to ver, and keep track of package versions as well 2019-03-19 00:14:12 -07:00
Michael Forney bba4833013 Update to stable xdg-shell
Since xdg-shell-unstable-5-protocol.c and xdg-shell-protocol.c
define conflicting symbols, this commit updates swc, netsurf, mupdf,
and st all at once.
2018-11-03 01:20:57 -07:00
Michael Forney 5e3360f3f3 mupdf: Add missing rev bump for 73fa4a5d29 2018-01-03 20:16:11 -08:00
Michael Forney 174d33399a mupdf: Enable thread support 2017-12-28 23:33:52 -08:00
Michael Forney 73fa4a5d29 mupdf: Update to 1.12.0 2017-12-28 23:25:38 -08:00
Michael Forney e5cfa84477 Move $outdir/fetch.stamp -> $dir/fetch 2017-10-23 21:43:33 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 6fa5f88e60 Don't use -isystem
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
2017-08-19 19:07:18 -07:00
Michael Forney f9a8c27e6d Add some missing dependencies 2017-08-04 20:34:24 -07:00
Michael Forney 9dc0a7bdd0 mupdf: Add missing zlib include directory 2017-07-09 17:51:50 -07:00
Michael Forney 081e13fa34 mupdf: Set -DNDEBUG and -Wall 2017-06-09 22:49:08 -07:00
Michael Forney 051d340c5e mupdf: Add wayland port of mupdf viewer
Also, switch to my github fork to include wl_main.c.
2017-06-09 22:48:32 -07:00
Michael Forney a82cee93f5 Add mupdf 1.11 2017-06-07 00:31:36 -07:00