[plplot] 01/02: Enable Octave bindings

Ole Streicher olebole at moszumanska.debian.org
Tue Jul 18 18:35:38 UTC 2017


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

olebole pushed a commit to branch master
in repository plplot.

commit b34d036e4faaa188acc8afda8274c10c271e9ea7
Author: Ole Streicher <olebole at debian.org>
Date:   Fri Jul 14 09:17:03 2017 +0200

    Enable Octave bindings
---
 debian/control | 21 +++++++++++++++++++++
 debian/rules   |  4 ++++
 2 files changed, 25 insertions(+)

diff --git a/debian/control b/debian/control
index 278d726..9f55576 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends: camlidl,
                iwidgets4,
                libltdl3-dev,
                liblua5.1-0-dev,
+               liboctave-dev,
                libqhull-dev (>= 2003.1-8),
                libqt4-dev,
                libshp-dev,
@@ -459,6 +460,26 @@ 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
+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: libplplotada2
 Architecture: any
 Multi-Arch: same
diff --git a/debian/rules b/debian/rules
index de41d72..b0e7f97 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