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
Port details
leptonica C library for efficient image processing and image analysis operations
1.82.0_2 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.0_1Version 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: 2024-04-27 12:44:59
Commit Hash: 98bf258
People watching this port, also watch:: libXaw, libXau, pkgconf, expat, gmake
License: BSD2CLAUSE
WWW:
http://www.leptonica.org/
Description:
An open source C library for efficient image processing and image analysis operations.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
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_2/catalog.mk
  3. /usr/local/share/licenses/leptonica-1.82.0_2/LICENSE
  4. /usr/local/share/licenses/leptonica-1.82.0_2/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:
  • leptonica>0: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:
TIMESTAMP = 1641427253 SHA256 (leptonica-1.82.0.tar.gz) = 155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6 SIZE (leptonica-1.82.0.tar.gz) = 14041481

Expand this list (2 items)

Collapse this list.

SHA256 (b282ed9482e335439ccc429d4cd1dba517ba0c4d.patch) = 5a9b7afa4adf0d72338c38ff802f4b312bcee3f06bde697177b905d3c7a60a38 SIZE (b282ed9482e335439ccc429d4cd1dba517ba0c4d.patch) = 13952

Collapse this list.


Packages (timestamps in pop-ups are UTC):
leptonica
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.82.0_21.82.0_2-1.82.0_21.82.0_2---
FreeBSD:13:quarterly1.82.0_11.82.0_21.82.01.82.0_11.82.0_21.82.0_11.82.0_11.82.0_1
FreeBSD:14:latest1.82.0_21.82.0_21.82.01.82.0_21.82.0_21.82.0-1.82.0
FreeBSD:14:quarterly1.82.0_11.82.0_2-1.82.0_11.82.0_21.82.0_11.82.0_11.82.0_1
FreeBSD:15:latest1.82.0_21.82.0_2n/a-n/a1.82.0_11.82.0_11.82.0_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  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
  2. textproc/crow-translate

Configuration Options:
===> The following configuration options are available for leptonica-1.82.0_2: BIN=on: Build additional programs GIF=on: GIF image format support JPEG=on: JPEG image format support JPEG2000=off: JPEG 2000 support PNG=on: PNG image format support TIFF=on: TIFF image format support WEBP=on: WebP image format support ===> Use 'make config' to modify these settings
Options name:
graphics_leptonica
USES:
cmake cpe localbase pkgconfig jpeg
pkg-message:
For install:
To use gplot (the optional programmatic interface to gnuplot), the math/gnuplot port must be installed.
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.

Number of commits found: 41

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.82.0_2
27 Apr 2024 12:44:59
commit hash: 98bf25875a9924c20931d32469982585bb8447e8commit hash: 98bf25875a9924c20931d32469982585bb8447e8commit hash: 98bf25875a9924c20931d32469982585bb8447e8commit hash: 98bf25875a9924c20931d32469982585bb8447e8 files touched by this commit
Tijl Coosemans (tijl) search for other commits by this committer
graphics/tiff: Update to 4.6.0

PR:		278577
Exp-run by:	antoine
1.82.0_1
28 Jul 2023 17:13:17
commit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3f files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
*/*: Bump jpeg-turbo users treewide

New major version 3.0.0
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.82.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.82.0
20 Jul 2022 14:22:04
commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
graphics: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Abel Chow <ozsanh45vds001@sneakemail.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Ade Lovett <ade@lovett.com>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Hayward <xelah@xelah.com>
  *  Alex Ivasyuv <siegerstein@pochta.ru>
  *  Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.82.0
18 Jul 2022 15:23:17
commit hash: cd714f2f4e30a136df40f77eafd79448ca11c90acommit hash: cd714f2f4e30a136df40f77eafd79448ca11c90acommit hash: cd714f2f4e30a136df40f77eafd79448ca11c90acommit hash: cd714f2f4e30a136df40f77eafd79448ca11c90a files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: VVD
graphics/leptonica: fix build with openjpeg 2.5.0

ChangeLog: https://github.com/DanBloomberg/leptonica/issues/623

Fix detection of openjpeg 2.5.0

PR:     264684
Reported by:    vvd@unislabs.com
Approved by:    hiroto.kagotani@gmail.com (maintainer, timeout > 1 month)
1.82.0
13 Feb 2022 14:25:06
commit hash: 91c8d5f580a9954293ae3cea4420a96479fc80c0commit hash: 91c8d5f580a9954293ae3cea4420a96479fc80c0commit hash: 91c8d5f580a9954293ae3cea4420a96479fc80c0commit hash: 91c8d5f580a9954293ae3cea4420a96479fc80c0 files touched by this commit
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>
1.76.0_1
29 Oct 2021 09:50:18
commit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08a files touched by this commit
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)
1.76.0_1
31 Aug 2021 09:23:25
commit hash: 46be5be360b557f2ca60481ec7bd9d693a07d6c8commit hash: 46be5be360b557f2ca60481ec7bd9d693a07d6c8commit hash: 46be5be360b557f2ca60481ec7bd9d693a07d6c8commit hash: 46be5be360b557f2ca60481ec7bd9d693a07d6c8 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
graphics/leptonica: Add CPE information

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

Approved by:	portmgr blanket
1.76.0_1
12 Apr 2019 18:00:56
Revision:498734Original commit files touched by this commit
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>
1.76.0
02 Jun 2018 22:27:42
Revision:471431Original commit files touched by this commit
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)
1.76.0
01 Jun 2018 15:30:57
Revision:471263Original commit files touched by this commit
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
1.74.1_1
10 Oct 2017 17:45:57
Revision:451711Original commit files touched by this commit
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
1.74.1_1
08 Oct 2017 08:46:06
Revision:451511Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
1.74.1_1
30 Apr 2017 12:50:54
Revision:439814Original commit files touched by this commit
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
1.74.1
03 Mar 2017 05:30:44
Revision:435309Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 1.74.1

PR:		217172
Submitted by:	pkubaj@anongoth.pl
Approved by:	maintainer timeout
1.72_2
21 Oct 2016 15:21:13
Revision:424427Original commit files touched by this commit
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
1.72_2
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
1.72_2
01 Apr 2016 11:17:54
Revision:412334Original commit files touched by this commit
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
1.72_1
03 Dec 2015 20:01:04
Revision:402898Original commit files touched by this commit
antoine search for other commits by this committer
Update giflib to 5.1.1

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

PR:		201917
Submitted by:	yuri@rawbw.com
Approved by:	maintainer
1.70_3
22 Jun 2015 18:33:22
Revision:390310Original commit files touched by this commit
antoine search for other commits by this committer
Convert to USES=jpeg
1.70_3
14 Jan 2015 18:19:33
Revision:377033Original commit files touched by this commit
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
1.70_2
25 Dec 2014 20:54:43
Revision:375598Original commit files touched by this commit
bapt search for other commits by this committer
Bump portrevision after png update
1.70_1
25 Dec 2014 19:04:27
Revision:375594Original commit files touched by this commit
antoine search for other commits by this committer
Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade
1.70_1
08 Dec 2014 16:48:41
Revision:374303Original commit files touched by this commit
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)
1.70
20 Oct 2014 17:04:21
Revision:371283Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
1.70
21 May 2014 08:09:19
Revision:354729Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 1.70

PR:		189455
Submitted by:	maintainer
1.69_2
08 May 2014 03:25:06
Revision:353249Original commit files touched by this commit
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
1.69_1
18 Jan 2014 09:43:41
Revision:340161Original commit files touched by this commit
bapt search for other commits by this committer
Support stage
Remove useless .pre.mk/.post.mk
modernize LIB_DEPENDS
1.69_1
20 Sep 2013 18:35:46
Revision:327733Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
graphics)
1.69_1
09 Sep 2013 22:49:21
Revision:326850Original commit files touched by this commit
mm search for other commits by this committer
Bump some PORTREVISIONs due to graphics/webp update to 0.3.1
1.69
14 Aug 2013 22:35:54
Revision:324744Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

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

PR:		175960
Approved by:	maintainer timeout (25 days)
1.68_1
01 Jun 2012 05:26:28
Original commit files touched by this commit
dinoex search for other commits by this committer
- update png to 1.5.10
1.68
20 Dec 2011 15:22:34
Original commit files touched by this commit
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)
1.60_4
23 Sep 2011 22:26:39
Original commit files touched by this commit
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
1.60_4
05 Aug 2011 09:57:47
Original commit files touched by this commit
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: 41