This commits adds a new formula to install pympress, which is a PDF viewer
designed for presentations (with dual screens and other specific features for
PDF/beamer presentations) - under GPL 2.0.
The code is python and relies on Gtk+3 and Poppler with introspection bindings.
Therefore it is especially useful to package it with the proper dependencies
via homebrew.
The install procedure simply uses the recommended virtualenv python install
method and adds pympress to the bin/ path.
Check the contents of the log file as a way of testing all the
dependencies are present.
Closes#47143.
Signed-off-by: Rui Chen <chenrui333@gmail.com>
This updates the vips build to compile against mozjpeg instead of
regular libjpeg.
VIPS supports several additional JPEG encoding options and provides
better compression quality when it's built against mozjpeg[1].
mozjpeg is slower than libjpeg-turbo, but can compress better, with a
rich range of options. The VIPS maintainer jcupitt seems to be of the
opinion that the homebrew build of VIPS should should favour
functionality over production considerations[2], so better compression
functionality in exchange for slower execution seems a fair tradeoff.
1: https://jcupitt.github.io/libvips/API/current/VipsForeignSave.html#vips-jpegsave
2: https://github.com/Homebrew/homebrew-core/pull/36700#issuecomment-460662817Closes#47237.
Signed-off-by: Rui Chen <chenrui333@gmail.com>
Fixes:
- jupyterlab was being downloaded but not pip installed or linked.
- dependency on 'node' wasn't declared, which became needed once
jupyterlab got installed and linked.
Changes:
- Changed install to use virtualenv.
- Added a couple of tests to ensure that jupyterlab Python package
and jupyter-lab binary are actually installed.
Closes#47340.
Signed-off-by: Rui Chen <chenrui333@gmail.com>