nixpkgs/pkgs/development
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
..
arduino teensyduino: init at 1.31 (#20807) 2016-12-02 11:31:01 +01:00
beam-modules buildRebar3: fix buildPhase & cleanup (#22744) 2017-02-18 14:25:24 +01:00
bower-modules/generic
compilers dtc: 1.4.2 -> 1.4.4 2017-04-09 21:48:25 +03:00
coq-modules coqPackages.interval: 2.2.1 -> 3.1.1 2017-02-11 14:02:19 +01:00
dotnet-modules/patches
eclipse/ecj
em-modules/generic
go-modules go builder: use removeReferencesTo 2017-03-29 00:35:01 +02:00
guile-modules guile rev-deps: fix build by adding pkgconfig 2017-02-18 08:23:07 +01:00
haskell-modules Merge pull request #24754 from shlevy/haskell-overrideSrc 2017-04-09 17:55:23 +02:00
idris-modules idrisPackages.httpclient: init 2016-12-20 00:28:23 +01:00
interpreters octaveHg: add package 2017-04-09 21:54:14 +10:00
java-modules javaPackages: Use artifactId/groupId 2017-02-13 18:40:13 -05:00
libraries leptonica: 1.72 -> 1.74.1 2017-04-11 03:21:29 +02:00
lisp-modules lispPackage.iolib: missed one system 2017-04-10 10:09:22 +02:00
lua-modules lua: Fixed luasql.patch 2014-10-01 06:00:06 +01:00
misc loc: 0.3.3 -> 0.3.4 2016-12-08 09:59:47 -05:00
mobile Get rid of all with { inherit... } and just used let inherit... 2017-03-30 03:05:05 -04:00
node-packages Regenerate NPM expressions with node2nix 1.2.0 2017-03-31 20:51:14 +02:00
ocaml-modules bap: init at 1.2.0 2017-04-04 13:11:01 -04:00
perl-modules perlPackages.OpenGL: 0.6703 -> 0.70 2017-03-24 19:15:20 +01:00
pharo Merge pull request #24595 from lukego/pharo-no-pic 2017-04-04 12:01:27 +02:00
pure-modules purePackages.octave: Use octaveHg 2017-04-09 21:54:39 +10:00
python-modules pythonPackages.django_1_10: 1.10.6 -> 1.10.7 2017-04-06 14:41:28 +02:00
qtcreator Remove bbenoist from maintainers 2017-03-23 03:03:04 +01:00
r-modules r-modules: update CRAN package set 2017-03-07 14:56:46 +01:00
ruby-modules bundler: 1.14.4 -> 1.14.6 (#23930) 2017-03-15 20:34:35 +00:00
tools sbt: 0.13.14 -> 0.13.15 2017-04-10 08:44:32 -04:00
web Regenerate NPM expressions with node2nix 1.2.0 2017-03-31 20:51:14 +02:00