nxcomp (3.2.0-7-1.1) debian-dir only changes

Summary

 debian/changelog            |   33 ++++++++++++++++++++++++
 debian/compat               |    1 
 debian/control              |   25 ++++++++++++++++++
 debian/copyright            |   59 +++++++++++++++++++++++++++++++++++++++++++
 debian/libxcomp-dev.install |    3 ++
 debian/libxcomp3.install    |    2 +
 debian/patches/fix_const    |   13 +++++++++
 debian/patches/sa_restorer  |   22 ++++++++++++++++
 debian/patches/series       |    2 +
 debian/rules                |   60 ++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 220 insertions(+)

    
download this patch

Patch contents

--- nxcomp-3.2.0-7.orig/debian/control
+++ nxcomp-3.2.0-7/debian/control
@@ -0,0 +1,25 @@
+Source: nxcomp
+Priority: optional
+Maintainer: Matthew Johnson <mjj29@debian.org>
+Build-Depends: debhelper (>=5), automake, autoconf, zlib1g-dev, libjpeg-dev, libpng-dev, libstdc++-dev, x11proto-core-dev, quilt (>= 0.40)
+Standards-Version: 3.7.3
+Section: x11
+
+Package: libxcomp3
+Section: x11
+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.
+
--- nxcomp-3.2.0-7.orig/debian/copyright
+++ nxcomp-3.2.0-7/debian/copyright
@@ -0,0 +1,59 @@
+This package was created by Matthew Johnson <mjj29@debian.org> on Fri Mar  7 11:53:56 GMT 2008
+
+The software was downloaded from http://www.nomachine.com/sources.php
+
+Copyright (c) 2001, 2007 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'.
+
--- nxcomp-3.2.0-7.orig/debian/libxcomp3.install
+++ nxcomp-3.2.0-7/debian/libxcomp3.install
@@ -0,0 +1,2 @@
+libXcomp.so.3.2.0 usr/lib
+libXcomp.so.3 usr/lib
--- nxcomp-3.2.0-7.orig/debian/compat
+++ nxcomp-3.2.0-7/debian/compat
@@ -0,0 +1 @@
+5
--- nxcomp-3.2.0-7.orig/debian/changelog
+++ nxcomp-3.2.0-7/debian/changelog
@@ -0,0 +1,33 @@
+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 <gregoa@debian.org>  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 <mjj29@debian.org>  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 <mjj29@debian.org>  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 <mjj29@debian.org>  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 <mjj29@debian.org>  Wed, 12 Mar 2008 11:01:37 +0000
--- nxcomp-3.2.0-7.orig/debian/rules
+++ nxcomp-3.2.0-7/debian/rules
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+configure: configure-stamp
+configure-stamp: patch
+	dh_testdir
+	
+	./configure --prefix=/usr
+	
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	
+	$(MAKE)
+	
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	rm -f config.log config.status depend.status
+	
+	[ ! -f Makefile ] || $(MAKE) clean
+	
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_install
+	dh_makeshlibs
+	dh_installdocs 
+	dh_installchangelogs CHANGELOG
+	dh_compress
+	dh_fixperms
+	dh_shlibdeps
+	dh_strip
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build configure clean binary-indep binary-arch binary install
+
--- nxcomp-3.2.0-7.orig/debian/libxcomp-dev.install
+++ nxcomp-3.2.0-7/debian/libxcomp-dev.install
@@ -0,0 +1,3 @@
+libXcomp.so usr/lib
+libXcomp.a usr/lib
+NX.h usr/include
--- nxcomp-3.2.0-7.orig/debian/patches/sa_restorer
+++ nxcomp-3.2.0-7/debian/patches/sa_restorer
@@ -0,0 +1,22 @@
+Index: nxcomp-3.2.0-7/Loop.cpp
+===================================================================
+--- 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
+ 
--- nxcomp-3.2.0-7.orig/debian/patches/fix_const
+++ nxcomp-3.2.0-7/debian/patches/fix_const
@@ -0,0 +1,13 @@
+Index: nxcomp-3.2.0-7/Loop.cpp
+===================================================================
+--- nxcomp-3.2.0-7.orig/Loop.cpp	2009-09-26 16:54:36.000000000 +0200
++++ nxcomp-3.2.0-7/Loop.cpp	2009-09-26 16:54:16.000000000 +0200
+@@ -10979,7 +10979,7 @@
+                                       packMethod == PACK_LOSSLESS ||
+                                           packMethod == PACK_ADAPTIVE)
+   {
+-    char *dash = rindex(opt, '-');
++    const char *dash = rindex(opt, '-');
+ 
+     if (dash != NULL && strlen(dash) == 2 &&
+             *(dash + 1) >= '0' && *(dash + 1) <= '9')
--- nxcomp-3.2.0-7.orig/debian/patches/series
+++ nxcomp-3.2.0-7/debian/patches/series
@@ -0,0 +1,2 @@
+sa_restorer
+fix_const