[plplot] 01/01: Enable Octave bindings
Ole Streicher
olebole at moszumanska.debian.org
Fri Jul 14 07:17:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch enable_octave
in repository plplot.
commit 652a2bc34f0f3aca3c6bac55f335bc6a79f793d7
Author: Ole Streicher <olebole at debian.org>
Date: Fri Jul 14 09:17:03 2017 +0200
Enable Octave bindings
---
debian/control | 22 ++++++++++++++++++++++
debian/rules | 4 ++++
2 files changed, 26 insertions(+)
diff --git a/debian/control b/debian/control
index 4fddbf1..ca4422e 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: camlidl,
liblablgtk2-ocaml-dev,
libltdl3-dev,
liblua5.1-0-dev,
+ liboctave-dev,
libqhull-dev (>= 2003.1-8),
libqt4-dev,
libshp-dev,
@@ -423,6 +424,27 @@ Description: Scientific plotting library (Python Qt GUI)
This package provides Python bindings to allow use of the PLplot API in
qt applications.
+Package: octave-plplot
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Depends: libplplot14 (= ${binary:Version}),
+ octave (>= 3.6.1),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Octave support for PLplot, a plotting library
+ PLplot is relatively small, portable, freely distributable, and is rich
+ enough to satisfy most users. It has a wide range of plot types including
+ line (linear, log), contour, 3D, fill, and almost 1000 characters
+ (including Greek and mathematical) in its extended font set. The package
+ is designed to make it easy to quickly get graphical output; only a
+ handful of function calls is typically required. For more advanced use,
+ virtually all aspects of plotting are configurable.
+ .
+ This package contains the Octave bindings for PLplot. It provides an
+ almost drop-in replacement for the traditional Gnuplot graphical
+ interface in Octave. Examples are also provided.
+
Package: libplplot-ada1
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
diff --git a/debian/rules b/debian/rules
index 53b26e4..fa63adf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Paths for Octave
+OCTDIR = $(shell octave-config --print LOCALAPIOCTFILEDIR)
+
# Note cmake ignores CPPFLAGS so add them to CFLAGS and CXXFLAGS as a
# work around
CPPFLAGS += $(shell mkoctfile -p INCFLAGS)
@@ -17,6 +20,7 @@ LDFLAGS += -Wl,--as-needed
CONFIGURE_OPTIONS = -DUSE_RPATH=OFF -DPLD_psttf=OFF -DENABLE_tk=ON \
-DBUILD_TEST=ON -DBUILD_DOC=ON \
-DENABLE_ada=ON \
+ -DOCTAVE_OCT_DIR=$(OCTDIR) -DTRY_OCTAVE4=ON \
-DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/plplot.git
More information about the debian-science-commits
mailing list