project( MathGL )
set(CMAKE_VERBOSE_MAKEFILE ON)
-option(enable-double "Enable double precision in MathGL library")
+option(enable-double "Enable double precision in MathGL library" ON)
option(enable-all "Enable all features")
-option(enable-langall "Enable all language interfaces")
+option(enable-langall "Enable all language interfaces" ON)
option(enable-lgpl "Enable only LGPL part of MathGL" OFF)
-option(enable-ltdl "Enable loading modules support")
-option(enable-pthread "Enable POSIX threads support")
-option(enable-gsl "Enable gsl support")
-option(enable-jpeg "Enable jpeg support")
-option(enable-u3d "Enable u3d support")
-option(enable-pdf "Enable pdf support")
-option(enable-gif "Enable gif support")
-option(enable-hdf4 "Enable hdf4 support")
-option(enable-hdf5 "Enable hdf5 1.6 support")
-option(enable-hdf5_18 "Enable hdf5 1.8 support")
+option(enable-ltdl "Enable loading modules support" ON)
+option(enable-pthread "Enable POSIX threads support" ON)
+option(enable-gsl "Enable gsl support" ON)
+option(enable-jpeg "Enable jpeg support" ON)
+option(enable-u3d "Enable u3d support" OFF)
+option(enable-pdf "Enable pdf support" OFF)
+option(enable-gif "Enable gif support" ON)
+option(enable-hdf4 "Enable hdf4 support" ON)
+option(enable-hdf5 "Enable hdf5 1.6 support" ON)
+option(enable-hdf5_18 "Enable hdf5 1.8 support" ON)
option(enable-opengl "Enable OpenGL support" ON)
-option(enable-glut "Enable glut support")
-option(enable-fltk "Enable fltk widget")
-option(enable-wx "Enable wxWidget widget")
-option(enable-qt "Enable Qt4 widget")
-option(enable-python "Enable python interface")
-option(enable-octave "Enable octave interface")
-option(enable-doc "Enable documentation building")
+option(enable-glut "Enable glut support" ON)
+option(enable-fltk "Enable fltk widget" ON)
+option(enable-wx "Enable wxWidget widget" ON)
+option(enable-qt "Enable Qt4 widget" ON)
+option(enable-python "Enable python interface" ON)
+option(enable-octave "Enable octave interface" ON)
+option(enable-doc "Enable documentation building" ON)
if(enable-double)
set(use_double 1)
endif(enable-double)
libjpeg-dev, libtiff-dev, libfltk1.3-dev, libqt4-dev, libwxgtk2.8-dev,
texinfo, texi2html, texlive, texlive-generic-recommended, octave3.2-headers,
libgif-dev, python, python-dev, python-numpy, python-support, libfontconfig1-dev,
- libhdf4-dev, chrpath, libxinerama-dev
+ libhdf4-dev, chrpath, libxinerama-dev, libxmu-dev, libxi-dev
Standards-Version: 3.9.3
Homepage: http://mathgl.sourceforge.net/index.html
Vcs-Git: git://git.debian.org/debian-science/packages/mathgl.git
.
This package contains MathGL utilities and examples.
+Package: mathgl-doc-en
+Architecture: all
+Section: doc
+Depends: dpkg (>= 1.15.4) | install-info, ${misc:Depends}
+Replaces: mathgl-doc
+Description: library for scientific graphs. (English documentation)
+ A free cross-platform library of fast C++ routines for plotting data in up
+ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF
+ files. There are simple window interfaces based on GLUT, FLTK and/or Qt.
+ MathGL can also be used in the console. There are interfaces to a set of
+ languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
+ .
+ This package contains the MathGL documentation in English.
+
+Package: mathgl-doc-ru
+Architecture: all
+Section: doc
+Depends: dpkg (>= 1.15.4) | install-info, ${misc:Depends}
+Replaces: mathgl-doc
+Description: library for scientific graphs. (Russian documentation)
+ A free cross-platform library of fast C++ routines for plotting data in up
+ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF
+ files. There are simple window interfaces based on GLUT, FLTK and/or Qt.
+ MathGL can also be used in the console. There are interfaces to a set of
+ languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
+ .
+ This package contains the MathGL documentation in Russian.
+
Package: libmgl6
Architecture: any
Section: libs
MathGL can also be used in the console. There are interfaces to a set of
languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
.
- This package contains the development files.
\ No newline at end of file
+ This package contains the development files.
+
+
+Package: python-mathgl
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-numpy-abi9
+Description: library for scientific graphs. (Python module)
+ A free cross-platform library of fast C++ routines for plotting data in up
+ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF
+ files. There are simple window interfaces based on GLUT, FLTK and/or Qt.
+ MathGL can also be used in the console. There are interfaces to a set of
+ languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
+ .
+ This package provides the Python module for mathgl.
\ No newline at end of file
--- /dev/null
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,28 +2,28 @@
+
+ project( MathGL )
+ set(CMAKE_VERBOSE_MAKEFILE ON)
+-option(enable-double "Enable double precision in MathGL library")
++option(enable-double "Enable double precision in MathGL library" ON)
+ option(enable-all "Enable all features")
+-option(enable-langall "Enable all language interfaces")
++option(enable-langall "Enable all language interfaces" ON)
+ option(enable-lgpl "Enable only LGPL part of MathGL" OFF)
+-option(enable-ltdl "Enable loading modules support")
+-option(enable-pthread "Enable POSIX threads support")
+-option(enable-gsl "Enable gsl support")
+-option(enable-jpeg "Enable jpeg support")
+-option(enable-u3d "Enable u3d support")
+-option(enable-pdf "Enable pdf support")
+-option(enable-gif "Enable gif support")
+-option(enable-hdf4 "Enable hdf4 support")
+-option(enable-hdf5 "Enable hdf5 1.6 support")
+-option(enable-hdf5_18 "Enable hdf5 1.8 support")
++option(enable-ltdl "Enable loading modules support" ON)
++option(enable-pthread "Enable POSIX threads support" ON)
++option(enable-gsl "Enable gsl support" ON)
++option(enable-jpeg "Enable jpeg support" ON)
++option(enable-u3d "Enable u3d support" OFF)
++option(enable-pdf "Enable pdf support" OFF)
++option(enable-gif "Enable gif support" ON)
++option(enable-hdf4 "Enable hdf4 support" ON)
++option(enable-hdf5 "Enable hdf5 1.6 support" ON)
++option(enable-hdf5_18 "Enable hdf5 1.8 support" ON)
+ option(enable-opengl "Enable OpenGL support" ON)
+-option(enable-glut "Enable glut support")
+-option(enable-fltk "Enable fltk widget")
+-option(enable-wx "Enable wxWidget widget")
+-option(enable-qt "Enable Qt4 widget")
+-option(enable-python "Enable python interface")
+-option(enable-octave "Enable octave interface")
+-option(enable-doc "Enable documentation building")
++option(enable-glut "Enable glut support" ON)
++option(enable-fltk "Enable fltk widget" ON)
++option(enable-wx "Enable wxWidget widget" ON)
++option(enable-qt "Enable Qt4 widget" ON)
++option(enable-python "Enable python interface" ON)
++option(enable-octave "Enable octave interface" ON)
++option(enable-doc "Enable documentation building" ON)
+ if(enable-double)
+ set(use_double 1)
+ endif(enable-double)
--- /dev/null
+CMakeLists-txt.patch
dh_testdir
dh_auto_configure --buildsystem=cmake
dh_auto_build --buildsystem=cmake
-# dh_auto_test
+ dh_auto_test
binary-indep:
dh_testroot -i