Skip to content
This repository has been archived by the owner on Oct 7, 2019. It is now read-only.

dimensio/mozjpeg-deb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mozjpeg-deb

Selectively compile and package mozjpeg 3.0 for use as the system-wide shared JPEG library on Ubuntu 14.04, 14.10 and 15.04 instead of libjpeg-turbo.

As mozjpeg is ABI-compatible with libjpeg-turbo, only the shared library files are included. The existing cjpeg, djpeg etc. binaries remain but will take advantage of the updated shared library files. Use of the /usr/local path prevents other existing files being trampled.

How to

bundle install
make

This will:

  1. Download mozjpeg source.
  2. Compile only the required jpeg8 shared library from source.
  3. Package shared library mozjpeg and header files mozjpeg-dev in .deb format.

See also

The mozjpeg Makefile inherited from libjpeg-turbo contains a deb rule to compile and bundle everything into a single .deb file, which will suffice for some needs.

Releases

No releases published

Packages

No packages published