Giter Site home page Giter Site logo

Comments (8)

jeroen avatar jeroen commented on June 9, 2024 1

Upstream has merged it already. Maybe you can cherry-pick this for the rpm: tesseract-ocr/tesseract@aee19fcf8eb832

from tesseract.

manisandro avatar manisandro commented on June 9, 2024 1

Done for tesseract-5.2.0-5.fc37 and tesseract-5.2.0-5.fc38.

from tesseract.

jeroen avatar jeroen commented on June 9, 2024

Are you sure this not a bug in Fedora's tesseract package? On homebrew the leptonica.pc file still has this:

prefix=/usr/local/Cellar/tesseract/5.2.0
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
datarootdir = /usr/local/share
datadir=${datarootdir}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: tesseract
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
URL: https://github.com/tesseract-ocr/tesseract
Version: 5.2.0
Requires.private: lept
Libs: -L${libdir} -ltesseract -L/usr/local/Cellar/libarchive/3.6.1/lib -larchive -lcurl
Libs.private: -lpthread
Cflags: -I${includedir}

from tesseract.

Enchufa2 avatar Enchufa2 commented on June 9, 2024

@manisandro I see in the changelog that you did the update. Any idea?

from tesseract.

jeroen avatar jeroen commented on June 9, 2024

It has not changed upstream: https://github.com/tesseract-ocr/tesseract/blob/HEAD/tesseract.pc.in#L13

from tesseract.

Enchufa2 avatar Enchufa2 commented on June 9, 2024

That's not the one that is used in cmake-based installations. This one is: https://github.com/tesseract-ocr/tesseract/blob/main/tesseract.pc.cmake

from tesseract.

jeroen avatar jeroen commented on June 9, 2024

Ah did you switch the rpm to cmake? That looks like a bug upstream...

Let's see what they say: tesseract-ocr/tesseract#3930

from tesseract.

Enchufa2 avatar Enchufa2 commented on June 9, 2024

It seems so. Here: https://src.fedoraproject.org/rpms/tesseract/c/622725d18425696cdca5447558fd9e3ca892f858?branch=rawhide

@jeroen Thanks for the quick patch.

@manisandro Do you think we could add this downstream until upstream fixes this?

from tesseract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.