#62 stop linking to unneeded Xmu, Xi, Xext libraries

1.11.0
closed
None
3
2015-01-24
2014-01-30
Anonymous
No

we started using glew in LibreOffice and found some issues with the build system :)

also i looked at the Fedora glew package and it contains a glew-1.9.0-makefile.patch that (among other things) also removes these libraries, so this has been tested in practice on Linux already.

1 Attachments

Discussion

  • Nigel Stewart

    Nigel Stewart - 2014-01-30

    I wonder if these are needed for the glewinfo utility program...

     
  • Nigel Stewart

    Nigel Stewart - 2014-01-30
    • assigned_to: Nigel Stewart
    • Group: Misc --> 1.10.1
    • Priority: 5 --> 3
     
  • Anonymous - 2014-01-30

    quoting my commit message:

    "Apparently Xmu and Xi were needed when glewinfo was using glut, but that
    dependency was removed 11 years ago in
    031afdf03be1d123b7a442f64cfa28c6066c1490."

    on a Fedora 19 system, package "glew" installed:

    readelf -d /usr/bin/glewinfo | grep NEEDED
    0x0000000000000001 (NEEDED) Shared library: [libGLEW.so.1.9]
    0x0000000000000001 (NEEDED) Shared library: [libGLU.so.1]
    0x0000000000000001 (NEEDED) Shared library: [libGL.so.1]
    0x0000000000000001 (NEEDED) Shared library: [libX11.so.6]
    0x0000000000000001 (NEEDED) Shared library: [libc.so.6

    of course this is only tested on Linux - but this X11 stuff is hopefully
    not too different between platforms?
    it would be very surprising to require linking against these libraries
    when the only headers that are used are from libX11-devel and
    xorg-x11-proto-devel packages:

    ~/stuff/glew > PAGER= git grep "#include.*X"
    auto/Makefile: echo -e "#include \"glew_utils.h\"\n\n#if !defined(_WIN32) || !defined(GLEW_MX)" >> $@
    auto/src/glxew_head.h:#include <X11 Xlib.h="">
    auto/src/glxew_head.h:#include <X11 Xutil.h="">
    auto/src/glxew_head.h:#include <X11 Xmd.h="">

     
  • Nigel Stewart

    Nigel Stewart - 2014-02-20
    • status: open --> pending
     
  • Nigel Stewart

    Nigel Stewart - 2014-02-20

    Patch applied to git master branch.

     
  • Nigel Stewart

    Nigel Stewart - 2014-08-12
    • Group: 1.10.1 --> 1.11.0
     
  • Nigel Stewart

    Nigel Stewart - 2015-01-24
    • Status: pending --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks