Commit Graph

15 Commits

Author SHA1 Message Date
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
Sergei Trofimovich
03b5cd0858 tesseract4: fix gcc-13 build failure
Without the change `tesseract4` fails the build on `staging-next` as
https://hydra.nixos.org/build/245356748:

    In file included from points.cpp:24:
    ../../src/ccutil/helpers.h:40:17: error: 'uint64_t' has not been declared
       40 |   void set_seed(uint64_t seed) {
          |                 ^~~~~~~~
2024-01-03 22:52:09 +00:00
Robert Scott
3b77f6c31b tesseract4: 4.1.1 -> 4.1.3
fix build with leptonica 1.83
2023-01-28 16:20:52 +00:00
Erik Arvstedt
1a32663efc
treewide: rename maintainer earvstedt -> erikarvstedt
The maintainer name now matches the Github username, which simplifies
maintainer notifications.
2022-06-26 19:12:18 +02:00
Erik Arvstedt
0532532835
tesseract: use multi-line build inputs format 2022-05-02 12:39:50 +02:00
Erik Arvstedt
683c50d805
tesseract: switch to SRI hash format 2022-05-02 12:39:49 +02:00
Artturin
e50c9981d3 tesseract4: apply patches to fix build on aarch64-darwin 2021-11-14 16:21:22 +02:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Erik Arvstedt
e6fad86853 tesseract: 4.1.0 -> 4.1.1 2020-01-17 13:19:12 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
9f29ecbaf4 tesseract4: 4.0.0 -> 4.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tesseract/versions
2019-07-17 09:33:34 +02:00
Erik Arvstedt
aaaed13077
tesseract: add a wrapper to setup languages
Tesseract is now decoupled from the tessdata language corpus.

This avoids recompilation when building Tesseract with a custom set
of languages.

Update k2pdfopt to use the new wrapper interface.
2018-12-19 18:08:16 +01:00
Erik Arvstedt
45d2a2dd91
tesseract: change file layout
Rename default.nix -> tesseract3.nix
Rename 4.x.nix -> tesseract4.nix

This is needed for the following commits.
2018-12-19 18:07:39 +01:00