# jpeg/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package has been renamed. #--------------------------------------------------------------------- 2. This distro's "jpeg" package is based on "mozjpeg". "mozjpeg" is a drop-in replacement for the "jpeg-turbo" variation of "jpeg". The differences are as follows: * mozjpeg is typically 2X to 4X and up slower for compression * but mozjpeg compressed output is typically 5% to 15% smaller * and mozjpeg decompression may be noticeably faster #--------------------------------------------------------------------- 3. If the system "jpeg" core binaries and libraries are provided by "mozjpeg", the following two commands should have close to the same effect: jpegtran -copy none -optimize moo.jpg > moo2.jpg jpegoptim -fpsP moo.jpg Both commands will optimize "moo.jpg". The 1st will write the output to "moo2.jpg" and not preserve timestamps. The 2nd will rewrite the input file and will preserve timestamps. The optimization will be lossless in both cases. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.47 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.57 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] license = See "license*.txt" in installed tree licfile = LICENSE.md unpack = relaxed setpaths = libpng jpeg zlib tmpsize = 27M #--------------------------------------------------------------------- [depends] actools cmake:forward gawk grep nasm2 libpng:forward pkgconf sed zlib #--------------------------------------------------------------------- [configure] mkdir obj && cd obj cmake -DCMAKE_INSTALL_PREFIX:PATH=$PKGDIR_PROD .. #--------------------------------------------------------------------- [build] cd obj && smpmake && make install #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = https://github.com/mozilla/mozjpeg/archive/\ v4.1.5.tar.gz #--------------------------------------------------------------------- [history] 170707 Switched "jpeg" package from "jpeg6b" to "jpeg-turbo" 171205 Updated "jpeg" to "jpeg-turbo" 1.5.2 180411 Added "mozjpeg" package. Started with 3.1. 190830 Updated "jpeg" to "jpeg-turbo" 1.5.3 191009 Updated "mozjpeg" to 3.3.1 210205 Updated "mozjpeg" to 4.0.0 210222 Updated "jpeg" to "jpeg-turbo" 2.0.6 210906 Updated "jpeg" to "jpeg-turbo" 2.1.1 211119 Updated "jpeg" to "jpeg-turbo" 2.1.2 220111 Updated "mozjpeg" to 4.0.3 220111 Switched "jpeg" package from "jpeg-turbo" to "mozjpeg" 220111 Dropped separate "mozjpeg" package 220111 Moved "jpeg-turbo" to a separate [hidden] package 220815 Updated "mozjpeg" to 4.1.1 230523 Updated "mozjpeg" to 4.1.3 230827 Updated "mozjpeg" to 4.1.4 240124 Updated "mozjpeg" to 4.1.5