debian/0000755000000000000000000000000012153555646007202 5ustar debian/source/0000755000000000000000000000000012153554440010471 5ustar debian/source/format0000644000000000000000000000001412153554440011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012153555233010621 5ustar debian/patches/enable_some_more_tests.patch0000644000000000000000000000265112153554440016362 0ustar Description: enable additional tests and set hardening flags. Author: Anton Gladky Last-Update: 2013-05-08 --- a/Makefile +++ b/Makefile @@ -26,12 +26,12 @@ # The -O0 option speeds up the compile, which is good for testing. This should # never be used for production since the generated code is extremely slow! -CXXFLAGS+=-Wall -Wextra -O0 -g -LDFLAGS+=-lutil -lboost_iostreams -lboost_system -lboost_filesystem +CXXFLAGS+=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS+= $(shell dpkg-buildflags --get CXXFLAGS) -lutil -lboost_iostreams -lboost_system -lboost_filesystem # This makes the examples and tests more complete, but only works if you have the corresponding # libraries installed. -#CXXFLAGS+=--std=c++11 -DUSE_ARMA=1 -DUSE_BLITZ=1 +CXXFLAGS+=--std=c++11 -DUSE_ARMA=1 -DUSE_BLITZ=1 ALL_EXAMPLES=example-misc example-data-1d example-data-2d example-interactive TEST_BINARIES=test-noncopyable test-outputs --- a/legacy/Makefile +++ b/legacy/Makefile @@ -1,7 +1,7 @@ CXXFLAGS+=-Wall -Wextra -I.. -O0 -g # Don't warn about the fact that we use the deprecated send() function. -CXXFLAGS+=-Wno-deprecated-declarations -LDFLAGS+=-lutil -lboost_iostreams -lboost_system -lboost_filesystem +CXXFLAGS+=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS+= $(shell dpkg-buildflags --get LDFLAGS) -lutil -lboost_iostreams -lboost_system -lboost_filesystem EVERYTHING=examples examples-blitz examples-interactive debian/patches/series0000644000000000000000000000003512153554624012037 0ustar enable_some_more_tests.patch debian/libgnuplot-iostream-doc.docs0000644000000000000000000000000712153554440014603 0ustar README debian/changelog0000644000000000000000000000204412153555646011054 0ustar gnuplot-iostream (0~20130604.gitdd47c7a-1) unstable; urgency=low * [642dade] Imported Upstream version 0~20130604.gitdd47c7a * [b34ffd5] Enable all tests again. -- Anton Gladky Wed, 05 Jun 2013 08:32:47 +0200 gnuplot-iostream (0~20130424.gita9d3e31-2) unstable; urgency=low * [2f5f4ac] Disable 1 arma-test, because it fails. Upstream is notified. (Closes: #710620) * [c4d37e1] Use canonical VCS-field. -- Anton Gladky Tue, 04 Jun 2013 20:31:32 +0200 gnuplot-iostream (0~20130424.gita9d3e31-1) unstable; urgency=low * [10be64a] Imported Upstream version 0~20130424.gita9d3e31 * [4454719] Enable some more tests. * [d88265b] Add blitz, armadillo to BD to enable some more tests. * [0603e0a] Minor update in rules and install files. -- Anton Gladky Wed, 08 May 2013 21:09:45 +0200 gnuplot-iostream (0~20120508.git5719ce8-1) unstable; urgency=low * Initial packaging. (Closes: #691272) -- Anton Gladky Wed, 27 Feb 2013 19:34:30 +0100 debian/rules0000755000000000000000000000005112153554440010245 0ustar #!/usr/bin/make -f %: dh $@ --parallel debian/libgnuplot-iostream-doc.examples0000644000000000000000000000000512153554440015467 0ustar *.cc debian/compat0000644000000000000000000000000212153554440010367 0ustar 9 debian/libgnuplot-iostream-dev.install0000644000000000000000000000004012153554440015327 0ustar gnuplot-iostream.h /usr/include debian/scripts/0000755000000000000000000000000012153554440010660 5ustar debian/scripts/debian_scripts_get_orig_src.sh0000755000000000000000000000176612153554440016750 0ustar #!/bin/bash # The script creates a tar.xz tarball from git-repository of gnuplot-iostream # ./get_orig_src.sh commitID - creates a tarball of specified commit # ./get_orig_src.sh - creates a tarball of the latest version # Packages, that needs to be installed to use the script: # atool, git-core git clone git://gitorious.org/gnuplot-iostream/gnuplot-iostream.git git_temp_packaging cd git_temp_packaging if [ $1 ] then echo 'Checking out the revision ' $1 git checkout -b newvers $1 else echo 'Using the latest revision' fi GIT_REV=$(git log -n 1 --pretty="format:%h") GIT_DAT=$(git log -n 1 --pretty="format:%ai") GIT_DAT=${GIT_DAT:0:10} GIT_DAT=$(echo $GIT_DAT | sed 's/-//g') VER_DEB=0~$GIT_DAT.git$GIT_REV FOLDER_NAME=gnuplot-iostream-0~$GIT_DAT.git$GIT_REV TARBALL_NAME=gnuplot-iostream_0~$GIT_DAT.git$GIT_REV.orig.tar.bz2 echo $VER_DEB echo $FOLDER_NAME echo $TARBALL_NAME cd .. mv git_temp_packaging $FOLDER_NAME rm -rf $FOLDER_NAME/.git tar jcvf $TARBALL_NAME $FOLDER_NAME debian/control0000644000000000000000000000522312153554440010576 0ustar Source: gnuplot-iostream Section: libdevel Priority: optional Maintainer: Debian Science Team Uploaders: Anton Gladky Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), libboost-iostreams-dev, gnuplot, libboost-system-dev, libboost-filesystem-dev, libblitz-dev, libarmadillo-dev Homepage: http://www.stahlke.org/dan/gnuplot-iostream/ Vcs-Git: git://anonscm.debian.org/debian-science/packages/gnuplot-iostream.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/gnuplot-iostream.git Package: libgnuplot-iostream-dev Architecture: all Depends: gnuplot, libboost-iostreams-dev, libboost-system-dev, libboost-filesystem-dev, ${misc:Depends} Suggests: gnuplot-iostream-doc Description: C++ programming interface for gnuplot. Headers This interface allows gnuplot to be controlled from C++ and is designed to be the lowest hanging fruit. In other words, if you know how gnuplot works it should only take 30 seconds to learn this library. Basically it is just an iostream pipe to gnuplot with some extra functions for pushing data arrays and getting mouse clicks. Data sources include STL containers (eg. vector or map) and one or two dimensional Blitz++ arrays (of scalars or TinyVectors). Support for other data sources should be easy to add. . Basically there are two functions defined: send() sends arrays of data values (it is overloaded to do the right thing based upon what type of variable you pass) and getMouse() gets the position of a mouse click. Everything else is accomplished by sending commands manually to gnuplot via the iostream interface. Package: libgnuplot-iostream-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: cmake, gnuplot-iostream, libblitz0-dev Description: C++ programming interface for gnuplot. Docs and examples This interface allows gnuplot to be controlled from C++ and is designed to be the lowest hanging fruit. In other words, if you know how gnuplot works it should only take 30 seconds to learn this library. Basically it is just an iostream pipe to gnuplot with some extra functions for pushing data arrays and getting mouse clicks. Data sources include STL containers (eg. vector or map) and one or two dimensional Blitz++ arrays (of scalars or TinyVectors). Support for other data sources should be easy to add. . Basically there are two functions defined: send() sends arrays of data values (it is overloaded to do the right thing based upon what type of variable you pass) and getMouse() gets the position of a mouse click. Everything else is accomplished by sending commands manually to gnuplot via the iostream debian/copyright0000644000000000000000000000555712153554440011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://www.stahlke.org/dan/gnuplot-iostream/ Files: * Copyright: 2009 Daniel Stahlke Jens Mueller Robbie Morrison Daniel Di Marco Sylwester Arabas License: BSD-like: 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: cmake/FindBlitz.cmake Copyright: Seth R. Johnson License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.