Menu

#546 Could we have a --without-jasper config option?

v1.0_(example)
closed-works-for-me
None
5
2018-02-11
2018-02-10
No

When building GraphicsMagick, it looks like it will detect and opportunistically link to the Jasper library. Unlike gslib, webp, ttf, and other libraries, though, there doesn't seem to be a configure option to disable this. Could one be added? This would support the case of building GraphicsMagick on a host that may have Jasper installed, but for use on another host that doesn't have Jasper installed, or to have GM continue to work once Jasper is uninstalled.

There's an actual case for this: when building GraphicsMagick for use with a package manager, like a Linux distro or Mac Homebrew (which is what I'm working on), you might want to build GraphicsMagick without a dependency on Jasper, so you don't have to declare the dependency in the package manager.

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2018-02-10

    On Sat, 10 Feb 2018, Andrew Janke wrote:

    When building GraphicsMagick, it looks like it will detect and
    opportunistically link to the Jasper library. Unlike gslib, webp,
    ttf, and other libraries, though, there doesn't seem to be a
    configure option to disable this. Could one be added? This would
    support the case of building GraphicsMagick on a host that may have
    Jasper installed, but for use on another host that doesn't have
    Jasper installed, or to have GM continue to work once Jasper is
    uninstalled.

    Use the --without-jp2 configuration option.

    Bob

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2018-02-11
    • status: open --> closed-works-for-me
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2018-02-11

    Question was answered.

     

Log in to post a comment.