--- nxcompshad-3.3.0-3.orig/debian/changelog +++ nxcompshad-3.3.0-3/debian/changelog @@ -0,0 +1,5 @@ +nxcompshad (3.3.0-3-0ubuntu1) karmic; urgency=low + + * Initial release. (LP: #252755) + + -- Marcelo Boveto Shima Thu, 22 Jan 2009 23:55:26 -0200 --- nxcompshad-3.3.0-3.orig/debian/libxcompshad-dev.install +++ nxcompshad-3.3.0-3/debian/libxcompshad-dev.install @@ -0,0 +1,4 @@ +*.h usr/include/nx +*.a usr/lib/nx/ +lib*.so usr/lib/ +*.a usr/lib/ --- nxcompshad-3.3.0-3.orig/debian/control +++ nxcompshad-3.3.0-3/debian/control @@ -0,0 +1,28 @@ +Source: nxcompshad +Priority: extra +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 5), autoconf, cdbs, dpatch, libxtst-dev, libxdamage-dev, libxrandr-dev, automake +Standards-Version: 3.8.3 +Section: x11 + +Package: libxcompshad3 +Section: x11 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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, ${misc:Depends} +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 package contains the development files for the nxcompshad library. --- nxcompshad-3.3.0-3.orig/debian/watch +++ nxcompshad-3.3.0-3/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://www.nomachine.com/sources.php \ + http://[^"]*/nxcompshad-([\d\.-]*)\.tar\.gz --- nxcompshad-3.3.0-3.orig/debian/libxcompshad3.install +++ nxcompshad-3.3.0-3/debian/libxcompshad3.install @@ -0,0 +1 @@ +lib*.so.* usr/lib/ --- nxcompshad-3.3.0-3.orig/debian/compat +++ nxcompshad-3.3.0-3/debian/compat @@ -0,0 +1 @@ +5 --- nxcompshad-3.3.0-3.orig/debian/copyright +++ nxcompshad-3.3.0-3/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Marcelo Boveto Shima on +Sat, 15 Sep 2007 03:20:37 -0300. + +It was downloaded from: http://www.nomachine.com/sources.php + +Upstream author: NoMachine, http://www.nomachine.com/ + +Upstream LICENSE file contains: + + +Copyright (C) 2001, 2007 NoMachine - http://www.nomachine.com/. + +NXCOMPSHAD and NX extensions to X are copyright of NoMachine. + +Redistribution and use of this software is allowed according to the +following terms: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License Version 2, and +not any other version, as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTA- +BILITY 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, you can request a copy to NoMachine +or write to the Free Software Foundation, Inc., 51 Franklin St, +Fifth Floor, Boston, MA 02110-1301, USA. + +All rights reserved. + + +The FSF address has been updated! + +The full text of the GNU General Public License, version 2, can be +found in "/usr/share/common-licenses/GPL-2" on Debian systems. --- nxcompshad-3.3.0-3.orig/debian/rules +++ nxcompshad-3.3.0-3/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +common-build-arch common-build-indep:: debian/stamp-custom-build +debian/stamp-custom-build: + # we need -fPIC + autoreconf -f -i && \ + ./configure && \ + $(MAKE) + cp CHANGELOG changelog + +clean:: + [ ! -f Makefile ] || $(MAKE) distclean + [ ! -f aclocal.m4 ] || rm aclocal.m4 + [ ! -f configure ] || rm configure + [ ! -f changelog ] || rm changelog + --- nxcompshad-3.3.0-3.orig/debian/docs +++ nxcompshad-3.3.0-3/debian/docs @@ -0,0 +1 @@ +changelog --- nxcompshad-3.3.0-3.orig/debian/patches/01_system_wide_build.dpatch +++ nxcompshad-3.3.0-3/debian/patches/01_system_wide_build.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_system_wide_build.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Include headers from system directory + +@DPATCH@ +diff -urNad nxcompshad~/configure.in nxcompshad/configure.in +--- nxcompshad~/configure.in 2007-06-04 13:39:49.000000000 +0200 ++++ nxcompshad/configure.in 2008-06-18 10:00:00.000000000 +0200 +@@ -17,9 +17,9 @@ + + dnl Prefer headers and libraries from nx-X11, if present. + +-if test -d "../nx-X11/exports/include" ; then +- CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include" +- LIBS="$LIBS -L../nx-X11/exports/lib" ++if test -d "/usr/include/nx" ; then ++ CXXFLAGS="$CXXFLAGS -I/usr/include/nx" ++ LIBS="$LIBS -L/usr/lib/nx" + fi + + dnl Check whether --with-ipaq was given. --- nxcompshad-3.3.0-3.orig/debian/patches/00list +++ nxcompshad-3.3.0-3/debian/patches/00list @@ -0,0 +1 @@ +01_system_wide_build