pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kplotting: Add kplotting-5.18.0 as wip/kplotting



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Sun Jan 31 17:57:57 2016 +1300
Changeset:	8da47896c4b8ad1f5ffac5ef931bba22a682811e

Added Files:
	kplotting/DESCR
	kplotting/Makefile
	kplotting/PLIST
	kplotting/distinfo

Log Message:
kplotting: Add kplotting-5.18.0 as wip/kplotting

KPlotWidget is a QWidget-derived class that provides a virtual base class
for easy data-plotting. The idea behind KPlotWidget is that you only have
to specify information in "data units"; i.e., the natural units of the
data being plotted.  KPlotWidget automatically converts everything
to screen pixel units.

KPlotWidget draws X and Y axes with tick marks and tick labels.  It
automatically determines how many tick marks to use and where they should
be, based on the data limits specified for the plot.  You change the limits
by calling `setLimits(double x1, double x2, double y1, double y2)`.

Data to be plotted are stored using the KPlotObject class.  KPlotObject
consists of a QList of QPointF's, each specifying the X,Y coordinates
of a data point.  KPlotObject also specifies the "type" of data to be
plotted (POINTS or CURVE or POLYGON or LABEL).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8da47896c4b8ad1f5ffac5ef931bba22a682811e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 kplotting/DESCR    | 15 +++++++++++++++
 kplotting/Makefile | 13 +++++++++++++
 kplotting/PLIST    | 19 +++++++++++++++++++
 kplotting/distinfo |  6 ++++++
 4 files changed, 53 insertions(+)

diffs:
diff --git a/kplotting/DESCR b/kplotting/DESCR
new file mode 100644
index 0000000..8b1a046
--- /dev/null
+++ b/kplotting/DESCR
@@ -0,0 +1,15 @@
+KPlotWidget is a QWidget-derived class that provides a virtual base class
+for easy data-plotting. The idea behind KPlotWidget is that you only have
+to specify information in "data units"; i.e., the natural units of the
+data being plotted.  KPlotWidget automatically converts everything
+to screen pixel units.
+
+KPlotWidget draws X and Y axes with tick marks and tick labels.  It
+automatically determines how many tick marks to use and where they should
+be, based on the data limits specified for the plot.  You change the limits
+by calling `setLimits(double x1, double x2, double y1, double y2)`.
+
+Data to be plotted are stored using the KPlotObject class.  KPlotObject
+consists of a QList of QPointF's, each specifying the X,Y coordinates
+of a data point.  KPlotObject also specifies the "type" of data to be
+plotted (POINTS or CURVE or POLYGON or LABEL).
diff --git a/kplotting/Makefile b/kplotting/Makefile
new file mode 100644
index 0000000..6c96aba
--- /dev/null
+++ b/kplotting/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.25 2016/01/10 20:01:05 markd Exp $
+
+DISTNAME=	kplotting-${KF5VER}
+CATEGORIES=	graphics
+
+HOMEPAGE=	https://projects.kde.org/projects/frameworks/kplotting
+COMMENT=	Lightweight plotting framework
+LICENSE=	gnu-lgpl-v2.1
+
+.include "../../wip/kf5/Makefile.common"
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/kplotting/PLIST b/kplotting/PLIST
new file mode 100644
index 0000000..ae6b214
--- /dev/null
+++ b/kplotting/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+include/KF5/KPlotting/KPlotAxis
+include/KF5/KPlotting/KPlotObject
+include/KF5/KPlotting/KPlotPoint
+include/KF5/KPlotting/KPlotWidget
+include/KF5/KPlotting/kplotaxis.h
+include/KF5/KPlotting/kplotobject.h
+include/KF5/KPlotting/kplotpoint.h
+include/KF5/KPlotting/kplotting_export.h
+include/KF5/KPlotting/kplotwidget.h
+include/KF5/kplotting_version.h
+lib/cmake/KF5Plotting/KF5PlottingConfig.cmake
+lib/cmake/KF5Plotting/KF5PlottingConfigVersion.cmake
+lib/cmake/KF5Plotting/KF5PlottingTargets-noconfig.cmake
+lib/cmake/KF5Plotting/KF5PlottingTargets.cmake
+lib/libKF5Plotting.so
+lib/libKF5Plotting.so.5
+lib/libKF5Plotting.so.${PKGVERSION}
+qt5/mkspecs/modules/qt_KPlotting.pri
diff --git a/kplotting/distinfo b/kplotting/distinfo
new file mode 100644
index 0000000..92f6994
--- /dev/null
+++ b/kplotting/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (kplotting-5.18.0.tar.xz) = bf20f765a1382a12872fec48277e8c96839d74e9
+RMD160 (kplotting-5.18.0.tar.xz) = d0b74cda2afd012caddc55f09cce86b10587fa04
+SHA512 (kplotting-5.18.0.tar.xz) = 920ddca57903545edc895ed58455ac8dada55f5dee5846ae67d65d360b7032be28a7b63c249ffef3594f486ea414fd1e1dd3f29da567c235af3d337067874f41
+Size (kplotting-5.18.0.tar.xz) = 29488 bytes


Home | Main Index | Thread Index | Old Index