nixpkgs/pkgs
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
..
applications tesseract: Reintroduce enableLanguages 2017-04-11 03:21:26 +02:00
build-support buildRustPackage: Fix "warning: file ... may be generated" (#24471) 2017-03-30 15:15:49 +02:00
common-updater
data fontconfig-penultimate: 0.3.2 -> 0.3.3 2017-04-08 09:42:09 -05:00
desktops gnome3.gnome_settings_daemon: use wrapGAppsHook 2017-04-09 10:00:12 +02:00
development leptonica: 1.72 -> 1.74.1 2017-04-11 03:21:29 +02:00
games steam: move libpciaccess as non-runtime dependencies 2017-04-11 01:51:46 +03:00
misc wineUnstable: 2.4 -> 2.5 2017-04-10 18:37:28 +03:00
os-specific linux: 4.11-rc5 -> 4.11-rc6 2017-04-10 08:34:23 -04:00
servers sonarr: 2.0.0.4645 -> 2.0.0.4689 (#24767) 2017-04-09 14:09:31 +01:00
shells Merge pull request #24760 from matthewbauer/linux-only-pkgs 2017-04-09 14:18:10 +02:00
stdenv darwin.make-bootstrap-tools: fix to use LLVM 4 2017-04-08 16:38:48 -04:00
test
tools btrfs-progs: 4.8.2 -> 4.10.2 2017-04-10 17:09:22 +03:00
top-level leptonica: 1.72 -> 1.74.1 2017-04-11 03:21:29 +02:00