debian/0000755000000000000000000000000012161611127007164 5ustar debian/dirs0000644000000000000000000000011312161611127010043 0ustar usr/share/common-lisp/source/cl-plplot/src/ usr/share/common-lisp/systems/ debian/rules0000755000000000000000000000273112161611127010247 0ustar #!/usr/bin/make -f # -*- makefile -*- clc-base=usr/share/common-lisp clc-src=$(clc-base)/source clc-systems=$(clc-base)/systems build-arch: build build-indep: build build: build-stamp build-stamp: dh_testdir # # build documentation cd doc && texi2pdf cl-plplot-manual.texinfo cd doc && makeinfo --html --no-split -o cl-plplot-manual.html cl-plplot-manual.texinfo # # test the interface @echo "[ Testing the cl-plplot interface... ]" echo '(load "debian/test.lisp")' | sbcl --noinform --disable-debugger @echo "[ Done ]" touch $@ clean: dh_testdir dh_testroot rm -f build-stamp $(RM) doc/*.aux $(RM) doc/*.cp $(RM) doc/*.cps $(RM) doc/*.fn $(RM) doc/*.html $(RM) doc/*.ky $(RM) doc/*.log $(RM) doc/*.pdf $(RM) doc/*.pg $(RM) doc/*.toc $(RM) doc/*.tp $(RM) doc/*.vr dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs dh_install src/system $(clc-src)/cl-plplot/src/ dh_install src/window $(clc-src)/cl-plplot/src/ dh_install cl-plplot.asd $(clc-src)/cl-plplot/ dh_link $(clc-src)/cl-plplot/cl-plplot.asd $(clc-systems)/cl-plplot.asd # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/prerm0000644000000000000000000000043112161611127010232 0ustar #!/bin/sh # prerm script for cl-plplot set -e case "$1" in remove|upgrade|deconfigure) unregister-common-lisp-source cl-plplot ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/docs0000644000000000000000000000007612161611127010042 0ustar README.txt doc/cl-plplot-manual.pdf doc/cl-plplot-manual.html debian/source/0000755000000000000000000000000012161611127010464 5ustar debian/source/format0000644000000000000000000000001412161611127011672 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000307612161611127011125 0ustar This package was downloaded from http://common-lisp.net/project/cl-plplot/ Files: * Copyright: © 2006-2007 Hazen P. Babcock License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: © 2007 Philipp Benner License: GPL-2+ The Debian packaging information is under the GPL, version 2 or later. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' and the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/control0000644000000000000000000000226712161611127010576 0ustar Source: cl-plplot Section: lisp Priority: optional Maintainer: Debian Common Lisp Team Uploaders: Philipp Benner Build-Depends: debhelper (>= 5), texlive-latex-base, texinfo, texi2html, sbcl, cl-cffi, libplplot-dev Standards-Version: 3.9.4 Vcs-Browser: http://git.debian.org/?p=pkg-common-lisp/cl-plplot.git Vcs-Git: http://git.debian.org/git/pkg-common-lisp/cl-plplot.git/ Homepage: http://common-lisp.net/project/cl-plplot/ Package: cl-plplot Architecture: all Depends: ${misc:Depends}, common-lisp-controller (>= 7.0), cl-cffi, libplplot-dev Description: CFFI based interface to the PLplot scientific plotting library Cl-plplot provides a CFFI based interface to the PLplot graphics library. The PLplot graphics library supports the drawing of many different types of 2D and 3D graphs using a large variety of output devices including X11, postscript and png. PLplot can also be used to make scaled drawing, or diagrams. . At present, cl-plplot consists of two packages, one is low-level interface to the PLplot library and the other is high-level plotting interface that attempts to make using PLplot with Lisp easier. debian/compat0000644000000000000000000000000212161611127010362 0ustar 5 debian/postinst0000644000000000000000000000045212161611127010773 0ustar #!/bin/sh # postinst script for cl-plplot set -e case "$1" in configure) register-common-lisp-source cl-plplot ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012161611127010613 5ustar debian/patches/series0000644000000000000000000000003412161611127012025 0ustar documentation-bugfixes.diff debian/patches/documentation-bugfixes.diff0000644000000000000000000000557612161611127016145 0ustar --- a/doc/cl-plplot-manual.texinfo +++ b/doc/cl-plplot-manual.texinfo @@ -46,6 +46,9 @@ @c======================================================================= +@node Top, Introduction, (dir), (dir) +@comment node-name, next, previous, up + @menu * Introduction:: * Installation:: @@ -57,7 +60,8 @@ @c======================================================================= -@node Introduction +@node Introduction, Installation, Top, Top +@comment node-name, next, previous, up @chapter Introduction Cl-plplot provides a CFFI based interface to the PLplot graphics library. The PLplot graphics library supports the drawing of many different @@ -74,7 +78,8 @@ @c======================================================================= -@node Installation +@node Installation, The Low Level Interface to PLplot, Introduction, Top +@comment node-name, next, previous, up @chapter Installation Cl-plplot depends on a working installation of the PLplot plotting library. This is available as a debian package, but it is also not too @@ -90,7 +95,8 @@ @c======================================================================= -@node The Low Level Interface to PLplot +@node The Low Level Interface to PLplot, The High Level Plotting Package, Installation, Top +@comment node-name, next, previous, up @chapter The Low Level Interface to PLplot @section Introduction @@ -200,7 +206,8 @@ @c======================================================================= -@node The High Level Plotting Package +@node The High Level Plotting Package, Index, The Low Level Interface to PLplot, Top +@comment node-name, next, previous, up @chapter The High Level Plotting Package @section Introduction The high level interface @code{:cl-plplot} tries to make PLplot @@ -578,7 +585,7 @@ set the spacing between minor ticks with :minor-tick-interval. @item set the properties with :properties. this should be a list containing zero of more of the following symbols: -@itemize @space +@itemize @item :draw - draw axis on both sides of the window. @item @@ -716,7 +723,7 @@ @item Change the surface-options with :surface-options to a list including zero or more of: -@itemize @space +@itemize @item :faceted @item @@ -937,7 +944,7 @@ @item contour-options should be one of nil, :magnitude-contour, :base-contour or :both. nil - no contours. -@itemize @space +@itemize @item :magnitude-contour - draw contour lines on the plot. @item @@ -1217,7 +1224,7 @@ @item surface-options is list containing zero or more of the following symbols: -@itemize @space +@itemize @item :faceted - a network of lines is drawing connecting the points that make up the surface. @@ -1550,7 +1557,8 @@ @c======================================================================= -@node Index +@node Index, , The High Level Plotting Package, Top +@comment node-name, next, previous, up @chapter Index @printindex cp debian/cl-plplot.doc-base0000644000000000000000000000063412161611127012474 0ustar Document: cl-plplot Title: CL-PLplot User Manual Author: Hazen P. Babcock Abstract: User manual for the CL-PLplot library which provides an interface for Common Lisp to the plplot library. Section: Science/Data Analysis Format: PDF Files: /usr/share/doc/cl-plplot/cl-plplot-manual.pdf.gz Format: HTML Index: /usr/share/doc/cl-plplot/cl-plplot-manual.html Files: /usr/share/doc/cl-plplot/cl-plplot-manual.html debian/changelog0000644000000000000000000000526212161611127011043 0ustar cl-plplot (0.6.0-4) unstable; urgency=low * Standards version 3.9.4. * Fixed documentation (Closes: #711756). -- Philipp Benner Sun, 23 Jun 2013 11:15:14 +0000 cl-plplot (0.6.0-3) unstable; urgency=low * Fixed override disparities. * Standards version 3.9.2. -- Philipp Benner Wed, 08 Jun 2011 08:47:16 +0000 cl-plplot (0.6.0-2) unstable; urgency=low * Fixed test.pl (Closes: #628321). * Omitting initial article in the description synopsis. -- Philipp Benner Tue, 07 Jun 2011 19:22:52 +0000 cl-plplot (0.6.0-1) unstable; urgency=low * New upstream release. * Removed DM-Upload-Allowed. * Standards version 3.9.1. -- Philipp Benner Sun, 06 Feb 2011 18:05:35 +0000 cl-plplot (0.5.0-5) unstable; urgency=low * Made package compatible with common-lisp-controller 7.0 (Closes: #569433). -- Philipp Benner Fri, 12 Feb 2010 21:48:25 +0000 cl-plplot (0.5.0-4) unstable; urgency=low * New maintainer e-mail address. * Standards version 3.8.3. * Using (clc:with-clc-active ...) to load cffi with the new common-lisp-controller (Closes: #518744). * Added README.Debian to show how to load this package with common-lisp-controller >= 6.21. -- Philipp Benner Fri, 01 Jan 2010 19:08:15 +0000 cl-plplot (0.5.0-3) unstable; urgency=low * Fixed command-with-path-in-maintainer-script in prerm and postinst. * Standards version 3.8.0. -- Philipp Benner Sun, 25 Jan 2009 11:50:35 +0000 cl-plplot (0.5.0-2) unstable; urgency=low * Changed the doc-base section according to the new policy. -- Philipp Benner Mon, 31 Mar 2008 10:30:33 +0200 cl-plplot (0.5.0-1) unstable; urgency=low * New Upstream Version. -- Philipp Benner Sat, 08 Mar 2008 10:11:41 +0100 cl-plplot (0.4.0-3) unstable; urgency=low * Now using makeinfo to generate html documentation. * debian/control: Section optional. -- Philipp Benner Wed, 16 Jan 2008 18:56:59 +0100 cl-plplot (0.4.0-2) unstable; urgency=low * New maintainer e-mail address. * New GIT repository. * Changed maintainer to Debian Common Lisp Team. * debian/copyright: UTF-8 encoding. * debian/control: Standards version 3.7.3. * debian/control: Added DM-Upload-Allowed: yes. * debian/rules: Removed bashism (Closes: #459057). -- Philipp Benner Mon, 14 Jan 2008 19:04:13 +0100 cl-plplot (0.4.0-1) unstable; urgency=low * Initial release (Closes: #451975). -- Philipp Benner Mon, 26 Nov 2007 11:56:33 +0100 debian/test.lisp0000644000000000000000000000337112161611127011040 0ustar ;; tests for checking whether the cl-plplot interface works ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'asdf) (pushnew "./" asdf:*central-registry* :test #'equal) (asdf:operate 'asdf:load-source-op :cl-plplot) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defpackage :cl-plplot-test (:use :common-lisp :cl-plplot :cl-plplot-system) (:export :plot-sys :plot-win)) (in-package :cl-plplot-test) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defparameter gdev "null") (defun my-make-array (dims) (make-array dims :initial-element 0.0 :element-type 'float)) (defun my-make-vector (dim init-fn) (let ((vec (make-array dim :initial-element 0.0 :element-type 'float))) (dotimes (i dim) (setf (aref vec i) (funcall init-fn i))) vec)) (defun plot-sys () (plsdev gdev) (plinit) (plcol0 1) (plwid 2) (plenv 0 6 0 36 0 0) (plcol0 2) (pllab "(x)" "(y)" "y = x#u2") (let ((xs (my-make-array 6)) (ys (my-make-array 6)) (x (my-make-array 60)) (y (my-make-array 60))) (dotimes (i 6) (setf (aref xs i) i) (setf (aref ys i) (* i i))) (plcol0 4) (plpoin xs ys 9) (dotimes (i 60) (let ((tmp (* 0.1 i))) (setf (aref x i) tmp) (setf (aref y i) (* tmp tmp)))) (plcol0 3) (plline x y)) (plend)) (defun plot-win () (let* ((x (my-make-vector 40 #'(lambda(x) (* 0.1 x)))) (y (my-make-vector 40 #'(lambda(x) (* (* 0.1 x) (* 0.1 x))))) (p (new-x-y-plot x y)) (w (basic-window))) (add-plot-to-window w p) (render w gdev))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (plot-sys) (plot-win) debian/examples0000644000000000000000000000001712161611127010723 0ustar src/examples/* debian/watch0000644000000000000000000000011512161611127010212 0ustar version=3 http://common-lisp.net/project/cl-plplot/ cl-plplot-(.*)\.tar\.gz