notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Two new features

Two new features were added on 2020-05-30:
  1. Repology links - each port now has a link to repology.org. See issue 148 for details.
  2. Ports I maintain report - port maintainers can now subscribe to a daily report of commits to the ports they maintain. See Watch ports I maintain at Report Subscriptions. Details at issue 138
Port details
py-ocrmypdf Adds an OCR text layer to scanned PDF files
10.3.1 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. 9.8.2Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-07-12 15:08:19
Last Update: 2020-07-29 07:21:41
SVN Revision: 543648
Also Listed In: python
License: GPLv3+
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}ocrmypdf>0:textproc/py-ocrmypdf
To install the port: cd /usr/ports/textproc/py-ocrmypdf/ && make install clean
To add the package: pkg install py37-ocrmypdf
PKGNAME: py37-ocrmypdf
Package flavors (<flavor>: <package>)
  • py37: py37-ocrmypdf
distinfo:
Packages: (move your mouse over the cells for more information)
py37-ocrmypdf
ABIlatestquarterly
FreeBSD:11:aarch64-9.8.2
FreeBSD:11:amd6410.3.19.8.2
FreeBSD:11:armv6-9.8.2
FreeBSD:11:i38610.3.19.8.2
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-9.8.2
FreeBSD:12:amd6410.3.19.8.2
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i38610.3.19.8.2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-9.8.2
FreeBSD:13:aarch6410.2.0-
FreeBSD:13:amd6410.3.1-
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i38610.3.1-
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc6410.2.0-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py37-cffi>=1.9.1 : devel/py-cffi@py37
  2. py37-pytest-runner>=0 : devel/py-pytest-runner@py37
  3. py37-setuptools_scm>=0 : devel/py-setuptools_scm@py37
  4. py37-setuptools_scm_git_archive>=0 : devel/py-setuptools_scm_git_archive@py37
  5. py37-setuptools>0 : devel/py-setuptools@py37
  6. python3.7 : lang/python37
Runtime dependencies:
  1. py37-cffi>=1.9.1 : devel/py-cffi@py37
  2. py37-coloredlogs>=14.0 : devel/py-coloredlogs@py37
  3. py37-img2pdf>=0.3.0,<0.4 : graphics/py-img2pdf@py37
  4. py37-pillow>=7.0.0 : graphics/py-pillow@py37
  5. py37-tqdm>=4 : misc/py-tqdm@py37
  6. py37-reportlab>=3.3.0 : print/py-reportlab@py37
  7. py37-chardet>=3.0.4,<4 : textproc/py-chardet@py37
  8. py37-pdfminer.six>=20191110 : textproc/py-pdfminer.six@py37
  9. py37-pikepdf>=1.14.0<2 : textproc/py-pikepdf@py37
  10. py37-pluggy>=0.13.0 : devel/py-pluggy@py37
  11. tesseract : graphics/tesseract
  12. pngquant : graphics/pngquant
  13. unpaper : graphics/unpaper
  14. ghostscript9-agpl-base>=9.16_2 : print/ghostscript9-agpl-base
  15. py37-setuptools>0 : devel/py-setuptools@py37
  16. python3.7 : lang/python37
Library dependencies:
  1. liblept.so : graphics/leptonica
There are no ports dependent upon this port

Configuration Options

USES:

Master Sites:
  1. https://files.pythonhosted.org/packages/source/o/ocrmypdf/
  2. https://pypi.org/packages/source/o/ocrmypdf/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 19

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
29 Jul 2020 06:21:41
Original commit files touched by this commit  10.3.1
Revision:543648
kai search for other commits by this committer
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
06 Jul 2020 06:39:04
Original commit files touched by this commit  10.2.0
Revision:541315
kai search for other commits by this committer
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
22 Jun 2020 10:08:59
Original commit files touched by this commit  9.8.2
Revision:539800
kai search for other commits by this committer
textproc/py-ocrmypdf: Fix typo in COMMENT

Reported by:	Frank Ebert (via private e-mail)
09 Jun 2020 11:16:29
Original commit files touched by this commit  9.8.2
Revision:538311
kai search for other commits by this committer
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
30 Apr 2020 08:45:34
Original commit files touched by this commit  9.8.0
Revision:533419
kai search for other commits by this committer
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
14 Apr 2020 11:39:58
Original commit files touched by this commit  9.7.1
Revision:531672
kai search for other commits by this committer
textproc/py-ocrmypdf: Update to 9.7.1

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v9.7.1/docs/release_notes.rst
10 Apr 2020 10:03:01
Original commit files touched by this commit  9.7.0
Revision:531307
kai search for other commits by this committer
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)
24 Mar 2020 19:54:57
Original commit files touched by this commit  9.6.0
Revision:529063
antoine search for other commits by this committer
Convert the tree to use PY_PILLOW

With hat:	portmgr
Originally submitted by:	kai
17 Feb 2020 08:42:11
Original commit files touched by this commit  9.6.0
Revision:526351
kai search for other commits by this committer
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)
02 Jan 2020 19:14:49
Original commit files touched by this commit  9.3.0
Revision:521868
kai search for other commits by this committer
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
22 Nov 2019 10:20:47
Original commit files touched by this commit  9.1.1
Revision:518137
kai search for other commits by this committer
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
13 Nov 2019 16:26:14
Original commit files touched by this commit  9.0.5
Revision:517380
kai search for other commits by this committer
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
10 Sep 2019 20:10:53
Original commit files touched by this commit  9.0.3
Revision:511774
kai search for other commits by this committer
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
05 Sep 2019 16:15:10
Original commit files touched by this commit  9.0.2
Revision:511194
kai search for other commits by this committer
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
13 Aug 2019 19:32:17
Original commit files touched by this commit  9.0.1
Revision:508849
kai search for other commits by this committer
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
03 Aug 2019 22:21:57
Original commit files touched by this commit  8.3.2
Revision:508034
kai search for other commits by this committer
textproc/py-ocrmypdf: Update to 8.3.2

Changelog:

https://github.com/jbarlow83/OCRmyPDF/blob/v8.3.2/docs/release_notes.rst
15 Jul 2019 10:14:38
Original commit files touched by this commit  8.3.1
Revision:506655
kai search for other commits by this committer
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
12 Jul 2019 17:20:33
Original commit files touched by this commit  8.3.1
Revision:506483
kai search for other commits by this committer
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
12 Jul 2019 15:08:04
Original commit files touched by this commit  8.3.1
Revision:506461
kai search for other commits by this committer
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

Number of commits found: 19

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
chromiumAug 11
puppetdb5Aug 11
bftpdAug 10
apache24*Aug 08
gitlab-ceAug 06
goAug 06
sqlite3*Aug 06
typo3-10Aug 04
typo3-9Aug 04
libX11Aug 01
xephyrAug 01
xorg-dmxAug 01
xorg-nestserverAug 01
xorg-serverAug 01
xorg-vfbserverAug 01

16 vulnerabilities affecting 89 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-08-11 20:32:11


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 40299
Broken 88
Deprecated 602
Ignore 323
Forbidden 5
Restricted 147
No CDROM 76
Vulnerable 21
Expired 3
Set to expire 573
Interactive 0
new 24 hours 6
new 48 hours12
new 7 days25
new fortnight69
new month137

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.