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
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2022Q2
py-ocrmypdf Adds an OCR text layer to scanned PDF files
13.4.7 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.10.4Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-04-24 04:16:01
Last Update: 2022-06-18 14:35:34
Commit Hash: 0ac71c6
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 WWW: https://github.com/ocrmypdf/OCRmyPDF
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 py38-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 py38-ocrmypdf listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-ocrmypdf
Package flavors (<flavor>: <package>)
  • py38: py38-ocrmypdf
distinfo:
TIMESTAMP = 1655549092 SHA256 (ocrmypdf-13.4.7.tar.gz) = 8a0a2fa07cf0aac4dea11990d27a15b552afa7ff2dfffdb322bfd8bd0b77751d SIZE (ocrmypdf-13.4.7.tar.gz) = 7899982

Packages (timestamps in pop-ups are UTC):
py39-ocrmypdf
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------15.4.4-
FreeBSD:14:latest-------14.2.1
FreeBSD:14:quarterly------15.4.4-
FreeBSD:15:latest--n/a-n/a---
 

py311-ocrmypdf
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.10.116.10.1-16.10.116.10.1---
FreeBSD:13:quarterly16.10.016.10.1-16.10.016.10.1---
FreeBSD:14:latest16.10.116.10.1-16.10.116.10.1---
FreeBSD:14:quarterly16.10.116.10.1-16.10.116.10.1---
FreeBSD:15:latest16.10.116.10.1n/a16.10.1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-setuptools_scm>=0 : devel/py-setuptools_scm@py38
  2. py38-setuptools_scm_git_archive>=0 : devel/py-setuptools_scm_git_archive@py38
  3. py38-setuptools>0 : devel/py-setuptools@py38
  4. python3.8 : lang/python38
Runtime dependencies:
  1. py38-coloredlogs>=14.0 : devel/py-coloredlogs@py38
  2. py38-img2pdf>=0.3.0<0.5 : graphics/py-img2pdf@py38
  3. py38-packaging>=20 : devel/py-packaging@py38
  4. py38-pillow>=8.2.0 : graphics/py-pillow@py38
  5. py38-tqdm>=4 : misc/py-tqdm@py38
  6. py38-reportlab>=3.5.66 : print/py-reportlab@py38
  7. py38-pdfminer.six>=20191110 : textproc/py-pdfminer.six@py38
  8. py38-pikepdf>=4.0.0 : textproc/py-pikepdf@py38
  9. py38-pluggy>=0.13.0<2.0 : devel/py-pluggy@py38
  10. tesseract : graphics/tesseract
  11. pngquant : graphics/pngquant
  12. unpaper : graphics/unpaper
  13. ghostscript9-agpl-base>=9.16_2 : print/ghostscript9-agpl-base
  14. py38-setuptools>0 : devel/py-setuptools@py38
  15. python3.8 : lang/python38
  16. py38-importlib-resources>=5 : devel/py-importlib-resources@py38
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py38-ocrmypdf-13.4.7: 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.7+ 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
13.4.7
18 Jun 2022 14:35:34
commit hash: 0ac71c677fc894b202a5835ce622ab428ca447bacommit hash: 0ac71c677fc894b202a5835ce622ab428ca447bacommit hash: 0ac71c677fc894b202a5835ce622ab428ca447bacommit hash: 0ac71c677fc894b202a5835ce622ab428ca447ba files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
textproc/py-ocrmypdf: Update to 13.4.7

* Update WWW field to spare redirects.

Changelog since 13.4.2:

https://github.com/ocrmypdf/OCRmyPDF/blob/v13.4.7/docs/release_notes.rst
MFH:		2022Q2
(cherry picked from commit 124a6ff0ea302c64d24d5787d82a828fd5c6bdcc)
13.4.2
10 Apr 2022 10:48:47
commit hash: 23bdaaba929de71a9510e87febbdbe3ac66f8e3bcommit hash: 23bdaaba929de71a9510e87febbdbe3ac66f8e3bcommit hash: 23bdaaba929de71a9510e87febbdbe3ac66f8e3bcommit hash: 23bdaaba929de71a9510e87febbdbe3ac66f8e3b files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
textproc/py-ocrmypdf: Update to 13.4.2

* Remove a copy/paste leftover from the previous commit.

Changelog:

https://github.com/ocrmypdf/OCRmyPDF/blob/v13.4.2/docs/release_notes.rst

MFH:		2022Q2
(cherry picked from commit e24be10027799d0ac639861a909155c901a88e73)

Number of commits found: 2