debian/0000755000000000000000000000000012144455141007167 5ustar debian/pyxplot.docs0000644000000000000000000000001011261663042011547 0ustar AUTHORS debian/mkicons0000644000000000000000000000175112007603527010562 0ustar #!/bin/sh # Make icons for pyxplot # # Copyright (c) 2009 Stuart Prescott # Released under the same terms as pyxplot itself. PREFIX=$1 ICON=text-x-pyxplot-script NAME=pyxplot mkicon() { local SIZE SOURCE SIZE=$1 SOURCE=$2 install -d $PREFIX/usr/share/icons/hicolor/$SIZE/mimetypes convert -background none -geometry $SIZE\! debian/$SOURCE \ $PREFIX/usr/share/icons/hicolor/$SIZE/mimetypes/$ICON.png } for SIZE in 16x16 22x22 do mkicon $SIZE icon16.svg done for SIZE in 32x32 48x48 64x64 128x128 256x256 do mkicon $SIZE icon32.svg done install -d $PREFIX/usr/share/icons/hicolor/scalable/mimetypes gzip -c debian/icon32.svg > $PREFIX/usr/share/icons/hicolor/scalable/mimetypes/$ICON.svgz install -d $PREFIX/usr/share/pixmaps convert -background none -geometry 32x32\! debian/icon32.svg \ $PREFIX/usr/share/pixmaps/$NAME.xpm convert -background none -geometry 16x16\! debian/icon16.svg \ $PREFIX/usr/share/pixmaps/${NAME}16.xpm debian/watch0000644000000000000000000000010011405507645010215 0ustar version=3 http://www.pyxplot.org.uk/src/ pyxplot_(\S+).tar.gz debian/icon16.svg0000644000000000000000000001421711264743263011023 0ustar image/svg+xml debian/icon32.svg0000644000000000000000000001655412007603252011014 0ustar image/svg+xml P Y X debian/source/0000755000000000000000000000000012144455141010467 5ustar debian/source/format0000644000000000000000000000001411373114424011674 0ustar 3.0 (quilt) debian/pyxplot.desktop0000644000000000000000000000035211267203531012300 0ustar [Desktop Entry] Name=PyXPlot Comment=Data plotting and visualisation GenericName=Scientific data plotting Exec=pyxplot Icon=/usr/share/pixmaps/pyxplot.xpm Terminal=true Type=Application Categories=Education;Science;DataVisualization; debian/patches/0000755000000000000000000000000012144455141010616 5ustar debian/patches/series0000644000000000000000000000004712144453161012034 0ustar add-test-target.patch test_speed.patch debian/patches/add-test-target.patch0000644000000000000000000000052312144453340014627 0ustar Description: Add a "test" target to upstream Makefile Push the test target into the upstream Makefile so debhelper can automatically find it. Author: Stuart Prescott , Joey Hess --- a/Makefile.skel +++ b/Makefile.skel @@ -260,3 +260,5 @@ afresh: clean all +test: + $(MAKE) -C doc test-examples debian/patches/test_speed.patch0000644000000000000000000001425712063732607014014 0ustar Description: Skip slow tests and make output unbuffered Author: Dominic Ford Origin: Upstream --- a/doc/Makefile +++ b/doc/Makefile @@ -5,7 +5,7 @@ # # Copyright (C) 2006-2012 Dominic Ford # -# $Id: Makefile 1289 2012-08-11 16:06:49Z dcf21 $ +# $Id: Makefile 1316 2012-12-16 17:50:57Z dcf21 $ # # Pyxplot 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 @@ -76,36 +76,10 @@ makeindex pyxplot-plain.idx latex pyxplot-plain.tex -EPSTESTFILES = $(EX_EPSDIR)/ex_3d_helix.eps $(EX_EPSDIR)/ex_apachelog.eps $(EX_EPSDIR)/ex_axisatzero2.eps \ -$(EX_EPSDIR)/ex_axisatzero3.eps $(EX_EPSDIR)/ex_axisatzero.eps $(EX_EPSDIR)/ex_axislabs.eps \ -$(EX_EPSDIR)/ex_axistics2.eps $(EX_EPSDIR)/ex_axistics.eps $(EX_EPSDIR)/ex_axisunits.eps \ -$(EX_EPSDIR)/ex_barchart1.eps $(EX_EPSDIR)/ex_barchart2.eps $(EX_EPSDIR)/ex_branch_cuts.eps \ -$(EX_EPSDIR)/ex_cmbrtemp.eps $(EX_EPSDIR)/ex_colgradient.eps $(EX_EPSDIR)/ex_col_vs_mono.eps \ -$(EX_EPSDIR)/ex_contourmap.eps $(EX_EPSDIR)/ex_cover.eps $(EX_EPSDIR)/ex_datagrid.eps \ -$(EX_EPSDIR)/ex_ellipse.eps $(EX_EPSDIR)/ex_eqnsolve.eps $(EX_EPSDIR)/ex_euclid_I_47.eps \ -$(EX_EPSDIR)/ex_fft2.eps $(EX_EPSDIR)/ex_fft.eps $(EX_EPSDIR)/ex_fitting.eps \ -$(EX_EPSDIR)/ex_funcsplice2.eps $(EX_EPSDIR)/ex_funcsplice.eps $(EX_EPSDIR)/ex_gallery.eps \ -$(EX_EPSDIR)/ex_hlines.eps $(EX_EPSDIR)/ex_hrdiagram.eps $(EX_EPSDIR)/ex_integration.eps \ -$(EX_EPSDIR)/ex_interpolation.eps $(EX_EPSDIR)/ex_intro_bessel.eps $(EX_EPSDIR)/ex_intro_func.eps \ -$(EX_EPSDIR)/ex_intro_func_splice.eps $(EX_EPSDIR)/ex_intro_legendre.eps $(EX_EPSDIR)/ex_intro_sine.eps \ -$(EX_EPSDIR)/ex_lenses.eps $(EX_EPSDIR)/ex_linestyles2.eps $(EX_EPSDIR)/ex_linestyles3.eps \ -$(EX_EPSDIR)/ex_linestyles.eps $(EX_EPSDIR)/ex_lowerlimit.eps $(EX_EPSDIR)/ex_mandelbrot.eps \ -$(EX_EPSDIR)/ex_map.eps $(EX_EPSDIR)/ex_multiaxes.eps $(EX_EPSDIR)/ex_nanotubes.eps \ -$(EX_EPSDIR)/ex_newton.eps $(EX_EPSDIR)/ex_noentry.eps $(EX_EPSDIR)/ex_notice.eps \ -$(EX_EPSDIR)/ex_palettelist.eps $(EX_EPSDIR)/ex_pendulum2.eps $(EX_EPSDIR)/ex_pendulum.eps \ -$(EX_EPSDIR)/ex_piechart2.eps $(EX_EPSDIR)/ex_piechart.eps $(EX_EPSDIR)/ex_pi_estimation.eps \ -$(EX_EPSDIR)/ex_plotstyletab.eps $(EX_EPSDIR)/ex_polygon1.eps $(EX_EPSDIR)/ex_polygon2.eps \ -$(EX_EPSDIR)/ex_quadrupole.eps $(EX_EPSDIR)/ex_set_terminal.eps $(EX_EPSDIR)/ex_spectrum_1.eps \ -$(EX_EPSDIR)/ex_spectrum_bbcol.eps $(EX_EPSDIR)/ex_spectrum_biref.eps $(EX_EPSDIR)/ex_spectrum_colmix1.eps \ -$(EX_EPSDIR)/ex_spectrum_colmix2.eps $(EX_EPSDIR)/ex_spirograph.eps $(EX_EPSDIR)/ex_surface_log.eps \ -$(EX_EPSDIR)/ex_surface_polynomial.eps $(EX_EPSDIR)/ex_surface_sinc.eps $(EX_EPSDIR)/ex_tempscale.eps \ -$(EX_EPSDIR)/ex_text1.eps $(EX_EPSDIR)/ex_text2.eps $(EX_EPSDIR)/ex_torus.eps \ -$(EX_EPSDIR)/ex_trajectories.eps $(EX_EPSDIR)/ex_trefoil.eps $(EX_EPSDIR)/ex_triangle.eps \ -$(EX_EPSDIR)/ex_upperlimit.eps $(EX_EPSDIR)/ex_vortex.eps $(EX_EPSDIR)/ex_windowfuncs.eps \ -$(EX_EPSDIR)/ex_zeta_arg.eps - -test-examples: $(EX_EPSDIR)/timestamp - for e in $(EPSTESTFILES); do \ +test-examples: + python -u makeFigureEps.py $(PYXPLOT) test + for item in `cat examples.testlist`; do \ + export e=$(EX_EPSDIR)/$${item}.eps; \ ls -l $$e; \ if [ ! -s "$$e" ]; then \ echo "$$e has zero length; tests failed"; exit 2; \ --- a/doc/makeFigureEps.py +++ b/doc/makeFigureEps.py @@ -5,7 +5,7 @@ # # Copyright (C) 2006-2012 Dominic Ford # -# $Id: makeFigureEps.py 1281 2012-07-29 18:33:42Z dcf21 $ +# $Id: makeFigureEps.py 1316 2012-12-16 17:50:57Z dcf21 $ # # PyXPlot 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 @@ -25,23 +25,30 @@ if len(sys.argv)>=2: pyxplot = sys.argv[1] else : pyxplot = "../bin/pyxplot" +if (len(sys.argv)>=3) and (sys.argv[2]=="test"): testing = True +else : testing = False + os.system("rm -Rf examples/eps") os.system("mkdir examples/eps") -files = glob.glob("examples/ex_*.ppl") +if testing: files = ["examples/%s.ppl"%i.strip() for i in open("examples.testlist")] +else : files = glob.glob("examples/ex_*.ppl") + files.sort() + for fname in files: print "Working on example <%s>..."%os.path.split(fname)[1] status = os.system("%s %s"%(pyxplot,fname)) if (status): raise RuntimeError("pyxplot failed") # Make pdf and png versions of all figures -files = glob.glob("examples/eps/*.eps") -files.sort() -for eps in files: - print "Converting example <%s> to pdf..."%os.path.split(eps)[1] - pdf = re.sub(r"\.eps",".pdf",eps) - #png = re.sub(r"\.eps",".png",eps) - os.system("gs -dQUIET -dSAFER -P- -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=%s %s"%(pdf,eps)) - #os.system("gs -dQUIET -dSAFER -P- -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=png16m -r72 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile=%s %s"%(png,eps)) +if not testing: + files = glob.glob("examples/eps/*.eps") + files.sort() + for eps in files: + print "Converting example <%s> to pdf..."%os.path.split(eps)[1] + pdf = re.sub(r"\.eps",".pdf",eps) + #png = re.sub(r"\.eps",".png",eps) + os.system("gs -dQUIET -dSAFER -P- -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=%s %s"%(pdf,eps)) + #os.system("gs -dQUIET -dSAFER -P- -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=png16m -r72 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile=%s %s"%(png,eps)) --- /dev/null +++ b/doc/examples.testlist @@ -0,0 +1,48 @@ +ex_3d_helix +ex_axisatzero +ex_axislabs +ex_axistics2 +ex_axistics +ex_axisunits +ex_barchart1 +ex_barchart2 +ex_col_vs_mono +ex_contourmap +ex_cover +ex_datagrid +ex_ellipse +ex_eqnsolve +ex_euclid_I_47 +ex_fft +ex_fitting +ex_funcsplice2 +ex_funcsplice +ex_gallery +ex_hlines +ex_integration +ex_interpolation +ex_intro_bessel +ex_intro_func +ex_intro_func_splice +ex_intro_legendre +ex_lenses +ex_linestyles +ex_multiaxes +ex_noentry +ex_notice +ex_palettelist +ex_piechart +ex_polygon1 +ex_set_terminal +ex_spectrum_1 +ex_spirograph +ex_surface_log +ex_surface_polynomial +ex_tempscale +ex_text1 +ex_text2 +ex_torus +ex_trajectories +ex_triangle +ex_vortex +ex_windowfuncs debian/compat0000644000000000000000000000000212007602073010361 0ustar 9 debian/pyxplot.mime0000644000000000000000000000026311267201435011560 0ustar text/x-pyxplot-plot; pyxplot %s; description="PyXPlot plot"; nametemplate=%s.ppl; test=test -z "$DISPLAY" ; edit=sensible-editor %s ; compose=sensible-editor '%s' ; needsterminal debian/pyxplot-doc.doc-base0000644000000000000000000000046511261656564013070 0ustar Document: pyxplot Title: PyXPlot Users' Guide Author: Dominic Ford Abstract: User guide for the PyXPlot plotting program Section: Science/Data Analysis Format: html Index: /usr/share/doc/pyxplot/html/index.html Files: /usr/share/doc/pyxplot/html/*.html Format: pdf Files: /usr/share/doc/pyxplot/pyxplot.pdf debian/icon.ppl0000644000000000000000000000276411264744013010646 0ustar # EX_COVER.PPL # # The code in this file is part of PyXPlot # # # Copyright (C) 2006-8 Dominic Ford # 2008 Ross Church # # $Id: ex_cover.ppl 192 2008-04-19 13:53:32Z dcf21 $ # # PyXPlot 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. # # You should have received a copy of the GNU General Public License along with # PyXPlot; if not, write to the Free Software Foundation, Inc., 51 Franklin # Street, Fifth Floor, Boston, MA 02110-1301, USA # ---------------------------------------------------------------------------- # This script produces a figure for the PyXPlot Users' Guide # Call common initialisation script reset set term eps colour set size square set width 2.54 set dpi 32 # Set output destination set output "icon.eps" # Main body of figure script set multiplot set nodisplay set xlabel 'invisible' set ylabel 'invisible' set x2label 'invisible' set y2label 'invisible' set nokey logo_x = 0.0 logo_y = 0.0 set textcolour Black set label 1 '\Huge \bf {P\kern-.3em\lower.5ex\hbox{Y}\kern-.18em X}' at -9.5 , 0.5 with colour blue set origin logo_x, logo_y p [-9.5:4.8][-0.75:0.60] - x*exp(-x**2) + \ (1/(exp((x-1)*3)+1) - 0.5)/4 - 0.2 with l lw 8 colour maroon # Now that we are finished preparing multiplot, # turn display on set display refresh debian/pyxplot-plastex.tex0000644000000000000000000000665711400045050013110 0ustar % PYXPLOT.TEX % % The documentation in this file is part of PyXPlot % % % Copyright (C) 2006-2010 Dominic Ford % 2009-2010 Ross Church % % $Id: pyxplot.tex 21 2007-02-26 15:14:43Z rpc25 $ % % PyXPlot 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. % % You should have received a copy of the GNU General Public License along with % PyXPlot; if not, write to the Free Software Foundation, Inc., 51 Franklin % Street, Fifth Floor, Boston, MA 02110-1301, USA % ---------------------------------------------------------------------------- % LaTeX source for the PyXPlot Users' Guide \documentclass[a4paper,onecolumn,11pt]{book} \usepackage[dvips]{graphicx} %\usepackage{amssymb,amsmath,url,lscape,longtable,fancyvrb,makeidx,wasysym} \usepackage{afterpage,amssymb,amsmath,bbding,color,longtable,multirow,nicefrac,fancyvrb,makeidx,upgreek,wasysym} \makeindex \def\version{0.8.0} \def\reldate{May 2010} \include{definitions} %\newcommand\columncolor[1]{} \newcommand{\url}[1]{#1} % Make box and example float environments %\definecolor{LightGrey}{gray}{0.9} %\usepackage[bf]{caption} %\usepackage{float} %\floatstyle{plain} % Make box float environment %\newfloat{boxout2}{thp}{lob} %\floatname{boxout2}{Box} \newcommand{\boxout}[3]{ %\begin{boxout2} \begin{tabular}{|>{\columncolor{LightGrey}}l|} %\begin{tabular}{|l|} \hline \begin{minipage}{\textwidth} \vspace{2.5mm} #3 \vspace{2.5mm} \end{minipage} \\ \hline \end{tabular} %\caption{#1} \label{#2} %\end{boxout2} } % Make example float environment %\newfloat{exampletag}{thp}{loe} %\floatname{exampletag}{Example} \newcommand{\example}[3]{ %\afterpage{ % %\begin{exampletag}[H] %\caption[#2] {\upshape\mdseries\rm #2.}\label{#1}\end %{exampletag} %\vspace{-5mm} \begin{longtable}{|>{\columncolor{LightGrey}}p{\textwidth}|} \hline \endfoot \hline \endhead #3 \end{longtable}%\newpage %} } \newcommand{\nlnp} {\\\hspace{8mm}} \newcommand{\nlscf}{\vspace{3mm}\\\noindent} \newcommand{\nlfcf}{\vspace{3mm}\\\hspace{8mm}} \begin{document} \begin{titlepage} \normalsize \vspace*{0.5cm} \begin{center} {\Huge \bf PyXPlot Users' Guide}\\ \end{center} \vspace*{0.5cm} \begin{center} {\LARGE \bf A Command-line Data Processing, \\ \vspace{2mm} Graph Plotting and \\ \vspace{2mm} Vector Graphics Suite. \\} \end{center} \vspace*{0.5cm} \begin{center} {\Large Version \version \\} \end{center} \vspace*{0.0cm} \begin{center} \includegraphics[width=10cm]{examples/eps/ex_cover} \end{center} \vspace*{0.0cm} \begin{center} {\Large Dominic Ford, Ross Church \\ \vspace{2mm} Email: \noindent {\tt coders@pyxplot.org.uk} \\ } \end{center} \vspace*{0.5cm} \begin{center} {\Large \reldate \\} \end{center} \end{titlepage} \part{Introduction to PyXPlot} \include{introduction} \include{installation} \include{first_steps} \include{calculations} \include{data} \include{programming} \part{Plotting and Vector Graphics} \include{plotting} \include{terminals} \include{vector_graphics} \part{Reference Manual} \include{reference} \include{functions} \include{constants} \include{units} \include{papersizes} \include{colours} \include{linestyles} \include{configuration} \part{Appendices} \appendix \include{other_apps} \include{gnuplot_diffs} \include{fit_maths} \include{changelog} \printindex \end{document} debian/pyxplot-doc.docs0000644000000000000000000000004111400314564012313 0ustar doc-plastex/html doc/pyxplot.pdf debian/clean0000644000000000000000000000020512010557335010171 0ustar doc/pyxplot.lof doc/pyxplot.paux doc/tick.png doc/cross.png doc/html doc/examples/tex Makefile pyxplot.1 pyxplot_watch.1 build-stamp debian/x-pyxplot-script.desktop0000644000000000000000000000020711267203524014050 0ustar [Desktop Entry] Comment=PyXPlot plot Icon=/usr/share/pixmaps/pyxplot.xpm Type=MimeType MimeType=text/x-pyxplot-script; Patterns=*.ppl; debian/pyxplot.menu0000644000000000000000000000047411270623527011605 0ustar ?package(pyxplot): \ needs="text" \ section="Applications/Science/Data Analysis" \ title="PyXPlot" \ longtitle="Scientific data plotting" \ command="/usr/bin/pyxplot" \ icon="/usr/share/pixmaps/pyxplot.xpm" \ icon32x32="/usr/share/pixmaps/pyxplot.xpm" \ icon16x16="/usr/share/pixmaps/pyxplot16.xpm" debian/README.Debian0000644000000000000000000000221611405526704011234 0ustar PyXPlot for Debian ------------------ PyXPlot's documentation can be found in the pyxplot-doc package and is located in the /usr/share/doc/pyxplot in HTML and PDF formats. The PyXPlot home page also contains an index of example PyXPlot graphs and charts at . Enabling Optional Features -------------------------- A number of features in pyxplot require additional libraries to be installed. These packages are "recommended" by the pyxplot package and so should be automatically installed. * Postscript display The "display" output defaults to using /usr/bin/gv if it is installed. Other programs can be used to display postscript files including okular and evince. See the "set viewer" command in the documentation for how to customise this feature. * Raster output (PNG, TIFF, JPEG) The output format of the plot can be changed to a number of different formats, for example: set terminal png set output "test.png" refresh Conversion from the native EPS output to PNG, TIFF or JPEG format requires the "convert" command which can be found in either the imagemagick or graphicsmagick-imagemagick-compat packages. debian/pyxplot.sharedmimeinfo0000644000000000000000000000040711265406402013622 0ustar PyXPlot plot debian/changelog0000644000000000000000000002343312144455065011053 0ustar pyxplot (0.9.2-4) unstable; urgency=low * Bump standards version to 3.9.4 (no changes required). * Move test target into Makefile to simplify debian/rules. * Package ready for upload to unstable. -- Stuart Prescott Wed, 15 May 2013 01:26:07 +1000 pyxplot (0.9.2-3) experimental; urgency=low * Make test output unbuffered and don't run really slow tests to prevent buildd timeout. -- Stuart Prescott Tue, 18 Dec 2012 00:15:48 +0000 pyxplot (0.9.2-2) experimental; urgency=low * Move texlive-fonts-recommended to Build-Depends since it is now needed by the test suite. -- Stuart Prescott Sat, 15 Dec 2012 17:54:06 +0000 pyxplot (0.9.2-1) experimental; urgency=low * New upstream release * Drop patches build-hardening.patch, doc-build-redirection.patch separate-build-docs.patch, test-some-examples.patch applied upstream. * Drop cherry-picked upstream-svn-20120808.patch -- Stuart Prescott Sat, 15 Dec 2012 16:04:14 +0000 pyxplot (0.9.0-2) experimental; urgency=low * Fix doc/Makefile for testing using examples. -- Stuart Prescott Thu, 09 Aug 2012 00:41:16 +0100 pyxplot (0.9.0-1) experimental; urgency=low * New upstream release * Build-Depend on libpng-dev rather than libpng12-dev for libpng transition (Closes: #662480). * Update format URL in debian/copyright. * Bump standards version to 3.9.3 (no changes required). * Use debhelper 9 and enable hardening flags. -- Stuart Prescott Tue, 07 Aug 2012 23:14:08 +0100 pyxplot (0.8.4-5) unstable; urgency=low * Don't unconditionally build documentation but use some of the examples to test the package; thanks to Mehdi Dogguy and Jakub Wilk. (Closes: #655868) -- Stuart Prescott Thu, 26 Jan 2012 23:45:15 +0000 pyxplot (0.8.4-4) unstable; urgency=low * Add build dependency on libncurses-dev for recent readline changes. -- Stuart Prescott Wed, 19 Oct 2011 23:57:48 +0100 pyxplot (0.8.4-3) unstable; urgency=low * Set $HOME to a writable location to allow latex to find fonts. -- Stuart Prescott Wed, 18 May 2011 01:12:45 +0100 pyxplot (0.8.4-2) unstable; urgency=low * Don't divert latex and pyxplot output during build process. * Stop scanning documentation for symlinks since plastex no longer generates broken symlinks in the documentation tree. -- Stuart Prescott Sun, 15 May 2011 17:44:52 +0100 pyxplot (0.8.4-1) unstable; urgency=low * New upstream release * Update debian/copyright DEP-5 format. * Bump standards version to 3.9.2 (no changes required). -- Stuart Prescott Sat, 07 May 2011 12:54:49 +0100 pyxplot (0.8.3-1) unstable; urgency=low * New upstream (bugfix) release * Add additional copyright holders to debian/copyright * Set DM-Upload-Allowed: yes -- Stuart Prescott Sun, 03 Oct 2010 13:04:39 +0100 pyxplot (0.8.2-1) unstable; urgency=low * New upstream release. - pyxplot now works on big-endian architectures too (Closes: #591538). * Drop gv-not-found.patch (incorporated upstream). * Bump standards version to 3.9.1 (no changes required). -- Stuart Prescott Sat, 07 Aug 2010 18:33:29 +0100 pyxplot (0.8.1-2) unstable; urgency=low * Fix configure script to correctly handle the case where ghostview is not installed at configure time. * Force use of ghostview even though not installed at configure time (Closes: #589696). * Use Breaks rather than Conflicts as per §7.6 of policy version 3.9.0. * Bump standards version to 3.9.0. -- Stuart Prescott Tue, 20 Jul 2010 12:44:04 +0100 pyxplot (0.8.1-1) unstable; urgency=low * New upstream release (rewrite in C). * Rewrite in C removes python string exceptions problems (Closes: #585345). * Update packaging to new release. * Split off pyxplot-doc package containing the HTML and PDF documentation; Conflict+Replace older versions of the package. * Drop gv-wrapper now that upstream has built this functionality into pyxplot. * Drop patches for PyX since it is no longer used by pyxplot. * Drop makefile-destdir.patch (incorporated upstream). * Drop makefile-usrshareman.patch (incorporated upstream). * Drop plastex-icons.patch (incorporated upstream). * Depend on texlive-latex-extra as upgreek.sty is unconditionally included in the latex template. * Update watch file now that repackaging the upstream source is not needed. * Drop repackaging scripts. * Switch to dpkg-source 3.0 (quilt) format. -- Stuart Prescott Mon, 14 Jun 2010 23:30:14 +0100 pyxplot (0.7.1+1-2) unstable; urgency=low * Change build-dep to use libmagickcore-extra as part of the imagemagick transition (Closes: #573972, #574308). * Bump standards version to 3.8.4 (no changes required). -- Stuart Prescott Wed, 17 Mar 2010 18:55:42 +0000 pyxplot (0.7.1+1-1) unstable; urgency=low * New upstream release * Use Debian package for PyX not the pyxplot-modified version. * Drop manpage_syntax.patch as it is applied upstream. * Add build-depends on libmagickcore2-extra since imagemagick has reorganised the plugin packages (closes: #560651). -- Stuart Prescott Sat, 12 Dec 2009 00:48:45 +0000 pyxplot (0.7.0+1-1) unstable; urgency=low * New maintainer. Thanks to Sam Morris for his previous work. * New upstream release (closes: #547962). * Replace obsolete dependencies on gs-* packages (closes: #534900). * Depend on texlive-latex-base to ensure that latex is installed (closes: #497918). * Move gv to recommends and use a wrapper to find other postscript viewers and allow user configuration of this (closes: #492804). * Move python-scipy to a Recommends as it is possible to use pyxplot without this package installed (closes: #478834). * Document recommended packages and the functionality they provide in README.Debian. * Add menu entry, icons and mime-type assosciation for pyxplot files. * Change build system to dh7+quilt. * Bump standards version to 3.8.3 (no changes required). -- Stuart Prescott Tue, 13 Oct 2009 15:11:08 +0100 pyxplot (0.6.3.1+ds-3) unstable; urgency=low * Add Homepage to control fields. * Add a copyright notice for Debian packaging to debian/copyright. -- Sam Morris Sun, 04 Nov 2007 10:10:05 +0000 pyxplot (0.6.3.1+ds-2) UNRELEASED; urgency=low * Fix copyright file; it now mentions how we turn upstream's source archive into the one used for this package. * Make the new-upstream script easier to call manually, as opposed to automatically from uscan(1): if the --upstream_version argument is not specified on the command line, don't run uupdate(1) after repacking the upstream tarball. -- Sam Morris Sat, 15 Sep 2007 18:24:00 +0100 pyxplot (0.6.3.1+ds-1) UNRELEASED; urgency=low * Repack upstream tarball to remove contained PyX tarball and HTML documentation. + 200_build-docs-verbose.patch: don't try to unpack PyX's tarball and install it along with PyXPlot. + No longer any need to build-depend on imagemagick. + No longer any need to specify DEB_TARBALL in rules file. * Introduce debian/new-upstream which does this for us automatically for a new usptream release; call this script from the watch file. -- Sam Morris Sat, 15 Sep 2007 00:24:45 +0100 pyxplot (0.6.3.1-2) UNRELEASED; urgency=low * Rename debian/README to debian/README.Debian. * Tighten strictness of dependency on python-pyx (as advised by upstream) since PyX's API changes break PyXPlot with every new release. * Build the documentation in HTML format; also build-depend on python-plastex. * Now that the HTML documentation is built, there is no longer any need to prevent its removal during clean; therefore express the remaining changes to doc/Makefile in the form of 200_build-docs-verbose.patch. * Add a debian/watch file. -- Sam Morris Sun, 19 Aug 2007 03:26:26 +0100 pyxplot (0.6.3.1-1) UNRELEASED; urgency=low * Not a new upstream release... I just didn't notice that the previous version was really 0.6.3.1. * No longer use tarball-in-a-tarball build system. * Set DEB_TARBALL to empty value in rules file so that cdbs does not create PyX-0.9.tar.gz.cdbs-config_list. * Drop build-dependency on obsolete tetex-bin. * Patch doc/Makefile directly in the Debian source patch to prevent HTML documentation from being removed on clean. Also prevent LaTeX's output from being sent to /dev/null. * Install shipped documentation in HTML format, and register it with doc-base. * Register PDF documentation with doc-base. * Build-depend on textlive-latex-recommended and textlive-fonts-recommended so that the documentation will build. * Build-depend on python-pyx (since it's used directly by pyxplot). Currently I think at build-time the pyx module shipped inside the pyxplot sources is used... if I later remove this then I'll need Debian's package of pyx to be installed. -- Sam Morris Wed, 16 May 2007 23:25:02 +0100 pyxplot (0.6.3-2) UNRELEASED; urgency=low * Invoke gv(1) correctly (the - character in '-watch' was ommitted). * No need to remove build-stamp in clean, it was cruft from an earlier version of the package. -- Sam Morris Wed, 16 May 2007 21:12:48 +0100 pyxplot (0.6.3-1) UNRELEASED; urgency=low * Initial release (closes: #405300). -- Sam Morris Tue, 3 Apr 2007 17:26:26 +0100 debian/pyxplot-doc.examples0000644000000000000000000000001611400320467013202 0ustar doc/examples/*debian/copyright0000644000000000000000000000160312010317202011105 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Pyxplot Upstream-Contact: Dominic Ford Source: http://www.pyxplot.org.uk/ Files: * Copyright: © 2006-2012, Dominic Ford © 2008-2012, Ross Church © 2010-2011, Zoltan Voros License: GPL-2+ Files: src/EPSMaker/bmp_* Copyright: © 2009-2010, Michael Rutter License: GPL-2+ Files: src/MathTools/airy_functions.c src/MathsTools/zeta_riemann.c Copyright: © 2009-2010, Michael Rutter License: GPL-2+ Files: debian/* Copyright: © 2007-2008, Sam Morris © 2009-2012, Stuart Prescott License: GPL-2+ License: GPL-2+ On Debian systems, the complete text of the GNU General Public License, can be found in /usr/share/common-licenses/GPL-2. debian/pyxplot.install0000644000000000000000000000006511400311451012264 0ustar usr/bin usr/lib usr/share/pyxplot usr/share/man/man1 debian/control0000644000000000000000000000511512144452731010576 0ustar Source: pyxplot Maintainer: Stuart Prescott Priority: optional Section: math Build-Depends: debhelper (>= 9), fftw3-dev, libcfitsio3-dev, libgsl0-dev, libkpathsea-dev, libpng-dev, libreadline-dev, libncurses-dev, libxml2-dev, zlib1g-dev, python, wget, ghostscript, texlive-latex-base, texlive-latex-extra, texlive-fonts-recommended, imagemagick, libmagickcore-extra Build-Depends-Indep: texlive-latex-recommended, texlive-fonts-extra, texlive-pstricks, python-plastex, Standards-Version: 3.9.4 Homepage: http://www.pyxplot.org.uk/ Package: pyxplot Architecture: any Depends: texlive-latex-base, texlive-latex-extra, ${misc:Depends}, ${shlibs:Depends} Recommends: gv | postscript-viewer, imagemagick, pyxplot-doc Suggests: wget, unzip Description: data plotting program producing publication-quality output Pyxplot is a multi-purpose graph plotting tool, scientific scripting language, vector graphics suite, and data processing package. Its interface is designed to make common tasks -- e.g., plotting labelled graphs of data -- accessible via short, simple, intuitive commands. . Pyxplot produces publication-quality figures.To this end, text is rendered with all of the beauty and flexibility of the LaTeX typesetting environment. . Extensive documentation and examples can be found in the pyxplot-doc package. A gallery of sample plots is available from the project's web site. Package: pyxplot-doc Architecture: all Section: doc Depends: pyxplot, ${misc:Depends} Recommends: pdf-viewer, www-browser Breaks: pyxplot (<< 0.8) Replaces: pyxplot (<< 0.8) Description: documentation for pyxplot data plotting program Pyxplot is a multi-purpose graph plotting tool, scientific scripting language, vector graphics suite, and data processing package. Its interface is designed to make common tasks -- e.g., plotting labelled graphs of data -- accessible via short, simple, intuitive commands. . Pyxplot produces publication-quality figures.To this end, text is rendered with all of the beauty and flexibility of the LaTeX typesetting environment. . This package includes extensive documentation and examples. A gallery of sample plots is available from the project's web site. debian/rules0000755000000000000000000000346412144453414010257 0ustar #!/usr/bin/make -f # Disable the build target so that build-arch and build-indep (or binary-arch # and binary-indep) can do the building instead. build: ; .PHONY: build ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif # make sure $HOME is set and writeable so the latex tools work export HOME = $(CURDIR)/tmp-home DUMMY := $(shell mkdir -p $(HOME)) %: dh $@ build-doc: build-stamp convert -background none doc/tick.svg doc/tick.png convert -background none doc/cross.svg doc/cross.png $(MAKE) -C doc cp -r doc doc-plastex # Work around some plastex unhappiness cp debian/pyxplot-plastex.tex doc-plastex sed -i -r 's/(\\begin\{enumerate\})\[\(i\)\]/\1/' doc-plastex/*.tex cd doc-plastex; TEXINPUTS= plastex -d html --disable-image-cache --title="PyXPlot Users' Guide" pyxplot-plastex.tex rm -rf doc-plastex/html/.cache # --disable-image-cache does not seem to work # plastex leaves __init__.py files around find doc-plastex/html '(' -name __init__.py -or -name '__init__.py[co]' ')' -delete # clean up auto-generated tex output rm -rf doc/examples/tex override_dh_clean: dh_clean $(MAKE) -C doc clean rm -rf doc-plastex rm -rf $(CURDIR)/tmp-home override_dh_auto_build-arch: build-stamp build-stamp: sed -i 's,^GV_COMMAND=/bin/false,GV_COMMAND=/usr/bin/gv\nGV_OPT=--,' Makefile $(MAKE) USRDIR=/usr touch build-stamp override_dh_auto_build-indep: build-doc override_dh_auto_install-arch: $(MAKE) install USRDIR=/usr DESTDIR=$(CURDIR)/debian/tmp sh debian/mkicons $(CURDIR)/debian/pyxplot override_dh_auto_install-indep: $(MAKE) install-doc USRDIR=/usr DESTDIR=$(CURDIR)/debian/tmp override_dh_installdocs: dh_installdocs --link-doc pyxplot override_dh_compress: dh_compress --all -X.pdf .PHONY: override_dh_clean override_dh_installdocs override_dh_compress build-doc