debian/0000755000000000000000000000000012237217727007200 5ustar debian/control0000644000000000000000000000423112237217644010601 0ustar Source: qcustomplot Section: libs Priority: optional Maintainer: Debian Science Maintainers Uploaders: Anton Gladky Homepage: http://www.qcustomplot.com Standards-Version: 3.9.4 Build-Depends: cmake, debhelper (>= 9), libqt4-dev Vcs-Git: git://anonscm.debian.org/debian-science/packages/qcustomplot.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/qcustomplot.git Package: libqcustomplot-dev Section: libdevel Architecture: any Depends: libqcustomplot1.1 (= ${binary:Version}), libqt4-dev, ${misc:Depends} Conflicts: libqcustomplot-dev Description: Qt C++ widget for plotting. Header QCustomPlot plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as offering high performance for realtime visualization applications. The package contains a header-file. Package: libqcustomplot-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Qt C++ widget for plotting. Documentation and examples QCustomPlot plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as offering high performance for realtime visualization applications. The package contains examples and documentation. Package: libqcustomplot1.1 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: Qt C++ widget for plotting QCustomPlot plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as offering high performance for realtime visualization applications. Package: libqcustomplot1.1-dbg Architecture: any Section: debug Priority: extra Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libqcustomplot1.1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Qt C++ widget for plotting. Debugging symbols QCustomPlot plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as offering high performance for realtime visualization applications. The package contains debugging symbols. debian/rules0000755000000000000000000000015312237215716010253 0ustar #!/usr/bin/make -f %: dh $@ --parallel override_dh_strip: dh_strip --dbg-package=libqcustomplot1.1-dbg debian/libqcustomplot-doc.examples0000644000000000000000000000001312237135374014553 0ustar examples/* debian/copyright0000644000000000000000000000056212237217644011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: QCustomPlot Upstream-Contact: support@qcustomplot.com Source: http://www.qcustomplot.com/ Files: * Copyright: 2011-2013, Emanuel Eichhammer License: GPL-3+ On Debian systems the full text of the GPL License version 3.0 can be found in the file /usr/share/common-licenses/GPL-3 debian/libqcustomplot1.1.install0000644000000000000000000000003612237217644014066 0ustar usr/lib/*/libqcustomplot.so.* debian/libqcustomplot-doc.docs0000644000000000000000000000002312237216176013666 0ustar documentation/html debian/libqcustomplot-doc.doc-base0000644000000000000000000000106612237217156014422 0ustar Document: qcustomplot-documentation Title: QCustomPlot Documentation Author: Emanuel Eichhammer Abstract: This documentation is especially helpful as a reference, when you're familiar with the basic concept of how to use QCustomPlot and you wish to learn more about specific functionality. See the class overview for diagrams explaining the relationships between the most important classes of the QCustomPlot library. Section: Science/Mathematics Format: HTML Index: /usr/share/doc/libqcustomplot-doc/html/index.html Files: /usr/share/doc/libqcustomplot-doc/html/* debian/patches/0000755000000000000000000000000012237172332010617 5ustar debian/patches/series0000644000000000000000000000003012237163517012032 0ustar 01_Add_CMakeLists.patch debian/patches/01_Add_CMakeLists.patch0000644000000000000000000001234112237172332014710 0ustar Description: Add CMakeLists files for building of shared library and to examples Author: Anton Gladky Last-Update: 2013-11-08 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,30 @@ +PROJECT(qcustomplot CXX) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) + +SET(Q_MAJOR_VERSION "1") +SET(Q_MINOR_VERSION "1") +SET(Q_PATCH_VERSION "0") + + +INCLUDE(GNUInstallDirs) +INCLUDE(FindQt4) +FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED) +INCLUDE_DIRECTORIES(${QT_INCLUDES}) +INCLUDE(${QT_USE_FILE}) + +set(Q_VERSION "${Q_MAJOR_VERSION}.${Q_MINOR_VERSION}.${Q_PATCH_VERSION}") +set(Q_SOVERSION "${Q_MAJOR_VERSION}.${Q_MINOR_VERSION}") + + +QT4_WRAP_CPP(Q_MOC_OUTFILES qcustomplot.h) + +ADD_LIBRARY(qcustomplot SHARED qcustomplot.cpp ${Q_MOC_OUTFILES}) + +SET_TARGET_PROPERTIES(qcustomplot PROPERTIES + VERSION ${Q_VERSION} + SOVERSION ${Q_SOVERSION}) +TARGET_LINK_LIBRARIES(qcustomplot ${QT_LIBRARIES}) + +INSTALL(TARGETS qcustomplot DESTINATION "${CMAKE_INSTALL_LIBDIR}") +INSTALL(FILES qcustomplot.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") +INSTALL(FILES cmake/FindQCustomPlot.cmake DESTINATION "/usr/share/cmake-2.8/Modules") --- /dev/null +++ b/cmake/FindQCustomPlot.cmake @@ -0,0 +1,19 @@ +# Try to find the QCustomPlot librairies +# QCustomPlot_FOUND - system has QCustomPlot lib +# QCustomPlot_INCLUDE_DIR - the GMP include directory +# QCustomPlot_LIBRARIES - Libraries needed to use QCustomPlot + +# Copyright (c) 2013, Anton Gladky +# +# Redistribution and use is allowed according to the terms of the GPL-3 license. + + +IF (QCustomPlot_INCLUDE_DIR AND QCustomPlot_LIBRARIES) + SET(QCustomPlot_FIND_QUIETLY TRUE) +ENDIF (QCustomPlot_INCLUDE_DIR AND QCustomPlot_LIBRARIES) + +FIND_PATH(QCustomPlot_INCLUDE_DIR NAMES qcustomplot.h ) +FIND_LIBRARY(QCustomPlot_LIBRARIES NAMES qcustomplot ) + +include(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(QCustomPlot DEFAULT_MSG QCustomPlot_INCLUDE_DIR QCustomPlot_LIBRARIES) --- /dev/null +++ b/examples/interactions/CMakeLists.txt @@ -0,0 +1,23 @@ +project(interactions CXX) +cmake_minimum_required(VERSION 2.8) + +set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake") + +INCLUDE(GNUInstallDirs) + + +FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED) +FIND_PACKAGE(QCustomPlot REQUIRED) + +INCLUDE_DIRECTORIES(${QT_INCLUDES}) +INCLUDE_DIRECTORIES(${QCustomPlot_INCLUDE_DIR}) +INCLUDE(${QT_USE_FILE}) + +QT4_WRAP_CPP(TEST_MOC_OUTFILES mainwindow.h) +QT4_WRAP_UI(TEST_FORMS_HEADERS mainwindow.ui) + +ADD_EXECUTABLE(interactions main.cpp mainwindow.cpp ${TEST_MOC_OUTFILES} ${TEST_FORMS_HEADERS} ${TEST_MOC_OUTFILES}) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) + +TARGET_LINK_LIBRARIES(interactions ${QT_LIBRARIES} ${QCustomPlot_LIBRARIES}) +INSTALL(TARGETS interactions DESTINATION ${CMAKE_INSTALL_BINDIR}) --- /dev/null +++ b/examples/plots/CMakeLists.txt @@ -0,0 +1,23 @@ +project(plots CXX) +cmake_minimum_required(VERSION 2.8) + +set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake") + +INCLUDE(GNUInstallDirs) + + +FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED) +FIND_PACKAGE(QCustomPlot REQUIRED) + +INCLUDE_DIRECTORIES(${QT_INCLUDES}) +INCLUDE_DIRECTORIES(${QCustomPlot_INCLUDE_DIR}) +INCLUDE(${QT_USE_FILE}) + +QT4_WRAP_CPP(TEST_MOC_OUTFILES mainwindow.h) +QT4_WRAP_UI(TEST_FORMS_HEADERS mainwindow.ui) + +ADD_EXECUTABLE(plots main.cpp mainwindow.cpp ${TEST_MOC_OUTFILES} ${TEST_FORMS_HEADERS} ${TEST_MOC_OUTFILES}) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) + +TARGET_LINK_LIBRARIES(plots ${QT_LIBRARIES} ${QCustomPlot_LIBRARIES}) +INSTALL(TARGETS plots DESTINATION ${CMAKE_INSTALL_BINDIR}) --- /dev/null +++ b/examples/scrollbar-axis-range-control/CMakeLists.txt @@ -0,0 +1,23 @@ +project(scrollbar CXX) +cmake_minimum_required(VERSION 2.8) + +set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake") + +INCLUDE(GNUInstallDirs) + + +FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED) +FIND_PACKAGE(QCustomPlot REQUIRED) + +INCLUDE_DIRECTORIES(${QT_INCLUDES}) +INCLUDE_DIRECTORIES(${QCustomPlot_INCLUDE_DIR}) +INCLUDE(${QT_USE_FILE}) + +QT4_WRAP_CPP(TEST_MOC_OUTFILES mainwindow.h) +QT4_WRAP_UI(TEST_FORMS_HEADERS mainwindow.ui) + +ADD_EXECUTABLE(scrollbar main.cpp mainwindow.cpp ${TEST_MOC_OUTFILES} ${TEST_FORMS_HEADERS} ${TEST_MOC_OUTFILES}) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) + +TARGET_LINK_LIBRARIES(scrollbar ${QT_LIBRARIES} ${QCustomPlot_LIBRARIES}) +INSTALL(TARGETS scrollbar DESTINATION ${CMAKE_INSTALL_BINDIR}) --- /dev/null +++ b/examples/text-document-integration/CMakeLists.txt @@ -0,0 +1,23 @@ +project(text CXX) +cmake_minimum_required(VERSION 2.8) + +set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake") + +INCLUDE(GNUInstallDirs) + + +FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED) +FIND_PACKAGE(QCustomPlot REQUIRED) + +INCLUDE_DIRECTORIES(${QT_INCLUDES}) +INCLUDE_DIRECTORIES(${QCustomPlot_INCLUDE_DIR}) +INCLUDE(${QT_USE_FILE}) + +QT4_WRAP_CPP(TEST_MOC_OUTFILES mainwindow.h qcpdocumentobject.h) +QT4_WRAP_UI(TEST_FORMS_HEADERS mainwindow.ui) + +ADD_EXECUTABLE(text main.cpp mainwindow.cpp qcpdocumentobject.cpp ${TEST_MOC_OUTFILES} ${TEST_FORMS_HEADERS} ${TEST_MOC_OUTFILES}) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) + +TARGET_LINK_LIBRARIES(text ${QT_LIBRARIES} ${QCustomPlot_LIBRARIES}) +INSTALL(TARGETS text DESTINATION ${CMAKE_INSTALL_BINDIR}) debian/source/0000755000000000000000000000000012100604024010453 5ustar debian/source/format0000644000000000000000000000001412100604024011661 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212100604024010351 0ustar 9 debian/changelog0000644000000000000000000000023512237215604011042 0ustar qcustomplot (1.1.0-1) unstable; urgency=low * Initial packaging. (Closes: #729075). -- Anton Gladky Fri, 08 Nov 2013 18:12:34 +0100 debian/libqcustomplot-dev.install0000644000000000000000000000006212237217644014421 0ustar usr/include usr/lib/*/libqcustomplot.so usr/share