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 photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details on branch 2024Q3
py-ocrmypdf Adds an OCR text layer to scanned PDF files
16.4.3 textproc 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 16.4.3Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-08 13:00:09
Last Update: 2024-08-16 10:58:45
Commit Hash: 897bcaf
Also Listed In: python
License: MPL20
WWW:
https://github.com/ocrmypdf/OCRmyPDF
Description:
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}ocrmypdf>0:textproc/py-ocrmypdf@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-ocrmypdf/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-ocrmypdf
  • pkg install py311-ocrmypdf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-ocrmypdf listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-ocrmypdf
Package flavors (<flavor>: <package>)
  • py311: py311-ocrmypdf
distinfo:
TIMESTAMP = 1722673047 SHA256 (ocrmypdf-16.4.3.tar.gz) = 16116ca548bfb0c6f6e7c675e289449584a5024760f3ca0c7ecaa7685f5109ba SIZE (ocrmypdf-16.4.3.tar.gz) = 6724079

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
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-setuptools-scm>=7.0.5 : devel/py-setuptools-scm@py311
  3. py311-wheel>=0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-hypothesis>=6.36.0 : devel/py-hypothesis@py311
  2. py311-pytest-xdist>=2.5.0 : devel/py-pytest-xdist@py311
  3. py311-python-xmp-toolkit>=2.0.1 : textproc/py-python-xmp-toolkit@py311
  4. py311-reportlab>=3.6.8 : print/py-reportlab@py311
  5. py311-pytest>=7,1 : devel/py-pytest@py311
  6. python3.11 : lang/python311
Runtime dependencies:
  1. py311-deprecation>=2.1.0 : devel/py-deprecation@py311
  2. py311-img2pdf>=0.5 : graphics/py-img2pdf@py311
  3. py311-packaging>=20 : devel/py-packaging@py311
  4. py311-pillow>=10.0.1 : graphics/py-pillow@py311
  5. py311-pillow-heif>0 : graphics/py-pillow-heif@py311
  6. py311-rich>=13 : textproc/py-rich@py311
  7. py311-pdfminer.six>=20220319 : textproc/py-pdfminer.six@py311
  8. py311-pikepdf>=8.10.1 : textproc/py-pikepdf@py311
  9. py311-pluggy>=1 : devel/py-pluggy@py311
  10. tesseract : graphics/tesseract
  11. pngquant : graphics/pngquant
  12. unpaper : graphics/unpaper
  13. ghostscript10>=10.02.0 : print/ghostscript10
  14. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-ocrmypdf-16.4.3: PNGQUANT=on: Optimizes the encoding of PNG-style images in PDFs UNPAPER=on: Deskew and clean up pages before OCR processing ===> Use 'make config' to modify these settings
Options name:
textproc_py-ocrmypdf
USES:
ghostscript:run python:3.10+ shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/o/ocrmypdf/
  2. https://pypi.org/packages/source/o/ocrmypdf/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16.4.3
16 Aug 2024 10:58:45
commit hash: 897bcaf74233737860e466f04b2c7a966ab955eacommit hash: 897bcaf74233737860e466f04b2c7a966ab955eacommit hash: 897bcaf74233737860e466f04b2c7a966ab955eacommit hash: 897bcaf74233737860e466f04b2c7a966ab955ea files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
textproc/py-ocrmypdf: Update to 16.4.3

Changelog since 16.4.1:

https://github.com/ocrmypdf/OCRmyPDF/blob/v16.4.3/docs/release_notes.rst

MFH:		2024Q3
(cherry picked from commit c6a112083b67cb4835f0e1bc5e2554861bfba806)
16.4.1
08 Jul 2024 12:56:53
commit hash: 991ccb96bc764be60070797f578b3a152892491ccommit hash: 991ccb96bc764be60070797f578b3a152892491ccommit hash: 991ccb96bc764be60070797f578b3a152892491ccommit hash: 991ccb96bc764be60070797f578b3a152892491c files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
textproc/py-ocrmypdf: Update to 16.4.1

Changelog:

https://github.com/ocrmypdf/OCRmyPDF/blob/v16.4.1/docs/release_notes.rst

MFH:		2024Q3
(cherry picked from commit 6e2a9556dd7d086c3c882f43b983d6736c56ecd7)

Number of commits found: 2