[SCM] Packaging for mathgl branch, experimental, updated. debian/2_rc2-9-g217120d

Dimitrios Eftaxiopoulos eftaxi12 at otenet.gr
Fri Mar 9 22:48:33 UTC 2012


The following commit has been merged in the experimental branch:
commit 6be9b8416677a3a1bbecc76709603656a968b93e
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Fri Mar 9 23:59:20 2012 +0200

    Define cmake as buildsystem in debian/rules

diff --git a/debian/control b/debian/control
index e58d13e..e98a980 100644
--- a/debian/control
+++ b/debian/control
@@ -28,6 +28,34 @@ 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
@@ -80,3 +108,16 @@ 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/rules b/debian/rules
index f1b3d3f..664d339 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,32 +12,32 @@ export DH_OPTIONS=-v
 
 clean:
 	dh_testdir
-	rm -rf png/*.png lang/CMakeFiles/_mathgl.dir/mglPYTHON_wrap.cxx.o \
-	      CMakeFiles/CompilerIdC/a.out CMakeFiles/CompilerIdCXX/a.out \
-	      lang/_mathgl.so CMakeCache.txt CMakeFiles Makefile\
-	      cmake_install.cmake examples/CMakeFiles examples/Makefile \
-	      examples/cmake_install.cmake include/CMakeFiles \
-	      include/Makefile include/cmake_install.cmake \
-	      include/mgl/config.h lang/CMakeFiles lang/Makefile \
-	      lang/cmake_install.cmake lang/mathgl.py lang/mglPYTHON_wrap.cxx \
-	      src/CMakeFiles src/Makefile src/cmake_install.cmake \
-	      texinfo/CMakeFiles texinfo/Makefile texinfo/cmake_install.cmake \
-	      udav/CMakeFiles udav/Makefile udav/cmake_install.cmake \
-	      udav/udav.qrc.depends utils/CMakeFiles utils/Makefile \
-	      utils/cmake_install.cmake widgets/CMakeFiles widgets/Makefile \
-	      widgets/cmake_install.cmake widgets/libmgl-wnd.so src/libmgl.so \
-	      widgets/libmgl-wnd.so.6.0.0 examples/mgl_example utils/mglconv \
-	      src/libmgl.a src/libmgl.so.6.0.0 widgets/libmgl-wnd.a
-	dh_auto_clean
-	dh_clean 
+# 	rm -rf png/*.png lang/CMakeFiles/_mathgl.dir/mglPYTHON_wrap.cxx.o \
+# 	      CMakeFiles/CompilerIdC/a.out CMakeFiles/CompilerIdCXX/a.out \
+# 	      lang/_mathgl.so CMakeCache.txt CMakeFiles Makefile\
+# 	      cmake_install.cmake examples/CMakeFiles examples/Makefile \
+# 	      examples/cmake_install.cmake include/CMakeFiles \
+# 	      include/Makefile include/cmake_install.cmake \
+# 	      include/mgl/config.h lang/CMakeFiles lang/Makefile \
+# 	      lang/cmake_install.cmake lang/mathgl.py lang/mglPYTHON_wrap.cxx \
+# 	      src/CMakeFiles src/Makefile src/cmake_install.cmake \
+# 	      texinfo/CMakeFiles texinfo/Makefile texinfo/cmake_install.cmake \
+# 	      udav/CMakeFiles udav/Makefile udav/cmake_install.cmake \
+# 	      udav/udav.qrc.depends utils/CMakeFiles utils/Makefile \
+# 	      utils/cmake_install.cmake widgets/CMakeFiles widgets/Makefile \
+# 	      widgets/cmake_install.cmake widgets/libmgl-wnd.so src/libmgl.so \
+# 	      widgets/libmgl-wnd.so.6.0.0 examples/mgl_example utils/mglconv \
+# 	      src/libmgl.a src/libmgl.so.6.0.0 widgets/libmgl-wnd.a
+	dh_auto_clean --buildsystem=cmake
+	dh_clean
 
 build: build-arch build-indep
 build-arch: build-stamp
 build-indep: build-stamp
 build-stamp:
 	dh_testdir
-	cmake .
-	dh_auto_build
+	dh_auto_configure --buildsystem=cmake
+	dh_auto_build --buildsystem=cmake
 #	dh_auto_test
 
 binary-indep:
diff --git a/debian/source/options b/debian/source/options
index e957e3f..6058341 100644
--- a/debian/source/options
+++ b/debian/source/options
@@ -1 +1 @@
- extend-diff-ignore = "(^|/)(config\.log|lang/numpy\.i|texinfo/Makefile\.am|install_manifest\.txt)$"
\ No newline at end of file
+ extend-diff-ignore = "(^|/)(install_manifest\.txt|include/mgl/config\.h)$"
\ No newline at end of file
diff --git a/include/config.h.in b/include/mgl/config.h
similarity index 56%
copy from include/config.h.in
copy to include/mgl/config.h
index b73a9d7..4deae5f 100644
--- a/include/config.h.in
+++ b/include/mgl/config.h
@@ -1,3 +1,3 @@
 /* This define enables double precision in MathGL */
-#define MGL_USE_DOUBLE ${MGL_USE_DOUBLE}
+#define MGL_USE_DOUBLE 0
 

-- 
Packaging for mathgl



More information about the debian-science-commits mailing list