Hello!

I packaged Xnee 3.08 in Nixpkgs [0].  Here are a few glitches I worked
around:

  1. Several shell scripts under ‘cnee/test’ refer to /bin/bash.
     However, /bin/bash is not necessarily present (it’s not stored
     there on NixOS.)

     The solution would be to use AC_PATH_PROG and then substitute it,
     or use POSIX shell constructs.

  2. The ‘cnee’ (and ‘gnee’?) build lacks a ‘-lXi’, which makes it
     impossible for Libtool to add libXi’s directory to the RPATH of
     ‘cnee’.

  3. Building with ‘--enable-shared --disable-static’ fails because
     ‘cnee’ and ‘gnee’ are linked against libxnee but libxnee.so is not
     installed.

  4. “make check” doesn’t do much in the absence of an X11 server, but I
     guess not much can be done about it.

Sorry for providing pointers instead of patches.  Hope this helps...

Thanks,
Ludo’.

[0] http://hydra.nixos.org/job/nixpkgs/trunk/xnee

_______________________________________________
Bug-xnee mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xnee

Reply via email to