[SCM] Packaging for mathgl branch, experimental, updated. debian/2_rc2+svn361-1-11-gb27afc2

Dimitrios Eftaxiopoulos eftaxi12 at otenet.gr
Thu Mar 15 13:56:48 UTC 2012


The following commit has been merged in the experimental branch:
commit b27afc243ae50a1051fc53d60560c9f882b05b45
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Thu Mar 15 15:55:42 2012 +0200

    Built without docs and python module

diff --git a/CMakeLists.txt b/CMakeLists.txt
index acb96ba..01a9fee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,27 +2,27 @@ cmake_minimum_required(VERSION 2.6)
 
 project( MathGL )
 set(CMAKE_VERBOSE_MAKEFILE ON)
-option(enable-double "Enable double precision in MathGL library" ON)
+option(enable-double "Enable double precision in MathGL library")
 option(enable-all "Enable all features")
 option(enable-langall "Enable all language interfaces")
 option(enable-lgpl "Enable only LGPL part of MathGL" OFF)
-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-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" ON)
-option(enable-hdf4 "Enable hdf4 support" ON)
+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-opengl "Enable OpenGL support" ON)
-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-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")
 if(enable-double)
 	set(use_double 1)
diff --git a/debian/changelog b/debian/changelog
index ffb3242..08c6d7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mathgl (2~rc2+svn363-1) experimental; urgency=low
+
+  * Updated source from svn repository.
+
+ -- Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>  Thu, 15 Mar 2012 13:26:00 +0200
+
 mathgl (2~rc2+svn362-1) experimental; urgency=low
 
   * Updated source from svn repository.
diff --git a/debian/control b/debian/control
index 130f824..804d9c2 100644
--- a/debian/control
+++ b/debian/control
@@ -28,34 +28,6 @@ Description: library for scientific graphs. (utilities and examples)
  .
  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
@@ -108,17 +80,3 @@ Description: library for scientific graphs. (development files)
  languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
  .
  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
diff --git a/debian/patches/CMakeLists-txt.patch b/debian/patches/CMakeLists-txt.patch
deleted file mode 100644
index 5961df4..0000000
--- a/debian/patches/CMakeLists-txt.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,27 +2,27 @@
- 
- 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-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-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")
- option(enable-pdf "Enable pdf support")
--option(enable-gif "Enable gif support")
--option(enable-hdf4 "Enable hdf4 support")
-+option(enable-gif "Enable gif support" ON)
-+option(enable-hdf4 "Enable hdf4 support" ON)
- option(enable-hdf5 "Enable hdf5 1.6 support")
- option(enable-hdf5_18 "Enable hdf5 1.8 support")
- 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-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")
- if(enable-double)
- 	set(use_double 1)
diff --git a/debian/patches/series b/debian/patches/series
index 4277de1..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-CMakeLists-txt.patch
diff --git a/debian/rules b/debian/rules
index db6281d..3ffcb96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ binary-indep:
 	dh_testroot -i
 	dh_prep -i
 	dh_installdirs -i
-	dh_auto_install -i
+	dh_auto_install -i --buildsystem=cmake
 	dh_install -i
 	dh_installdocs -i
 	dh_installchangelogs -i
diff --git a/include/mgl/config.h b/include/mgl/config.h
index cc599d2..4deae5f 100644
--- a/include/mgl/config.h
+++ b/include/mgl/config.h
@@ -1,3 +1,3 @@
 /* This define enables double precision in MathGL */
-#define MGL_USE_DOUBLE 1
+#define MGL_USE_DOUBLE 0
 

-- 
Packaging for mathgl



More information about the debian-science-commits mailing list