notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
leptonica C library for efficient image processing and image analysis operations
1.82.0 graphics on this many watch lists=5 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 1.82.0Version of this port present on the latest quarterly branch.
Maintainer: hiroto.kagotani@gmail.com search for ports maintained by this maintainer
Port Added: 2011-08-05 09:58:14
Last Update: 2022-02-13 14:25:06
Commit Hash: 91c8d5f
People watching this port, also watch:: libpthread-stubs, libXaw, pkgconf, expat, libXau
License: BSD2CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (62 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/leptonica-1.82.0/catalog.mk
  3. /usr/local/share/licenses/leptonica-1.82.0/LICENSE
  4. /usr/local/share/licenses/leptonica-1.82.0/BSD2CLAUSE
  5. bin/convertfilestopdf
  6. bin/convertfilestops
  7. bin/convertformat
  8. bin/convertsegfilestopdf
  9. bin/convertsegfilestops
  10. bin/converttopdf
  11. bin/converttops
  12. bin/fileinfo
  13. bin/imagetops
  14. bin/xtractprotos
  15. include/leptonica/allheaders.h
  16. include/leptonica/alltypes.h
  17. include/leptonica/array.h
  18. include/leptonica/arrayaccess.h
  19. include/leptonica/bbuffer.h
  20. include/leptonica/bilateral.h
  21. include/leptonica/bmf.h
  22. include/leptonica/bmfdata.h
  23. include/leptonica/bmp.h
  24. include/leptonica/ccbord.h
  25. include/leptonica/colorfill.h
  26. include/leptonica/dewarp.h
  27. include/leptonica/endianness.h
  28. include/leptonica/environ.h
  29. include/leptonica/gplot.h
  30. include/leptonica/hashmap.h
  31. include/leptonica/heap.h
  32. include/leptonica/imageio.h
  33. include/leptonica/jbclass.h
  34. include/leptonica/leptwin.h
  35. include/leptonica/list.h
  36. include/leptonica/morph.h
  37. include/leptonica/pix.h
  38. include/leptonica/ptra.h
  39. include/leptonica/queue.h
  40. include/leptonica/rbtree.h
  41. include/leptonica/readbarcode.h
  42. include/leptonica/recog.h
  43. include/leptonica/regutils.h
  44. include/leptonica/stack.h
  45. include/leptonica/stringcode.h
  46. include/leptonica/sudoku.h
  47. include/leptonica/watershed.h
  48. lib/cmake/leptonica/LeptonicaConfig-version.cmake
  49. lib/cmake/leptonica/LeptonicaConfig.cmake
  50. lib/cmake/leptonica/LeptonicaTargets-release.cmake
  51. lib/cmake/leptonica/LeptonicaTargets.cmake
  52. lib/liblept.so
  53. lib/liblept.so.5
  54. lib/liblept.so.5.4.0
  55. lib/libleptonica.so
  56. lib/libleptonica.so.5
  57. lib/libleptonica.so.5.4.0
  58. libdata/pkgconfig/lept.pc
  59. share/cmake/Modules/FindLeptonica.cmake
  60. @owner
  61. @group
  62. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • leptonica>0:graphics/leptonica
  • For LIB depends:
    • liblept.so:graphics/leptonica
    • libleptonica.so:graphics/leptonica
Conflicts:
CONFLICTS:
  • leptonlib
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/graphics/leptonica/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/leptonica
  • pkg install leptonica
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: leptonica
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
leptonica
ABIlatestquarterly
FreeBSD:11:aarch641.76.01.76.0_1
FreeBSD:11:amd641.76.0_11.76.0_1
FreeBSD:11:armv61.72_21.76.0_1
FreeBSD:11:i3861.76.0_11.76.0_1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.76.01.82.0
FreeBSD:12:amd641.82.01.82.0
FreeBSD:12:armv61.76.0-
FreeBSD:12:armv71.76.0-
FreeBSD:12:i3861.82.01.82.0
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch641.82.01.82.0
FreeBSD:13:amd641.82.01.82.0
FreeBSD:13:armv6-1.82.0
FreeBSD:13:armv7-1.82.0
FreeBSD:13:i3861.82.01.82.0
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-1.76.0_1
FreeBSD:14:aarch641.82.0-
FreeBSD:14:amd641.82.0-
FreeBSD:14:armv61.82.0-
FreeBSD:14:armv71.82.0-
FreeBSD:14:i3861.82.0-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.76.0_1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libgif.so : graphics/giflib
  2. libpng.so : graphics/png
  3. libtiff.so : graphics/tiff
  4. libwebp.so : graphics/webp
  5. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Libraries
  1. graphics/tesseract

Configuration Options:
Options name:

USES:

pkg-message:
For install:
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://www.leptonica.org/source/
  2. https://github.com/DanBloomberg/leptonica/releases/download/1.82.0/
Collapse this list.
Port Moves
  • port moved here from graphics/leptonlib on 2011-08-05
    REASON: Follow upstream name change

Number of commits found: 35

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
13 Feb 2022 14:25:06
 files touched by this commit commit hash:91c8d5f580a9954293ae3cea4420a96479fc80c0  1.82.0
Rainer Hurling (rhurlin) search for other commits by this committer
Author: John Hein
graphics/leptonica: Update to 1.82.0

If graphics/tesseract is installed and then graphics/opencv is to be
installed, OpenCV uses TesseractConfig.cmake to check for the presence
of Leptonica and wants to use FindLeptonica.cmake for that. Therefore
the new version adds a file cmake/FindLeptonica.cmake.

After switching from autotools to cmake, the libraries are named as
libleptonica.so instead of liblept.so. Upstream it is not yet decided
which naming will be used in the future [1]. As a workaround, the port
links the new naming to the previous one, since several dependent ports
still use the old names of the libraries.

[1] https://github.com/DanBloomberg/leptonica/issues/253

Changelog: https://github.com/DanBloomberg/leptonica/compare/1.76.0...1.82.0

PR:		260079

Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>
29 Oct 2021 09:50:18
 files touched by this commit commit hash:819f25b36d45b8ac5593ec8e6f470d9ad454b08a  1.76.0_1
Stefan E├čer (se) search for other commits by this committer
*/*: Remove redundant '-[0-9]*' from CONFLICTS

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
31 Aug 2021 09:23:25
 files touched by this commit commit hash:46be5be360b557f2ca60481ec7bd9d693a07d6c8  1.76.0_1
Bernhard Froehlich (decke) search for other commits by this committer
graphics/leptonica: Add CPE information

Approved by:    portmgr (blanket)
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.76.0_1
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
13 Aug 2019 16:03:12
Original commit files touched by this commit Revision:508837  1.76.0_1
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories e-g)
13 May 2019 14:26:20
Original commit files touched by this commit Revision:501567  1.76.0_1
amdmi3 search for other commits by this committer
- Add LICENSE
- Switch to USES=localbase
- Switch to new test framework

Approved by:	portmgr blanket
12 Apr 2019 18:00:56
Original commit files touched by this commit Revision:498734  1.76.0_1
swills search for other commits by this committer
graphics/leptonica: add options

PR:		236087
Submitted by:	rozhuk.im@gmail.com
Approved by:	maintainer timeout (hiroto.kagotani@gmail.com, >6 weeks>
02 Jun 2018 22:27:42
Original commit files touched by this commit Revision:471431  1.76.0
sunpoet search for other commits by this committer
Fix and remove unnecessary CONFLICTS_BUILD=openjpeg15

The build fails if you have openjpeg15 installed.
It was caused by the order of include paths.
/usr/local/include/openjpeg.h (from openjpeg15) will be used instead of
/usr/local/include/openjpeg-2.3/openjpeg.h (from openjpeg 2.3.0)

-I. -I.. -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include/openjpeg-2.3 -I/usr/local/include

Notified by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	portmgr (blanket)
01 Jun 2018 15:30:57
Original commit files touched by this commit Revision:471263  1.76.0
fernape search for other commits by this committer
graphics/leptonica: update to 1.76.0

* switch to github
* remove unnecessary patch file

Committing after maintainer timeout (2 weeks)

PR:	228278
Submitted by:	freebsd@dhke.de
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D15478
10 Oct 2017 17:45:57
Original commit files touched by this commit Revision:451711  1.74.1_1
sunpoet search for other commits by this committer
Update graphics/openjpeg to 2.3.0

Changes:	https://github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md
PR:		222817
Exp-run by:	antoine
08 Oct 2017 08:46:06
Original commit files touched by this commit Revision:451511  1.74.1_1
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
30 Apr 2017 12:50:54
Original commit files touched by this commit Revision:439814  1.74.1_1
sunpoet search for other commits by this committer
Update to 0.6.0

- Bump PORTREVISION for dependent ports

Changes:	https://chromium.googlesource.com/webm/libwebp/+/master/NEWS
03 Mar 2017 05:30:44
Original commit files touched by this commit Revision:435309  1.74.1
miwi search for other commits by this committer
- Update to 1.74.1

PR:		217172
Submitted by:	pkubaj@anongoth.pl
Approved by:	maintainer timeout
21 Oct 2016 15:21:13
Original commit files touched by this commit Revision:424427  1.72_2
mat search for other commits by this committer
Use USES=pathfix where applicable.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
01 Apr 2016 14:00:57
Original commit files touched by this commit Revision:412346  1.72_2
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 11:17:54
Original commit files touched by this commit Revision:412334  1.72_2
sunpoet search for other commits by this committer
- Update to 0.5.0
- Bump PORTREVISION for graphics/webp shlib change

Changes:	https://chromium.googlesource.com/webm/libwebp/+/master/NEWS
03 Dec 2015 20:01:04
Original commit files touched by this commit Revision:402898  1.72_1
antoine search for other commits by this committer
Update giflib to 5.1.1

PR:		204492
10 Aug 2015 20:45:56
Original commit files touched by this commit Revision:393905  1.72
pawel search for other commits by this committer
Update to version 1.72

PR:		201917
Submitted by:	yuri@rawbw.com
Approved by:	maintainer
22 Jun 2015 18:33:22
Original commit files touched by this commit Revision:390310  1.70_3
antoine search for other commits by this committer
Convert to USES=jpeg
14 Jan 2015 18:19:33
Original commit files touched by this commit Revision:377033  1.70_3
antoine search for other commits by this committer
Update graphics/giflib to 5.0.5

Differential Revision:	https://reviews.freebsd.org/D1361
Submitted by:	bapt
Reviewed by:	self
Exp-run by:	self
25 Dec 2014 20:54:43
Original commit files touched by this commit Revision:375598  1.70_2
bapt search for other commits by this committer
Bump portrevision after png update
25 Dec 2014 19:04:27
Original commit files touched by this commit Revision:375594  1.70_1
antoine search for other commits by this committer
Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade
08 Dec 2014 16:48:41
Original commit files touched by this commit Revision:374303  1.70_1
tijl search for other commits by this committer
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Oct 2014 17:04:21
Original commit files touched by this commit Revision:371283  1.70
bapt search for other commits by this committer
Cleanup plist
21 May 2014 08:09:19
Original commit files touched by this commit Revision:354729  1.70
miwi search for other commits by this committer
- Update to 1.70

PR:		189455
Submitted by:	maintainer
08 May 2014 03:25:06
Original commit files touched by this commit Revision:353249  1.69_2
sunpoet search for other commits by this committer
- Update to 0.4.0
- Add LICENSE
- Sort LIB_DEPENDS
- Use USES=libtool
- Do not silence installation message
- Bump PORTREVISION for graphics/webp shlib change

Changes:	https://chromium.googlesource.com/webm/libwebp/+/master/NEWS
18 Jan 2014 09:43:41
Original commit files touched by this commit Revision:340161  1.69_1
bapt search for other commits by this committer
Support stage
Remove useless .pre.mk/.post.mk
modernize LIB_DEPENDS
20 Sep 2013 18:35:46
Original commit files touched by this commit Revision:327733  1.69_1
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
graphics)
09 Sep 2013 22:49:21
Original commit files touched by this commit Revision:326850  1.69_1
mm search for other commits by this committer
Bump some PORTREVISIONs due to graphics/webp update to 0.3.1
14 Aug 2013 22:35:54
Original commit files touched by this commit Revision:324744  1.69  Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
06 Mar 2013 00:30:39
Original commit files touched by this commit Revision:313487  1.69
bf search for other commits by this committer
update to 1.69 and adjust dependent ports

PR:		175960
Approved by:	maintainer timeout (25 days)
01 Jun 2012 05:26:28
Original commit files touched by this commit   1.68_1
dinoex search for other commits by this committer
- update png to 1.5.10
20 Dec 2011 15:22:34
Original commit files touched by this commit   1.68
bf search for other commits by this committer
update graphics/leptonica to 1.68, and adjust graphics/ocropus

PR:             163153
Approved by:    Hiroto Kagatani (maintainer)
23 Sep 2011 22:26:39
Original commit files touched by this commit   1.60_4
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
05 Aug 2011 09:57:47
Original commit files touched by this commit   1.60_4
bf search for other commits by this committer
forced commit to mark the repocopy of graphics/leptonlib
to graphics/leptonica

PR:             158572

Number of commits found: 35