aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad
Commit message (Collapse)AuthorAgeFilesLines
* nxcomp{,shad}/configure.ac: replace versionating non-portable sed construct ↵Mihai Moldovan2018-03-071-1/+1
| | | | with hopefully more portable awk construct.
* nxcomp{,shad}/configure.ac: pass more portable -E option to sed instead of -r.Mihai Moldovan2018-03-021-1/+1
|
* Fix clang error: ordered comparison between pointer and zero ("char *" and ↵Mario Trangoni2018-03-011-1/+1
| | | | "int")
* nxcompshad: Regression fix for 990e61cc. Add missing $(NULL) in 'if ↵Mike Gabriel2018-02-251-0/+1
| | | | TARGET_ELF' clause.
* Merge branch 'Ionic-bugfix/FTBFS-non-ELF' into 3.6.xMike Gabriel2018-02-252-1/+7
|\ | | | | | | Attributes GH PR #663: https://github.com/ArcticaProject/nx-libs/pull/663
| * nxcompshad/{configure.ac,src/Makefile.am}: only enable new ELF dtags if ↵Mihai Moldovan2018-02-252-1/+7
| | | | | | | | target system actually is ELF-based.
* | nxcomp{,shad}/configure.ac: trailing whitespace removal only.Mihai Moldovan2018-02-251-1/+1
|/
* nxcompshad/src/Makefile.am: enable new ELF dtags to force RUNPATH creation ↵Mihai Moldovan2017-12-301-0/+1
| | | | for libXcompshad.
* nxcompshad/src/Makefile.am: implement libX11 RPATH/RUNPATH override.Mihai Moldovan2017-12-301-1/+5
| | | | | | | Same method as used in the previous commit, but easier done thanks to autotools and libtool. Fixes: ArcticaProject/nx-libs#610
* nxcompshad: silence GCC warningsUlrich Sibiller2017-12-282-4/+19
| | | | Fixes ArcticaProject/nx-libs#572
* nx{comp{,shad},proxy}: use dist-bzip2 instead of dist-xz.Mihai Moldovan2017-12-161-1/+1
| | | | | Automake older than version 1.11 does not support dist-xz. No workaround possible via a feature check, as far as I can tell.
* nxcompshad/Makefile.am: also correctly call aclocal here.Mihai Moldovan2017-12-151-0/+2
|
* 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'.