gpcl (2.32-1) debian-dir only changes

Summary

 debian/README.Debian                    |   27 +++++++++
 debian/changelog                        |   76 ++++++++++++++++++++++++++
 debian/control                          |   44 +++++++++++++++
 debian/copyright                        |   40 ++++++++++++++
 debian/libgpcl-dev.doc-base             |   19 ++++++
 debian/libgpcl-dev.docs                 |    2 
 debian/libgpcl-dev.files                |    4 +
 debian/libgpcl0.files                   |    1 
 debian/patches/00list                   |    1 
 debian/patches/50_autotools-port.dpatch |   91 ++++++++++++++++++++++++++++++++
 debian/postinst                         |    5 +
 debian/rules                            |   86 ++++++++++++++++++++++++++++++
 12 files changed, 396 insertions(+)

    
download this patch

Patch contents

--- gpcl-2.32.orig/debian/libgpcl-dev.doc-base
+++ gpcl-2.32/debian/libgpcl-dev.doc-base
@@ -0,0 +1,19 @@
+Document: gpcl
+Title: General Clipping Polygon Library Manual
+Author: Alan Murta
+Abstract: This document describes a C library implementation of a new
+ polygon clipping algorithm. The techniques used are descended from Vatti's
+ polygon clipping method [1]. Subject and clip polygons may be convex or
+ concave, self-intersecting, contain holes, or be comprised of several
+ disjoint contours. It extends the Vatti algorithm to allow horizontal edges
+ in the source polygons, and to handle coincident edges in a robust manner.
+ Four types of clipping operation are supported: intersection, exclusive-or,
+ union or difference of subject and clip polygons. The output may take the
+ form of polygon outlines or tristrips.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libgpcl-dev/html/gpc.html
+Files: /usr/share/doc/libgpcl-dev/html/*
+
+  
--- gpcl-2.32.orig/debian/libgpcl-dev.docs
+++ gpcl-2.32/debian/libgpcl-dev.docs
@@ -0,0 +1,2 @@
+doc
+examples
--- gpcl-2.32.orig/debian/control
+++ gpcl-2.32/debian/control
@@ -0,0 +1,44 @@
+Source: gpcl
+Section: non-free/math
+Priority: optional
+Maintainer: Rafael Laboissiere <rafael@debian.org>
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 3), autoconf, automake1.9, libtool, dpatch
+
+Package: libgpcl0
+Section: non-free/libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: general polygon clipper library
+ A flexible and highly robust polygon set operations library for use with C
+ applications, as referenced in the comp.graphics.algorithms FAQ and the
+ UIUC Computational Geometry Pages.
+ .
+ Features:
+    * Difference, intersection, exclusive-or and union clip operations are
+      supported.
+    * Polygons may be comprised of multiple disjoint contours.
+    * Contour vertices may be given in any order - clockwise or
+      anticlockwise.
+    * Contours may be convex, concave or self-intersecting.
+    * Contours may be nested (i.e. polygons may have holes).
+    * Output may take the form of either polygon contours or tristrips.
+    * Hole and external contours are differentiated in the result.
+    * Coincident edges and degenerate regions are handled correctly.
+ .
+ Homepage: http://www.cs.man.ac.uk/~amurta/software/index.html#gpc
+
+Package: libgpcl-dev
+Section: non-free/devel
+Architecture: any
+Depends: libgpcl0 (= ${Source-Version}), libc6-dev
+Description: general polygon clipper library -- development package
+ A flexible and highly robust polygon set operations library for use with C
+ applications, as referenced in the comp.graphics.algorithms FAQ and the
+ UIUC Computational Geometry Pages.
+ .
+ This package contains the include files and static library for the GPC
+ library.  Also included some example polygons and HTML documentation.
+ .
+ Homepage: http://www.cs.man.ac.uk/~amurta/software/index.html#gpc
+
--- gpcl-2.32.orig/debian/postinst
+++ gpcl-2.32/debian/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
--- gpcl-2.32.orig/debian/libgpcl0.files
+++ gpcl-2.32/debian/libgpcl0.files
@@ -0,0 +1 @@
+/usr/lib/libgpcl.so.*
--- gpcl-2.32.orig/debian/changelog
+++ gpcl-2.32/debian/changelog
@@ -0,0 +1,76 @@
+gpcl (2.32-1) unstable; urgency=low
+
+  * New upstream releaseq
+  * debian/control:
+    - Added autoconf to Build-Depends (closes: #297291)
+    - Added also automake1.9 and libtool to Build-Depends, so that the
+      package builds from scratch.
+    - Upgraded Standards-Version to 3.6.1
+    - Build-Depends on dpatch
+  * debian/rules:
+    - Adjust for using dpatch
+    - Install upstream changelog file VERSIONS.TXT
+  * debian/patches/50_autotools-port.dpatch: Patch for porting the
+    upstream source to the Autotools (Autoconf/Automake/Libtool)
+  * debian/copyright: Added mention to Debian-specific Autotools addition
+    is released under the GNU GPL.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Tue,  1 Mar 2005 09:58:02 +0100
+
+gpcl (2.31-6) unstable; urgency=low
+
+  * debian/rules: Touch autoconf/automake files in precise order such that
+    there is no time skew problems in dependencies (this happened in the
+    m68k architecture, closes: #146041).
+  * debian/postinst: Removed code to call ldconfig, since dh_makeshlibs
+    takes care of this already.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Tue, 27 Aug 2002 13:36:28 +0200
+
+gpcl (2.31-5) unstable; urgency=low
+
+  * Regenerated automake/libtool files.  This makes the package compile in
+    several architectures different from i386.
+  * debian/rules: Bumped DH_COMPAT to 3. (clean): Delete conftest* files.
+    I do not know why this is not done automatically by the
+    autoconf/automake support.  (install)
+  * debian/control: Bumped Standards-Version to 3.5.6.  Changed
+    maintainer's e-mail address.
+  * debian/libgpcl0.files: Added file (since we have now DH_COMPAT=3,
+    files from debian/tmp/ have to be moved into debian/libgpcl0/).
+  * debian/postinst: Remnoved file.  The necessary call to ldconfig is now
+    automatically inserted by dh_makeshlibs.  This avoids the anoying
+    Linitian warnig about postinst-unsafe-ldconfig.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Mon, 22 Apr 2002 13:13:15 +0200
+
+gpcl (2.31-4) unstable; urgency=low
+
+  * debian/libgpcl-dev.doc-base: Filled dh_make boilerplate text in Title,
+    Author, Abstract, and Section fields (closes: #110790).
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Fri, 31 Aug 2001 17:20:43 +0200
+
+gpcl (2.31-3) unstable; urgency=low
+
+  * debian/control: Change sections of the packages to those of override
+    file.
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Wed, 25 Jul 2001 23:46:00 +0200
+
+gpcl (2.31-2) unstable; urgency=low
+
+  * debian/rules: make configure executable, since this script comes from
+    the Debian diff.gz file.
+  * Just in case release 2.31-1 does not go through dinstall
+    (closes: #104272).
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Wed, 25 Jul 2001 12:00:03 +0200
+
+gpcl (2.31-1) unstable; urgency=low
+
+  * Initial Release (closes: #104272).
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Wed, 11 Jul 2001 09:32:22 +0200
+
+
--- gpcl-2.32.orig/debian/copyright
+++ gpcl-2.32/debian/copyright
@@ -0,0 +1,40 @@
+This package was debianized by Rafael Laboissiere <rafael@icp.inpg.fr> on
+Thu, 5 Jul 2001 16:08:00 +0200.
+
+The upstream sources were downloaded from
+    ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z
+
+The polygon examples (in the /examples dir) were donwloaded from
+    ftp://ftp.cs.man.ac.uk/pub/toby/gpc/tests.tar.Z
+
+The HTML documentation (in the doc/ dir) was obtained by recursively
+sucking the web site:
+    http://www.cs.man.ac.uk/~amurta/software/gpc.html
+
+Upstream Author: Alan Murta <gpc@cs.man.ac.uk>
+
+Copyright:
+
+  This software is Copyright © 1997-1999, Advanced Interfaces Group,
+  Department of Computer Science, University of Manchester. This software
+  is free for non-commercial use. It may be copied, modified, and
+  redistributed provided that the copyright notices which appear within the
+  library source files are preserved on all copies. The intellectual
+  property rights of the algorithms used reside with the University of
+  Manchester Advanced Interfaces Group.
+
+  You may not use this software, in whole or in part, in support of any
+  commercial product without the express consent of the author.
+
+  There is no warranty or other guarantee of fitness of this software for
+  any purpose. It is provided solely "as is". Although no direct support
+  for the use of this software will be given, bug reports may be sent to
+  gpc@cs.man.ac.uk.
+
+The Autotools (Autoconf/Automake/Libtool) support is
+
+    Copyright (C) 2001, 2002, 2005 Rafael Laboissiere
+
+and is distributed under the terms of the GNU GPL, version 2 or later.  In
+Debian GNU/Linux systems, the whole text of the licences is in
+`/usr/share/common-licenses/GPL-2'.
--- gpcl-2.32.orig/debian/rules
+++ gpcl-2.32/debian/rules
@@ -0,0 +1,86 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+include /usr/share/dpatch/dpatch.make
+
+debdir := `pwd`/debian
+debusr := $(debdir)/tmp/usr
+debdoc := $(debdir)/libgpcl-dev/usr/share/doc/libgpcl-dev
+
+autotools: autotools-stamp
+autotools-stamp: patch-stamp
+	chmod +x bootstrap.sh
+	./bootstrap.sh
+	touch autotools-stamp
+
+configure: configure-stamp
+configure-stamp: autotools-stamp
+	./configure --prefix=/usr
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean: configure-stamp unpatch
+	dh_testdir
+	dh_testroot
+
+	-$(MAKE) -i distclean
+	rm -f Makefile.in aclocal.m4 config.guess config.sub config.log \
+	  configure depcomp install-sh ltmain.sh missing libtool
+
+	rm -f autotools-stamp configure-stamp build-stamp
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) install prefix=$(debusr)
+
+
+# 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_testversion
+	dh_testdir
+	dh_testroot
+	dh_movefiles
+	rm -rf $(debusr)/include
+	dh_installdocs
+	mv $(debdoc)/doc $(debdoc)/html
+	dh_installchangelogs VERSIONS.TXT
+	dh_link
+	dh_strip
+	dh_compress --exclude=/html/ --exclude=/examples/
+	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
+
--- gpcl-2.32.orig/debian/libgpcl-dev.files
+++ gpcl-2.32/debian/libgpcl-dev.files
@@ -0,0 +1,4 @@
+usr/lib/libgpcl.a
+usr/lib/libgpcl.la
+usr/lib/libgpcl.so
+usr/include
--- gpcl-2.32.orig/debian/README.Debian
+++ gpcl-2.32/debian/README.Debian
@@ -0,0 +1,27 @@
+gpcl for Debian
+---------------
+
+GPC (A General Polygon Clipper) is a flexible and highly robust polygon set
+operations library for use with C applications, as referenced in the
+comp.graphics.algorithms FAQ and the UIUC Computational Geometry Pages.
+
+Features:
+
+    * Difference, intersection, exclusive-or and union clip operations are
+      supported.
+    * Polygons may be comprised of multiple disjoint contours.
+    * Contour vertices may be given in any order - clockwise or
+      anticlockwise.
+    * Contours may be convex, concave or self-intersecting.
+    * Contours may be nested (i.e. polygons may have holes).
+    * Output may take the form of either polygon contours or tristrips.
+    * Hole and external contours are differentiated in the result.
+    * Coincident edges and degenerate regions are handled correctly.
+
+Autoconf/Automake/Libtool support has been added to this Debian package.
+
+For more information see:
+
+    http://www.cs.man.ac.uk/~amurta/software/index.html#gpc
+
+-- Rafael Laboissiere <rafael@debian.org> Tue Mar  1 10:22:27 CET 2005
--- gpcl-2.32.orig/debian/patches/50_autotools-port.dpatch
+++ gpcl-2.32/debian/patches/50_autotools-port.dpatch
@@ -0,0 +1,91 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_autotools-port.dpatch by  <root@laboiss2.intra.mpipf-muenchen.mpg.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from gpcl 2.31-7 diff.gz
+
+@DPATCH@
+
+--- gpcl-2.31.orig/bootstrap.sh
++++ gpcl-2.31/bootstrap.sh
+@@ -0,0 +1,10 @@
++#! /bin/sh
++#
++# Copyright (C) 2001, 2002, 2005  Rafael Laboissiere
++#
++# This file is in the public domain
++
++aclocal                               \
++  && libtoolize --automake            \
++  && automake --add-missing --foreign \
++  && autoconf
+--- gpcl-2.31.orig/Makefile.am
++++ gpcl-2.31/Makefile.am
+@@ -0,0 +1,28 @@
++## Process this file with automake to produce Makefile.in
++
++### Copyright (C) 2001, 2002, 2005  Rafael Laboissiere
++###
++### This file 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, or (at your option) any
++### later version.
++###
++### This file 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 Octave; see the file COPYING.  If not, write to the Free
++### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
++### 02111-1307, USA.
++
++EXTRA_DIST = VERSIONS.TXT doc examples
++
++lib_LTLIBRARIES = libgpcl.la
++
++pkginclude_HEADERS = gpc.h
++
++libgpcl_la_SOURCES = gpc.c
++
++libgpcl_la_LDFLAGS = -version-info 0:0:0
+--- gpcl-2.31.orig/configure.in
++++ gpcl-2.31/configure.in
+@@ -0,0 +1,35 @@
++dnl configure.in
++dnl
++dnl Process this file with autoconf to produce a configure script.
++dnl
++### Copyright (C) 2001, 2002, 2005 Rafael Laboissiere
++###
++### This file 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, or (at your option) any
++### later version.
++###
++### This file 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 Octave; see the file COPYING.  If not, write to the Free
++### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
++### 02111-1307, USA.
++
++### Autoconf/automake initializations
++
++AC_INIT(gpcl, 2.31)
++AM_INIT_AUTOMAKE
++
++### Test for C compiler and libtool
++
++AC_PROG_CC
++AC_PROG_LIBTOOL
++
++### Build Makefile
++
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
+\ No newline at end of file
--- gpcl-2.32.orig/debian/patches/00list
+++ gpcl-2.32/debian/patches/00list
@@ -0,0 +1 @@
+50_autotools-port