mathgl (1.10.2.1-3) experimental; urgency=low
+ * Make .pdf sample pictures accessible from the html documentation.
* Correct several spelling mistakes in manpages and in lang/numpy.i
- * Created symbol files for libraries.
+ * Create symbol files for libraries.
* Add title to patch 00_add_info_section.diff.
* Register documentation to doc-base.
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: Dimitrios Eftaxiopoulos <eftaxi12@otenet.gr>, D Haley <mycae@yahoo.com>
DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7), libltdl-dev, libgsl0-dev, freeglut3-dev, libgl1-mesa-dev | libgl-dev, libpng-dev, libhdf5-serial-dev | libhdf5-dev, libjpeg-dev, libtiff-dev, libfltk-dev, libqt4-dev, libwxgtk2.8-dev, swig, texinfo, texi2html, texlive, texlive-generic-recommended,
- octave3.2-headers, libgif-dev, autoconf, automake, quilt, python, python-dev,
- python-numpy
+Build-Depends: debhelper (>= 7), libltdl-dev, libgsl0-dev, freeglut3-dev,
+ libgl1-mesa-dev | libgl-dev, libpng-dev, libhdf5-serial-dev | libhdf5-dev,
+ libjpeg-dev, libtiff-dev, libfltk-dev, libqt4-dev, libwxgtk2.8-dev, swig,
+ texinfo, texi2html, texlive, texlive-generic-recommended, octave3.2-headers,
+ libgif-dev, autoconf, automake, quilt, python, python-dev, python-numpy,
+ imagemagick
Standards-Version: 3.9.1
Homepage: http://mathgl.sourceforge.net/index.html
Vcs-Git: git://git.debian.org/debian-science/packages/mathgl.git
usr/share/doc/mathgl/mathgl_en.html/ usr/share/doc/mathgl-doc/en/
usr/share/doc/mathgl/png_static/ usr/share/doc/mathgl-doc/en/mathgl_en.html/
usr/share/doc/mathgl/png/ usr/share/doc/mathgl-doc/en/mathgl_en.html/
+usr/share/doc/mathgl/pdf_u3d/ usr/share/doc/mathgl-doc/en/mathgl_en.html/
usr/share/doc/mathgl/mathgl_en.pdf usr/share/doc/mathgl-doc/
usr/share/info/mathgl_en.info*
debian/folder/mathgl-doc /usr/share/doc-base/
\ No newline at end of file
* Let the directory entries appear in the manual.
-Index: mathgl-ds/texinfo/mathgl_en.texi
-===================================================================
---- mathgl-ds.orig/texinfo/mathgl_en.texi 2010-05-15 05:52:09.000000000 +1000
-+++ mathgl-ds/texinfo/mathgl_en.texi 2010-05-15 05:52:14.000000000 +1000
+--- a/texinfo/mathgl_en.texi
++++ b/texinfo/mathgl_en.texi
@@ -25,10 +25,10 @@
@end quotation
@end copying
@titlepage
@title MathGL
+@@ -84,7 +84,7 @@
+ @xref{\arg\}, for sample code and picture.
+ @end rmacro
+ @macro tdref{nam}
+-@uref{pdf_u3d/\nam\.pdf, 3D pdf}
++@uref{http://mathgl.sourceforge.net/pdf_u3d/\nam\.pdf, 3D pdf}
+ @end macro
+
+ @include overview_en.texi
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
+--- mathgl-1.10.2.1.orig/texinfo/mathgl_en.texi
++++ mathgl-1.10.2.1/texinfo/mathgl_en.texi
+@@ -84,7 +84,7 @@ supports it in developing GNU and promot
+ @xref{\arg\}, for sample code and picture.
+ @end rmacro
+ @macro tdref{nam}
+-@uref{http://mathgl.sourceforge.net/pdf_u3d/\nam\.pdf, 3D pdf}
++@uref{pdf_u3d/\nam\.pdf, 3D pdf}
+ @end macro
+
+ @include overview_en.texi
--- mathgl-1.10.2.1.orig/lang/numpy.i
+++ mathgl-1.10.2.1/lang/numpy.i
@@ -111,7 +111,7 @@
rm -f debian/tmp/usr/bin/*_example
rm -f debian/tmp/usr/share/info/dir
find debian \( -name mathgl.pyc -o -name mathgl.pyo \) -print0 | xargs -0 -r rm -f \;
+ mkdir -p debian/tmp/usr/share/doc/mathgl/pdf_u3d
+ mogrify -path debian/tmp/usr/share/doc/mathgl/pdf_u3d -format pdf debian/tmp/usr/share/doc/mathgl/png/*.png
binary-indep: build install
dh_installchangelogs ChangeLog.txt
dh_installdocs
dh_install --fail-missing
- rm -f debian/mathgl-doc/usr/share/doc/mathgl-doc/png/all.png
+# rm -f debian/mathgl-doc/usr/share/doc/mathgl-doc/png/all.png
+# rm -f debian/mathgl-doc/usr/share/doc/mathgl-doc/en/mathgl_en.html/pdf_u3d/*pdf.gz
dh_link
dh_strip
dh_compress
+ gunzip -r debian/mathgl-doc/usr/share/doc/mathgl-doc/en/mathgl_en.html/pdf_u3d
dh_fixperms
dh_makeshlibs
dh_installdeb
@xref{\arg\}, for sample code and picture.
@end rmacro
@macro tdref{nam}
-@uref{http://mathgl.sourceforge.net/pdf_u3d/\nam\.pdf, 3D pdf}
+@uref{pdf_u3d/\nam\.pdf, 3D pdf}
@end macro
@include overview_en.texi