[X2go-Commits] nx-libs.git - master (branch) updated: 954557e9014e14df2468ff5c0e08b7ef533bb071

X2go dev team git-admin at x2go.org
Sat Nov 19 17:08:44 CET 2011


The branch, master has been updated
       via  954557e9014e14df2468ff5c0e08b7ef533bb071 (commit)
       via  4076b4132f499bb349f9a82895014ea8229db9ff (commit)
       via  d031104737be739498a4de7b3c20fe178f909e03 (commit)
      from  65f882e05bcd8a1a273e5c0fb237d215666c946e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 954557e9014e14df2468ff5c0e08b7ef533bb071
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Nov 19 17:08:40 2011 +0100

    Add main Makefile via patch: 001_add-main-makefile.patch.

commit 4076b4132f499bb349f9a82895014ea8229db9ff
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Nov 19 16:43:25 2011 +0100

    Add quilt as build dependency.

commit d031104737be739498a4de7b3c20fe178f909e03
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Nov 19 16:10:28 2011 +0100

    add /debian folder

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                           |    8 +
 debian/compat                              |    1 +
 debian/control                             |  228 ++++++++++++++++++++++++++++
 debian/copyright                           |   59 +++++++
 debian/libnx-mesa-extras-dev.dirs          |    4 +
 debian/libnx-mesa-extras-dev.install       |    3 +
 debian/libnx-x11-dev.dirs                  |    1 +
 debian/libnx-x11-dev.install               |    2 +
 debian/libnx-x11.dirs                      |    1 +
 debian/libnx-x11.docs                      |    3 +
 debian/libnx-x11.install                   |    2 +
 debian/libxcomp-dev.install                |    4 +
 debian/libxcomp-dev.links                  |    1 +
 debian/libxcomp3.install                   |    2 +
 debian/libxcomp3.links                     |    3 +
 debian/libxcompext-dev.install             |    2 +
 debian/libxcompext-dev.links               |    1 +
 debian/libxcompext3.install                |    1 +
 debian/libxcompext3.links                  |    3 +
 debian/libxcompshad-dev.install            |    4 +
 debian/libxcompshad-dev.links              |    2 +
 debian/libxcompshad3.install               |    1 +
 debian/libxcompshad3.links                 |    3 +
 debian/nxagent.dirs                        |    2 +
 debian/nxagent.install                     |    3 +
 debian/patches/001_add-main-makefile.patch |   36 +++++
 debian/patches/series                      |    1 +
 debian/post-build-nx.sh                    |   23 +++
 debian/pre-build-nx.sh                     |    3 +
 debian/rules                               |   30 ++++
 debian/source/format                       |    1 +
 31 files changed, 438 insertions(+), 0 deletions(-)
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/libnx-mesa-extras-dev.dirs
 create mode 100644 debian/libnx-mesa-extras-dev.install
 create mode 100644 debian/libnx-x11-dev.dirs
 create mode 100644 debian/libnx-x11-dev.install
 create mode 100644 debian/libnx-x11.dirs
 create mode 100644 debian/libnx-x11.docs
 create mode 100644 debian/libnx-x11.install
 create mode 100644 debian/libxcomp-dev.install
 create mode 100644 debian/libxcomp-dev.links
 create mode 100644 debian/libxcomp3.install
 create mode 100644 debian/libxcomp3.links
 create mode 100644 debian/libxcompext-dev.install
 create mode 100644 debian/libxcompext-dev.links
 create mode 100644 debian/libxcompext3.install
 create mode 100644 debian/libxcompext3.links
 create mode 100644 debian/libxcompshad-dev.install
 create mode 100644 debian/libxcompshad-dev.links
 create mode 100644 debian/libxcompshad3.install
 create mode 100644 debian/libxcompshad3.links
 create mode 100644 debian/nxagent.dirs
 create mode 100644 debian/nxagent.install
 create mode 100644 debian/patches/001_add-main-makefile.patch
 create mode 100644 debian/patches/series
 create mode 100755 debian/post-build-nx.sh
 create mode 100755 debian/pre-build-nx.sh
 create mode 100755 debian/rules
 create mode 100644 debian/source/format

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1f893e7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+nx-libs (2:3.5.0-0~x2go1) UNRELEASED; urgency=low
+
+  * Initial release.
+  * Use NX adapted LD_LIBRARY_PATH in debian/rules.
+  * Add quilt as build dependency.
+  * Add main Makefile via patch: 001_add-main-makefile.patch.
+
+ -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Fri, 14 Oct 2011 03:01:39 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..df0a0a0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,228 @@
+Source: nx-libs
+Section: x11
+Priority: extra
+Maintainer: Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>
+Uploaders:
+ Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ libpng-dev,
+ libjpeg-dev,
+ zlib1g-dev,
+ quilt
+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 0000000..bbb5368
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+This package was created by Mike Gabriel <mike.gabriel at 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 0000000..dee5a72
--- /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 0000000..7a54b8f
--- /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 0000000..8107c38
--- /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 0000000..0855739
--- /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 0000000..4e721e7
--- /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 0000000..5d0e991
--- /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 0000000..9dda743
--- /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 0000000..dd9b01d
--- /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 0000000..ed40e89
--- /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 0000000..bef21a1
--- /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 0000000..4a141a2
--- /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 0000000..fce72a4
--- /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 0000000..2346289
--- /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 0000000..88f74f8
--- /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 0000000..f34b5db
--- /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 0000000..6816b15
--- /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 0000000..adeb7ec
--- /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 0000000..9307a38
--- /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 0000000..c1790f9
--- /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 0000000..4330bad
--- /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 0000000..9d06d5a
--- /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/patches/001_add-main-makefile.patch b/debian/patches/001_add-main-makefile.patch
new file mode 100644
index 0000000..cd179f0
--- /dev/null
+++ b/debian/patches/001_add-main-makefile.patch
@@ -0,0 +1,36 @@
+Add main Makefile to build all NX subprojects in this source tree.--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,33 @@
++#!/usr/bin/make -f
++
++all: build
++
++build: build-arch build-indep
++
++clean:
++	cd nx-X11 && test -f Makefile && make $@ || true
++	cd nxcomp && test -f Makefile && make $@ || true
++	cd nxcompext && test -f Makefile && make $@ || true
++	cd nxcompshad && test -f Makefile && make $@ || true
++	cd nxproxy && test -f Makefile && make $@ || true
++
++
++distclean:
++	cd nx-X11 && test -f Makefile && make clean || true
++	cd nxcomp && test -f Makefile && make $@ || true
++	cd nxcompext && test -f Makefile && make $@ || true
++	cd nxcompshad && test -f Makefile && make $@ || true
++	cd nxproxy && test -f Makefile && make $@ || true
++
++build-arch:
++	cd nxcomp && autoconf
++	cd nxcompext && autoconf
++	cd nxcompshad && autoconf
++	cd nx-X11 && make World
++	cd nxproxy &&  autoconf
++
++build-indep:
++
++install:
++
++uninstall:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9a8f698
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_add-main-makefile.patch
diff --git a/debian/post-build-nx.sh b/debian/post-build-nx.sh
new file mode 100755
index 0000000..4c94956
--- /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 0000000..92b94c4
--- /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 0000000..caf546b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/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 $@ --with quilt
+
+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 --with quilt
+
+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 --with quilt
+	debian/post-build-nx.sh
+
+override_dh_auto_install:
+
+override_dh_quilt_patch:
+	dh_quilt_patch
+	chown a+x Makefile
+
+override_dh_quilt_unpatch:
+	dh_quilt_unpatch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)


hooks/post-receive
-- 
nx-libs.git (NX libraries)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nx-libs.git" (NX libraries).




More information about the x2go-commits mailing list