New upstream version 3.5.99.27

This commit is contained in:
geos_one
2025-08-08 20:00:36 +02:00
commit bc8d10cc33
4267 changed files with 1757978 additions and 0 deletions

20
debian/README.source vendored Normal file
View File

@@ -0,0 +1,20 @@
UPSTREAM SOURCES
----------------
The current upstream source for this package is the Arctica Project.
https://github.com/ArcticaProject/nx-libs
PACKAGE SOURCE TREE
-------------------
This package originally pulled in 7 source tarballs from NoMachine:
nx-X11
nxagent
nxauth (discontinued in nx-libs)
nxcomp
nxcompshad
nxcompext
nxproxy
Arctica Project / Mike Gabriel (2016-06-22)

1688
debian/changelog vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

46
debian/compat.sh vendored Executable file
View File

@@ -0,0 +1,46 @@
#!/bin/bash
# This script employs compatibility measures, mainly for older Debian
# or Ubuntu versions.
typeset -a compat_shims_all compat_shims_active
compat_shims_all=("Wpedantic")
compat_shims_active=()
typeset debian_release_ver=''
typeset -i ubuntu_release_ver_major='0' ubuntu_release_ver_minor='0'
# Check distro version and enable compat shims if required.
if dpkg-vendor --is "Debian" || dpkg-vendor --is "Raspbian"; then
debian_release_ver="$(lsb_release -r | sed -e 's/[ ]*//g' | cut -d ':' -f '2' | cut -d '.' -f '1')"
[[ "${debian_release_ver}" = 'testing' ]] && debian_release_ver='999'
[[ "${debian_release_ver}" = 'unstable' ]] && debian_release_ver='9999'
if [[ "${debian_release_ver}" -le '7' ]]; then
compat_shims_active+=("Wpedantic")
fi
elif dpkg-vendor --is "Ubuntu"; then
ubuntu_release_ver_major="$(lsb_release -r | sed -e 's/[ ]*//g' | cut -d ':' -f '2' | cut -d '.' -f '1')"
ubuntu_release_ver_minor="$(lsb_release -r | sed -e 's/[ ]*//g' | cut -d ':' -f '2' | cut -d '.' -f '2')"
if [[ "${ubuntu_release_ver_major}" -le '13' ]]; then
if [[ "${ubuntu_release_ver_major}" -lt '13' ]] || [[ "${ubuntu_release_ver_minor}" -le '4' ]]; then
compat_shims_active+=("Wpedantic")
fi
fi
fi
# Apply enabled compat shims.
# Ignore unknown values.
typeset cur_compat_shim='' cur_enabled_compat_shim=''
for cur_compat_shim in "${compat_shims_all[@]}"; do
for cur_enabled_compat_shim in "${compat_shims_active[@]}"; do
if [[ "${cur_compat_shim}" = "${cur_enabled_compat_shim}" ]]; then
if [[ "${cur_compat_shim}" = 'Wpedantic' ]]; then
sed -i -e 's/Wpedantic/pedantic/g' nx-X11/config/cf/{{host,xorgsite}.def,xorg.cf}
continue
fi
fi
done
done

520
debian/control vendored Normal file
View File

@@ -0,0 +1,520 @@
Source: nx-libs
Section: x11
Priority: optional
Maintainer: Artica Project <devs@lists.arctica-project.org>
Uploaders: Mike Gabriel <sunweaver@debian.org>, Mihai Moldovan <ionic@ionic.de>
Build-Depends:
autoconf,
automake,
debhelper (>= 9),
dpkg-dev (>= 1.16.1.1),
expat,
libjpeg-dev,
libpixman-1-dev (>= 0.13.2),
libpng-dev,
libtirpc-dev | hello,
libtool,
libxcomposite-dev,
libxdamage-dev,
libxdmcp-dev,
libxext-dev,
libxfixes-dev,
libxfont-dev (>= 1.4.2),
# libxkbfile-dev is required by xkbcomp.pc, see Debian bug #913359
libxkbfile-dev,
libxinerama-dev,
libxml2-dev,
libxpm-dev,
libxrandr-dev,
libxrender-dev,
libxtst-dev,
pkg-config,
quilt (>= 0.46-7~),
x11-xkb-utils,
x11proto-core-dev,
xutils-dev,
zlib1g-dev,
lsb-release,
Standards-Version: 4.2.1
Homepage: https://github.com/ArcticaProject/nx-libs/
Vcs-Git: https://github.com/ArcticaProject/nx-libs/
Vcs-Browser: https://github.com/ArcticaProject/nx-libs/
Package: nx-x11-common
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Breaks:
libnx-x11 (<< 2:3.5.0.29-1~),
nxagent (<< 2:3.5.0.29-1~),
nxlibs (<= 3.5.1)
Description: nx-X11 (common files)
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 all runtime architecture-independent files for
nx-X11 Xserver (aka nxagent).
Package: nx-x11proto-core-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}
Breaks: libnx-x11-dev (<< 2:3.5.0.29-1~), nxlibs (<= 3.5.1)
Description: nx-X11 core wire protocol and auxiliary headers
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 core nx-X11 protocol, and also provides a number of utility headers,
used to abstract OS-specific functions.
Package: libnx-x11-6
Section: libs
Architecture: any
Multi-Arch: same
Depends:
libx11-data,
libxcomp3 (= ${binary:Version}),
nx-x11-common (<< ${source:Version}.1),
nx-x11-common (>= ${source:Version}),
${misc:Depends},
${shlibs:Depends}
Breaks:
libnx-x11 (<< 2:3.5.0.29-1~),
libnx-xau6 (<< 2:3.6.0.0),
libnx-xcomposite1 (<< 2:3.6.0.0),
libnx-xdamage1 (<< 2:3.6.0.0),
libnx-xdmcp6 (<< 2:3.6.0.0),
libnx-xext6 (<< 2:3.6.0.0),
libnx-xfixes3 (<< 2:3.6.0.0),
libnx-xinerama1 (<< 2:3.6.0.0),
libnx-xpm4 (<< 2:3.6.0.0),
libnx-xrandr2 (<< 2:3.6.0.0),
libnx-xrender1 (<< 2:3.6.0.0),
libnx-xtst6 (<< 2:3.6.0.0),
nxlibs (<= 3.5.1)
Replaces:
libnx-xau6,
libnx-xcomposite1,
libnx-xdamage1,
libnx-xdmcp6,
libnx-xext6,
libnx-xfixes3,
libnx-xinerama1,
libnx-xpm4,
libnx-xrandr2,
libnx-xrender1,
libnx-xtst6,
nxlibs
Description: nxagent's libNX_X11 client-part library
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 the libNX_X11 library (a libX11 drop-in
replacement used by nxagent).
Package: libnx-x11-dev
Provides: libnx-x11-6-dev
Section: libdevel
Architecture: any
Breaks:
libnx-xau-dev (<< 2:3.6.0.0),
libnx-xcomposite-dev (<< 2:3.6.0.0),
libnx-xdamage-dev (<< 2:3.6.0.0),
libnx-xdmcp-dev (<< 2:3.6.0.0),
libnx-xext-dev (<< 2:3.6.0.0),
libnx-xfixes-dev (<< 2:3.6.0.0),
libnx-xinerama-dev (<< 2:3.6.0.0),
libnx-xpm-dev (<< 2:3.6.0.0),
libnx-xrandr-dev (<< 2:3.6.0.0),
libnx-xrender-dev (<< 2:3.6.0.0),
libnx-xtst-dev (<< 2:3.6.0.0),
nxlibs-dev (<=3.5.1)
Replaces:
libnx-xau-dev,
libnx-xcomposite-dev,
libnx-xdamage-dev,
libnx-xdmcp-dev,
libnx-xext-dev,
libnx-xfixes-dev,
libnx-xinerama-dev,
libnx-xpm-dev,
libnx-xrandr-dev,
libnx-xrender-dev,
libnx-xtst-dev,
nxlibs-dev
Depends: libnx-x11-6 (= ${binary:Version}), ${misc:Depends}
Description: nxagent's libNX_X11 client-part library (development headers)
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 of the libNX_X11 library (a
libX11 drop-in replacement used by nxagent).
Package: libnx-x11-6-dbg
Architecture: any
Multi-Arch: same
Depends: libnx-x11-6 (= ${binary:Version}), ${misc:Depends}
Section: debug
Breaks:
libnx-xau6-dbg (<< 2:3.6.0.0),
libnx-xcomposite1-dbg (<< 2:3.6.0.0),
libnx-xdamage1-dbg (<< 2:3.6.0.0),
libnx-xdmcp6-dbg (<< 2:3.6.0.0),
libnx-xext6-dbg (<< 2:3.6.0.0),
libnx-xfixes3-dbg (<< 2:3.6.0.0),
libnx-xinerama1-dbg (<< 2:3.6.0.0),
libnx-xpm4-dbg (<< 2:3.6.0.0),
libnx-xrandr2-dbg (<< 2:3.6.0.0),
libnx-xrender1-dbg (<< 2:3.6.0.0),
libnx-xtst6-dbg (<< 2:3.6.0.0),
nx-x11-dbg (<< 2:3.5.0.29-1~)
Replaces:
libnx-xau6-dbg,
libnx-xcomposite1-dbg,
libnx-xdamage1-dbg,
libnx-xdmcp6-dbg,
libnx-xext6-dbg,
libnx-xfixes3-dbg,
libnx-xinerama1-dbg,
libnx-xpm4-dbg,
libnx-xrandr2-dbg,
libnx-xrender1-dbg,
libnx-xtst6-dbg,
nx-x11-dbg
Description: nx-X11 client-side library (debug package)
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 contains debug symbols for the core nx-X11 libraries
customized for nxagent.
Package: nx-x11proto-xext-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Breaks:
libnx-x11-dev (<< 2:3.5.0.29-1~),
libnx-xext-dev (<< 2:3.5.99.0~),
nxlibs (<= 3.5.1)
Description: nx-X11 miscellaneous 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 various extensions, the client-side libraries of which are provided
in the Xext library.
Package: nx-x11proto-composite-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Breaks: libnx-x11-dev (<< 2:3.5.0.29-1~), nxlibs (<= 3.5.1)
Description: nx-X11 Composite 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 Composite extension in nx-X11, used to let arbitrary client
programs control drawing of the final image.
Package: nx-x11proto-damage-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Description: nx-X11 Damage 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 Damage extension, used to notify clients of changes made to
particular areas.
Package: nx-x11proto-xfixes-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Breaks: libnx-x11-dev (<< 2:3.5.0.29-1~), nxlibs (<= 3.5.1)
Description: nx-X11 'xfixes' 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 XFIXES extension.
Package: nx-x11proto-xinerama-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Description: nx-X11 Xinerama 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 XINERAMA extension, used to use and manage a multiple-screen
display.
Package: nx-x11proto-randr-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Description: nx-X11 RandR 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 RandR extension, used to change display properties such as
resolution, rotation, reflection, et al, on the fly.
Package: nx-x11proto-render-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Description: nx-X11 Render 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 Render extension, used to implement Porter-Duff operations within X.
Package: nx-x11proto-scrnsaver-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}
Breaks: libnx-x11-dev (<< 2:3.5.0.29-1~), nxlibs (<= 3.5.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
Depends: libnx-x11-dev (= ${binary:Version}), ${misc:Depends}
Description: Library headers for nx-X11/Mesa (dummy package)
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 can be safely removed. Since 3.5.0.29 of nx-libs
no Mesa header files are shipped with binary packages of NX
(redistributed) any more.
Package: nxagent
Architecture: any
Multi-Arch: foreign
Depends:
libnx-x11-6 (= ${binary:Version}),
libxcomp3 (= ${binary:Version}),
libxcompshad3 (= ${binary:Version}),
x11-xkb-utils,
${misc:Depends},
${shlibs:Depends},
Recommends: xfonts-base, xkb-data
Breaks: libxcompext3 (<< 2:3.5.99.3~), nxauth
Replaces: libxcompext3, nxauth
Description: Nested Xserver (aka NX Agent) supporting the NX compression 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.
.
nxagent is a nested Xserver providing NX transport of X sessions. The
application is based on the well known Xnest "nested" server. nxagent,
like Xnest, is an X server for its own clients, and at the same time, an
X client for a system's local X server.
.
The main scope of nxagent is to eliminate X round-trips or transform
them into asynchronous replies. nxagent works together with nxproxy.
nxproxy itself does not make any effort to minimize round-trips
by itself, this is demanded of nxagent.
.
Being an X server, nxagent is able to resolve all the property/atoms related
requests locally, ensuring that the most common source of round-trips are
nearly reduced to zero.
Package: nxagent-dbg
Section: debug
Architecture: any
Multi-Arch: foreign
Depends: nxagent (= ${binary:Version}), ${misc:Depends}
Breaks: nx-x11-dbg (<< 2:3.5.0.29-1~)
Description: NX agent (debug package)
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.
.
nxagent is an agent providing NX transport of X sessions. The application
is based on the well known Xnest "nested" server. nxagent, like Xnest,
is an X server for its own clients, and at the same time, an X client
for a system's local X server.
.
This package contains detached debug symbols that help generating more
helpful backtraces. You can safely remove it if you do not intend to
debug NX packages on this system.
Package: nxdialog
Architecture: all
Depends:
python3,
python3-gi,
gir1.2-gtk-3.0,
x11-xkb-utils,
${misc:Depends},
Recommends:
nxagent,
Breaks:
nxagent (<< 2:3.5.99.22-0~),
Replaces:
nxagent (<< 2:3.5.99.22-0~),
Description: Dialogs for NX Agent
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.
.
nxdialog adds dialog windows/menus to nxagent. They get triggered by
certain actions within the NX Agent Xserver.
Package: nxproxy
Architecture: any
Multi-Arch: foreign
Depends: libxcomp3 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Breaks: nxauth, qvd-nxproxy
Replaces: nxauth, qvd-nxproxy
Description: NX proxy
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 the NX proxy (client) binary.
Package: nxproxy-dbg
Section: debug
Architecture: any
Multi-Arch: foreign
Depends: nxproxy (= ${binary:Version}), ${misc:Depends}
Suggests: libxcomp3-dbg
Breaks: nx-x11-dbg (<< 2:3.5.0.29-1~)
Description: NX proxy (debug package)
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 the NX proxy (client) binary.
.
This package contains detached debug symbols that help generating more
helpful backtraces. You can safely remove it if you do not intend to
debug NX packages on this system.
Package: libxcomp3
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: nxcomp (<= 3.5.1), qvd-libxcomp3
Replaces: nxcomp, qvd-libxcomp3
Description: NX compression library
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 the compression library.
Package: libxcomp-dev
Provides: libxcomp3-dev
Section: libdevel
Architecture: any
Depends: libxcomp3 (= ${binary:Version}), ${misc:Depends}
Breaks: nxcomp-dev (<=3.5.1)
Replaces: nxcomp-dev
Description: NX compression library (development headers)
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 the compression library.
.
This package contains the development headers for this library.
Package: libxcomp3-dbg
Architecture: any
Multi-Arch: same
Depends: libxcomp3 (= ${binary:Version}), ${misc:Depends}
Section: debug
Breaks: nx-x11-dbg (<< 2:3.5.0.29-1~)
Description: nx-X11 compression library (debug package)
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 the compression library.
.
This package contains debug symbols for this library.
Package: libxcompshad3
Section: libs
Architecture: any
Multi-Arch: same
Depends: libnx-x11-6 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Breaks: nxcompshad (<=3.5.1)
Replaces: nxcompshad
Description: NX shadowing library
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 a library for shadow session support.
Package: libxcompshad-dev
Provides: libxcompshad3-dev
Section: libdevel
Architecture: any
Depends: libxcompshad3 (= ${binary:Version}), ${misc:Depends}
Breaks: nxcompshad-dev (<= 3.5.1)
Replaces: nxcompshad-dev
Description: NX shadowing library (development headers)
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 a library for shadow session support.
.
This package contains the development headers for this library.
Package: libxcompshad3-dbg
Architecture: any
Multi-Arch: same
Depends: libxcompshad3 (= ${binary:Version}), ${misc:Depends}
Section: debug
Breaks: nx-x11-dbg (<< 2:3.5.0.29-1~)
Description: nx-X11 shadowing library (debug package)
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 a library for shadow session support.
.
This package contains debug symbols for this library.

3886
debian/copyright vendored Normal file

File diff suppressed because it is too large Load Diff

2690
debian/copyright.in vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/libnx-x11-6.install vendored Normal file
View File

@@ -0,0 +1 @@
usr/lib/*/libNX_X11.so.*

1275
debian/libnx-x11-6.symbols vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/libnx-x11-6.triggers vendored Normal file
View File

@@ -0,0 +1 @@
activate-noawait ldconfig

17
debian/libnx-x11-dev.install vendored Normal file
View File

@@ -0,0 +1,17 @@
usr/include/*/nx-X11/ImUtil.h
usr/include/*/nx-X11/XKBlib.h
usr/include/*/nx-X11/Xauth.h
usr/include/*/nx-X11/Xcms.h
usr/include/*/nx-X11/Xlib.h
usr/include/*/nx-X11/XlibConf.h
usr/include/*/nx-X11/Xlibint.h
usr/include/*/nx-X11/Xlocale.h
usr/include/*/nx-X11/Xregion.h
usr/include/*/nx-X11/Xresource.h
usr/include/*/nx-X11/Xutil.h
usr/include/*/nx-X11/cursorfont.h
usr/include/*/nx-X11/misc.h
usr/include/*/nx-X11/os.h
usr/lib/*/libNX_X11.a
usr/lib/*/libNX_X11.so
usr/lib/*/pkgconfig/nx-x11.pc

9
debian/libxcomp-dev.install vendored Normal file
View File

@@ -0,0 +1,9 @@
usr/include/*/nx/MD5.h
usr/include/*/nx/NX.h
usr/include/*/nx/NXalert.h
usr/include/*/nx/NXpack.h
usr/include/*/nx/NXproto.h
usr/include/*/nx/NXvars.h
usr/lib/*/libXcomp.a
usr/lib/*/libXcomp.so
usr/lib/*/pkgconfig/nxcomp.pc

1
debian/libxcomp-dev.links vendored Normal file
View File

@@ -0,0 +1 @@
usr/share/doc/libxcomp3 usr/share/doc/libxcomp3-dev

9
debian/libxcomp3.doc-base vendored Normal file
View File

@@ -0,0 +1,9 @@
Document: libxcomp3
Title: NX compression library
Section: Screen
Format: Text
Files: /usr/share/doc/libxcomp3/README.on-retroactive-DXPC-license.gz
Format: PDF
Files: /usr/share/doc/libxcomp3/nxcomp-3.6-drops-compat-code-3.4.x-testing.pdf.gz

2
debian/libxcomp3.docs vendored Normal file
View File

@@ -0,0 +1,2 @@
doc/nxcomp/README.on-retroactive-DXPC-license
doc/nxcomp/nxcomp-3.6-drops-compat-code-3.4.x-testing.pdf

1
debian/libxcomp3.install vendored Normal file
View File

@@ -0,0 +1 @@
usr/lib/*/libXcomp.so.*

1
debian/libxcomp3.triggers vendored Normal file
View File

@@ -0,0 +1 @@
activate-noawait ldconfig

4
debian/libxcompshad-dev.install vendored Normal file
View File

@@ -0,0 +1,4 @@
usr/include/*/nx/Shadow.h
usr/lib/*/libXcompshad.a
usr/lib/*/libXcompshad.so
usr/lib/*/pkgconfig/nxcompshad.pc

1
debian/libxcompshad-dev.links vendored Normal file
View File

@@ -0,0 +1 @@
usr/share/doc/libxcompshad3 usr/share/doc/libxcompshad3-dev

1
debian/libxcompshad3.install vendored Normal file
View File

@@ -0,0 +1 @@
usr/lib/*/libXcompshad*.so.*

1
debian/libxcompshad3.triggers vendored Normal file
View File

@@ -0,0 +1 @@
activate-noawait ldconfig

2
debian/nx-x11-common.dirs vendored Normal file
View File

@@ -0,0 +1,2 @@
# we symlink to this dir, so make sure it exists
usr/share/fonts/X11

3
debian/nx-x11-common.install vendored Normal file
View File

@@ -0,0 +1,3 @@
usr/share/nx/SecurityPolicy
usr/share/nx/X11/XErrorDB
usr/share/nx/X11/Xcms.txt

1
debian/nx-x11-common.links vendored Normal file
View File

@@ -0,0 +1 @@
usr/share/fonts/X11 usr/share/nx/fonts

View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/composite.h
usr/include/*/nx-X11/extensions/compositeproto.h

20
debian/nx-x11proto-core-dev.install vendored Normal file
View File

@@ -0,0 +1,20 @@
usr/include/*/nx-X11/DECkeysym.h
usr/include/*/nx-X11/HPkeysym.h
usr/include/*/nx-X11/Sunkeysym.h
usr/include/*/nx-X11/X.h
usr/include/*/nx-X11/XF86keysym.h
usr/include/*/nx-X11/Xarch.h
usr/include/*/nx-X11/Xatom.h
usr/include/*/nx-X11/Xdefs.h
usr/include/*/nx-X11/Xfuncproto.h
usr/include/*/nx-X11/Xfuncs.h
usr/include/*/nx-X11/Xmd.h
usr/include/*/nx-X11/Xos.h
usr/include/*/nx-X11/Xos_r.h
usr/include/*/nx-X11/Xosdefs.h
usr/include/*/nx-X11/Xpoll.h
usr/include/*/nx-X11/Xproto.h
usr/include/*/nx-X11/Xprotostr.h
usr/include/*/nx-X11/Xthreads.h
usr/include/*/nx-X11/keysym.h
usr/include/*/nx-X11/keysymdef.h

2
debian/nx-x11proto-damage-dev.install vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/damageproto.h
usr/include/*/nx-X11/extensions/damagewire.h

2
debian/nx-x11proto-randr-dev.install vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/randr.h
usr/include/*/nx-X11/extensions/randrproto.h

2
debian/nx-x11proto-render-dev.install vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/render.h
usr/include/*/nx-X11/extensions/renderproto.h

View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/saver.h
usr/include/*/nx-X11/extensions/saverproto.h

15
debian/nx-x11proto-xext-dev.install vendored Normal file
View File

@@ -0,0 +1,15 @@
usr/include/*/nx-X11/extensions/Xdbeproto.h
usr/include/*/nx-X11/extensions/bigreqstr.h
usr/include/*/nx-X11/extensions/dpms.h
usr/include/*/nx-X11/extensions/dpmsstr.h
usr/include/*/nx-X11/extensions/record*.h
usr/include/*/nx-X11/extensions/security.h
usr/include/*/nx-X11/extensions/securstr.h
usr/include/*/nx-X11/extensions/shapeconst.h
usr/include/*/nx-X11/extensions/sync.h
usr/include/*/nx-X11/extensions/syncstr.h
usr/include/*/nx-X11/extensions/xcmiscstr.h
usr/include/*/nx-X11/extensions/xf86bigfont.h
usr/include/*/nx-X11/extensions/xf86bigfproto.h
usr/include/*/nx-X11/extensions/xtestconst.h
usr/include/*/nx-X11/extensions/xteststr.h

2
debian/nx-x11proto-xfixes-dev.install vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/xfixesproto.h
usr/include/*/nx-X11/extensions/xfixeswire.h

View File

@@ -0,0 +1,2 @@
usr/include/*/nx-X11/extensions/panoramiXext.h
usr/include/*/nx-X11/extensions/panoramiXproto.h

6
debian/nxagent.doc-base vendored Normal file
View File

@@ -0,0 +1,6 @@
Document: nxagent
Title: nx-X11 Agent (Xserver)
Section: Screen
Format: Text
Files: /usr/share/doc/nxagent/README.keystrokes.gz

1
debian/nxagent.docs vendored Normal file
View File

@@ -0,0 +1 @@
doc/nxagent/README.keystrokes

7
debian/nxagent.install vendored Normal file
View File

@@ -0,0 +1,7 @@
etc/nxagent/keystrokes.cfg
usr/bin/nxagent
usr/lib/*/nx/X11/
usr/share/man/man1/nxagent.1*
usr/share/nx/VERSION.nxagent
# FIXME: compatibility symlink, drop for 3.6.0 release
usr/lib/*/nx/bin/nxagent

11
debian/nxagent.postinst vendored Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
dpkg-maintscript-helper rm_conffile \
/etc/nxagent/rgb "2:3.5.99.4-1" nxagent -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/nxagent/nxagent.keyboard "2:3.5.99.16-4" nxagent -- "$@"
#DEBHELPER#

11
debian/nxagent.postrm vendored Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
dpkg-maintscript-helper rm_conffile \
/etc/nxagent/rgb "2:3.5.99.4-1" nxagent -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/nxagent/nxagent.keyboard "2:3.5.99.16-4" nxagent -- "$@"
#DEBHELPER#

11
debian/nxagent.preinst vendored Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
dpkg-maintscript-helper rm_conffile \
/etc/nxagent/rgb "2:3.5.99.4-1" nxagent -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/nxagent/nxagent.keyboard "2:3.5.99.16-4" nxagent -- "$@"
#DEBHELPER#

2
debian/nxdialog.install vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/bin/nxdialog
usr/share/man/man1/nxdialog.1*

6
debian/nxproxy.doc-base vendored Normal file
View File

@@ -0,0 +1,6 @@
Document: nxproxy
Title: NX compression tool
Section: Screen
Format: Text
Files: /usr/share/doc/nxproxy/README-VALGRIND

1
debian/nxproxy.docs vendored Normal file
View File

@@ -0,0 +1 @@
doc/nxproxy/README-VALGRIND

3
debian/nxproxy.install vendored Normal file
View File

@@ -0,0 +1,3 @@
usr/bin/nxproxy
usr/share/man/man1/nxproxy.1*
usr/share/nx/VERSION.nxproxy

View File

@@ -0,0 +1,23 @@
Index: nxcomp-3.2.0-7/Loop.cpp
===================================================================
--- nxcomp-3.2.0-7.orig/Loop.cpp 2008-09-23 19:20:51.000000000 +0200
+++ nxcomp-3.2.0-7/Loop.cpp 2008-09-23 19:20:21.000000000 +0200
@@ -7329,6 +7329,18 @@
<< logofs_flush;
#endif
+ // Henning Heinold
+ // fix up error from libnxcl where bye can be in front of NXPROXY
+ if (strncmp(options, "bye", strlen("bye")) == 0)
+ {
+ int bye_length = strlen("bye");
+ char *moo = &options[bye_length+1];
+
+ memmove(options, moo, DEFAULT_REMOTE_OPTIONS_LENGTH-bye_length-1);
+ *logofs << "Loop: Cleanded the bye in options, options now looks '"
+ << options << "'.\n" << logofs_flush;
+ }
+
if (strncmp(options, "NXPROXY-", strlen("NXPROXY-")) != 0)
{
#ifdef PANIC

View File

@@ -0,0 +1,118 @@
Description: Enable locale support
Enable locale support in nxagent.
.
Originally contributed by FreeNX Team (dimbor).
Forwarded: not-yet
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -64,6 +64,9 @@
#include "NX.h"
#include "NXlib.h"
+/* by dimbor */
+#include <X11/Xlocale.h>
+
/*
* Set here the required log level.
*/
@@ -366,6 +369,20 @@
*/
blackRoot = TRUE;
+
+ /* by dimbor */
+ char *locale = setlocale(LC_ALL, "");
+ if (!locale)
+ fprintf(stderr, "InitOutput: failed to set locale, reverting to \"C\"\n");
+ else
+ {
+ if (!XSupportsLocale())
+ fprintf(stderr, "InitOutput: Locale %s not supported by X\n",locale);
+ else
+ fprintf(stderr, "InitOutput: Set %s locale\n",locale);
+ }
+ if (!XSetLocaleModifiers(""))
+ fprintf(stderr,"InitOutput: cannot set locale modifiers.\n");
}
void InitInput(argc, argv)
--- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -32,6 +32,10 @@
#include "NXlib.h"
+/* by dimbor */
+#include "Xatom.h"
+#include <X11/Xlocale.h>
+
/*
* Set here the required log level.
*/
@@ -419,6 +423,28 @@
}
}
+/* by dimbor */
+char *textToUTF8String(char *text, int nitems)
+{
+ XTextProperty t_prop;
+ char *ret=NULL;
+ t_prop.value=((unsigned char *)text);
+ t_prop.nitems=nitems;
+ if (!t_prop.nitems)
+ return ret;
+ t_prop.format=8;
+ t_prop.encoding=XInternAtom(nxagentDisplay, "COMPOUND_TEXT", 0);
+ char **list;
+ int num;
+ int r = Xutf8TextPropertyToTextList(nxagentDisplay, &t_prop,&list, &num);
+ if ((r == Success || r > 0) && num > 0 && *list)
+ {
+ ret=(char *)strdup (*list);
+ XFreeStringList(list);
+ }
+ return ret;
+}
+
int nxagentExportAllProperty(pWin)
WindowPtr pWin;
{
@@ -464,6 +490,7 @@
if (strncmp(propertyS, "WM_", 3) != 0 &&
strncmp(propertyS, "_NET_", 5) != 0 &&
+ strncmp(propertyS, "_MOTIF_", 7) != 0 &&
strcmp(propertyS, "_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR") != 0)
{
#ifdef TEST
@@ -474,6 +501,7 @@
#endif
}
else if (strcmp(typeS, "STRING") == 0 ||
+ strcmp(typeS, "_MOTIF_WM_HINTS") == 0 ||
#ifndef _XSERVER64
strcmp(typeS, "CARDINAL") == 0 ||
strcmp(typeS, "WM_SIZE_HINTS") == 0 ||
@@ -483,6 +511,19 @@
output = value;
export = True;
}
+ /* add by dimbor, modified by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ else if (strcmp(typeS, "COMPOUND_TEXT") == 0)
+ {
+ output = textToUTF8String(value, nUnits);
+ if ( output != NULL ) {
+ type = MakeAtom("UTF8_STRING", strlen("UTF8_STRING"), True);
+ } else {
+ output = value;
+ }
+ nUnits = strlen((char *) output);
+ freeMem = True;
+ export = True;
+ } */
#ifdef _XSERVER64
else if (strcmp(typeS, "CARDINAL") == 0 || strcmp(typeS, "WM_SIZE_HINTS") == 0)
{

View File

@@ -0,0 +1,37 @@
Description: FHS adaptation for Debian packaging
On Debian, NX libraries and binaries are installed to
/usr/lib/nx.
Forwarded: not-needed
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-12-31
--- a/nx-X11/config/cf/Imake.tmpl
+++ b/nx-X11/config/cf/Imake.tmpl
@@ -733,7 +733,7 @@
#define AlternateUsrLibDir YES
#endif
#else
-#define UsrLibDir Concat4(/usr/local,/,LibDirName,/nx/X11)
+#define UsrLibDir Concat4(/usr,/,LibDirName,/nx/X11)
#ifndef AlternateUsrLibDir
#define AlternateUsrLibDir NO
#endif
@@ -751,7 +751,7 @@
#define AlternateUsrDataDir YES
#endif
#else
-#define UsrDataDir Concat4(/usr/local,/,share,/nx)
+#define UsrDataDir Concat4(/usr,/,share,/nx)
#ifndef AlternateUsrDataDir
#define AlternateUsrDataDir NO
#endif
--- a/nx-X11/config/cf/site.def
+++ b/nx-X11/config/cf/site.def
@@ -69,7 +69,7 @@
#ifdef AfterVendorCF
#ifndef ProjectRoot
-#define ProjectRoot /usr/local
+#define ProjectRoot /usr
#endif
/*

View File

@@ -0,0 +1,11 @@
Description: Enforce usage of Python3
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxdialog/bin/nxdialog
+++ b/nxdialog/bin/nxdialog
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# ^^^ This is working with python2 and python3 so we choose a shebang
# that will find either version.

2
debian/patches/series vendored Normal file
View File

@@ -0,0 +1,2 @@
2001_nx-X11_install-location.debian.patch
2003_nxdialog-use-python3.patch

142
debian/rules vendored Executable file
View File

@@ -0,0 +1,142 @@
#!/usr/bin/make -f
NULL =
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
export LIBDIR = "/usr/lib/$(DEB_HOST_MULTIARCH)"
export LIBEXECDIR = "$(LIBDIR)/nx/bin"
export INCLUDEDIR = "/usr/include/$(DEB_HOST_MULTIARCH)"
VENDOR_DEBIAN := 0
RELEASE_VER := 0
# detect VENDOR_* variables and RELEASE_VER{,_MAJOR,_MINOR}
VENDOR_DEBIAN := $(shell { dpkg-vendor --is 'Debian' && echo 'yes'; } || { dpkg-vendor --is 'Raspbian' && echo 'yes'; })
ifeq ($(VENDOR_DEBIAN),yes)
RELEASE_VER := $(shell /usr/bin/lsb_release -r | cut -d ':' -f'2' | sed -e 's/\s*//g' | cut -d '.' -f'1')
# Newer Debian versions might report "n/a" for testing and unstable.
ifeq ($(RELEASE_VER),n/a)
# On these platforms, the best way to determine the system version is by
# going through "apt-cache policy".
# Note that this should only be the case for either testing or unstable.
# Other systems should have a proper version number.
# This is also why we can just drop any suites/archive names (this is
# what a= means) containing a dash character (e.g., "stable-updates")
# and only pick the first match.
RELEASE_VER := $(shell /usr/bin/apt-cache policy | grep -E 'o=(De|Rasp)bian,' | grep -E 'l=(De|Rasp)bian,' | grep -F 'c=main,' | grep -Eo 'a=[^, ]*' | sed -e 's/^a=//' | grep -v -- '-' | head -n '1')
# Do error checking.
ifneq ($(RELEASE_VER),testing)
ifneq ($(RELEASE_VER),unstable)
$(error Release version could not be determined, sorry. Extracted value: $(RELEASE_VER))
endif
endif
endif
# Let's fake testing's and unstable's "release version"...
ifeq ($(RELEASE_VER),testing)
RELEASE_VER := 999
endif
ifeq ($(RELEASE_VER),unstable)
RELEASE_VER := 9999
endif
else
VENDOR_UBUNTU := $(shell dpkg-vendor --is 'Ubuntu' && echo 'yes')
ifeq ($(VENDOR_UBUNTU),yes)
RELEASE_VER_MAJOR := $(shell lsb_release -r | cut -d ':' -f '2' | sed -e 's/\s*//g' | cut -d '.' -f '1')
RELEASE_VER_MINOR := $(shell lsb_release -r | cut -d ':' -f '2' | sed -e 's/\s*//g' | cut -d '.' -f '2')
endif
endif
# detect when to use libtirpc and when glibc still provides rpc/rpc.h
IMAKE_EXTRA_DEFINES := ""
ifeq ($(VENDOR_DEBIAN),yes)
ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER) >= 10 )) && echo '"'"'yes'"'"),yes)
IMAKE_EXTRA_DEFINES+="-DUseTIRPC=1"
endif
else
ifeq ($(VENDOR_UBUNTU),yes)
ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MAJOR) >= 18 )) && echo '"'"'yes'"'"),yes)
IMAKE_EXTRA_DEFINES+="-DUseTIRPC=1"
endif
endif
endif
%:
VERBOSE=1 CONFIGURE="./configure --disable-silent-rules \
--prefix=/usr \
--libdir=$(LIBDIR) \
--includedir=$(INCLUDEDIR) \
--libexecdir=$(LIBEXECDIR) \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE)" dh $@ --no-parallel --with quilt
override_dh_auto_clean:
rm -Rf nx-X11/.build-exports
dh_auto_clean --no-parallel || dh_auto_clean
override_dh_clean:
dh_clean
rm -f nx-X11/config/cf/date.def
override_dh_install:
# strip static libs and remove .la files
rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libXcomp.la
strip --strip-debug --remove-section=.comment --remove-section=.note debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libXcomp.a
rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libXcompshad.la
strip --strip-debug --remove-section=.comment --remove-section=.note debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libXcompshad.a
rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libNX_X11.la
strip --strip-debug --remove-section=.comment --remove-section=.note debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libNX_X11.a
# remove extras, GL, and other unneeded headers
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/GL/
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/nx-X11/extensions/XK*.h
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/nx-X11/extensions/*Xv*.h
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/nx-X11/extensions/XRes*.h
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/nx-X11/extensions/XIproto.h
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/nx-X11/extensions/XI.h
rm -R debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/nx-X11/Xtrans/
dh_install
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_install:
PREFIX='/usr' dh_auto_install --no-parallel -Smakefile || \
PREFIX='/usr' dh_auto_install -Smakefile
override_dh_auto_build:
debian/compat.sh
PREFIX='/usr' dh_auto_build --no-parallel -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out -pie,$(LDFLAGS))' IMAKE_DEFINES="$(IMAKE_EXTRA_DEFINES)" || \
PREFIX='/usr' dh_auto_build -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out -pie,$(LDFLAGS))' IMAKE_DEFINES="$(IMAKE_EXTRA_DEFINES)"
override_dh_strip:
dh_strip -plibnx-x11-6 --dbg-package=libnx-x11-6-dbg
dh_strip -plibxcomp3 --dbg-package=libxcomp3-dbg
dh_strip -plibxcompshad3 --dbg-package=libxcompshad3-dbg
dh_strip -pnxagent --dbg-package=nxagent-dbg
dh_strip -pnxproxy --dbg-package=nxproxy-dbg
override_dh_makeshlibs:
dh_makeshlibs -n
# Needed for the libX11 RUNPATH/RPATH link-time hack.
# dh_shlibdeps will follow dependencies within binaries and choke
# on the libX11 dependency, since the SONAME (libX11.*) used while linking
# does not match the later detected SONAME (libNX_X11.*) obtained through
# the libX11 -> libNX_X11 compat symlink.
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
1.0