[Pkg-octave-commit] rev 54 - tags/packages trunk/packages trunk/packages/octave-gpc trunk/packages/octave-gpc/debian trunk/packages/octave-gpc/debian/CVS

Rafael Laboissiere rafael@costa.debian.org
Sat, 12 Feb 2005 22:58:09 +0100


Author: rafael
Date: 2005-02-12 22:58:08 +0100 (Sat, 12 Feb 2005)
New Revision: 54

Added:
   tags/packages/octave-gpc/
   trunk/packages/octave-gpc/
   trunk/packages/octave-gpc/debian/
   trunk/packages/octave-gpc/debian/CVS/
   trunk/packages/octave-gpc/debian/CVS/Entries
   trunk/packages/octave-gpc/debian/CVS/Repository
   trunk/packages/octave-gpc/debian/CVS/Root
   trunk/packages/octave-gpc/debian/changelog
   trunk/packages/octave-gpc/debian/control
   trunk/packages/octave-gpc/debian/copyright
   trunk/packages/octave-gpc/debian/docs
   trunk/packages/octave-gpc/debian/gpc_test.m
   trunk/packages/octave-gpc/debian/rules
Log:
Initial import of package octave-gpc


Added: trunk/packages/octave-gpc/debian/CVS/Entries
===================================================================
--- trunk/packages/octave-gpc/debian/CVS/Entries	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/CVS/Entries	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1,8 @@
+/copyright/1.1.1.1/Thu Jul  3 23:38:46 2003//
+/docs/1.1.1.1/Thu Jul  3 23:38:46 2003//
+/gpc_test.m/1.1.1.1/Thu Jul  3 23:38:46 2003//
+/.cvsignore/1.1/Mon Jan  5 19:26:53 2004//
+/control/1.9/Mon Jan  5 15:41:05 2004//
+/rules/1.3/Mon Jan  5 18:02:23 2004//
+/changelog/1.10/Mon Jan  5 21:20:54 2004//
+D

Added: trunk/packages/octave-gpc/debian/CVS/Repository
===================================================================
--- trunk/packages/octave-gpc/debian/CVS/Repository	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/CVS/Repository	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1 @@
+octave-forge/nonfree/gpc/debian

Added: trunk/packages/octave-gpc/debian/CVS/Root
===================================================================
--- trunk/packages/octave-gpc/debian/CVS/Root	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/CVS/Root	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1 @@
+:ext:rlaboiss@cvs.sourceforge.net:/cvsroot/octave

Added: trunk/packages/octave-gpc/debian/changelog
===================================================================
--- trunk/packages/octave-gpc/debian/changelog	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/changelog	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1,118 @@
+octave-gpc (0.1.5-3) unstable; urgency=low
+
+  * Rebuilt with Octave 2.1.64.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sat,  4 Dec 2004 15:43:44 +0100
+
+octave-gpc (0.1.5-2) unstable; urgency=low
+
+  * Rebuilt with Octave 2.1.63.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Fri, 19 Nov 2004 09:01:13 +0100
+
+octave-gpc (0.1.5-1) unstable; urgency=low
+
+  * New upstream release.  This version needs Octave 2.1.57 or later.
+  * debian/control: Upgraded Standards-Version to 3.6.1 (no changes
+    needed).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sat, 24 Jul 2004 16:54:49 +0200
+
+octave-gpc (0.1.4-1) unstable; urgency=low
+
+  * New upstream release.  Octave-GPC depends now on Octave version
+    2.1.52, at least
+  * debian/rules:
+    - Soften the dependency on Octave.  octave-gpc dependency is now bound
+      only to a minimal Octave version, which happens to be the version
+      present when the package is built (closes: #226137).
+    - Removed options --with-mkoctfile --with-libexec from call to
+      configure.
+    - Use DESTDIR when calling make install.
+  * debian/control:
+    - Bumped Standards-Version to 3.6.1 (no changes neeeded).
+    - Make versioned Build-Dependency on octave2.1-headers (>= 2.1.52).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Mon,  5 Jan 2004 22:19:08 +0100
+
+octave-gpc (0.1.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Fri,  4 Jul 2003 01:39:26 +0200
+
+octave-gpc (0.1.2-6) unstable; urgency=low
+
+  * Recompiled for the new Octave packages (2.1.50).
+  * debian/control:
+      - Bumped Standards-Version to 3.5.10.
+      - Added build-dependency on perl.
+      - Changed Architecture field to "any" instead of a list of
+        architectures.
+      - Make automatic detection of octave2.1 version in Depends field.
+  * debian/rules: Add appropriate value for variable ${octave:Depends} file
+    debian/substvars.
+  * gpc_clip.cc, octave-gpc.cc, octave-gpc.h: Prefixed some types with
+    "std::", such that the package gets compiled with g++ v3.
+  * octave_gpc.cc: Cope with change in operator [] of Octave_map, which now
+    returns a octave_value_list (not octave_value as before).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Thu, 3 Jul 2003 20:51:15 +0200
+
+octave-gpc (0.1.2-5) unstable; urgency=low
+
+  * Recompiled for the new Octave packages (2.1.36). Closes: #145762.
+    Changed dependencies in debian/control accordingly.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sun, 12 May 2002 22:14:55 +0200
+
+octave-gpc (0.1.2-4) unstable; urgency=low
+
+  * debian/control: Including hppa in the list of supported architectures.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Wed, 24 Apr 2002 22:29:16 +0200
+
+octave-gpc (0.1.2-3) unstable; urgency=low
+
+  * debian/control: Added Architecture list to avoid automatic build for
+    architectures hppa and ia64 (for which octave2.1 is broken, even if it
+    gets built; closes: #142643).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Wed, 24 Apr 2002 17:37:41 +0200
+
+octave-gpc (0.1.2-2) unstable; urgency=low
+
+  * debian/control: Fixed maintainer e-mail address.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Wed, 27 Feb 2002 12:43:32 +0100
+
+octave-gpc (0.1.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+  * debian/control: Recommends octave-forge.  Upgraded Standards-Version to
+    3.5.6.  Updated maintainer's e-mail address.  Make versioned dependence to
+    octave2.1 (this is necessary because the .oct are installed in
+    /usr/lib/octave/2.1.xx).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Thu, 13 Dec 2001 20:01:28 +0100
+
+octave-gpc (0.1.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Thu, 26 Jul 2001 16:34:01 +0200
+
+octave-gpc (0.1-2) unstable; urgency=low
+
+  * debian/copyright: Added url location of upstream source.
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Mon, 23 Jul 2001 13:25:49 +0200
+
+octave-gpc (0.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Rafael Laboissiere <rafael@icp.inpg.fr>  Fri,  4 Aug 2000 15:13:57 +0200
+
+

Added: trunk/packages/octave-gpc/debian/control
===================================================================
--- trunk/packages/octave-gpc/debian/control	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/control	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1,16 @@
+Source: octave-gpc
+Section: contrib/math
+Priority: optional
+Maintainer: Rafael Laboissiere <rafael@debian.org>
+Standards-Version: 3.6.1
+Build-Depends: debhelper, perl, libgpcl-dev, octave2.1-headers (>= 2.1.52)
+
+Package: octave-gpc
+Architecture: any
+Depends: ${octave:Depends}, ${shlibs:Depends}
+Recommends: octave-forge
+Description: Octave bindings for the General Polygon Clipper Library
+ GPC is a flexible and highly robust polygon set operations library for use
+ with C applications.  This package contains bindings for use of the library
+ functions with Octave.
+

Added: trunk/packages/octave-gpc/debian/copyright
===================================================================
--- trunk/packages/octave-gpc/debian/copyright	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/copyright	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1,31 @@
+This package was debianized by Rafael Laboissiere <rafael@debian.org> on
+Fri,  4 Aug 2000 15:13:57 +0200.
+
+It was downloaded from:
+
+    http://prdownloads.sourceforge.net/octave/octave-gpc-0.1.tar.gz
+    
+Upstream Author: Rafael Laboissiere <rafael@laboissiere.net>
+
+Copyright:
+
+    Copyright (C) 2001 Rafael Laboissiere
+
+    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., 59 Temple Place - Suite 330, Boston, MA
+    02111-1307, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+

Added: trunk/packages/octave-gpc/debian/docs
===================================================================
--- trunk/packages/octave-gpc/debian/docs	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/docs	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1 @@
+README

Added: trunk/packages/octave-gpc/debian/gpc_test.m
===================================================================
--- trunk/packages/octave-gpc/debian/gpc_test.m	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/gpc_test.m	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1,16 @@
+### Read subject and clip polygons
+s = gpc_read ("/usr/share/doc/libgpcl-dev/examples/subj1.gpf");
+c = gpc_read ("/usr/share/doc/libgpcl-dev/examples/clip1.gpf");
+
+### Compute clipping poligon (intersection)
+r = gpc_clip (s,c);
+
+### Plot the polygons
+gset nokey
+gset size square
+gset terminal x11
+hold off
+gpc_plot (s, "r");
+gpc_plot (c, "g");
+gpc_plot (r, "b");
+

Added: trunk/packages/octave-gpc/debian/rules
===================================================================
--- trunk/packages/octave-gpc/debian/rules	2005-02-12 21:50:36 UTC (rev 53)
+++ trunk/packages/octave-gpc/debian/rules	2005-02-12 21:58:08 UTC (rev 54)
@@ -0,0 +1,74 @@
+#!/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=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	./configure --with-octave=/usr/bin/octave2.1 \
+                    --prefix=/usr
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+	-$(MAKE) distclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	strip -R .note -R .comment gpc_create.oct
+	$(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+
+# 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_installdocs
+	dh_installexamples debian/gpc_test.m
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+
+	( octver=`octave-config --version`                             ; \
+	  octpkgver=`echo $$octver | sed 's/\.[0-9]*$$//'`             ; \
+	  pv=octave$$octpkgver                                         ; \
+	  echo "octave:Depends=$$pv (>= $$octver)" >> debian/substvars )
+
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: trunk/packages/octave-gpc/debian/rules
___________________________________________________________________
Name: svn:executable
   + *