debian/0000775000000000000000000000000012075235207007173 5ustar debian/control0000664000000000000000000000151612075232471010601 0ustar Source: nxcomp Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Matthew Johnson Build-Depends: debhelper (>= 7.0.50~), automake, autoconf, zlib1g-dev, libjpeg-dev, libpng-dev, x11proto-core-dev, dh-autoreconf Standards-Version: 3.9.2 Section: x11 Package: libxcomp3 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} 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: libxcomp3 (= ${binary:Version}), ${misc:Depends} Description: NX X compression library---headers NX provides a differential X compression library for X11. . This package provides the compression library headers. debian/patches/0000775000000000000000000000000012075235205010620 5ustar debian/patches/0002-x2go-patchset-makefile.patch0000664000000000000000000000400212075232471016461 0ustar Description: adds make install/uninstall functionality (from x2go's git) Author: Mike Gabriel =================================================================== --- nxcomp.orig/Makefile.in 2011-03-17 11:15:19 +0000 +++ nxcomp/Makefile.in 2011-05-19 19:39:47 +0000 @@ -68,6 +68,9 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ +INSTALL_LINK = cp -av +DESTDIR = +RM_FILE = rm -f # # This should be autodetected. @@ -264,12 +267,42 @@ fi touch depend.status -install: install.bin install.man +install: install.bin install.lib install.man install.bin: +install.lib: all + $(INSTALL_DATA) libXcomp.so.3.* $(DESTDIR)$(prefix)/lib + $(INSTALL_LINK) libXcomp.so.3 $(DESTDIR)$(prefix)/lib + $(INSTALL_LINK) libXcomp.so $(DESTDIR)$(prefix)/lib + $(INSTALL_DATA) libXcomp.a $(DESTDIR)$(prefix)/lib + $(INSTALL_DATA) NX*.h $(DESTDIR)$(prefix)/include + $(INSTALL_DATA) MD5.h $(DESTDIR)$(prefix)/include + echo "Running ldconfig tool, this may take a while..." && ldconfig + install.man: +uninstall: uninstall.bin uninstall.lib uninstall.man + +uninstall.bin: + +uninstall.lib: + $(RM_FILE) $(DESTDIR)$(prefix)/lib/libXcomp.so.3.* + $(RM_FILE) $(DESTDIR)$(prefix)/lib/libXcomp.so.3 + $(RM_FILE) $(DESTDIR)$(prefix)/lib/libXcomp.so + $(RM_FILE) $(DESTDIR)$(prefix)/lib/libXcomp.a + $(RM_FILE) $(DESTDIR)$(prefix)/include/NXalert.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/NX.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/NXmitshm.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/NXpack.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/NXproto.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/NXrender.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/NXvars.h + $(RM_FILE) $(DESTDIR)$(prefix)/include/MD5.h + echo "Running ldconfig tool, this may take a while..." && ldconfig + +uninstall.man: + clean: -rm -f *~ *.o *.bak *.orig *.rej st?????? core core.* *.out.* \ @ALL@ debian/patches/series0000664000000000000000000000016712075232471012043 0ustar 0001-x2go-patchset-cflags.patch 0002-x2go-patchset-makefile.patch 0003-x2go-patchset-xlib.patch 0004-sa_restorer.patch debian/patches/0001-x2go-patchset-cflags.patch0000664000000000000000000000102412075232471016143 0ustar Description: Don't build with -O3, obey environment variable CXXFLAGS instead (from x2go's git branch) Author: Reinhard Tartler =================================================================== --- nxcomp.orig/configure.in 2011-03-17 11:15:19 +0000 +++ nxcomp/configure.in 2011-03-21 13:55:38 +0000 @@ -7,8 +7,7 @@ dnl Set our default compilation flags. -CXXFLAGS="-O3 -fno-rtti -fno-exceptions" -CFLAGS="-O3" +CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" dnl Reset default linking directives. debian/patches/0004-sa_restorer.patch0000664000000000000000000000110412075232471014550 0ustar Description: Patch to fix build on alpha and ia64 Author: Matthew Johnson =================================================================== --- nxcomp-3.2.0-7.orig/Loop.cpp 2008-06-16 18:49:56.330011773 +0100 +++ nxcomp-3.2.0-7/Loop.cpp 2008-06-16 18:50:18.093320515 +0100 @@ -5888,7 +5888,7 @@ #if defined(__linux__) - newAction.sa_restorer = NULL; + memset(&newAction, NULL, sizeof(newAction)); #endif @@ -6506,7 +6506,7 @@ #if defined(__linux__) - action.sa_restorer = NULL; + memset(&action, NULL, sizeof(action)); #endif debian/patches/0003-x2go-patchset-xlib.patch0000664000000000000000000000130012075232471015641 0ustar Description: Update check for presence of Xlib in NXvars.h (from x2go's git) In ubuntu/natty, the include guard name in /usr/include/X11/Xlib.h was changed from _XLIB_H_ to _X11_XLIB_H_. Without this patch, nxcompext miscompiles with very confusing error messages. Author: Reinhard Tartler =================================================================== --- nxcomp.orig/NXvars.h 2011-03-17 11:15:19 +0000 +++ nxcomp/NXvars.h 2011-05-19 19:39:47 +0000 @@ -23,7 +23,7 @@ * layer that doesn't use Xlib. */ -#if !defined(_XLIB_H_) && !defined(_XKBSRV_H_) +#if !defined(_XLIB_H_) && !defined(_X11_XLIB_H_) && !defined(_XKBSRV_H_) #define NeedFunctionPrototypes 1 debian/libxcomp3.install0000664000000000000000000000005612075232471012464 0ustar libXcomp.so.3.* usr/lib libXcomp.so.3 usr/lib debian/watch0000664000000000000000000000013312075232471010221 0ustar version=3 http://www.nomachine.com/sources.php \ http://[^"]*/nxcomp-([\d\.-]*)\.tar\.gz debian/rules0000775000000000000000000000012612075232471010252 0ustar #!/usr/bin/make -f %: dh --with autoreconf --parallel $@ override_dh_auto_install:debian/changelog0000664000000000000000000000413112075232471011044 0ustar nxcomp (3.5.0-2-0ubuntu1) raring; urgency=low * New upstream release. -- Logan Rosen Sat, 12 Jan 2013 00:07:15 -0500 nxcomp (3.5.0-1-0ubuntu2) precise; urgency=low * Rebuild for libjpeg8. -- Colin Watson Mon, 21 Nov 2011 16:20:05 +0000 nxcomp (3.5.0-1-0ubuntu1) oneiric; urgency=low * New upstream release (3.5.0-1) * Add patches from x2go's nxcomp fork - Update CFLAGS - Add uninstall target to MakeFile - Fix xlib on Ubuntu * Remaining patches from Debian - sa_restorer (fixes build on alpha and ia64) * Removed patches (applied upstream) - fix_const * Merge packaging changes from the x2go team - Convert to source format 3.0 - Switch to dh7 - Update list of installed files to install all includes. * Additional packaging changes - Add build-dep on dh-autoreconf - Update build-dep on debhelper - Add debian/watch file - Remove duplicate section field - Drop build-dep on libstdc++-dev (virtual only and not necessary) - Update copyright year -- Stéphane Graber Fri, 20 May 2011 10:26:48 -0400 nxcomp (3.2.0-7-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "build failure with gcc-4.4", apply patch from Ubuntu, thanks to Stefan Potyra (closes: #548480). -- gregor herrmann Thu, 31 Dec 2009 23:30:01 +0100 nxcomp (3.2.0-7-1) unstable; urgency=low * New Upstream Release * Remove gcc-4.3-ftbfs patch. It's fixed by the new upstream release -- Matthew Johnson Mon, 16 Jun 2008 19:02:55 +0100 nxcomp (3.1.0-6-3) unstable; urgency=low * Add patch gcc4.3-ftbfs (Closes: #474847) * Move -dev to section libdevel -- Matthew Johnson Thu, 10 Apr 2008 11:30:03 +0100 nxcomp (3.1.0-6-2) unstable; urgency=low * add patch to fix build on alpha and ia64 -- Matthew Johnson Mon, 24 Mar 2008 16:31:04 +0000 nxcomp (3.1.0-6-1) unstable; urgency=low * Initial packaging for Debian (Closes: #470624) -- Matthew Johnson Wed, 12 Mar 2008 11:01:37 +0000 debian/source/0000775000000000000000000000000012075235205010471 5ustar debian/source/format0000664000000000000000000000001412075232471011701 0ustar 3.0 (quilt) debian/libxcomp-dev.install0000664000000000000000000000011512075232471013151 0ustar libXcomp.so usr/lib libXcomp.a usr/lib NX*.h usr/include MD5.h usr/include debian/compat0000664000000000000000000000000212075232471010371 0ustar 7 debian/copyright0000664000000000000000000000533212075232471011131 0ustar This package was created by Matthew Johnson on Fri Mar 7 11:53:56 GMT 2008 The software was 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 2007 Matthew Johnson 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'.