1. 01 Oct, 2016 2 commits
  2. 05 Jul, 2016 11 commits
  3. 04 Jul, 2016 1 commit
    • Mike Gabriel's avatar
      libNX_X11 data files: Install libNX_X11 related data files. · 1bd2463a
      Mike Gabriel authored
        - Update XErrorDB to latest X.org version.
        - Install XErrorDB, XKeysymDB and Xcms.txt to /usr/{local/}share/nx/.
        - Assure that libNX_X11 finds those files at the
          named location.
        - Update debian/ packaging files.
        - Update nx-libs.spec packaging file.
      
      Fixes ArcticaProject/nx-libs#153
      1bd2463a
  4. 01 Jul, 2016 4 commits
  5. 30 Jun, 2016 1 commit
    • Mike Gabriel's avatar
      OPTFLAGS: Properly propagate build option flags to nxcomp{,ext,shad} and the nx-X11 build scripts. · a1e9abc7
      Mike Gabriel authored
       Note:
      
        - The "normal" way to inject CFLAGS (and CPPFLAGS) into nx-X11 builds is copying those
          options over into the variable CDEBUGFLAGS.
        - LDFLAGS have to be handed to nx-X11 via LOCAL_LDFLAGS.
      
       This change also includes a slight change in the nx-X11 build order.
      
       Old build order:
      
        Main Makefile:
      
            - [...]
            - libNX_X11
              + implicitly building nxcomp
              + implicitly building nxcompext
            - [...]
            - nxagent
              + implicitly building nxcompshad
            - [...]
      
       New build ordner:
      
        Main Makefile:
      
            - [...]
            - nxcomp
            - setup nx-X11 build env
              + cd nx-X11 && make BuildEnv
            - nxcompext
            - nxcompshad
            - nx-X11/lib/*
            - [...]
            - nxagent
            - [...]
      
       Fixes ArcticaProject/nx-libs#141
       Fixes X2GoBTS#84
      a1e9abc7
  6. 29 Jun, 2016 2 commits
  7. 24 Jun, 2016 2 commits
    • Ulrich Sibiller's avatar
      libX11: Extend Event functions to handle IOErrors · b7d7ff3e
      Ulrich Sibiller authored
      To allow for suspend/resume NX has changed _XReadEvents() and
      _XIOError(). _XIOError() does not simply exit but returns. And
      _XReadEvents() returns after _XIOError(). But as the original
      _XReadEvents() is supposed to block until at least one event is there
      calling functions are not prepared for situations where no event is
      available. These calling functions have to check that condition.,
      
      Some of the calling functions already had that check but the
      UnlockDisplay() call was missing.
      
      Fixes https://github.com/ArcticaProject/nx-libs/issues/118
      b7d7ff3e
    • Ulrich Sibiller's avatar
      libX11: Extend Event functions to handle IOErrors · 5ee04c24
      Ulrich Sibiller authored
      To allow for suspend/resume NX has changed _XReadEvents() and
      _XIOError(). _XIOError() does not simply exit but returns. And
      _XReadEvents() returns after _XIOError(). But as the original
      _XReadEvents() is supposed to block until at least one event is there
      calling functions are not prepared for situations where no event is
      available. These calling functions have to check that condition.,
      
      Some of the calling functions already had that check but the
      UnlockDisplay() call was missing.
      
      Fixes https://github.com/ArcticaProject/nx-libs/issues/118
      5ee04c24
  8. 12 Jun, 2016 1 commit
  9. 29 Dec, 2015 2 commits
  10. 28 Dec, 2015 1 commit
    • Mike Gabriel's avatar
      Clear header file namespace separation (<X11/...> vs. <nx-X11/...>). · 433d8186
      Mike Gabriel authored
       In the process of building nxagent against more and more system-wide installed
       X.org libraries, we come to the limit of including structs from this (bundled
       nx-X11) and that (system-wide X.Org) library.
      
       This commit introduces a clear namespace separation of headers provided by
       nx-X11 and headers provided by X.Org. This approach is only temporary as we
       want to drop all nx-X11 bundled libraries from nx-libs.
      
       However, for a while we need to make this separation clear and also ship
       some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
       symbols at the same time.
      
       This patch has been tested on Debian jessie and unstable and requires no
       overall testing on various distros and distro versions, as we finally will
       drop all libNX_X* libraries and build against X.org's client libs.
      
       For now, this hack eases our development / cleanup process.
      433d8186
  11. 28 Sep, 2015 1 commit
    • Mike Gabriel's avatar
      Drop nx-X11/lib/GL and move Imakefile.inc include files into Xserver code tree. · d877b46d
      Mike Gabriel authored
       The client-side library libNX_GL.{a,so} is not built when building nx-libs.
      
       However, nx-X11/lib/GL/** ships several imake include files
       (Imakefile.inc) that are also used in nx-X11/programs/Xserver/GL/**.
       These files have been moved from the nx-X11/lib/GL/ code subtree to the
       nx-X11/programs/Xserver/GL/.
      
       Furthermore, we don't provide module builds of the GL extension anymore,
       as that feature is neither used in nx-libs.
      d877b46d
  12. 16 Jun, 2015 1 commit
    • Mike Gabriel's avatar
      Drop nx-X11/lib/GL and move Imakefile.inc include files into Xserver code tree. · cb4a2d73
      Mike Gabriel authored
       The client-side library libNX_GL.{a,so} is not built when building nx-libs.
      
       However, nx-X11/lib/GL/** ships several imake include files
       (Imakefile.inc) that are also used in nx-X11/programs/Xserver/GL/**.
       These files have been moved from the nx-X11/lib/GL/ code subtree to the
       nx-X11/programs/Xserver/GL/.
      
       Furthermore, we don't provide module builds of the GL extension anymore,
       as that feature is neither used in nx-libs.
      cb4a2d73
  13. 22 Apr, 2015 1 commit
  14. 16 Apr, 2015 2 commits
  15. 04 Apr, 2015 3 commits
  16. 13 Feb, 2015 2 commits
    • Mirraz Mirraz's avatar
    • Jan Engelhardt's avatar
      Unique Library Names Patch (600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch). · c4a8556c
      Jan Engelhardt authored
        We really want to make use of rpm's automatic dependency finding.
        Binaries are scanned for DT_NEEDED entries, the latter of which are
        then used for populating the "Requires"-type deps. The "nxagent"
        binary for example would require libX11.so.6. That incurs problems:
      
        1. A package manager told to install nxagent could select xorg-x11
        rather than nx-libs, even though nxagent depends on the NX version.
      
        2. A package manager told to install $some_program could select nx-libs
        rather than xorg-x11 (since both provide libX11.so.6), but, since
        the NX library is in an obscure directory, running $some_program
        would fail as libX11.so.6 is not found.
      
        To solve this, give the NX libraries unique names different from the
        Xorg ones.
      c4a8556c
  17. 09 Feb, 2015 3 commits