From 244ce534a0bea1c5d206471bae6dec88afcda6e2 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 11 Apr 2017 10:21:30 +0200 Subject: Xserver: Build nxagent with MIT-SCREEN-SAVER extension enabled. Fixes ArcticaProject/nx-libs#80 --- debian/control | 17 +++++++++++++++++ debian/nx-x11proto-scrnsaver-dev.install | 3 +++ nx-X11/config/cf/host.def | 2 +- nx-libs.spec | 3 +++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 debian/nx-x11proto-scrnsaver-dev.install diff --git a/debian/control b/debian/control index b1898252f..faa27aadb 100644 --- a/debian/control +++ b/debian/control @@ -306,6 +306,23 @@ Description: nx-X11 Render extension wire protocol (dummy package) . This package can be safely removed. +Package: nx-x11proto-scrnsaver-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, +Breaks: nxlibs (<= 3.5.1), + libnx-x11-dev (<< 2:3.5.0.29-1~), +Description: nx-X11 Screen Saver extension wire protocol + NX is a software suite which implements very efficient + compression of the X11 protocol. This increases performance when + using X applications over a network, especially a slow one. + . + This package provides development headers describing the wire protocol + for the MIT-SCREEN-SAVER extension, used to notify the server of client + screen saver events. + Package: libnx-mesa-extras-dev Section: libdevel Architecture: any diff --git a/debian/nx-x11proto-scrnsaver-dev.install b/debian/nx-x11proto-scrnsaver-dev.install new file mode 100644 index 000000000..952a6c52f --- /dev/null +++ b/debian/nx-x11proto-scrnsaver-dev.install @@ -0,0 +1,3 @@ +usr/include/*/nx-X11/extensions/saver.h +usr/include/*/nx-X11/extensions/saverproto.h +usr/include/*/nx-X11/extensions/scrnsaver.h \ No newline at end of file diff --git a/nx-X11/config/cf/host.def b/nx-X11/config/cf/host.def index 4b22042c4..4d49362f9 100644 --- a/nx-X11/config/cf/host.def +++ b/nx-X11/config/cf/host.def @@ -358,7 +358,7 @@ * #define BuildScreenSaverExt NO */ -#define BuildScreenSaverExt NO +#define BuildScreenSaverExt YES /* * If you don't want to build Xinerama support, uncomment this. diff --git a/nx-libs.spec b/nx-libs.spec index ed5e7cb49..afafb3266 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -516,6 +516,9 @@ rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans %{_includedir}/nx-X11/extensions/recordstr.h %{_includedir}/nx-X11/extensions/render.h %{_includedir}/nx-X11/extensions/renderproto.h +%{_includedir}/nx-X11/extensions/saver.h +%{_includedir}/nx-X11/extensions/saverproto.h +%{_includedir}/nx-X11/extensions/scrnsaver.h %{_includedir}/nx-X11/extensions/securstr.h %{_includedir}/nx-X11/extensions/syncstr.h %{_includedir}/nx-X11/extensions/xcmiscstr.h -- cgit v1.2.3