unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: Jelle Licht <jlicht@posteo.net>
Cc: 46376@debbugs.gnu.org
Subject: [bug#46376] [PATCH] gnu: tesseract-ocr: update to 4.1.1)
Date: Thu, 11 Feb 2021 10:34:44 -0800	[thread overview]
Message-ID: <CAJsg1E8k66yKkPN-uV5JVE4WOCxYdyzGkU_ecd6XwEUKtLHtJA@mail.gmail.com> (raw)
In-Reply-To: <86o8gq517v.fsf@posteo.net>

Hi, sure.  Since the tests are built, we can just skip running them by
deleting the check phase.   That would be minimal change from the
(otherwise working) patch, also with no trouble from the missing
training data.

On Thu, Feb 11, 2021 at 2:48 AM Jelle Licht <jlicht@posteo.net> wrote:
>
> Hey Andy,
>
> Andy Tai <atai@atai.org> writes:
>
> > updated patch:
> >
> > unit tests run, with some failures due to illegal instruction and
> > others succeed, but these requires first manual downloading of the
> > training data; I am not sure how that can be done as part of Guix
> > package definition.  Help on that is much appreciated.  (details
> > commented in the patch)
>
> The illegal instruction stuff seems somehow problematic either way. The
> training data seems to be generated via a not-really-trivial process, so
> my guess is that to properly package this, we would really have to
> generate the training data 'from source'. For now, it might make more
> sense to have users "BYOTD" (bring your own training data) and leave it
> out of the packaging story.
>
> Andy, what would you think about dumbing down your patch so
> tesseract-ocr simply doesn't run tests (or try to build them, for that
> matter)? So sorry for sending you on this wild goose chase!
>
> I'm willing to adjust and push such a change, unless someone has a
> better idea.
>
> Thanks,
>  - Jelle



-- 
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010
Year 2021 民國110年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能




  reply	other threads:[~2021-02-11 18:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-08  6:32 [bug#46377] [PATCH] gnu: tesseract-ocr: update to 4.1.1 Andy Tai
2021-02-08  6:42 ` [bug#46376] " Andy Tai
     [not found]   ` <handler.46376.B.161276666727875.ack@debbugs.gnu.org>
2021-02-08  6:51     ` [bug#46376] [PATCH] gnu: tesseract-ocr: update to 4.1.1) Andy Tai
2021-02-08 21:36       ` Jelle Licht
2021-02-08 23:14         ` Andy Tai
2021-02-09 11:56           ` Jelle Licht
2021-02-09 16:22             ` Andy Tai
2021-02-09 22:43               ` Jelle Licht
2021-02-09 22:53                 ` Andy Tai
2021-02-10  7:52                 ` Andy Tai
2021-02-11  0:00                   ` Andy Tai
2021-02-11 10:48                     ` Jelle Licht
2021-02-11 18:34                       ` Andy Tai [this message]
2021-02-13 14:34                         ` bug#46376: " Jelle Licht
2021-02-13 20:37                           ` [bug#46376] " Andy Tai
     [not found] ` <handler.46377.B.161277624811801.ack@debbugs.gnu.org>
2021-02-08 17:53   ` [bug#46377] Acknowledgement ([PATCH] " Andy Tai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJsg1E8k66yKkPN-uV5JVE4WOCxYdyzGkU_ecd6XwEUKtLHtJA@mail.gmail.com \
    --to=atai@atai.org \
    --cc=46376@debbugs.gnu.org \
    --cc=jlicht@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).