aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
Commit message (Collapse)AuthorAgeFilesLines
* nxagent: implement RPATH/RUNPATH override for libX11.Mihai Moldovan2017-12-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed in ArcticaProject/nx-libs#610, we need a way to load libNX_X11 as a fake version of libX11 into nxagent's address space. For doing so, we have to link against libX11 at build-time and specify a(n) RPATH/RUNPATH to our libX11 -> libNX_X11 compat symlinks. This commit is essentially doing a cross between options 3 and 4 discussed in the provided GH issue. We link libX11 early (before specifying -Lcompat_symlinks_dir), so that the linker finds the "real" libX11 version with the libX11 SONAME. This leads to our binary depending upon both libX11 and libNX_X11 SONAMEs. We already always added RPATH/RUNPATH, but these values are not passed down to dependent libraries. What happens at run-time is that the loader searches for a libX11 SONAME, takes RPATH/RUNPATH into account and loads our libNX_X11 library instead via the compat symlinks. This satisfies the libX11 SONAME and dependent libraries will *not* load the system libX11 version again. Debian's dpkg-shlibdeps isn't quite happy about this mismatching SONAME situation, so instruct to look the other way while we're minding our business. Fixes: ArcticaProject/nx-libs#610
* debian/rules: execute new debian/compat.sh file before the actual build.Mihai Moldovan2017-12-161-1/+1
|
* debian/rules: Neither overzealously remove nx-X11/Makefile.Mike Gabriel2017-12-141-1/+0
|
* debian/rules: Don't remove our main Makefile.Mike Gabriel2017-12-141-1/+0
|
* debian/rules: Fix override_dh_clean target for older Debian/Ubuntu versions.Mike Gabriel2017-12-141-44/+64
|
* debian/*: Adopt from official Debian package where appropriate.Mike Gabriel2017-12-131-0/+47
|
* debian/rules: Strip static libraries before installing them into the ↵Mike Gabriel2017-08-301-1/+4
| | | | lib*.dev packages.
* debian/rules: Re-order configure options for the sake of more beauty.Mike Gabriel2017-08-251-2/+2
|
* debian/rules: Use tabs as first indentation level.Mike Gabriel2017-08-251-4/+4
|
* Convert nx-X11/lib/ build flow from imake to autotools.Mike Gabriel2017-08-251-0/+1
|
* debian/rules: Add configure option --disable-silent-rules.Mike Gabriel2017-08-111-1/+5
|
* debian/rules: Drop override_dh_clean target. Not required anymore, as ↵Mike Gabriel2017-07-261-4/+0
| | | | configure files get removed correctly now.
* nxcomp: Switch to autoreconf.Mike Gabriel2017-07-261-1/+1
|
* nxcompshad: Switch to autoreconf.Mike Gabriel2017-07-131-1/+1
|
* debian/rules: Drop redundant --with-symbols configure option, '-g' already ↵Mike Gabriel2017-07-121-1/+1
| | | | gets added by debhelper.
* nxproxy: Switch to autoreconf.Mike Gabriel2017-07-121-1/+2
| | | | | | This also solves the last remnant of overlinking as described in GH issue #133. Fixes ArcticaProject/nx-libs#133.
* debian/control: Add get-orig-source rule as in official Debian package.Mike Gabriel2017-04-141-0/+3
|
* debian/{rules,nx-x11proto-xext-dev}: More Xext header files belong int ↵Mike Gabriel2017-04-141-9/+0
| | | | nx-x11proto-xext-dev (instead of removing them in debian/rules).
* debian/rules: Don't manually override SHLIBDIR via the dh_auto_build call. ↵Mike Gabriel2017-02-091-1/+1
| | | | The default in the main Makefile should work fine.
* nxcompext: Move code into Xserver subtree, as nxcompext requires Xserver ↵Mike Gabriel2016-11-151-1/+0
| | | | | | includes at build time. Fixes ArcticaProject/nx-libs#276.
* remove unused XInput.hUlrich Sibiller2016-11-021-1/+0
|
* debian/rules: Re-enable (+pie) hardening flags again when building .deb ↵Mike Gabriel2016-10-201-1/+1
| | | | packages.
* rename xf86bigfstr.h to xf86bigfproto.hUlrich Sibiller2016-10-191-1/+1
|
* debian/rules: Don't use -pie -fPIE at build time for 3.5.99.2 as it causes ↵Mike Gabriel2016-10-141-1/+1
| | | | nxagent to segfault. Investigating the reasons behind it is in process...
* debian/rules: Don't modify/create post{inst,rm} scripts during ↵Mike Gabriel2016-10-131-0/+3
| | | | dh_makeshlibs. This avoids adding ldconfig calls to such scripts.
* debian/rules: Enable -fPIE / -pie hardening support for nxagent and nxproxy.Mike Gabriel2016-07-051-2/+2
|
* finally drop libNX_XextUlrich Sibiller2016-07-011-1/+0
|
* library-cleanup: Don't build libNX_Xau anymore. Use system's libXau shared ↵Mike Gabriel2016-07-011-2/+0
| | | | library.
* nxauth: Drop nxauth tool completely, xauth can be successfully used with ↵Mike Gabriel2016-07-011-1/+0
| | | | nxagent / nxproxy instead.
* debian/rules: Use buildflags.mk from dpkg-dev. Enable bindnow hardening flag.Mike Gabriel2016-07-011-4/+3
|
* debian/rules: Don't attempt at removing $(CURDIR)/.preserve/. Not needed ↵Mike Gabriel2016-07-011-1/+0
| | | | anymore since we removed the CODE-REDUCTION_* hacks from debian/rules.
* debian/*: Drop non-multi-arch support (i.e. Debian squeeze, Ubuntu 10.04 and ↵Mike Gabriel2016-07-011-12/+0
| | | | earlier).
* OPTFLAGS: Properly propagate build option flags to nxcomp{,ext,shad} and the ↵Mike Gabriel2016-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* libNX_Xext: Drop unused extensions: DPMS, XTestExt1, XSync, XSecurity.Mike Gabriel2016-06-281-0/+4
|
* Drop X11 extensions not shipped with recent X.Org server versions anymore:Mike Gabriel2016-06-011-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/extensions: Xag.h, Xagsrv.h, Xagstr.h Xserver/Xext: appgroup.c, appgroup.h lib/Xext: XAppgroup.c include/extensions: Xcup.h, Xcupstr.h, Xserver/Xext: cup.c lib/Xext: cup.c include/extensions: Xdbe.h Xserver/Xext: Xdbe.c Xserver/Xext: dgaproc.h, xf86dga.c, xf86dga2.c, xf86dgaext.h include/extensions: Xevie.h, Xeviestr.h include/extensions: XEVI.h, XEVIstr.h Xserver/Xext: EVI.c, EVIstruct.h, sampleEVI.c lib/Xext: XEVI.c include/extensions: fontcache.h, fontcacheP.h, fontcachstr.h Xserver/Xext: fontcache.c include/extensions: lbxbuf.h, lbxbufstr.h, lbxdeltastr.h, lbximage.h, lbxopts.h, lbxstr.h, lbxzlib.h lib/Xext: XLbx.c include/extensions: multibuf.h, multibufst.h lib/Xext: XMultibuf.c Xserver/Xext: mbuf.c, mbufbf.c, mbufpx.c include/extensions: xf86vmode.h, xf86vmstr.h Xserver/Xext: vidmodeproc.h, xf86vmode.c lib/Xext: MITMisc.c Xserver/Xext: mitmisc.c Xserver/Xext: xf86misc.c, xf86miscproc.h Xserver/XTrap: xf86XTrapModule.c, xtrapddmi.c, xtrapdi.c, xtrapdiswp.c, xtrapditbl.c include/extensions: xtrapbits.h xtrapddmi.h xtrapdi.h xtrapemacros.h xtraplib.h xtraplibp.h xtrapproto.h Fixes: ArcticaProject/nx-libs#116 X.org: https://cgit.freedesktop.org/xorg/xserver/commit/?id=cbc20d92de92aad5ca240310a9156ccf97c24a01 Plus: Drop various Imake'ish defines where not needed anymore.
* library-cleanup: Don't build libNX_Xrender anymore. Use system's libXrender ↵Mike Gabriel2016-04-201-1/+0
| | | | shared library.
* library clean-up: Don't build libNX_Xinerama anymore. Use system's ↵Mike Gabriel2015-12-301-5/+0
| | | | | | | | | | libXinerama shared library. (Fixes ArcticaProject/nx-libs#49). This commit goes along with a patch from Ulrich Sibiller who managed to move the Xinerama awareness for NX sessions into the Xserver code. This makes Xinerama support for NX in libNX_Xinerama.so obsolete. Fixes ArcticaProject/nx-libs#49
* debian/rules: Don't strips symbols from not-build-anymore libNX_Xtst.so.Mike Gabriel2015-12-291-1/+0
|
* library clean-up: Don't build libNX_Xfixes anymore. Use system's libXfixes ↵Mike Gabriel2015-12-281-1/+0
| | | | shared library.
* library clean-up: Don't build libNX_Xcomposite anymore. Use system's ↵Mike Gabriel2015-12-281-1/+0
| | | | libXcomposite shared library.
* Clear header file namespace separation (<X11/...> vs. <nx-X11/...>).Mike Gabriel2015-12-281-22/+22
| | | | | | | | | | | | | | | | | | | | 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.
* Xinerama symlinking: Attach Xinerama symlinking to nxagent bin:package (and ↵Mike Gabriel2015-09-281-3/+3
| | | | not libnx-xinerama1).
* library clean-up: Don't build libNX_Xrandr anymore. Use system's libXrandr ↵Mike Gabriel2015-05-201-1/+0
| | | | shared library.
* library clean-up: Don't build libNX_Xdamage anymore. Use system's libXdamage ↵Mike Gabriel2015-05-011-1/+0
| | | | shared library. (Fixes ArcticaProject/nx-libs#6, X2GoBTS#826).
* xbitmaps cleanup: The <X11/bitmaps/*> headers are not required at build time ↵Mike Gabriel2015-04-231-1/+0
| | | | for NX.
* library clean-up: Don't build libNX_Xdmcp anymore. Use system's libXdmcp ↵Mike Gabriel2015-04-221-1/+0
| | | | shared library.
* library clean-up: Don't build and link libXfont.a anymore. Use system's ↵pr/libxfont-cleanupMike Gabriel2015-04-221-1/+0
| | | | libXfont shared library and link dynamically.
* fix for libXpm4-cleanupMike Gabriel2015-04-111-1/+0
|
* imake cleanup: Drop all references to XprtServer and BuildXprint*.Mike Gabriel2015-04-041-1/+0
|
* imake cleanup: Drop all references to XdmxServer and BuildXdmx*.Mike Gabriel2015-04-041-2/+0
|