Commit Graph

12 Commits

Author SHA1 Message Date
Renaud
253dae1edf
leptonica: disable checks on darwin
18 tests failed with errors like:
> Error in callSystemDebug: iOS 11 does not support system()
> Error in fopenReadStream: file not found

Closes #61259
2019-05-11 10:08:59 +02:00
Renaud
57fefacf70
leptonica: enable check phase
+ parallel building and checking is faster
+ clarify licensing (BSD-2)
2019-05-10 23:51:46 +02:00
Will Dietz
51492262b8 leptonica: 1.74.1 -> 1.78.0
Multiple CVE's, see 1.77.0 notes.

http://www.leptonica.com/source/version-notes.html
2019-04-28 16:09:56 -05:00
aszlig
42bb63f803
leptonica: 1.72 -> 1.74.1
The changes are a bit too big to include it here in the commit message,
so if you want the details of what changed, please visit this URL:

http://leptonica.org/source/version-notes.html

I have also provided openjpeg, giflib and libwebp as dependencies so
that Leptonica is able to read/write those file formats.

Additionally I've added a patch that uses pkgconfig to resolve all
dependencies (except giflib), because unlike AC_CHECK_LIB() the
PKG_CHECK_MODULES() macro defines *_LIBS variables to include the linker
search path.

Unfortunately that patch alone is not enough, because the *_LIBS
variable are substituted by the upstream configure.ac to *not* include
the linker search paths, so we need to remove the AC_SUBST() calls
within PKG_CHECK_MODULES().

The only dependency that's not yet using PKG_CHECK_MODULES() is giflib,
because giflib doesn't have a pkg-config description file, therefore
we're using substituteInPlace to insert the linker search path after the
lept.pc file was generated by configure.

Another thing that we no longer need is the dependency on libpng version
1.2, because Leptonica now also works with more recent libpng versions.

Tested by building the package itself and also the following packages
that immediately depend on leptonica:

 * k2pdfopt
 * tesseract
 * jbig2enc

All of these packages succeeded to build on x86_64-linux.

The main reason why I'm bumping Leptonica to version 1.74.1 is that we
need at least version 1.74 to bump Tesseract to the latest upstream
version.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-04-11 03:21:29 +02:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Cillian de Róiste
e0112bbfd2 leptonica: update from 1.69 to 1.72 2015-10-25 18:53:59 +01:00
Mateusz Kowalczyk
007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00
Nixpkgs Monitor
4ed5c4df73 leptonica: update from 1.68 to 1.69 2013-12-18 18:18:33 +02:00
Mathijs Kwik
0b17251c06 libpng: keep versioning in all-packages.nix, not in individual expressions 2013-06-27 21:35:21 +02:00
Mathijs Kwik
7f413e4d5c whitespace cleaning 2013-06-27 21:35:21 +02:00
Florian Friesdorf
3133b57940 leptonica-1.68 needs older libpng12
no newer leptonica release available

svn path=/nixpkgs/trunk/; revision=34452
2012-06-11 10:28:25 +00:00
Lluís Batlle i Rossell
bc88f37fcb Adding the leptonica library of image processing and analysis.
svn path=/nixpkgs/trunk/; revision=26954
2011-04-24 18:16:51 +00:00