debian/0000755000000000000000000000000011754617442007201 5ustar debian/libqwtplot3d-doc.install0000644000000000000000000000004411754531550013755 0ustar usr/share/doc/libqwtplot3d-doc/html debian/changelog0000644000000000000000000000577011754615106011057 0ustar qwtplot3d (0.2.7+svn191-7) unstable; urgency=low * Remove -lGLU from examples/common.pro, Reverting last change. * Add -lGLU to qwtplot3d.pro and add dependency on libglu1-mesa-dev | libglu-dev (Closes: #672873) -- Gudjon I. Gudjonsson Wed, 16 May 2012 05:08:10 +0200 qwtplot3d (0.2.7+svn191-6) unstable; urgency=low * Fix ftbs (Closes: #672023, #665750) * Bump standards version to 3.9.3 * Set debhelper dependency to >=8 * Add build-arch and build-indep to rules * Change copyright to copyright-format 1.0 * Add -lGLU to examples library dependencies -- Gudjon I. Gudjonsson Sat, 12 May 2012 08:11:28 +0200 qwtplot3d (0.2.7+svn191-5) unstable; urgency=low * Remove qt3 support (Closes: #604380) * Bump standards version to 3.9.1 * Remove README.source * Switch to dpkg-source 3.0 (quilt) format * Rewrite patches in quilt format * Add dependency on zlib1g-dev * Upgrade copyright file to current format * Add watch file * Add misc Depends * Add doc-base file * Remove qt3 related things from patches -- Gudjon I. Gudjonsson Thu, 03 Mar 2011 09:47:22 +0100 qwtplot3d (0.2.7+svn191-4) unstable; urgency=low * Add conflicts and replaces on the old packages libqwtplot3d-qt{3,4} -- Gudjon I. Gudjonsson Sat, 21 Nov 2009 17:44:53 +0100 qwtplot3d (0.2.7+svn191-3) unstable; urgency=low [ Gudjon I. Gudjonsson ] * Create patch 03_fix_ftbs to fix FTBS with gcc-4.4 (Closes: 504912) * Bump standards version to 3.8.3, no changes needed * Add README.source * Add Vcs fields for debian-science [ Andreas Tille ] * Group maintenance in Debian Science team with permission of maintainer * Debhelper 7 * Rename package libqwtplot3d-qt[34] to libqwtplot3d-qt[34]-0 to match soname * Remove unneeded debian/*.dirs files because theses dirs will be created by dh_install automatically anyway -- Andreas Tille Fri, 20 Nov 2009 11:44:36 +0100 qwtplot3d (0.2.7+svn191-2) unstable; urgency=low * Added dependency on libqt4-opengl-dev. (Closes: #482252) * Bump standards version to 3.7.3. No changes needed. * Add a homepage field to control file. -- Gudjon I. Gudjonsson Tue, 27 May 2008 10:24:26 +0200 qwtplot3d (0.2.7+svn191-1) unstable; urgency=low * An SVN version. Includes patches necessary for PyQwt3d. -- Gudjon I. Gudjonsson Thu, 23 Aug 2007 12:36:37 +0200 qwtplot3d (0.2.7-1) unstable; urgency=low * New upstream release. * Changed the rules file. The original tgz file can be used directly now. * Repatched the new release. * Changed line endings with dos2unix in original tarball. * Examples are not gzipped anymore. * Changed maintainers email. -- Gudjon I. Gudjonsson Wed, 27 Jun 2007 10:19:39 +0200 qwtplot3d (0.2.6+svn170-1) unstable; urgency=low * Initial release (Closes: #408538) -- Gudjon I. Gudjonsson Fri, 26 Jan 2007 13:37:18 +0100 debian/source/0000755000000000000000000000000011754534763010505 5ustar debian/source/format0000644000000000000000000000001411754531550011702 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000330711754531550010257 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # shared library versions, option 1 version=0.2.7 major=0 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif build: build-arch build-indep build-arch: dh_testdir mkdir -p build/qt4 cp -Rl `ls . |grep -v build|grep -v debian` build/qt4 cd build/qt4 && qmake-qt4 qwtplot3d.pro && $(MAKE) build-indep: dh_testdir # Build the documentation cd build/qt4/doc && doxygen Doxyfile.doxygen clean: dh_testdir dh_testroot rm -f build-stamp rm -rf build dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs cd build/qt4 && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install mkdir -p debian/tmp/usr/include/qwtplot3d-qt4 cp -a include/* debian/tmp/usr/include/qwtplot3d-qt4 mkdir -p debian/tmp/usr/share/doc/libqwtplot3d-doc/html cp build/qt4/doc/web/doxygen/* debian/tmp/usr/share/doc/libqwtplot3d-doc/html binary: binary-indep binary-arch binary-indep: build install dh_testdir -i dh_testroot -i dh_installchangelogs -i dh_installdocs -i dh_installexamples -i dh_install -i --sourcedir=debian/tmp dh_link -i dh_compress -i --exclude=.cpp --exclude=.h --exclude=.pro --exclude=.ui dh_fixperms -i dh_installdeb -i dh_shlibdeps -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: build install dh_testdir -a dh_testroot -a dh_installchangelogs -a dh_installdocs -a dh_install -a --sourcedir=debian/tmp dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a .PHONY: build clean binary-indep binary-arch binary install configure debian/libqwtplot3d-doc.examples0000644000000000000000000000002511754531550014124 0ustar build/qt4/examples/* debian/watch0000644000000000000000000000036111754531550010225 0ustar version=3 #http://sf.net/ngspice/ng-spice-rework-(.*)\.tar\.gz debian uupdate #http://sf.net/projects/qwtplot3d/files/qwtplot3d/(.*)/qwtplot3d-(.*)\.tgz/download debian uupdate http://sf.net/qwtplot3d/qwtplot3d-([0-9].*)\.tgz debian uupdate debian/copyright0000644000000000000000000000530711754531550011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://qwtplot3d.sourceforge.net/ Files: * Copyright: Michael Bieber License: QwtPlot3D Files: 3rdparty/gl2ps/* Copyright: 1999-2006 Christophe Geuzaine License: GPL-2+ or GL2PS-2 Files: debian/* Copyright: 2007-2012 Gudjon I. Gudjonsson License: GPL-2 License: GPL-2 On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-2+ 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. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GL2PS-2 Version 2, November 2003 . Copyright (C) 2003, Christophe Geuzaine . Permission to use, copy, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. . Permission to modify and distribute modified versions of this software is granted, provided that: . 1) the modifications are licensed under the same terms as this software; . 2) you make available the source code of any modifications that you distribute, either on the same media as you distribute any executable or other form of this software, or via a mechanism generally accepted in the software development community for the electronic transfer of data. . This software is provided "as is" without express or implied warranty. License: QwtPlot3D This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. debian/libqwtplot3d-qt4-dev.install0000644000000000000000000000006611754531550014500 0ustar usr/include/qwtplot3d-qt4 usr/lib/libqwtplot3d-qt4.so debian/libqwtplot3d-qt4-0.install0000644000000000000000000000002511754531550014054 0ustar usr/lib/lib*qt4.so.* debian/libqwtplot3d-doc.doc-base0000644000000000000000000000042711754531550013771 0ustar Document: qwtplot3d Title: Debian qwtplot3d Manual Author: Michael Bieber Abstract: QwtPlot3D, three dimensional plotting library for Qt. Section: Programming Format: HTML Index: /usr/share/doc/libqwtplot3d-doc/html/index.html Files: /usr/share/doc/libqwtplot3d-doc/html/*.html debian/control0000644000000000000000000000346411754615026010607 0ustar Source: qwtplot3d Priority: optional Maintainer: Debian Science Team Uploaders: Gudjon I. Gudjonsson , Andreas Tille Build-Depends: debhelper (>= 8), doxygen, libqt4-dev, libqt4-opengl-dev, zlib1g-dev, libglu1-mesa-dev | libglu-dev Standards-Version: 3.9.3 Section: libs Homepage: http://qwtplot3d.sourceforge.net Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/qwtplot3d/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/qwtplot3d/trunk DM-Upload-Allowed: yes Package: libqwtplot3d-qt4-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libqwtplot3d-qt4-0 (= ${binary:Version}), libqt4-dev Description: 3D plotting library based on Qt4/OpenGL (development) QwtPlot3D is a feature rich Qt/OpenGL-based C++ programming library, providing essentially a bunch of 3D-widgets for programmers. . This package contains the QwtPlot3D development files for Qt4. Package: libqwtplot3d-qt4-0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libqwtplot3d-qt4 Replaces: libqwtplot3d-qt4 Description: 3D plotting library based on Qt4/OpenGL (runtime) QwtPlot3D is a feature rich Qt/OpenGL-based C++ programming library, providing essentially a bunch of 3D-widgets for programmers. . This package contains the files necessary for running applications that use the QwtPlot3D library and Qt4. Package: libqwtplot3d-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: w3m | www-browser Description: 3D plotting library based on Qt/OpenGL (documentation) QwtPlot3D is a feature rich Qt/OpenGL-based C++ programming library, providing essentially a bunch of 3D-widgets for programmers. . This package contains the html documentation and example programs. debian/README.Debian0000644000000000000000000000211411754531550011233 0ustar qwtplot3d for Debian ------------------ A postfix has been added to the library names according to the version of Qt: * libqwtplot3d-qt4.so* is QwtPlot3D 0.2.6 compiled against Qt4 In that way, all these qwt libraries can coexist but you can only have a single development package for each Qt version or in other words. You need to choose between libqwt-qt3-dev (Qwt5) and libqwt-dev (Qwt4). The Qt3 support has now been dropped in Debian. The include files are placed in the following directories: * /usr/include/qwtplot3d-qt3.so* for QwtPlot3D 0.2.6 (Qt4 version) If you have a precompiled binary file, linked against libqwt then you may need to add a symbolic link to the corresponding library. To compile the examples you need to copy them to a local directory and do the following steps: $cp -r /usr/share/doc/libqwtplot3d-doc/examples . $cd examples $qmake-qt4 examples.pro $make The sources for gl2ps are in the source tree but it is not compiled. Please refer to http://www.geuz.org/gl2ps for reference. -- Gudjon I. Gudjonsson Mon, 18 Dec 2006 22:21:51 +0100 debian/patches/0000755000000000000000000000000011754534763010634 5ustar debian/patches/series0000644000000000000000000000007611754531550012043 0ustar 01_makefile.patch 02_examples_include.patch 03_fix_ftbs.patch debian/patches/01_makefile.patch0000644000000000000000000000465311754532131013725 0ustar Fixes the makefiles to install according to the Debian FHS --- a/doc/Doxyfile.doxygen +++ b/doc/Doxyfile.doxygen @@ -116,7 +116,7 @@ HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = NO CHM_FILE = qwtplot3d.chm -HHC_LOCATION = "c:\Programme\HTML Help Workshop\hhc.exe" +#HHC_LOCATION = "c:\Programme\HTML Help Workshop\hhc.exe" GENERATE_CHI = NO BINARY_TOC = YES TOC_EXPAND = YES @@ -181,7 +181,7 @@ MACRO_EXPANSION = NO EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES -INCLUDE_PATH = V:/cvs/qwtplot3d/include/ +INCLUDE_PATH = ../include/ INCLUDE_FILE_PATTERNS = *.h PREDEFINED = QWT3D_NOT_FOR_DOXYGEN \ QT_VERSION=0x040000 @@ -212,7 +212,7 @@ GRAPHICAL_HIERARCHY = YES DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png -DOT_PATH = V:/graphviz/Graphviz/bin/ +#DOT_PATH = V:/graphviz/Graphviz/bin/ DOTFILE_DIRS = MAX_DOT_GRAPH_WIDTH = 974 MAX_DOT_GRAPH_HEIGHT = 10000 --- a/examples/common.pro +++ b/examples/common.pro @@ -3,13 +3,17 @@ UI_DIR = tmp MOC_DIR = tmp OBJECTS_DIR = tmp -INCLUDEPATH += ../../include -DEPENDPATH = $$INCLUDEPATH DESTDIR = ../bin -unix:LIBS += -lqwtplot3d -L../../lib linux-g++:QMAKE_CXXFLAGS += -fno-exceptions +unix{ + unix:LIBS += -lqwtplot3d-qt4 + INCLUDEPATH += /usr/include/qwtplot3d-qt4 +} + +DEPENDPATH = $$INCLUDEPATH + win32{ LIBS += ../../lib/qwtplot3d.lib TEMPLATE = vcapp @@ -28,7 +32,7 @@ ISQT4 = $$find(MYVERSION, ^[2-9]) !isEmpty( ISQT4 ) { -RESOURCES = ../images.qrc +#RESOURCES = ../images.qrc QT += opengl } --- a/qwtplot3d.pro +++ b/qwtplot3d.pro @@ -1,7 +1,13 @@ # pro file for building the makefile for qwtplot3d # -TARGET = qwtplot3d +TARGET = qwtplot3d-qt4 +# Install directives +INSTALLBASE = /usr +headers.path = $$INSTALLBASE/include/qwtplot3d-qt4 +headers.files = $$HEADERS +target.path = $$INSTALLBASE/lib +INSTALLS = doc headers target TEMPLATE = lib CONFIG += qt warn_on opengl thread zlib debug MOC_DIR = tmp @@ -87,9 +93,11 @@ SOURCES+=src/qwt3d_io_gl2ps.cpp \ 3rdparty/gl2ps/gl2ps.c +unix:LIBS += -lGLU + # zlib support for gl2ps zlib { DEFINES += GL2PS_HAVE_ZLIB win32:LIBS += zlib.lib unix:LIBS += -lz -} \ No newline at end of file +} debian/patches/02_examples_include.patch0000644000000000000000000000525011754532164015472 0ustar Change include directory from local to system wide --- a/examples/axes/src/axesmainwindow.cpp +++ b/examples/axes/src/axesmainwindow.cpp @@ -9,7 +9,7 @@ #include "axes.h" #include "axesmainwindow.h" -#include "../../../include/qwt3d_function.h" +#include using namespace std; using namespace Qwt3D; --- a/examples/mesh2/src/colormapreader.h +++ b/examples/mesh2/src/colormapreader.h @@ -5,7 +5,7 @@ #include #include -#include "../../../include/qwt3d_types.h" +#include #if QT_VERSION < 0x040000 --- a/examples/mesh2/src/functions.h +++ b/examples/mesh2/src/functions.h @@ -2,8 +2,8 @@ #define __EXAMPLE_H__ #include -#include "../../../include/qwt3d_parametricsurface.h" -#include "../../../include/qwt3d_function.h" +#include +#include using namespace Qwt3D; --- a/examples/mesh2/src/lightingdlg.h +++ b/examples/mesh2/src/lightingdlg.h @@ -3,10 +3,10 @@ #include #include -#include "../../../include/qwt3d_parametricsurface.h" -#include "../../../include/qwt3d_surfaceplot.h" -#include "../../../include/qwt3d_enrichment.h" -#include "../../../include/qwt3d_color.h" +#include +#include +#include +#include #if QT_VERSION < 0x040000 #include "lightingdlgbase.h" --- a/examples/mesh2/src/mesh2mainwindow.cpp +++ b/examples/mesh2/src/mesh2mainwindow.cpp @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include @@ -33,9 +33,9 @@ #include "colormapreader.h" #include "lightingdlg.h" #include "femreader.h" -#include "../../../include/qwt3d_io.h" -#include "../../../include/qwt3d_io_gl2ps.h" -#include "../../../include/qwt3d_io_reader.h" +#include +#include +#include using namespace Qwt3D; using namespace std; --- a/examples/mesh2/src/mesh2mainwindow.h +++ b/examples/mesh2/src/mesh2mainwindow.h @@ -1,7 +1,7 @@ #ifndef mesh2mainwindow_h__2004_03_07_13_38_begin_guarded_code #define mesh2mainwindow_h__2004_03_07_13_38_begin_guarded_code -#include "../../../include/qwt3d_surfaceplot.h" +#include #if QT_VERSION < 0x040000 --- a/examples/enrichments/src/enrichmentmainwindow.cpp +++ b/examples/enrichments/src/enrichmentmainwindow.cpp @@ -6,7 +6,7 @@ #include "enrichmentmainwindow.h" #include "enrichments.h" -#include "../../../include/qwt3d_function.h" +#include using namespace Qwt3D; debian/patches/03_fix_ftbs.patch0000644000000000000000000000053211754531550013752 0ustar Add cstdio include --- a/src/qwt3d_function.cpp +++ b/src/qwt3d_function.cpp @@ -1,3 +1,4 @@ +#include #include "qwt3d_surfaceplot.h" #include "qwt3d_function.h" --- a/include/qwt3d_openglhelper.h +++ b/include/qwt3d_openglhelper.h @@ -7,6 +7,7 @@ #else #include #endif +#include namespace Qwt3D { debian/compat0000644000000000000000000000000211754531550010372 0ustar 7