debian/0000755000000000000000000000000011670575277007207 5ustar debian/control0000644000000000000000000000161511665126306010602 0ustar Source: rlplot Section: math Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 7.0.50~), libqt4-dev (>= 4.3), libx11-dev (>= 4.3) Standards-Version: 3.9.2 Homepage: http://rlplot.sourceforge.net/ Package: rlplot Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI application for generating publication quality graphs RLPlot is a GUI based program for displaying scientific data in standard formats. It has full support for all error-bar types and it has greater flexibility with displaying colour and texture in charts than gnuplot (filled bar chart boxes are possible without any additional programs). Output is generated on the X display where further changes can be made to the graph using point and click methods. Images can be exported as scalable vector graphics (SVG) as well as EPS, WMF and TIFF formats. debian/rlplot.desktop0000644000000000000000000000027411665110647012107 0ustar [Desktop Entry] Version=1.1.2 Name=Rlplot Graph Generator Comment=Generate publication quality graphs Exec=rlplot Icon=RLPlot.xpm Type=Application Terminal=false Categories=Education;Math debian/menu0000644000000000000000000000015111665110347010056 0ustar ?package(rlplot): needs="X11" section="Applications/Science/Mathematics" title="RLPlot" command="rlplot" debian/rules0000755000000000000000000000114711665127234010260 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: # Override incorrect (for debian) values in upstream Makefile: make QT4DIR=/usr/share/qt4 \ QT4MOC=/usr/share/qt4/bin/moc \ QT4CFLAGS='"-I/usr/include/qt4/Qt -I/usr/include/qt4 -pipe -O2"' override_dh_install: dh_install rlplot exprlp usr/bin dh_install RLPlot.xpm usr/share/pixmaps # Shouldn't be executable: chmod a-x debian/rlplot/usr/share/pixmaps/RLPlot.xpm dh_install debian/rlplot.desktop usr/share/applications override_dh_installman: dh_installman debian/rlplot.1 dh_link usr/share/man/man1/rlplot.1 usr/share/man/man1/exprlp.1 debian/rlplot.10000644000000000000000000000514011670575105010573 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH RLPLOT 1 .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME rlplot \- generate publication quality graphs .br exprlp \- convert rlplot files to vector based graphic files .SH SYNOPSIS .B rlplot .I .br .B exprlp .RI [options] [options] [] .SH DESCRIPTION This manual page documents briefly the .B rlplot and .B exprlp commands. .PP .B rlplot is a GUI based program for displaying scientific data in standard formats. Output is generated on the X display where further changes can be made to the graph using point and click methods. Images can be exported as scalable vector graphics (SVG) as well as EPS, WMF and TIFF formats. .PP .B exprlp reads RLPlot files and exports various vector based graphic file formats including scalable vector graphics (SVG), Encapsulated PostScript (EPS), and Windows Metafile (WMF). .SH OPTIONS .B rlplot does not have any command line options but the following options are available for .B exprlp . .TP .B \- use stdin/stdout as input or output file; requires that file format is set by \-e | \-s | \-w option .TP .B \-h help .TP .B \-d delete input file after read .TP .B \-e output Encapsulated PostScript, *.eps .TP .B \-s output Scalable Vector Graphics, *.svg .TP .B \-S like \-s, start output with "Content-Type: image/svg+xml" .TP .B \-v print RLPlot version .TP .B \-w output Windows Meta File, *.wmf .TP .B \-q quiet mode: suppress output to the console .SH EXAMPLES .B exprlp foo.rlp foo.svg ;exports Scalable Vector Graphics .TP .B exprlp \-q foo.rlp foo.eps ;exports Encapsulated PostScript, no messages .TP .B exprlp foo.rlp foo.wmf ;exports Windows Meta File .TP .B exprlp \-sq foo.rlp \- ;exports SVG to the console, no messages .TP .B exprlp exprlp \-eq \- \- ;converts inputfile from stdin to EPS on stdout .TP switch character is either '\-' or '\//' .SH AUTHOR .B rlplot and .B exprlp were written by Reinhard Lackner and are released under the GNU general public license. .sp This manual page was written by James Stone . debian/source/0000755000000000000000000000000011665101327010470 5ustar debian/source/format0000644000000000000000000000001411665061153011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011670575230010623 5ustar debian/patches/fix-ftbfs-with-qt4.7.patch0000644000000000000000000000226111666006047015361 0ustar Description: Fix build with Qt 4.7 Patch from Ubuntu to fix FTBFS with Qt 4.7 (#610150 and #618048): rlplot (1.4-1ubuntu1) maverick; urgency=low * Fix FTBFS with Qt 4.7 (LP: #641536) - Patch QT_Spec.cpp -- Felix Geyer Fri, 17 Sep 2010 21:14:41 +0200 Author: Felix Geyer --- Bug-Debian: http://bugs.debian.org/610150 Bug-Debian: http://bugs.debian.org/618048 Origin: ubuntu Forwarded: via http://rlplot.sourceforge.net/Support/index.html Last-Update: 2010-09-17 --- rlplot-1.4.orig/QT_Spec.cpp +++ rlplot-1.4/QT_Spec.cpp @@ -1187,7 +1187,7 @@ com_GetTextExtentW(w_char *txt, int *width, int *height, int cb, TextDEF *TxtSet, QPainter *qP) { int i; - QString wtxt(0); + QString wtxt; if(!txt || !txt[0]) return com_QStringExt(QString("a"), width, height, 1, TxtSet, qP); for(i = 0; txt[i] && i < cb; i++) wtxt.append(QChar(txt[i])); @@ -1275,7 +1275,7 @@ bool com_TextOutW(int x, int y, w_char *wtxt, TextDEF *TxtSet, QPainter *qP, anyOutput *o) { int i; - QString txt(0); + QString txt; if(!wtxt || !wtxt[0] || !TxtSet || !qP || !o) return false; for(i = 0; wtxt[i]; i++) txt.append(QChar(wtxt[i])); debian/patches/remove-linux-fs-h-requirement.patch0000644000000000000000000000100511666005701017457 0ustar Description: Fix build for non-Linux platforms The header linux/fs.h doesn't actually seem to be needed! Author: Olly Betts --- Origin: debian Forwarded: via http://rlplot.sourceforge.net/Support/index.html Last-Update: 2011-11-30 --- rlplot-1.4.orig/QT_Spec.h +++ rlplot-1.4/QT_Spec.h @@ -50,7 +50,6 @@ #include #include #include - #include #endif bool ProcMenuEvent(int id, QWidget *parent, anyOutput *OutputClass, GraphObj *BaseObj); debian/patches/series0000644000000000000000000000017211666005465012043 0ustar fix-ftbfs-with-gold.patch fix-ftbfs-with-qt4.7.patch remove-linux-fs-h-requirement.patch do-not-call-free-on-arrays.patch debian/patches/do-not-call-free-on-arrays.patch0000644000000000000000000000154511666005646016616 0ustar Description: Remove two calls to free with an array as the argument This is bad code, invoking undefined behaviour if executed. I suspect it never actually will be, as by default "new" in C++ throws an exception if it fails, and I don't see anything in the rlplot code to change that. The issue was spotted by a new GCC warning. Author: Olly Betts --- Origin: debian Forwarded: via http://rlplot.sourceforge.net/Support/index.html Last-Update: 2011-12-02 --- rlplot-1.5.orig/rlplot.cpp +++ rlplot-1.5/rlplot.cpp @@ -1396,7 +1396,6 @@ if(yref2[0] &&((nPnt = rX->CountItems()) == (rY1->CountItems()))) { if(!(Values = (lfPOINT *)realloc(Values, ((nPnt*2+2) * sizeof(lfPOINT))))) return; if(!(rY2 = new AccRange(yref2))) { - if(yref1) free(yref1); if(yref2) free(yref2); if(rX) delete(rX); if(rY1) delete(rY1); return; } debian/patches/fix-ftbfs-with-gold.patch0000644000000000000000000000165511666006331015433 0ustar Description: Fix build with binutils-gold Patch from Ubuntu to fix FTBFS with binutils-gold (#556322): rlplot (1.4-1ubuntu2) natty; urgency=low * Fix FTBFS with ld --no-add-needed. - Rearrange linker arguments. - Link against pthread. -- Felix Geyer Sat, 15 Jan 2011 18:08:18 +0100 Author: Felix Geyer --- Bug-Debian: http://bugs.debian.org/556322 Origin: ubuntu Forwarded: no Last-Update: 2011-01-15 --- rlplot-1.5.orig/Makefile +++ rlplot-1.5/Makefile @@ -19,7 +19,7 @@ # # CC = g++ -X11LIBS = -lX11 -lm +X11LIBS = -lX11 -lm -lpthread SRCDIR = ./ ####### @@ -74,7 +74,7 @@ make rlplot QTDIR=$(QT3DIR) MOC=$(QT3MOC) CFLAGS=$(QT3CFLAGS) QTH=$(QT3H) $(MOC3FLAGS) LIBS=$(QT3LIBS) rlplot: $(OBJECTS) - $(CC) $(LIBS) -o rlplot $(OBJECTS) $(QTLIBS) $(X11LIBS) + $(CC) -o rlplot $(OBJECTS) $(LIBS) $(QTLIBS) $(X11LIBS) exprlp: $(GENOBJ) $(CC) -o exprlp $(GENOBJ) debian/compat0000644000000000000000000000000211665110536010370 0ustar 7 debian/copyright0000644000000000000000000000170611665124451011132 0ustar This package was debianized by James Stone on Fri, 16 Apr 2004 19:26:24 +0100. It was downloaded from http://rlplot.sourceforge.net/ Upstream Author: Reinhard Lackner This software is: Copyright (c) 2000-2008 Reinhard Lackner Copyright (C) 1998 Ross Ihaka Copyright (C) 2000-2005 The R Development Core Team RLPlot 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. RLPlot 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. On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000006411665110347010223 0ustar version=3 http://sf.net/rlplot/rlplot_(.*)\.tar\.gz debian/changelog0000644000000000000000000001325711670575274011066 0ustar rlplot (1.5-2) unstable; urgency=low * QA upload. * debian/rlplot.1: Fix "hyphen-used-as-minus-sign". * Add DEP3 patch headers. -- Olly Betts Sat, 10 Dec 2011 06:21:01 +0000 rlplot (1.4-3) unstable; urgency=low * QA upload. * New patch remove-linux-fs-h-requirement.patch to fix build on non-Linux platforms. * New patch do-not-call-free-on-arrays.patch which removes two calls to free with an array as the argument. * debian/control: + Add ${misc:Depends}, fixing lintian warning. + Improve short description. * debian/rules: Use dh_install to copy the binaries. -- Olly Betts Wed, 30 Nov 2011 00:16:58 +0000 rlplot (1.5-1) experimental; urgency=low * QA upload. * New upstream version. (Closes: #610235) + Upstream Makefile "clean" target fixed, so drop our workaround. * debian/control: + Add ${misc:Depends}, fixing lintian warning. + Improve short description. * debian/rules: Use dh_install to copy the binaries. -- Olly Betts Tue, 29 Nov 2011 09:58:35 +0000 rlplot (1.4-2) unstable; urgency=low * QA upload. + Orphaned, so set maintainer to QA group. * New patch fix-ftbfs-with-gold.patch from Ubuntu to fix FTBFS with gold or --no-add-needed. (Closes: #556322) * New patch fix-ftbfs-with-qt4.7.patch from Ubuntu which replaces 'QString foo(0);' with 'QString foo;' to fix FTBFS with Qt 4.7. (Closes: #618048, #610150) * Clear executable bit on /usr/share/pixmaps/RLPlot.xpm, fixing lintian warning. * debian/rules: Rewrite to use dh. * debian/copyright: Update to point to GPL-2; update copyright holders and years. * Don't package upstream README - debian/copyright has the licence information, and the details about how to build it aren't relevant to those who have installed a binary package. * debian/rlplot.1: Fix typo; fix hyphens to be dashes (fixes lintian warning). * debian/rlplot.desktop: Remove deprecated Encoding field. -- Olly Betts Tue, 29 Nov 2011 06:41:40 +0000 rlplot (1.4-1) unstable; urgency=low * New upstream release * Fixes to lintian warnings * Fixes to repeat build problem (Closes: #442721) * Upload sponsored by Matthew Palmer -- James Stone Sun, 16 Sep 2007 21:33:38 +0100 rlplot (1.3-1) unstable; urgency=low * New upstream release * Upload sponsored by Matthew Palmer -- James Stone Mon, 9 Apr 2007 00:12:35 +0100 rlplot (1.2-1) unstable; urgency=low * New upstream release (Closes: #408935) * Upload sponsored by Matthew Palmer -- James Stone Mon, 29 Jan 2007 19:31:26 +0000 rlplot (1.1.2-2) unstable; urgency=low * Added binary-indep target to rules file (Closes: #395742) * Added .desktop file and icon (thanks to Vassilis Pandis) (Closes: #375768) * Upload sponsored by Matthew Palmer -- James Stone Sat, 11 Nov 2006 21:09:11 +0000 rlplot (1.1.2-1) unstable; urgency=low * New upstream release * Upload sponsored by Matthew Palmer -- James Stone Sat, 27 May 2006 21:44:40 +0100 rlplot (1.1-1.1) unstable; urgency=low * NMU as part of the GCC 4.1 transition. * Remove extra qualification from C++ header file. closes: #358286 -- Martin Michlmayr Fri, 26 May 2006 20:24:18 +0200 rlplot (1.1-1) unstable; urgency=low * New upstream release * Upload sponsored by Matthew Palmer -- James Stone Sun, 5 Mar 2006 13:11:52 +0000 rlplot (1.0-1) unstable; urgency=low * New upstream release * Upload sponsored by Matthew Palmer -- James Stone Fri, 16 Sep 2005 21:08:37 +0100 rlplot (0.99.14-2) unstable; urgency=low * Rebuild due to new version of libqt3-mt. closes: #327960 * Upload sponsored by Matthew Palmer -- James Stone Wed, 14 Sep 2005 15:41:17 +0100 rlplot (0.99.14-1) unstable; urgency=low * New upstream release * Removed build-depends on libstdc++5-3.3-dev. * Upstream change to TheDialog.cpp. closes: #288411 * Upload sponsored by Matthew Palmer -- James Stone Tue, 15 Feb 2005 16:58:11 +0000 rlplot (0.99.12-1) unstable; urgency=low * New upstream release * Upload sponsored by Matthew Palmer -- James Stone Wed, 22 Dec 2004 16:05:26 +0000 rlplot (0.99.9-1) unstable; urgency=low * New upstream release * Updated copyright file since this release is built from tarball 0.99.9b not CVS * Upload sponsored by Matthew Palmer -- James Stone Sat, 9 Oct 2004 13:09:10 +0100 rlplot (0.99.7-2) unstable; urgency=low * Remove libc6 build dependency. Closes: #267871 * Updated copyright file to reflect fact that source code was from CVS not tarball. * Upload sponsored by Matthew Palmer -- James Stone Fri, 27 Aug 2004 23:27:05 +0100 rlplot (0.99.7-1) unstable; urgency=low * New upstream release. Numbering system now in line with upstream. * Upload sponsored by Matthew Palmer -- James Stone Tue, 10 Aug 2004 16:47:51 +0100 rlplot (0.99.4-1) unstable; urgency=low * New upstream release -- James Stone Thu, 1 Jul 2004 00:49:35 +0100 rlplot (0.99.3-1) unstable; urgency=low * Initial Release. closes: #237116 -- James Stone Fri, 16 Apr 2004 20:58:02 +0100