[Pkg-nx-commits] r48 - in nxcomp2/trunk: . debian debian/patches

Per Olofsson pelle at costa.debian.org
Tue Sep 19 13:56:26 UTC 2006


Author: pelle
Date: 2006-09-19 13:56:25 +0000 (Tue, 19 Sep 2006)
New Revision: 48

Added:
   nxcomp2/trunk/debian/
   nxcomp2/trunk/debian/changelog
   nxcomp2/trunk/debian/compat
   nxcomp2/trunk/debian/control
   nxcomp2/trunk/debian/copyright
   nxcomp2/trunk/debian/libxcomp-dev.dirs
   nxcomp2/trunk/debian/libxcomp-dev.install
   nxcomp2/trunk/debian/libxcomp-dev.links
   nxcomp2/trunk/debian/libxcomp2.dirs
   nxcomp2/trunk/debian/libxcomp2.install
   nxcomp2/trunk/debian/patches/
   nxcomp2/trunk/debian/patches/configure-use-flags
   nxcomp2/trunk/debian/patches/enable-pic
   nxcomp2/trunk/debian/patches/series
   nxcomp2/trunk/debian/rules
   nxcomp2/trunk/debian/watch
Log:
import nxcomp2

Added: nxcomp2/trunk/debian/changelog
===================================================================
--- nxcomp2/trunk/debian/changelog	                        (rev 0)
+++ nxcomp2/trunk/debian/changelog	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,6 @@
+nxcomp2 (2.0.0-81-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Per Olofsson <pelle at debian.org>  Sun, 17 Sep 2006 23:09:49 +0200
+

Added: nxcomp2/trunk/debian/compat
===================================================================
--- nxcomp2/trunk/debian/compat	                        (rev 0)
+++ nxcomp2/trunk/debian/compat	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1 @@
+5

Added: nxcomp2/trunk/debian/control
===================================================================
--- nxcomp2/trunk/debian/control	                        (rev 0)
+++ nxcomp2/trunk/debian/control	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,31 @@
+Source: nxcomp2
+Maintainer: Debian NX Maintainers <pkg-nx-group at lists.alioth.debian.org>
+Uploaders: Per Olofsson <pelle at debian.org>
+Section: x11
+Priority: optional
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), autoconf,
+	x11proto-core-dev, xutils-dev, libz-dev, libpng-dev, libjpeg-dev
+
+Package: libxcomp2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: NX X11 protocol compression library
+ libXcomp is a library for compressing the X11 protocol. It is a part
+ of the NX software suite from NoMachine.
+ . 
+ Website: http://www.nomachine.com/
+
+Package: libxcomp2-dev
+Architecture: any
+Priority: extra
+Section: libdevel
+Depends: libxcomp2 (= ${binary:Version}), ${misc:Depends}, x11proto-core-dev,
+	libz-dev, libpng-dev, libjpeg-dev
+Description: NX X11 protocol compression library - devel files
+ libXcomp is a library for compressing the X11 protocol. It is a part
+ of the NX software suite from NoMachine.
+ .
+ This package contains development files for libXcomp.
+ . 
+ Website: http://www.nomachine.com/

Added: nxcomp2/trunk/debian/copyright
===================================================================
--- nxcomp2/trunk/debian/copyright	                        (rev 0)
+++ nxcomp2/trunk/debian/copyright	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,68 @@
+This is the Debian package of nxcomp. It was packaged by
+Per Olofsson <pelle at debian.org>
+
+It was downloaded from: http://www.nomachine.com/sources.php
+
+Upstream author: NoMachine, http://www.nomachine.com/
+
+Copyright:
+
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2006 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXPROXY, NX protocol compression and NX extensions to this software    */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
+LICENSE contains:
+
+  Copyright (C) 2001, 2006 NoMachine - http://www.nomachine.com/.
+  
+  NXCOMP library 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., 59 Temple Place, Suite
+  330, Boston, MA  02111-1307 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 provi-
+  ded 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,2006 Gian Filippo Pinzari and Brian Pane
+  
+  All rights reserved.
+
+The full text of the GNU General Public License, version 2, can be
+found in "/usr/share/common-licenses/GPL-2" on Debian systems.

Added: nxcomp2/trunk/debian/libxcomp-dev.dirs
===================================================================
--- nxcomp2/trunk/debian/libxcomp-dev.dirs	                        (rev 0)
+++ nxcomp2/trunk/debian/libxcomp-dev.dirs	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,3 @@
+usr/lib
+usr/include/nxcomp
+usr/share/doc

Added: nxcomp2/trunk/debian/libxcomp-dev.install
===================================================================
--- nxcomp2/trunk/debian/libxcomp-dev.install	                        (rev 0)
+++ nxcomp2/trunk/debian/libxcomp-dev.install	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,3 @@
+libXcomp.so usr/lib
+libXcomp.a usr/lib
+*.h usr/include/nxcomp

Added: nxcomp2/trunk/debian/libxcomp-dev.links
===================================================================
--- nxcomp2/trunk/debian/libxcomp-dev.links	                        (rev 0)
+++ nxcomp2/trunk/debian/libxcomp-dev.links	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1 @@
+usr/share/doc/libxcomp2 usr/share/doc/libxcomp-dev

Added: nxcomp2/trunk/debian/libxcomp2.dirs
===================================================================
--- nxcomp2/trunk/debian/libxcomp2.dirs	                        (rev 0)
+++ nxcomp2/trunk/debian/libxcomp2.dirs	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1 @@
+usr/lib

Added: nxcomp2/trunk/debian/libxcomp2.install
===================================================================
--- nxcomp2/trunk/debian/libxcomp2.install	                        (rev 0)
+++ nxcomp2/trunk/debian/libxcomp2.install	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1 @@
+libXcomp.so.* usr/lib

Added: nxcomp2/trunk/debian/patches/configure-use-flags
===================================================================
--- nxcomp2/trunk/debian/patches/configure-use-flags	                        (rev 0)
+++ nxcomp2/trunk/debian/patches/configure-use-flags	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,15 @@
+Index: nxcompext/configure.in
+===================================================================
+--- nxcompext.orig/configure.in	2006-09-18 00:31:17.000000000 +0200
++++ nxcompext/configure.in	2006-09-18 00:31:44.000000000 +0200
+@@ -7,8 +7,8 @@
+ 
+ dnl Reset default compilation flags.
+ 
+-CXXFLAGS="-O3"
+-CFLAGS="-O3"
++CXXFLAGS="-O3 $CXXFLAGS"
++CFLAGS="-O3 $CFLAGS"
+ 
+ dnl Reset default linking directives.
+ 

Added: nxcomp2/trunk/debian/patches/enable-pic
===================================================================
--- nxcomp2/trunk/debian/patches/enable-pic	                        (rev 0)
+++ nxcomp2/trunk/debian/patches/enable-pic	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,19 @@
+Index: nxcomp/configure.in
+===================================================================
+--- nxcomp.orig/configure.in	2006-09-17 23:11:38.000000000 +0200
++++ nxcomp/configure.in	2006-09-17 23:54:17.000000000 +0200
+@@ -124,12 +124,8 @@
+ test "$nxconf_cv_amd64" = yes && AMD64=yes])
+ nxconf_AMD64
+ 
+-dnl AMD64 requires -fPIC for libraries.
+-
+-if test "$AMD64" = yes; then
+-    CXXFLAGS="$CXXFLAGS -fPIC"
+-    CFLAGS="$CFLAGS -fPIC"
+-fi
++CXXFLAGS="$CXXFLAGS -fPIC"
++CFLAGS="$CFLAGS -fPIC"
+ 
+ dnl Check for Darwin environment.
+ 

Added: nxcomp2/trunk/debian/patches/series
===================================================================
--- nxcomp2/trunk/debian/patches/series	                        (rev 0)
+++ nxcomp2/trunk/debian/patches/series	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,2 @@
+enable-pic
+configure-use-flags

Added: nxcomp2/trunk/debian/rules
===================================================================
--- nxcomp2/trunk/debian/rules	                        (rev 0)
+++ nxcomp2/trunk/debian/rules	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+
+export QUILT_PATCHES = debian/patches
+
+confflags = --with-symbols
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -O0
+endif
+
+patch:
+	quilt push -a || test $$? = 2
+unpatch:
+	quilt pop -a || test $$? = 2
+	! [ -e .pc/.version ] || rm .pc/.version
+	! [ -e .pc ] || rmdir .pc
+
+configure: patch configure-stamp
+configure-stamp:
+	dh_testdir
+
+	[ -f configure.orig ] || cp configure configure.orig
+	autoconf
+	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure $(confflags)
+
+	touch configure-stamp
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean: do-clean unpatch
+do-clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	-$(MAKE) distclean
+	! [ -f configure.orig ] || mv configure.orig configure
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_install
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -plibxcomp2 CHANGELOG
+	dh_installdocs -plibxcomp2
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure \
+	patch unpatch do-clean


Property changes on: nxcomp2/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: nxcomp2/trunk/debian/watch
===================================================================
--- nxcomp2/trunk/debian/watch	                        (rev 0)
+++ nxcomp2/trunk/debian/watch	2006-09-19 13:56:25 UTC (rev 48)
@@ -0,0 +1,2 @@
+version=3
+http://www.nomachine.com/sources.php .*/nxcomp-(\d.*)\.tar\.gz




More information about the Pkg-nx-commits mailing list