[qcustomplot] 01/02: Add debian-folder.

Anton Gladky gladk at alioth.debian.org
Fri Nov 8 17:36:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository qcustomplot.

commit 63a3c2ab58be62ddeeb7be7064c009a18ccb398c
Author: Anton Gladky <gladk at debian.org>
Date:   Fri Nov 8 18:30:08 2013 +0100

    Add debian-folder.
---
 debian/changelog                       |    5 +
 debian/compat                          |    1 +
 debian/control                         |   67 +++++++++++++
 debian/copyright                       |   12 +++
 debian/libqcustomplot-dev.install      |    3 +
 debian/libqcustomplot-doc.doc-base     |    9 ++
 debian/libqcustomplot-doc.docs         |    1 +
 debian/libqcustomplot-doc.examples     |    1 +
 debian/libqcustomplot1.1.install       |    1 +
 debian/patches/01_Add_CMakeLists.patch |  163 ++++++++++++++++++++++++++++++++
 debian/patches/series                  |    1 +
 debian/rules                           |    7 ++
 debian/source/format                   |    1 +
 13 files changed, 272 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7e7017b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qcustomplot (1.1.0-1) unstable; urgency=low
+
+  * Initial packaging. (Closes: #729075).
+
+ -- Anton Gladky <gladk at debian.org>  Fri, 08 Nov 2013 18:12:34 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..689cae7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,67 @@
+Source: qcustomplot
+Section: libs
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Anton Gladky <gladk at debian.org>
+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:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libqcustomplot1.1 (= ${binary:Version})
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..977f9ba
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,12 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: QCustomPlot
+Upstream-Contact: support at 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
+
diff --git a/debian/libqcustomplot-dev.install b/debian/libqcustomplot-dev.install
new file mode 100644
index 0000000..e155401
--- /dev/null
+++ b/debian/libqcustomplot-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/libqcustomplot.so
+usr/share
diff --git a/debian/libqcustomplot-doc.doc-base b/debian/libqcustomplot-doc.doc-base
new file mode 100644
index 0000000..2c6711b
--- /dev/null
+++ b/debian/libqcustomplot-doc.doc-base
@@ -0,0 +1,9 @@
+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/*
diff --git a/debian/libqcustomplot-doc.docs b/debian/libqcustomplot-doc.docs
new file mode 100644
index 0000000..cd31449
--- /dev/null
+++ b/debian/libqcustomplot-doc.docs
@@ -0,0 +1 @@
+documentation/html
diff --git a/debian/libqcustomplot-doc.examples b/debian/libqcustomplot-doc.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/libqcustomplot-doc.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/libqcustomplot1.1.install b/debian/libqcustomplot1.1.install
new file mode 100644
index 0000000..6ebfe3e
--- /dev/null
+++ b/debian/libqcustomplot1.1.install
@@ -0,0 +1 @@
+usr/lib/*/libqcustomplot.so.*
diff --git a/debian/patches/01_Add_CMakeLists.patch b/debian/patches/01_Add_CMakeLists.patch
new file mode 100644
index 0000000..d8527d2
--- /dev/null
+++ b/debian/patches/01_Add_CMakeLists.patch
@@ -0,0 +1,163 @@
+Description: Add CMakeLists files for building of shared library and to examples
+Author: Anton Gladky <gladk at debian.org>
+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 <gladk at debian.org>
++#
++# 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})
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4f4a818
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_Add_CMakeLists.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4b3e696
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --parallel
+
+override_dh_strip:
+	dh_strip --dbg-package=libqcustomplot1.1-dbg
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qcustomplot.git



More information about the debian-science-commits mailing list