[qcustomplot] 04/08: Update patch.
Anton Gladky
gladk at moszumanska.debian.org
Sun May 24 20:10:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository qcustomplot.
commit 3a3158587fb16e1d3ba88ce35f93283a30cd69cc
Author: Anton Gladky <gladk at debian.org>
Date: Sun May 24 20:48:28 2015 +0200
Update patch.
---
debian/patches/01_Add_CMakeLists.patch | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/debian/patches/01_Add_CMakeLists.patch b/debian/patches/01_Add_CMakeLists.patch
index 91ce635..eebc30c 100644
--- a/debian/patches/01_Add_CMakeLists.patch
+++ b/debian/patches/01_Add_CMakeLists.patch
@@ -1,16 +1,18 @@
Description: Add CMakeLists files for building of shared library and to examples
Author: Anton Gladky <gladk at debian.org>
-Last-Update: 2014-04-03
+Last-Update: 2015-05-24
+Index: qcustomplot/CMakeLists.txt
+===================================================================
--- /dev/null
-+++ b/CMakeLists.txt
++++ qcustomplot/CMakeLists.txt
@@ -0,0 +1,29 @@
+PROJECT(qcustomplot CXX)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+
+SET(Q_MAJOR_VERSION "1")
-+SET(Q_MINOR_VERSION "2")
-+SET(Q_PATCH_VERSION "0")
++SET(Q_MINOR_VERSION "3")
++SET(Q_PATCH_VERSION "1")
+
+INCLUDE(GNUInstallDirs)
+FIND_PACKAGE(Qt5Widgets REQUIRED)
@@ -34,8 +36,10 @@ Last-Update: 2014-04-03
+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")
+Index: qcustomplot/cmake/FindQCustomPlot.cmake
+===================================================================
--- /dev/null
-+++ b/cmake/FindQCustomPlot.cmake
++++ qcustomplot/cmake/FindQCustomPlot.cmake
@@ -0,0 +1,19 @@
+# Try to find the QCustomPlot librairies
+# QCustomPlot_FOUND - system has QCustomPlot lib
@@ -56,8 +60,10 @@ Last-Update: 2014-04-03
+
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(QCustomPlot DEFAULT_MSG QCustomPlot_INCLUDE_DIR QCustomPlot_LIBRARIES)
+Index: qcustomplot/examples/interactions/CMakeLists.txt
+===================================================================
--- /dev/null
-+++ b/examples/interactions/CMakeLists.txt
++++ qcustomplot/examples/interactions/CMakeLists.txt
@@ -0,0 +1,20 @@
+project(interactions CXX)
+cmake_minimum_required(VERSION 2.8)
@@ -79,8 +85,10 @@ Last-Update: 2014-04-03
+
+TARGET_LINK_LIBRARIES(interactions ${Qt5Widgets_LIBRARIES} ${QCustomPlot_LIBRARIES} Qt5::PrintSupport)
+INSTALL(TARGETS interactions DESTINATION ${CMAKE_INSTALL_BINDIR})
+Index: qcustomplot/examples/plots/CMakeLists.txt
+===================================================================
--- /dev/null
-+++ b/examples/plots/CMakeLists.txt
++++ qcustomplot/examples/plots/CMakeLists.txt
@@ -0,0 +1,20 @@
+project(plots CXX)
+cmake_minimum_required(VERSION 2.8)
@@ -102,8 +110,10 @@ Last-Update: 2014-04-03
+
+TARGET_LINK_LIBRARIES(plots ${Qt5Widgets_LIBRARIES} ${QCustomPlot_LIBRARIES} Qt5::PrintSupport)
+INSTALL(TARGETS plots DESTINATION ${CMAKE_INSTALL_BINDIR})
+Index: qcustomplot/examples/scrollbar-axis-range-control/CMakeLists.txt
+===================================================================
--- /dev/null
-+++ b/examples/scrollbar-axis-range-control/CMakeLists.txt
++++ qcustomplot/examples/scrollbar-axis-range-control/CMakeLists.txt
@@ -0,0 +1,20 @@
+project(scrollbar CXX)
+cmake_minimum_required(VERSION 2.8)
@@ -125,8 +135,10 @@ Last-Update: 2014-04-03
+
+TARGET_LINK_LIBRARIES(scrollbar ${Qt5Widgets_LIBRARIES} ${QCustomPlot_LIBRARIES} Qt5::PrintSupport)
+INSTALL(TARGETS scrollbar DESTINATION ${CMAKE_INSTALL_BINDIR})
+Index: qcustomplot/examples/text-document-integration/CMakeLists.txt
+===================================================================
--- /dev/null
-+++ b/examples/text-document-integration/CMakeLists.txt
++++ qcustomplot/examples/text-document-integration/CMakeLists.txt
@@ -0,0 +1,20 @@
+project(text CXX)
+cmake_minimum_required(VERSION 2.8)
--
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