notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q3
jpeg-turbo SIMD-accelerated JPEG codec which replaces libjpeg
3.1.4.1 graphics on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.1.4.1Version of this port present on the latest quarterly branch.
Maintainer: desktop@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-13 18:27:06
Last Update: 2026-07-13 18:23:56
Commit Hash: ef24c3d
License: BSD3CLAUSE IJG ZLIB
WWW:
https://libjpeg-turbo.org/
Description:
This is a drop-in replacement for the graphics/jpeg library. It does not include libturbojpeg.so (see graphics/libjpeg-turbo). libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal. libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru, but the TigerVNC and VirtualGL projects made numerous enhancements to the codec, including improved support for Mac OS X, 64-bit support, support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.), accelerated Huffman encoding/decoding, and various bug fixes. The goal was to produce a fully open source codec that could replace the partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC. libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP. It is faster in some areas but slower in others.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (39 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/jpeg-turbo-3.1.4.1/catalog.mk
  3. /usr/local/share/licenses/jpeg-turbo-3.1.4.1/LICENSE
  4. /usr/local/share/licenses/jpeg-turbo-3.1.4.1/BSD3CLAUSE
  5. /usr/local/share/licenses/jpeg-turbo-3.1.4.1/IJG
  6. /usr/local/share/licenses/jpeg-turbo-3.1.4.1/ZLIB
  7. bin/cjpeg
  8. bin/djpeg
  9. bin/jpegtran
  10. bin/rdjpgcom
  11. bin/wrjpgcom
  12. include/jconfig.h
  13. include/jerror.h
  14. include/jmorecfg.h
  15. include/jpeglib.h
  16. lib/cmake/libjpeg-turbo/libjpeg-turboConfig.cmake
  17. lib/cmake/libjpeg-turbo/libjpeg-turboConfigVersion.cmake
  18. lib/cmake/libjpeg-turbo/libjpeg-turboTargets-release.cmake
  19. lib/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake
  20. lib/libjpeg.a
  21. lib/libjpeg.so
  22. lib/libjpeg.so.8
  23. lib/libjpeg.so.8.3.2
  24. libdata/pkgconfig/libjpeg.pc
  25. share/man/man1/cjpeg.1.gz
  26. share/man/man1/djpeg.1.gz
  27. share/man/man1/jpegtran.1.gz
  28. share/man/man1/rdjpgcom.1.gz
  29. share/man/man1/wrjpgcom.1.gz
  30. @comment bin/tjbench
  31. @comment include/turbojpeg.h
  32. @comment lib/libturbojpeg.a
  33. @comment lib/libturbojpeg.so
  34. @comment lib/libturbojpeg.so.0
  35. @comment lib/libturbojpeg.so.0.4.0
  36. @comment libdata/pkgconfig/libturbojpeg.pc
  37. @owner
  38. @group
  39. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • jpeg-turbo>0:graphics/jpeg-turbo
Conflicts:
CONFLICTS_INSTALL:
  • mozjpeg
To install the port:
cd /usr/ports/graphics/jpeg-turbo/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/jpeg-turbo
  • pkg install jpeg-turbo
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: jpeg-turbo
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1783957743 SHA256 (libjpeg-turbo-3.1.4.1.tar.gz) = ecae8008e2cc9ade2f2c1bb9d5e6d4fb73e7c433866a056bd82980741571a022 SIZE (libjpeg-turbo-3.1.4.1.tar.gz) = 2528617

Expand this list (2 items)

Collapse this list.

SHA256 (7cdbf9144d40d68d97c498f54dd88a68aee4e36d.patch) = c0f9eeb2c20bd6e7e666d49fe550a6b69a9032ce10802e02aee59aab66794085 SIZE (7cdbf9144d40d68d97c498f54dd88a68aee4e36d.patch) = 1214

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Slave ports:
  1. graphics/libjpeg-turbo
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. nasm : devel/nasm
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
This port is required by:
for Libraries
  1. audio/giada
  2. graphics/poppler
  3. graphics/poppler-glib
  4. graphics/poppler-qt5
  5. graphics/poppler-qt6
  6. graphics/poppler-utils
  7. mail/thunderbird
Expand this list (14 items / 7 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. mail/thunderbird-esr
  3. multimedia/ringrtc
  4. science/octopus
  5. www/firefox
  6. www/firefox-esr
  7. www/librewolf
  8. www/nginx-full
  9. Collapse this list.

Configuration Options:
===> The following configuration options are available for jpeg-turbo-3.1.4.1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
graphics_jpeg-turbo
USES:
cmake cpe pathfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.4.1/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.1.4.1
13 Jul 2026 18:23:56
commit hash: ef24c3da9913364ad643726375eda31b441c4f22commit hash: ef24c3da9913364ad643726375eda31b441c4f22commit hash: ef24c3da9913364ad643726375eda31b441c4f22commit hash: ef24c3da9913364ad643726375eda31b441c4f22 files touched by this commit
Jessica Clarke (jrtc27) search for other commits by this committer
graphics/jpeg-turbo: Apply upstream patch to fix riscv64

Architectures like riscv64 where WITH_SIMD takes its default value of 1
but the SIMD detection finds no support (due to, in the case of 3.1.4.1
for riscv64, there being no RVV support at all) were broken as they
would still try to build simdcoverage and fail to link it. Apply the
upstream fix from the 3.1.x branch.

PR:		296754
Reviewed by:	desktop (arrowd)
Approved by:	desktop (arrowd)
MFH:		2026Q3

(cherry picked from commit 23ed1126e58b9858f36e5e4d58c077197643dcab)

Number of commits found: 1