BSD Ports

graphics/openjpeg 2.5.4 MidnightBSD

Open-source JPEG 2000 codec

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
9b8854b2d3
License
bsd2
Categories
graphics

Description

The OpenJPEG library is an open-source JPEG 2000 library developed in order to promote the use of JPEG 2000.

The main part of the project consists in a JPEG 2000 codec compliant with the Part 1 of the standard (Class-1 Profile-1 compliance).

Besides this main codec, OpenJPEG integrates several other modules:

  • JP2 (JPEG 2000 standard Part 2 - Handling of JP2 boxes and extended multiple component transforms for multispectral and hyperspectral imagery)
  • MJ2 (JPEG 2000 standard Part 3)
  • JPWL (JPEG 2000 standard Part 11)
  • JPIP (JPEG 2000 standard Part 9)
  • OPJViewer, a GUI viewer for J2K, JP2, JPWL and MJ2 files

In the other systems

SystemPortVersion
MidnightBSDgraphics/openjpeg2.5.4
FreeBSDgraphics/openjpeg2.5.4_2
NetBSDgraphics/openjpeg2.5.4
DragonFlygraphics/openjpeg2.5.3
HardenedBSDgraphics/openjpeg2.5.4_2
GhostBSDgraphics/openjpeg2.5.4_2

Install

Binary package:

mport install openjpeg

From mports:

cd /usr/mports/graphics/openjpeg && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	openjpeg>0:graphics/openjpeg
LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg

Dependencies

As this port's Makefile names them.

Library 3

Build dependencies 3
Run dependencies 3

Configuration

No options to configure.

USES
cmake cpe localbase:ldflags jpeg pathfix pkgconfig
Service scripts
none

Files

pkg-plist 14
  • bin/opj_compress
  • bin/opj_decompress
  • bin/opj_dump
  • include/openjpeg-%%VER%%/openjpeg.h
  • include/openjpeg-%%VER%%/opj_config.h
  • lib/cmake/openjpeg-%%VER%%/OpenJPEGConfig.cmake
  • lib/cmake/openjpeg-%%VER%%/OpenJPEGConfigVersion.cmake
  • lib/cmake/openjpeg-%%VER%%/OpenJPEGTargets-.cmake
  • lib/cmake/openjpeg-%%VER%%/OpenJPEGTargets.cmake
  • lib/libopenjp2.a
  • lib/libopenjp2.so
  • lib/libopenjp2.so.
  • lib/libopenjp2.so.7
  • libdata/pkgconfig/libopenjp2.pc
distinfo 1
FileSizeSHA256
uclouvain-openjpeg-v2.5.4_GH0.tar.gz2.157028e+06a695fbe19c0165f295a8531b1e4e855cd94d0875d2f88ec4b61080677e27188a

Commit history 1

DateCommitCreditsLog message
9b8854b2d3 Lucas Holt graphics/openjpeg: update to 2.5.4 for CVE-2025-54874 (#1755)