Menu

#1 dlopen libX11 ?

closed
None
5
2012-10-16
2004-03-01
No

I wonder if it'b be so hard to make libungif dload libX11 (and -lSM -lICE). Currently only lib/dev2gif.c and util/gif2x11.c seem to use it.

Discussion

  • Toshio Kuratomi

    Toshio Kuratomi - 2004-03-03

    Logged In: YES
    user_id=944205

    I'm not sure how hard dlopening libX11 would be. Do you
    have any ideas? I have wondered in the past if I should
    just drop dev2gif.c altogether. Then the library will build
    without requiring X11, which I consider to be a plus.

    That can't happen until libungif-5, though, as it would
    change the interface.

     
  • Frédéric L. W. Meunier

    Logged In: YES
    user_id=96658

    Sorry, no idea. Midnight Commander does it using gmodule from GLib. While it imposes a new dependency, it's still better than having the X11 libraries installed. I just think it'd be nice, since some applications (mainly image viewers) run on the console with SVGAlib or framebuffer and may link to libungif. But if dropping dev2gif.c doesn't remove any functionality someone could miss, I don't see any problem.

     
  • Eric S. Raymond

    Eric S. Raymond - 2012-06-03

    We;ve dropped dev2gif, so X11 is no longer required for building the library. Closing accordingly.

     

Log in to post a comment.

MongoDB Logo MongoDB