CVE and update status of the FreeBSD ports tree3,296 unaddressed CVEs in 671 portsAll times are CET
Port details

textproc/py-ocrmypdf 16.11.1

Adds an OCR text layer to scanned PDF files

Port info

Maintainer
kai@FreeBSD.org
Packages
latest: 16.11.1
Upstream
Higher version available: 17.13.0
Last update
to 16.11.1 · 103146dda2
Quarterly
2026Q4: 16.11.1
WWW
https://github.com/ocrmypdf/OCRmyPDF
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install py312-ocrmypdf
installs 16.11.1 from latest; from quarterly (2026Q4) 16.11.1
Port
# cd /usr/ports/textproc/py-ocrmypdf && make install clean
# make -C /usr/ports/textproc/py-ocrmypdf config  # change options first
Size
295 KiB download · 1.6 MiB installed
Depends on
devel/py-deprecation 2.1.0_1, devel/py-packaging 26.3, devel/py-pluggy 1.6.0, graphics/pngquant 2.18.0_4, graphics/py-img2pdf 0.6.3_2, graphics/py-pillow 12.3.0, graphics/py-pillow-heif 1.4.0, graphics/tesseract 5.5.3, graphics/unpaper 7.0.0_4, lang/python312 3.12.15, print/ghostscript10 10.08.0, textproc/py-pdfminer.six 20260107, textproc/py-pikepdf 9.11.0, textproc/py-rich 15.0.0
License
MPL20
Options
2 of 2 on in the package: PNGQUANT UNPAPER

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 1616.11.116.11.1–
FreeBSD 1516.11.116.11.1–
FreeBSD 1416.11.116.11.116.11.1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1516.11.116.11.1–
FreeBSD 1416.11.116.11.116.11.1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 16.11.1.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (69)

Kai Knoblich (kai) · 10.3.1
textproc/py-ocrmypdf: Update to 10.3.1

Changelog since 10.2.0:

https://github.com/jbarlow83/OCRmyPDF/blob/v10.3.1/docs/release_notes.rst
6026508155
Kai Knoblich (kai) · 10.2.0
textproc/py-ocrmypdf: Update to 10.2.0

Changelog since 9.8.2:

https://github.com/jbarlow83/OCRmyPDF/blob/v10.2.0/docs/release_notes.rst
5e1f836349
Kai Knoblich (kai) · 9.8.2
textproc/py-ocrmypdf: Fix typo in COMMENT

Reported by:	Frank Ebert (via private e-mail)
f38fcf2d7d
Kai Knoblich (kai) · 9.8.2
textproc/py-ocrmypdf: Update to 9.8.2

* Remove uneccessary pytest-cov dependency from TEST_DEPENDS while I'm here.

Changelog since 9.8.0:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.8.2/docs/release_notes.rst
d4b9b36a21
Kai Knoblich (kai) · 9.8.0
textproc/py-ocrmypdf: Update to 9.8.0

* Pet portclippy while I'm here by placing related variables to the USES
  block.

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.8.0/docs/release_notes.rst
4d3b95af33
Kai Knoblich (kai) · 9.7.1
textproc/py-ocrmypdf: Update to 9.7.1

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.7.1/docs/release_notes.rst
0857b76a49
Kai Knoblich (kai) · 9.7.0
textproc/py-ocrmypdf: Update to 9.7.0

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.7.0/docs/release_notes.rst

MFH:		2020Q2 (fix regressions with Ghostscript >= 9.52)
d2543455f1
Antoine Brodin (antoine) · 9.6.0
Convert the tree to use PY_PILLOW

With hat:	portmgr
Originally submitted by:	kai
1bf9457272
Kai Knoblich (kai) · 9.6.0
textproc/py-ocrmypdf: Update to 9.6.0

Changelog since 9.3.0:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.6.0/docs/release_notes.rst

MFH:		2020Q1 (blanket: regression fix)
42c735a53e
Kai Knoblich (kai) · 9.3.0
textproc/py-ocrmypdf: Update to 9.3.0

Changelog since 9.1.1:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.3.0/docs/release_notes.rst

MFH:		2020Q1
c656f4ffb2
Kai Knoblich (kai) · 9.1.1
textproc/py-ocrmypdf: Update to 9.1.1

Changelog since 9.0.5:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.1.1/docs/release_notes.rst
b74022e5d4
Kai Knoblich (kai) · 9.0.5
textproc/py-ocrmypdf: Update to 9.0.5

* Remove the workaround that coped with the files that were generated in the
  CFFI out-of-line ABI mode (through devel/py-cffi) as they are now captured
  correctly during the installation process.

Changelog since 9.0.3:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.5/docs/release_notes.rst

MFH:		2019Q4
ee39caa50f
Kai Knoblich (kai) · 9.0.3
textproc/py-ocrmypdf: Update to 9.0.3

* Introduce new default option UNPAPER after graphics/unpaper was updated to
  a more recent version in r511568.

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.3/docs/release_notes.rst
2513b126ad
Kai Knoblich (kai) · 9.0.2
textproc/py-ocrmypdf: Update to 9.0.2

* Set the PNGQUANT option as default and remove the related comments since
  now the issue with the incorrect inverted PNG images has been fixed.

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.2/docs/release_notes.rst
31143e5b52
Kai Knoblich (kai) · 9.0.1
textproc/py-ocrmypdf: Update to 9.0.1

* Make the dependency for graphics/pngquant optional as pngquant is not
  strictly required but should be provided where possible.
* Set the new option as non-default for a while because there's a bug that
  leads to incorrect inverted PNG images in conjunction with pngquant.
* Install shell auto-completions to improve user experience.
* Remove the "slow" tests from the "do-test" target. There's very little
  point to run those at downstream.

Changelog since 8.3.2:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.1/docs/release_notes.rst
e5d8c114a4
Kai Knoblich (kai) · 8.3.2
textproc/py-ocrmypdf: Update to 8.3.2

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v8.3.2/docs/release_notes.rst
1bc4ae62e6
Kai Knoblich (kai) · 8.3.1
textproc/py-ocrmypdf: Use defined locale in whole build process

* Set the locale globally for {CONFIGURE,MAKE}_ENV so that the locale
  doesn't need to be set explicitly for the do-test target.

* Use ECHO_CMD instead of ECHO as the latter one is already defined in
  /usr/share/mk/sys.mk, which can either be "echo" or "true" if the make
  flag -s is given.

Suggested by:	sunpoet
299db5ac3d
Kai Knoblich (kai) · 8.3.1
textproc/py-ocrmypdf: Apply workaround for missing files a bit earlier

* The post-stage target runs very late in the install process and should be
   only used if the post-install target ran too early.

   Thus place the workaround that copes with the missing files to the
   post-install target where it fits better.

Suggested by:	mat
749ad53216
Kai Knoblich (kai) · 8.3.1
New port: textproc/py-ocrmypdf

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be
searched or copy-pasted.

Main features:

* Generates a searchable PDF/A file from a regular PDF
* Places OCR text accurately below the image to ease copy / paste
* Keeps the exact resolution of the original embedded images
* When possible, inserts OCR information as a "lossless" operation without
  disrupting any other content
* Optimizes PDF images, often producing files smaller than the input file
* If requested deskews and/or cleans the image before performing OCR
* Validates input and output files
* Distributes work across all available CPU cores
* Uses Tesseract OCR engine to recognize more than 100 languages
* Scales properly to handle files with thousands of pages
* Battle-tested on millions of PDFs

WWW: https://github.com/jbarlow83/OCRmyPDF

Reviewed by:	0mp, koobs
Differential Revision:	https://reviews.freebsd.org/D20927
16091b3e6b