aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad
Commit message (Collapse)AuthorAgeFilesLines
* Silence warning: "ar: 'u' modifier ignored since 'D' is the default"Ulrich Sibiller2017-12-111-0/+3
| | | | Fixes ArcticaProject/nx-libs#530
* nx{comp{,shad},proxy}: add configure flag --enable-cxx11 to enable and setup ↵Mihai Moldovan2017-10-273-0/+8
| | | | | | | | | | optional C++11 support. Use AX_CXX_COMPILE_STDCXX(_11) from autotools archive. Note: should only be used in tandem. Make sure that each component either uses the C++11 ABI or none uses it. Mixing and matching libraries and binaries with different C++ ABIs might lead to weird errors.
* .gitignore: Improve all .gitignore files, adapt to autotools build-flow and ↵Mike Gabriel2017-10-091-2/+0
| | | | its build cruft.
* nxcompshad: Drop Cygwin/Win32 support. Has been untested and unused for a ↵Mike Gabriel2017-08-278-1430/+0
| | | | | | | | long time. This code can be reactivated any time in the future once some potential maintainer turns up and makes this work on the MS Windows / Cygwin platform.
* Convert nx-X11/lib/ build flow from imake to autotools.Mike Gabriel2017-08-251-1/+1
|
* nx*/configure.ac: Use newly introduced macro NX_DEFAULT_OPTIONS instead of ↵Mike Gabriel2017-08-111-1/+1
| | | | NX_COMPILER_FLAGS.
* nxcompshad: Rewrite Logger class methods to properly take advantage of the ↵Mike Gabriel2017-07-132-8/+20
| | | | 'gnu_printf' format attribute.
* nxcompshad: Prototype for NXShadowResetOptions() missing. Export it as ↵Mike Gabriel2017-07-131-0/+2
| | | | public symbol via Shadow.h."
* nxcompshad/src/Shadow.cpp: Drop duplicate prototype for ↵Mike Gabriel2017-07-131-2/+0
| | | | NXShadowRemoveAllUpdaters(). Already in Shadow.h.
* nxcompshad/src/Core.cpp: Don't redeclare (and shadow) curLine. Use ↵Mike Gabriel2017-07-131-21/+21
| | | | curWorkLine instead.
* nxcompshad/src/Regions.h: Avoid warning: ‘typedef’ was ignored in this ↵Mike Gabriel2017-07-131-1/+1
| | | | declaration. Drop typedef declaration from _XRegion struct.
* nxcompshad: Switch to autoreconf.Mike Gabriel2017-07-1331-798/+175
|
* Don't force root ownership of dirs when installingSalvador Fandiño2017-06-051-1/+1
| | | | | | | When installing nxcompshad, directory user and group ownership were forced to be root. That precluded installations by non-root users. Now, they are not forced.
* nxcompshad/Shadow.cpp: Use EBADF instead of EBADFD (which is not portable to ↵Mike Gabriel2017-05-041-5/+5
| | | | | | | | | | GNU/Hurd and GNU/kFreeBSD). We use the error code (and its underlying message for generating log errors and their textual messages. So, in theory, we could use any error code here. Thus, choosing the once closest to EBADFD while being portable to non-Linux systems.
* add .gitignore filesUlrich Sibiller2016-11-171-0/+2
|
* Per-file copyright notices: Update copyright information in file headers ↵Mike Gabriel2016-07-0621-151/+337
| | | | that NoMachine placed there own copyright statement in.
* NoMachine documentation files: Move to doc/_attic_/ folder.Mike Gabriel2016-07-051-404/+0
|
* LICENSE files: Have a main LICENSE file and one for nxcomp in the project's ↵Mike Gabriel2016-07-051-22/+0
| | | | | | base folder. Drop other LICENSE files added by NoMachine scattered all over the code tree.
* Drop multiple COPYING files contaning the GPL-2 license text.Mike Gabriel2016-07-051-339/+0
| | | | One COPYING file in the project's base folder is sufficient.
* finally drop libNX_XextUlrich Sibiller2016-07-011-1/+1
|
* remove shm code from libNX_XextUlrich Sibiller2016-07-011-1/+1
|
* OPTFLAGS: Properly propagate build option flags to nxcomp{,ext,shad} and the ↵Mike Gabriel2016-07-012-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nx-X11 build scripts. 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 - nx-X11/lib/* - nxcompext - nxcompshad - [...] - nxagent - [...] Fixes ArcticaProject/nx-libs#141 Fixes X2GoBTS#84
* nx-X11/config/{imake,makedepend}: Use system-wide available imake and ↵Mike Gabriel2016-06-301-10/+0
| | | | makedepend tools.
* nx-X11/programs/Xserver: Include nxcomp{,ext,shad} headers like one would do ↵Mike Gabriel2016-06-131-1/+1
| | | | with system-wide shared libraries.
* nxcomshad/Makefile.in: Only install Shadow.h as publicly available header file.Mike Gabriel2016-06-131-1/+1
| | | | | * Also adapt debian/libxcompshad-dev.install.in accordingly. * Also adapt nx-libs.spec accordingly.
* library clean-up: Don't build libNX_Xtst anymore. Use system's libXtst ↵Mike Gabriel2015-12-293-2/+73
| | | | shared library. (Fixes ArcticaProject/nx-libs#32).
* nxcompshad/X11/include/Xdamage_nxcompshad.h: Update FIXME statement. ↵Mike Gabriel2015-12-281-1/+1
| | | | Work-around needs to persist until libX11 from X.Org gets used by nxagent.
* Clear header file namespace separation (<X11/...> vs. <nx-X11/...>).Mike Gabriel2015-12-2813-22/+194
| | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #64 from uli42/pr/add_pkgconfigMike Gabriel2015-09-281-0/+3
|\ | | | | Various fixes for pkgconfig file creation.
| * adapt pkgconfigdir in nxcompshadUlrich Sibiller2015-08-261-1/+1
| |
| * Fix "Makefile.in seems to ignore the --datarootdir setting" warningUlrich Sibiller2015-08-261-0/+2
| |
| * create pkgcnfig dir before copying anythingUlrich Sibiller2015-08-261-1/+2
| |
* | nxcomp{,ext,shad}/Makefile.in: Create pkgconfigdir before putting files in it.Mike Gabriel2015-07-141-0/+1
| |
* | nxcomp{,shad,ext}: Remove nxcomp*.pc file on clean and distclean.Mike Gabriel2015-07-141-1/+1
|/
* Add pkg-config support to nxcomp, nxcompext and nxcompshadUlrich Sibiller2015-07-123-9/+28
|
* library clean-up: Don't build libNX_Xrandr anymore. Use system's libXrandr ↵Mike Gabriel2015-05-201-1/+1
| | | | shared library.
* library clean-up: Don't build libNX_Xdamage anymore. Use system's libXdamage ↵Mike Gabriel2015-05-011-1/+1
| | | | shared library. (Fixes ArcticaProject/nx-libs#6, X2GoBTS#826).
* libXcompshad underlinking problem: Fix undefined reference to ↵Mike Gabriel2015-04-261-1/+1
| | | | 'XShmQueryVersion', 'XShmDetach', 'XShmCreateImage', 'XShmAttach', and 'XShmGetImage'.
* nxcomp{,ext,shad}: only use the first three numbers in the full version for ↵Mihai Moldovan2015-03-261-1/+2
| | | | current_version on OS X. ld(1) on 10.6 fails otherwise.
* nx{comp{,ext,shad},proxy}: try really hard to find makedepend. Do not fail ↵Mihai Moldovan2015-03-162-2/+12
| | | | if it is not available.
* nxcomp{,ext,shad}: use the correct library naming scheme on OS X. It differs ↵Clemens Lang2015-03-151-7/+15
| | | | from other UNIX-based systems.
* nxcomp{,shad}: fix dynamic library linking on OS X. Use -dynamiclib instead ↵Clemens Lang2015-03-151-2/+2
| | | | of -bundle.
* nx{comp{,ext,shad},proxy}: use path discovery for finding makedepend. Remove ↵Clemens Lang2015-03-151-14/+1
| | | | old cruft.
* VERSION file: master VERSION file is in base folder, symlinked from ↵Mike Gabriel2015-02-141-1/+1
| | | | | | | | | | | | | | | | | | nx*/VERSION and hw/nxagent/VERSION. This commit removes the debian/VERSION file at makes it now unnecessary to copy/symlink the VERSION file at build time. These build scripts got adapted: debian/roll-tarballs.sh debian/rules nx-libs.spec Furthermore, all NX component now use the main VERSION file as reference. typechange: nxcomp/VERSION typechange: nxcompext/VERSION typechange: nxcompshad/VERSION typechange: nxproxy/VERSION
* Unique Library Names Patch ↵Jan Engelhardt2015-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | (600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch). 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.
* Honour compiler/linker option flags.Orion Poplawski2015-02-091-2/+2
| | | | | | 026_nxcompext_honour-optflags.full.patch 026_nxcomp_honour-optflags.full+lite.patch 026_nxcompshad_honour-optflags.full.patch
* nxcomp*, nxproxy: Fix clean-up of source tree via Makefile.in templates.Mike Gabriel2015-02-091-1/+1
| | | | | 024_fix-make-clean.full.patch 024_fix-make-clean.full+lite.patch
* nxcomp*,nxproxy: Add clean rules to Makefile.in templates.Mike Gabriel2015-02-091-1/+34
|
* Remove .gch files during cleanup (007_nxcompshad_clean-gch-files.full.patch).Mike Gabriel2015-02-091-1/+1
| | | | | When building nxcompshad .gch files get created. On cleanup these should be removed.
* gcc43 fix (003_nxcompshad_gcc43.full.patch)Marcelo Boveto Shima2015-02-092-4/+4
| | | | Use builtin includes to build with gcc43.