nixpkgs/pkgs
aszlig ca1ea69972
python/pyocr: 0.4.6 -> 0.4.7
Upstream changes:

  * Tesseract 4.00.00alpha:
    * Version parsing: Ignore suffix (so '4.00.00alpha' == (4, 0, 0))
    * Libtesseract: Load libtesseract.so.4 instead of libtesseract.so.3
      if available
  * Support for Tesseract 3.05.00:
    * Builders: Split field 'tess_conf' into 'tess_flags' and 'tess_conf'
    * Libtesseract: If available, use
                    TessBaseAPIDetectOrientationScript() instead of
                    TessBaseAPIDetectOS
  * Libtesseract:
    * Workaround: Prevents possible segfault in image_to_string() when
                  the target language is not available

Full upstream change log can be found at:

https://github.com/openpaperwork/pyocr/blob/b006123d1d002711b9/ChangeLog

The tesseract.patch for supporting Tesseract version 3.05.00 has been
applied upstream and we can safely drop it.

We now use substituteInPlace in conjunction with a patch to insert the
relevant store paths instead of sed, so it's less fragile whenever we
have upstream changes in handling of these paths.

I've tested this by reverting 48a941e29f and applying a build
fix patch of Cuneiform 1.1.0 from Arch Linux, because right now
Cuneiform is an experimental version that can't be fixed on behalf of
pyocr (the reason is that pyocr needs to get a list of languages, which
doesn't work in that version anymore).

In addition to that I've successfully built paperwork-backend which by
now is the one package which depends on pyocr. However, I didn't do
runtime tests of Paperwork.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @7c6f434c
2017-09-02 05:31:22 +02:00
..
applications turses: fix build 2017-09-01 18:56:04 +01:00
build-support Merge commit '2858c41' into HEAD 2017-08-30 21:07:07 +02:00
common-updater
data nerdfonts: 1.0.0 -> 1.1.0 2017-08-31 10:45:31 +02:00
desktops gnome3.dconf-editor: include gsettings_desktop_schemas 2017-09-01 13:07:39 +02:00
development python/pyocr: 0.4.6 -> 0.4.7 2017-09-02 05:31:22 +02:00
games Merge pull request #28825 from disassembler/crrcsim 2017-09-01 14:13:21 +01:00
misc e17gtk: finish decoupling from gnome3 version 2017-08-29 14:24:17 +02:00
os-specific conky: Don't enable nvidiaSupport by default 2017-09-01 17:35:17 +02:00
servers Merge #28802: rethinkdb: fix build with gcc6 2017-08-31 22:04:04 +02:00
shells grml-zsh-config: generalize support to unix systems 2017-09-01 11:38:38 +03:00
stdenv expand-response-params: Build more normally 2017-08-25 15:10:02 -04:00
test
tools beets: Run tests for external plugins 2017-09-02 02:36:32 +02:00
top-level python/pyocr: Move package into python-modules 2017-09-02 03:45:13 +02:00