GithubHelp home page GithubHelp logo

Comments (6)

vtorri avatar vtorri commented on May 21, 2024

mupdf devs are breaking api each time they provide a new release
in addition, there is no easy way to know if the version is 1.11 or 1.12. The version is in fitz/version.h and it is a string (arg...)
what I can do is adding a check in configure to select the version but the link against mupdf depends on the distro...
i can also add a configure option that the user will have to pass to specify mupdf version, but then it's not automatic

if you have a better solution to know, at preprocessor time, the mupdf version, i would gladly fix that

Note that most current linux distro are providing mupdf 1.11

from etui.

wltjr avatar wltjr commented on May 21, 2024

Wonderful they do such things... I can remain with 1.11. Maybe we need to get in touch with them, and request as least some means to determine version number. Along with request to not break API like such. Seems its just 1 function, so not to much to request they keep a legacy wrapper or something for 1-2 versions. Clearly not an ideal upstream. No worries, we can address in time. Least its known.

I would avoid having to specify version, unless it was something that came from pkg-config. Which would be automatic, and seems that is not an option. Not sure as to solution I will have to take a look. Thank you for the information, and limitations.

Seems 1.12 came out mid December. Not sure on distro adoption, but seems like they would be looking to add that to unstable or something. Either way I can see about poking at this time permitting. Unless you get to it first.

from etui.

vtorri avatar vtorri commented on May 21, 2024

i already told them to modify their build system to create shared library (atleast with dlopen, we could do some tests...) and to add pkgconfig files some years ago. Their answer is 'never'...

from etui.

wltjr avatar wltjr commented on May 21, 2024

Interesting, maybe their intentions is for their own usage and not for others to use as a library. Probably so they do not have to worry about API changes etc. Though it usually is not much. With my jem, java env manager I went ahead and made a .so for a variety of uses. Even though its basically a cli program. It may be used from python or other. CLI is just a wrapper around the shared library. Anyway maybe I will see about another request from them. Otherwise will need to get creating or something.

from etui.

NuLogicSystems avatar NuLogicSystems commented on May 21, 2024

I'm getting the same errors on Arch/Manjaro,

from etui.

vtorri avatar vtorri commented on May 21, 2024

fixed in commit 0021e29

from etui.

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.