pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/wxmathplot
Module Name: pkgsrc
Committed By: bouyer
Date: Wed Oct 11 13:32:38 UTC 2023
Added Files:
pkgsrc/math/wxmathplot: DESCR Makefile PLIST distinfo
pkgsrc/math/wxmathplot/patches: patch-CMakeLists.txt
Log Message:
import wxmathplot version 0.2.0
wxMathPlot is an add-on library for wxWidgets which provides a framework for
easy plotting of mathematical functions, sampled data and generic 2D plots.
Features:
Re implementation of scrollers (by ngpaton)
Multi-platform (runs static or dynamic on Windows, Linux, MacOSX)
Full control on axis formatting and positioning
Colour themes (eg. white on black)
Movable legend and mouse coordinate display in overlay
Functions for printing and taking screenshots
Completely mouse-driven view control: pan, zoom, scroll, box positioning.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/wxmathplot/DESCR \
pkgsrc/math/wxmathplot/Makefile pkgsrc/math/wxmathplot/PLIST \
pkgsrc/math/wxmathplot/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/wxmathplot/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/math/wxmathplot/DESCR
diff -u /dev/null pkgsrc/math/wxmathplot/DESCR:1.1
--- /dev/null Wed Oct 11 13:32:38 2023
+++ pkgsrc/math/wxmathplot/DESCR Wed Oct 11 13:32:37 2023
@@ -0,0 +1,10 @@
+wxMathPlot is an add-on library for wxWidgets which provides a framework for
+easy plotting of mathematical functions, sampled data and generic 2D plots.
+Features:
+ Re implementation of scrollers (by ngpaton)
+ Multi-platform (runs static or dynamic on Windows, Linux, MacOSX)
+ Full control on axis formatting and positioning
+ Colour themes (eg. white on black)
+ Movable legend and mouse coordinate display in overlay
+ Functions for printing and taking screenshots
+ Completely mouse-driven view control: pan, zoom, scroll, box positioning.
Index: pkgsrc/math/wxmathplot/Makefile
diff -u /dev/null pkgsrc/math/wxmathplot/Makefile:1.1
--- /dev/null Wed Oct 11 13:32:38 2023
+++ pkgsrc/math/wxmathplot/Makefile Wed Oct 11 13:32:37 2023
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2023/10/11 13:32:37 bouyer Exp $
+
+DISTNAME= wxMathPlot_0.2.0
+PKGNAME= wxmathplot-0.2.0
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxmathplot/}
+EXTRACT_SUFX= .zip
+WRKSRC= ${WRKDIR}/mathplot
+
+
+MAINTAINER= bouyer%netbsd.org@localhost
+HOMEPAGE= https://wxmathplot.sourceforge.io/
+COMMENT= wxWidgets add-on for easy 2D plotting
+# LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows
+LICENSE= gnu-lgpl-v2
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+.include "../../x11/wxGTK30/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/wxmathplot/PLIST
diff -u /dev/null pkgsrc/math/wxmathplot/PLIST:1.1
--- /dev/null Wed Oct 11 13:32:38 2023
+++ pkgsrc/math/wxmathplot/PLIST Wed Oct 11 13:32:37 2023
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/11 13:32:37 bouyer Exp $
+include/mathplot.h
+lib/libmathplot.a
+share/examples/wxMathPlot/samples/sample1/CMakeLists.txt
+share/examples/wxMathPlot/samples/sample1/mp1.cpp
+share/examples/wxMathPlot/samples/sample2/CMakeLists.txt
+share/examples/wxMathPlot/samples/sample2/mp2.cpp
+share/examples/wxMathPlot/samples/sample3/CMakeLists.txt
+share/examples/wxMathPlot/samples/sample3/gridmap.png
+share/examples/wxMathPlot/samples/sample3/sample3.cpp
Index: pkgsrc/math/wxmathplot/distinfo
diff -u /dev/null pkgsrc/math/wxmathplot/distinfo:1.1
--- /dev/null Wed Oct 11 13:32:38 2023
+++ pkgsrc/math/wxmathplot/distinfo Wed Oct 11 13:32:37 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/10/11 13:32:37 bouyer Exp $
+
+BLAKE2s (wxMathPlot_0.2.0.zip) = c150370c0101333597e2ff1e7454ce3286d63741629c52113e1bd666de7633a9
+SHA512 (wxMathPlot_0.2.0.zip) = eee818be09f1cb4c46bb66870168f56ca66f98ba0903568e16d93359e0ed59f9ec133f2e3930a2ecbec95b324a86278bafe2775f004703b7e527801e23aa1283
+Size (wxMathPlot_0.2.0.zip) = 136814 bytes
+SHA1 (patch-CMakeLists.txt) = 4dd7c962da8c702c36710c53debd52c00a794294
Index: pkgsrc/math/wxmathplot/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/math/wxmathplot/patches/patch-CMakeLists.txt:1.1
--- /dev/null Wed Oct 11 13:32:38 2023
+++ pkgsrc/math/wxmathplot/patches/patch-CMakeLists.txt Wed Oct 11 13:32:38 2023
@@ -0,0 +1,25 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2023/10/11 13:32:38 bouyer Exp $
+
+--- CMakeLists.txt.orig 2022-09-05 15:49:53.530659900 +0200
++++ CMakeLists.txt 2022-09-05 15:51:01.782790462 +0200
+@@ -89,18 +89,13 @@
+
+ # library installation
+ # if(UNIX)
+- if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+- set(LIBRARY_APPEND_PATH lib64)
+- else(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+- set(LIBRARY_APPEND_PATH lib)
+- endif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
++ set(LIBRARY_APPEND_PATH lib)
+ install(TARGETS mathplot
+ # RUNTIME DESTINATION bin
+ LIBRARY DESTINATION ${LIBRARY_APPEND_PATH}
+ ARCHIVE DESTINATION ${LIBRARY_APPEND_PATH}
+ )
+- set(WXMATHPLOT_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/wxMathPlot/)
+- install(FILES Doxyfile DESTINATION ${WXMATHPLOT_INSTALL_DIR}/)
++ set(WXMATHPLOT_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/examples/wxMathPlot/)
+ install(FILES mathplot.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/)
+ install(FILES samples/sample1/mp1.cpp samples/sample1/CMakeLists.txt DESTINATION ${WXMATHPLOT_INSTALL_DIR}/samples/sample1)
+ install(FILES samples/sample2/mp2.cpp samples/sample2/CMakeLists.txt DESTINATION ${WXMATHPLOT_INSTALL_DIR}/samples/sample2)
Home |
Main Index |
Thread Index |
Old Index