Add patch for python to read utf-8 directory tree
authorDimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
Tue, 11 Sep 2012 22:29:40 +0000 (01:29 +0300)
committerDimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
Tue, 11 Sep 2012 22:29:40 +0000 (01:29 +0300)
CMakeLists.txt
debian/changelog
debian/control
debian/patches/CMakeLists-txt.patch [new file with mode: 0644]
debian/patches/lang-setup-py-in.patch [new file with mode: 0644]
debian/patches/series
lang/setup.py.in

index db2c551efc698f23995a477b2206921052a4c603..75415b9b6e81de6f729ee00c1cb8872b124d55f4 100644 (file)
@@ -6,31 +6,31 @@ set(MathGL_VERSION_MAJOR 2)
 set(MathGL_VERSION_MINOR 0)
 
 option(enable-double "Enable double precision in MathGL library" ON)
-option(enable-simple "Slightly increase drawing speed but disable mglDataA class")
-option(enable-mpi "Enable mpi")
-option(enable-all "Enable all features")
-option(enable-langall "Enable all language interfaces")
+option(enable-simple "Slightly increase drawing speed but disable mglDataA class" OFF)
+option(enable-mpi "Enable mpi" ON)
+option(enable-all "Enable all features" ON)
+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-pthread "Enable POSIX threads support" ON)
+option(enable-gsl "Enable gsl support" ON)
+option(enable-jpeg "Enable jpeg support" ON)
 option(enable-png "Enable png support" ON)
 option(enable-zlib "Enable zlib 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-pdf "Enable pdf support" ON)
+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-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)
 
 include_directories( ${MathGL_SOURCE_DIR}/include ${MathGL_BINARY_DIR}/include)
 
index 5c82dc7b8fcc49830d185081a01110d74aceab00..23bee525eea40882bc42f95268f34164451f4b52 100644 (file)
@@ -1,6 +1,9 @@
-mathgl (2.0.3-1) experimental; urgency=low
+mathgl (2.0.3-1) unstable; urgency=low
 
   * New upstream release.
+  * Add mpi-default-dev to build dependencies.
+  * Add patch for lang/setup.py.in to enable python to read directory tree 
+    written in utf-8 (not ascii) encoding. 
 
  -- Dimitrios Eftaxiopoulos <eftaxi12@otenet.gr>  Tue, 11 Sep 2012 21:19:08 +0300
 
index 7b12b317d124d9e35e8ffdb9a7f4334d9e3301f8..74bdc742b50920157160102a82b4a780dd4f0a0a 100644 (file)
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 7.2.3~), libltdl-dev, libgsl0-dev, freeglut3-dev,
  libjpeg-dev, libtiff-dev, libfltk1.3-dev, libqt4-dev, libwxgtk2.8-dev, 
  texinfo, texi2html, texlive, texlive-generic-recommended, liboctave-dev,
  libgif-dev, python, python-dev, python-numpy, python-support, libfontconfig1-dev,
- libhdf4-dev, chrpath, libxinerama-dev, libxmu-dev, libxi-dev, libhpdf-dev
+ libhdf4-dev, chrpath, libxinerama-dev, libxmu-dev, libxi-dev, libhpdf-dev,
+ mpi-default-dev
 Standards-Version: 3.9.3
 Homepage: http://mathgl.sourceforge.net/index.html
 Vcs-Git: git://git.debian.org/debian-science/packages/mathgl.git
diff --git a/debian/patches/CMakeLists-txt.patch b/debian/patches/CMakeLists-txt.patch
new file mode 100644 (file)
index 0000000..b043dc3
--- /dev/null
@@ -0,0 +1,52 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -6,31 +6,31 @@
+ set(MathGL_VERSION_MINOR 0)
+ option(enable-double "Enable double precision in MathGL library" ON)
+-option(enable-simple "Slightly increase drawing speed but disable mglDataA class")
+-option(enable-mpi "Enable mpi")
+-option(enable-all "Enable all features")
+-option(enable-langall "Enable all language interfaces")
++option(enable-simple "Slightly increase drawing speed but disable mglDataA class" OFF)
++option(enable-mpi "Enable mpi" ON)
++option(enable-all "Enable all features" ON)
++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-pthread "Enable POSIX threads support" ON)
++option(enable-gsl "Enable gsl support" ON)
++option(enable-jpeg "Enable jpeg support" ON)
+ option(enable-png "Enable png support" ON)
+ option(enable-zlib "Enable zlib 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-pdf "Enable pdf support" ON)
++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-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)
+ include_directories( ${MathGL_SOURCE_DIR}/include ${MathGL_BINARY_DIR}/include)
diff --git a/debian/patches/lang-setup-py-in.patch b/debian/patches/lang-setup-py-in.patch
new file mode 100644 (file)
index 0000000..97d065d
--- /dev/null
@@ -0,0 +1,8 @@
+--- a/lang/setup.py.in
++++ b/lang/setup.py.in
+@@ -1,4 +1,5 @@
+ from distutils.core import setup, Extension
++# -*- encoding: utf-8 -*-
+ import os
+ mgl_i="${MGL_I}"
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e84cfd696073e6a587096f92565ea4ee5a65ff6a 100644 (file)
@@ -0,0 +1,2 @@
+CMakeLists-txt.patch
+lang-setup-py-in.patch
index 05edce4a7dbc1f883ffa84dbac8b10be1aff8387..44c57304831c552915ea28c2c60d16cc0d7724c4 100644 (file)
@@ -1,4 +1,5 @@
 from distutils.core import setup, Extension
+# -*- encoding: utf-8 -*-
 import os
 
 mgl_i="${MGL_I}"