[gnuplot5] 01/02: Provide info manual. (Closes: #778757)

Anton Gladky gladk at moszumanska.debian.org
Mon Jun 29 21:56:51 UTC 2015


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

gladk pushed a commit to branch master
in repository gnuplot5.

commit 1171a980df3dd1a38f8ae8d3fe68f959207dcfa8
Author: Vincent Lefevre <vincent at vinc17.net>
Date:   Mon Jun 29 23:32:54 2015 +0200

    Provide info manual. (Closes: #778757)
---
 debian/control               |  3 +-
 debian/patches/12_info.patch | 91 ++++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series        |  1 +
 debian/rules                 |  5 ++-
 4 files changed, 98 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index b431f9b..94cf39c 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,8 @@ Build-Depends: autoconf,
                texlive-latex-extra,
                texlive-latex-recommended,
                libwxgtk3.0-dev,
-               zlib1g-dev
+               zlib1g-dev,
+               emacs24
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gnuplot5.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/gnuplot5.git
diff --git a/debian/patches/12_info.patch b/debian/patches/12_info.patch
new file mode 100644
index 0000000..20bb293
--- /dev/null
+++ b/debian/patches/12_info.patch
@@ -0,0 +1,91 @@
+Description: generate info-file
+Author: Vincent Lefevre <vincent at vinc17.net>
+Reviewed-By: Anton Gladky <gladk at debian.org>
+Bug-Debian: http://bugs.debian.org/778757
+Last-Update: 2015-06-29
+
+Index: gnuplot5-5.0.1+dfsg1/docs/Makefile.am
+===================================================================
+--- gnuplot5-5.0.1+dfsg1.orig/docs/Makefile.am
++++ gnuplot5-5.0.1+dfsg1/docs/Makefile.am
+@@ -81,7 +81,7 @@ ELCS = gnuplot-eldoc.elc
+ CLEANFILES = allterm.h gnuplot.tex gnuplot.dvi gnuplot.aux gnuplot.log	\
+ gnuplot.toc gnuplot.ps gpcard.dvi gpcard.log gpcard.ps alldoc2gih	\
+ doc2gih gnuplot.gih doc2hlp gnuplot.hlp gnuplot.idx gnuplot.ilg		\
+-gnuplot.ind gnuplot.info* gnuplot.out doc2ipf gnuplot.ipf doc2ms	\
++gnuplot.ind gnuplot5.info* gnuplot.out doc2ipf gnuplot.ipf doc2ms	\
+ gnuplot.ms doc2rnh gnuplot.rnh doc2rtf gnuplot.rtf gnuplot.nroff	\
+ checkdoc gnuplot.txt gnuplot.tmp VERSION gnuplot.4tc gnuplot.4ct	\
+ gnuplot.idv gnuplot.xref gnuplot.lg figures pdffigures.aux		\
+@@ -301,7 +301,7 @@ wxhelp/doc2html: wxhelp/doc2html.o termd
+ 	$(LINK) $^
+ 
+ ### GNU info format
+-info: gnuplot.info
++info: gnuplot5.info
+ 
+ # Thanks to Bruce Ravel for doc2texi.el!
+ gnuplot.texi gnuplot-eldoc.el: $(srcdir)/doc2texi.el $(srcdir)/gnuplot.doc
+@@ -324,16 +324,16 @@ ${ELCS}: gnuplot-eldoc.el
+ 	   echo "No emacs found - cannot create gnuplot-eldoc.elc file" ; \
+ 	fi
+ 
+-gnuplot.info: gnuplot.texi
+-	$(MAKEINFO) -I$(srcdir) $(srcdir)/gnuplot.texi --no-split --force --output=$@
++gnuplot5.info: gnuplot.texi
++	$(MAKEINFO) -I$(srcdir) gnuplot.texi --no-split --force --output=$@
+ 
+-install-info: gnuplot.info
++install-info: gnuplot5.info
+ 	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
+-	$(INSTALL_DATA) gnuplot.info $(DESTDIR)$(infodir)/gnuplot.info
++	$(INSTALL_DATA) gnuplot5.info $(DESTDIR)$(infodir)/gnuplot5.info
+ 	@if (install-info --version && \
+ 	     install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
+-	  echo "install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot.info";\
+-	  install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot.info || :;\
++	  echo "install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot5.info";\
++	  install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot5.info || :;\
+ 	else : ; fi
+ 
+ # this is how to make OS/2 ipfc documentation
+Index: gnuplot5-5.0.1+dfsg1/docs/doc2texi.el
+===================================================================
+--- gnuplot5-5.0.1+dfsg1.orig/docs/doc2texi.el
++++ gnuplot5-5.0.1+dfsg1/docs/doc2texi.el
+@@ -79,7 +79,7 @@
+ ;;
+ ;; Then you can do
+ ;;
+-;;      makeinfo gnuplot.info
++;;      makeinfo gnuplot5.info
+ ;;
+ ;; You may want to use the --no-split option.
+ ;;
+@@ -155,7 +155,7 @@ If PATTERN is omitted, it defaults to \"
+   "\\input texinfo   @c -*-texinfo-*-
+ 
+ @c %**start of header
+- at setfilename gnuplot.info
++ at setfilename gnuplot5.info
+ @settitle Gnuplot: An Interactive Plotting Program
+ @setchapternewpage odd
+ @c %**end of header
+@@ -167,7 +167,7 @@ If PATTERN is omitted, it defaults to \"
+ 
+ @dircategory Math
+ @direntry
+-* GNUPLOT: (gnuplot).             An Interactive Plotting Program
++* GNUPLOT5: (gnuplot5).           An Interactive Plotting Program
+ @end direntry
+ 
+ @ifnottex
+@@ -460,7 +460,7 @@ particular conversion chore."
+     ("sun" "sun")
+     ("vms" "vws"))
+ 
+-  "Additional terminals to add to the converted gnuplot.info file.
++  "Additional terminals to add to the converted gnuplot5.info file.
+ 
+ The CARs of the items are strings to match against
+ `system-configuration', and the CDRs are the elements to add to
diff --git a/debian/patches/series b/debian/patches/series
index 0fd963d..519eb43 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 09_remove_beos.patch
 10_removepicins.patch
 11_fix_linkage_wx.patch
+12_info.patch
diff --git a/debian/rules b/debian/rules
index 580a298..4c9fd5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,7 +42,7 @@ override_dh_auto_build:
 	dh_auto_build -a -- -C $(BUILDDIR_NOX)/src
 	dh_auto_build -a -- -C $(BUILDDIR_X11) pkglibexecdir='$$(libexecdir)'
 	dh_auto_build -a -- -C $(BUILDDIR_QT) pkglibexecdir='$$(libexecdir)'
-	cd $(BUILDDIR_X11)/docs; $(MAKE) pdf; $(MAKE) ps; $(MAKE) html; ls
+	cd $(BUILDDIR_X11)/docs; $(MAKE) pdf; $(MAKE) ps; $(MAKE) html; $(MAKE) info; ls
 	cd $(BUILDDIR_X11)/tutorial; $(MAKE) pdf; $(MAKE) ps; ls
 
 override_dh_auto_install:
@@ -62,6 +62,9 @@ override_dh_auto_install:
 	mv $(CURDIR)/debian/tmp/QT/usr/share/man/man1/gnuplot.1 $(CURDIR)/debian/tmp/QT/usr/share/man/man1/gnuplot5-qt.1
 	mv $(CURDIR)/debian/tmp/QT/usr/share/gnuplot5/gnuplot.gih $(CURDIR)/debian/tmp/QT/usr/share/gnuplot5/gnuplot5-qt.gih
 
+override_dh_installinfo:
+	dh_installinfo -pgnuplot5-doc $(BUILDDIR_X11)/docs/gnuplot5.info
+
 override_installchangelogs:
 	dh_installchangelogs -pgnuplot5-doc ChangeLog
 

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



More information about the debian-science-commits mailing list