aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control227
-rw-r--r--debian/copyright59
-rw-r--r--debian/libnx-mesa-extras-dev.dirs4
-rw-r--r--debian/libnx-mesa-extras-dev.install3
-rw-r--r--debian/libnx-x11-dev.dirs1
-rw-r--r--debian/libnx-x11-dev.install2
-rw-r--r--debian/libnx-x11.dirs1
-rw-r--r--debian/libnx-x11.docs3
-rw-r--r--debian/libnx-x11.install2
-rw-r--r--debian/libxcomp-dev.install4
-rw-r--r--debian/libxcomp-dev.links1
-rw-r--r--debian/libxcomp3.install2
-rw-r--r--debian/libxcomp3.links3
-rw-r--r--debian/libxcompext-dev.install2
-rw-r--r--debian/libxcompext-dev.links1
-rw-r--r--debian/libxcompext3.install1
-rw-r--r--debian/libxcompext3.links3
-rw-r--r--debian/libxcompshad-dev.install4
-rw-r--r--debian/libxcompshad-dev.links2
-rw-r--r--debian/libxcompshad3.install1
-rw-r--r--debian/libxcompshad3.links3
-rw-r--r--debian/nxagent.dirs2
-rw-r--r--debian/nxagent.install3
-rwxr-xr-xdebian/post-build-nx.sh23
-rwxr-xr-xdebian/pre-build-nx.sh3
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
29 files changed, 392 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..4e2a734dc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+nx-libs (2:3.5.0-0~x2go1) UNRELEASED; urgency=low
+
+ * Initial release.
+ * Use NX adapted LD_LIBRARY_PATH in debian/rules.
+
+ -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 14 Oct 2011 03:01:39 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..4bbdd7b80
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,227 @@
+Source: nx-libs
+Section: x11
+Priority: extra
+Maintainer: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
+Uploaders:
+ Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ libpng-dev,
+ libjpeg-dev,
+ zlib1g-dev
+Build-Conflicts:
+ x11proto-core-dev,
+ x11proto-kb-dev,
+ x11proto-randr-dev,
+ x11proto-record-dev,
+ x11proto-xinerama-dev,
+ xbitmaps
+Standards-Version: 3.9.2
+Homepage: http://code.x2go.org/releases/source/nx-libs
+Vcs-Git: git://code.x2go.org/nx-libs.git
+Vcs-Browser: http://code.x2go.org/gitweb?p=nx-libs.git;a=summary
+
+Package: libnx-x11
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: nx-X11 (NoMachine)
+ X11 libraries customized for nxagent (NoMachine).
+
+Package: libnx-x11-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ ${misc:Depends}
+Description: Library headers for nx-X11 (NoMachine)
+ X11 libraries customized for nxagent (NoMachine).
+ .
+ This package provides the compression library headers.
+
+Package: libnx-mesa-extras-dev
+Section: libdevel
+Architecture: any
+Depends:
+ ${misc:Depends}
+Description: Library headers for nx-X11 (NoMachine. extra headers)
+ X11 libraries customized for nxagent (NoMachine).
+ .
+ This package provides extra compression library headers.
+
+Package: nxagent
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: NX agent (NoMachine)
+ x2goagent is an agent providing X 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 from
+ NoMachine. 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
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Priority: extra
+Section: debug
+Description: NX agent (NoMachine), debug symbols
+ nxagent is an agent providing X 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 from
+ NoMachine. 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.
+ .
+ This package contains the debug symbols of nxagent.Source: nxcomp
+
+Package: libxcomp3
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Breaks: nxcomp
+Replaces: nxcomp
+Description: NX X compression library
+ NX provides a differential X compression library for X11.
+ .
+ This package provides the compression library.
+
+Package: libxcomp-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ libxcomp3 (= ${binary:Version}),
+ ${misc:Depends}
+Breaks: nxcomp-dev
+Replaces: nxcomp-dev
+Description: NX X compression library headers
+ NX provides a differential X compression library for X11.
+ .
+ This package provides the compression library headers.
+
+Package: libxcomp-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends:
+ libxcomp3 (= ${binary:Version}),
+ ${misc:Depends}
+Description: NX X compression library, debug symbols
+ NX provides a differential X compression library for X11.
+ .
+ This package provides debug symbols for the libxcomp3 library.
+
+Package: libxcompext3
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Breaks: nxcompext
+Replaces: nxcompext
+Description: NX X11 protocol compression extensions library
+ NX is a software suite from NoMachine which implements very efficient
+ compression of the X11 protocol. This increases performance when
+ using X applications over a network, especially a slow one.
+ .
+ libXcompext extends the core NX library with additional features.
+
+Package: libxcompext-dev
+Architecture: any
+Priority: extra
+Section: libdevel
+Depends:
+ libxcompext3 (=${binary:Version}),
+ ${misc:Depends},
+ libxcomp-dev,
+Breaks: nxcompext-dev
+Replaces: nxcompext-dev
+Description: NX X11 protocol compression extensions library headers
+ NX is a software suite from NoMachine which implements very efficient
+ compression of the X11 protocol. This increases performance when
+ using X applications over a network, especially a slow one.
+ .
+ libXcompext extends the core NX library with additional features.
+ .
+ This package contains the development files for the nxcompext library.
+
+Package: libxcompext-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+ libxcompext3 (= ${binary:Version}),
+ ${misc:Depends}
+Description: NX X11 protocol compression extensions library, debug symbols
+ NX is a software suite from NoMachine 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 the debug symbols for the libxcompext3 library.
+
+Package: libxcompshad3
+Section: x11
+Architecture: any
+Depends:
+ libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Breaks: nxcompshad
+Replaces: nxcompshad
+Description: NX shadowing library
+ NX is a software suite from NoMachine which implements very efficient
+ compression of the X11 protocol. This increases performance when
+ using X applications over a network, especially a slow one.
+ .
+ This library provides support for shadowing sessions.
+
+Package: libxcompshad-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libxcompshad3 (=${binary:Version}),
+ ${misc:Depends}
+Breaks: nxcompshad-dev
+Replaces: nxcompshad-dev
+Description: NX shadowing library headers
+ NX is a software suite from NoMachine 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 the development files for the nxcompshad library.
+
+Package: libxcompshad-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libxcompshad3 (=${binary:Version}), ${misc:Depends}
+Description: NX shadowing library, debug symbols
+ NX is a software suite from NoMachine 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 the debug symbols of the libxcompshad3 library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..bbb5368ce
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+This package was created by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> on Thu Oct 10 22:53:56 CEST 2011
+
+The software components were downloaded from http://www.nomachine.com/sources.php
+
+Copyright (c) 2001-2011 NoMachine, http://www.nomachine.com/.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc., 51
+ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Parts of this software are derived from DXPC project. These copyright
+notices apply to original DXPC code:
+
+ Redistribution and use in source and binary forms are permitted provided
+ that the above copyright notice and this paragraph are duplicated in all
+ such forms.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+ MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ Copyright (c) 1995,1996 Brian Pane
+ Copyright (c) 1996,1997 Zachary Vonler and Brian Pane
+ Copyright (c) 1999 Kevin Vigor and Brian Pane
+ Copyright (c) 2000,2001 Gian Filippo Pinzari and Brian Pane
+
+The files MD5.[ch] are copyright (C) 1999, 2000, 2002 Aladdin Enterprises.
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+
+The packaging for Debian is copyright 2011 Mike Gabriel and is released
+under the GPL version 2. On Debian systems, the complete text of the GNU
+General Public License can be found in `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/libnx-mesa-extras-dev.dirs b/debian/libnx-mesa-extras-dev.dirs
new file mode 100644
index 000000000..dee5a7275
--- /dev/null
+++ b/debian/libnx-mesa-extras-dev.dirs
@@ -0,0 +1,4 @@
+usr/include/nx/extras/Mesa/GL
+usr/include/nx/extras/Mesa/GL/internal
+usr/include/nx/extras/Mesa/GLES
+
diff --git a/debian/libnx-mesa-extras-dev.install b/debian/libnx-mesa-extras-dev.install
new file mode 100644
index 000000000..7a54b8f52
--- /dev/null
+++ b/debian/libnx-mesa-extras-dev.install
@@ -0,0 +1,3 @@
+nx-X11/extras/Mesa/include/GL/*.h usr/include/nx/extras/Mesa/GL/
+nx-X11/extras/Mesa/include/GL/internal/*.h usr/include/nx/extras/Mesa/GL/internal/
+nx-X11/extras/Mesa/include/GLES/*.h usr/include/nx/extras/Mesa/GLES/
diff --git a/debian/libnx-x11-dev.dirs b/debian/libnx-x11-dev.dirs
new file mode 100644
index 000000000..8107c3851
--- /dev/null
+++ b/debian/libnx-x11-dev.dirs
@@ -0,0 +1 @@
+usr/include/nx/X11
diff --git a/debian/libnx-x11-dev.install b/debian/libnx-x11-dev.install
new file mode 100644
index 000000000..08557395c
--- /dev/null
+++ b/debian/libnx-x11-dev.install
@@ -0,0 +1,2 @@
+nx-X11/.build-exports/include/* usr/include/nx/
+
diff --git a/debian/libnx-x11.dirs b/debian/libnx-x11.dirs
new file mode 100644
index 000000000..4e721e754
--- /dev/null
+++ b/debian/libnx-x11.dirs
@@ -0,0 +1 @@
+usr/lib/nx/X11
diff --git a/debian/libnx-x11.docs b/debian/libnx-x11.docs
new file mode 100644
index 000000000..5d0e991f4
--- /dev/null
+++ b/debian/libnx-x11.docs
@@ -0,0 +1,3 @@
+nx-X11/CHANGELOG
+nx-X11/CHANGELOG.NX.original
+nx-X11/CHANGELOG.X.original
diff --git a/debian/libnx-x11.install b/debian/libnx-x11.install
new file mode 100644
index 000000000..9dda743e8
--- /dev/null
+++ b/debian/libnx-x11.install
@@ -0,0 +1,2 @@
+nx-X11/.build-exports/lib/* usr/lib/nx/X11
+
diff --git a/debian/libxcomp-dev.install b/debian/libxcomp-dev.install
new file mode 100644
index 000000000..dd9b01dfa
--- /dev/null
+++ b/debian/libxcomp-dev.install
@@ -0,0 +1,4 @@
+nxcomp/libXcomp.so usr/lib/nx
+nxcomp/libXcomp.a usr/lib/nx
+nxcomp/NX*.h usr/include/nx
+nxcomp/MD5.h usr/include/nx
diff --git a/debian/libxcomp-dev.links b/debian/libxcomp-dev.links
new file mode 100644
index 000000000..ed40e8980
--- /dev/null
+++ b/debian/libxcomp-dev.links
@@ -0,0 +1 @@
+usr/share/doc/libxcomp3 usr/share/doc/libxcomp3-dev
diff --git a/debian/libxcomp3.install b/debian/libxcomp3.install
new file mode 100644
index 000000000..bef21a189
--- /dev/null
+++ b/debian/libxcomp3.install
@@ -0,0 +1,2 @@
+nxcomp/libXcomp.so.3.* usr/lib/nx
+nxcomp/libXcomp.so.3 usr/lib/nx
diff --git a/debian/libxcomp3.links b/debian/libxcomp3.links
new file mode 100644
index 000000000..4a141a23f
--- /dev/null
+++ b/debian/libxcomp3.links
@@ -0,0 +1,3 @@
+usr/lib/nx/libXcomp.so.3 usr/lib/libXcomp.so.3
+usr/lib/nx/libXcomp.so.3.5.0 usr/lib/libXcomp.so.3.5.0
+
diff --git a/debian/libxcompext-dev.install b/debian/libxcompext-dev.install
new file mode 100644
index 000000000..fce72a4aa
--- /dev/null
+++ b/debian/libxcompext-dev.install
@@ -0,0 +1,2 @@
+nxcompext/libXcompext.so usr/lib/nx
+nxcompext/NX*.h usr/include/nx
diff --git a/debian/libxcompext-dev.links b/debian/libxcompext-dev.links
new file mode 100644
index 000000000..2346289d9
--- /dev/null
+++ b/debian/libxcompext-dev.links
@@ -0,0 +1 @@
+usr/share/doc/libxcompext3 usr/share/doc/libxcompext3-dev
diff --git a/debian/libxcompext3.install b/debian/libxcompext3.install
new file mode 100644
index 000000000..88f74f852
--- /dev/null
+++ b/debian/libxcompext3.install
@@ -0,0 +1 @@
+nxcompext/libXcompext.so.* usr/lib/nx
diff --git a/debian/libxcompext3.links b/debian/libxcompext3.links
new file mode 100644
index 000000000..f34b5db79
--- /dev/null
+++ b/debian/libxcompext3.links
@@ -0,0 +1,3 @@
+usr/lib/nx/libXcompext.so.3 usr/lib/libXcompext.so.3
+usr/lib/nx/libXcompext.so.3.5.0 usr/lib/libXcompext.so.3.5.0
+
diff --git a/debian/libxcompshad-dev.install b/debian/libxcompshad-dev.install
new file mode 100644
index 000000000..6816b1545
--- /dev/null
+++ b/debian/libxcompshad-dev.install
@@ -0,0 +1,4 @@
+nxcompshad/*.h usr/include/nx
+nxcompshad/*.a usr/lib/nx/
+nxcompshad/lib*.so usr/lib/nx/
+nxcompshad/*.a usr/lib/nx/
diff --git a/debian/libxcompshad-dev.links b/debian/libxcompshad-dev.links
new file mode 100644
index 000000000..adeb7ecb5
--- /dev/null
+++ b/debian/libxcompshad-dev.links
@@ -0,0 +1,2 @@
+usr/share/doc/libxcompshad3 usr/share/doc/libxcompshad3-dev
+
diff --git a/debian/libxcompshad3.install b/debian/libxcompshad3.install
new file mode 100644
index 000000000..9307a3879
--- /dev/null
+++ b/debian/libxcompshad3.install
@@ -0,0 +1 @@
+nxcompshad/lib*.so.* usr/lib/nx
diff --git a/debian/libxcompshad3.links b/debian/libxcompshad3.links
new file mode 100644
index 000000000..c1790f9a9
--- /dev/null
+++ b/debian/libxcompshad3.links
@@ -0,0 +1,3 @@
+usr/lib/nx/libXcompshad.so.3 usr/lib/libXcompshad.so.3
+usr/lib/nx/libXcompshad.so.3.5.0 usr/lib/libXcompshad.so.3.5.0
+
diff --git a/debian/nxagent.dirs b/debian/nxagent.dirs
new file mode 100644
index 000000000..4330badaf
--- /dev/null
+++ b/debian/nxagent.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/nx
diff --git a/debian/nxagent.install b/debian/nxagent.install
new file mode 100644
index 000000000..9d06d5a77
--- /dev/null
+++ b/debian/nxagent.install
@@ -0,0 +1,3 @@
+nx-X11/programs/Xserver/nxagent usr/lib/nx
+bin/nxagent usr/bin
+
diff --git a/debian/post-build-nx.sh b/debian/post-build-nx.sh
new file mode 100755
index 000000000..4c94956aa
--- /dev/null
+++ b/debian/post-build-nx.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+set -ex
+
+# create nx-X11/.build-exports
+mkdir -p nx-X11/.build-exports/include
+mkdir -p nx-X11/.build-exports/lib
+
+# copy headers (libnx-x11-dev)
+cp -aL nx-X11/exports/include/* nx-X11/.build-exports/include
+
+# copy libs (libnx-x11)
+find nx-X11/exports/lib/ | egrep "^.*\.so$" | while read libpath; do
+ libfile=$(basename $libpath)
+ libdir=$(dirname $libpath)
+ mkdir -p ${libdir//exports/.build-exports}
+ cp -L $libpath ${libdir//exports/.build-exports}
+ find $libdir/$libfile.* | while read symlink; do
+ ln -s $libfile ${libdir//exports/.build-exports}/$(basename $symlink)
+ done
+done
+
+exit 0 \ No newline at end of file
diff --git a/debian/pre-build-nx.sh b/debian/pre-build-nx.sh
new file mode 100755
index 000000000..92b94c40c
--- /dev/null
+++ b/debian/pre-build-nx.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0 \ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..ca5396072
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+%:
+ LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh $@
+
+override_dh_auto_clean:
+ rm -Rf nx-X11/.build-exports
+ LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_clean
+
+override_dh_auto_build:
+ debian/pre-build-nx.sh
+ LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build
+ debian/post-build-nx.sh
+
+override_dh_auto_install:
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)