[gl2ps] 08/11: Add -doc package.

Anton Gladky gladk at moszumanska.debian.org
Sat May 20 11:00:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch experimental
in repository gl2ps.

commit ff7d078bfa2af5c756b56623632bb021854d5477
Author: Anton Gladky <gladk at debian.org>
Date:   Sat May 20 12:30:11 2017 +0200

    Add -doc package.
---
 debian/control           | 25 ++++++++++++++++++++++++-
 debian/libgl2ps-doc.docs |  1 +
 debian/rules             |  3 +++
 3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 7c61b45..60ddd8d 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 10),
                cmake,
                mesa-common-dev,
                libgl1-mesa-dev | libgl-dev
+Build-Depends-Indep: texlive-latex-recommended
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gl2ps.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/gl2ps.git
@@ -17,7 +18,7 @@ Architecture: any
 Section: libdevel
 Depends: libgl2ps1.4 (= ${binary:Version}),
          ${misc:Depends}
-Description: Lib providing high quality vector output for OpenGL application, dev files.
+Description: Lib providing high quality vector output for OpenGL application, dev files
  GL2PS is a C library providing high quality vector output for any OpenGL
  application. The main difference between GL2PS and other similar libraries
  is the use of sorting algorithms capable of handling intersecting and
@@ -55,3 +56,25 @@ Description: Lib providing high quality vector output for OpenGL application
  output formats should be relatively easy; you can also use the excellent
  pstoedit program to transform the PostScript files generated by GL2PS into
  many other vector formats such as xfig, cgm, wmf, etc.
+
+Package: libgl2ps-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Lib providing high quality vector output for OpenGL application. Documentation
+ GL2PS is a C library providing high quality vector output for any OpenGL
+ application. The main difference between GL2PS and other similar libraries
+ is the use of sorting algorithms capable of handling intersecting and
+ stretched polygons, as well as non manifold objects. GL2PS provides advanced
+ smooth shading and text rendering, culling of invisible primitives, mixed
+ vector/bitmap output, and much more...
+ .
+ GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS),
+ Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files,
+ as well as LATEX files for the text fragments. GL2PS also provides limited,
+ experimental support for Portable LaTeX Graphics (PGF). Adding new vector
+ output formats should be relatively easy; you can also use the excellent
+ pstoedit program to transform the PostScript files generated by GL2PS into
+ many other vector formats such as xfig, cgm, wmf, etc.
+ .
+ The package contains documentation
diff --git a/debian/libgl2ps-doc.docs b/debian/libgl2ps-doc.docs
new file mode 100644
index 0000000..416e2b5
--- /dev/null
+++ b/debian/libgl2ps-doc.docs
@@ -0,0 +1 @@
+gl2ps.pdf
diff --git a/debian/rules b/debian/rules
index 53f0466..3a8cf33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,6 @@ override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf *.pdf
 
+override_dh_auto_build-indep:
+	pdflatex gl2ps.tex; pdflatex gl2ps.tex; 
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gl2ps.git



More information about the debian-science-commits mailing list