Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv6411/10.4/unstable/main/finkinfo/editors

Modified Files:
        yatex.info yatex.patch 
Log Message:
Version bump. Added InfoDocs:.

Index: yatex.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors/yatex.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- yatex.patch 16 Dec 2006 21:33:58 -0000      1.3
+++ yatex.patch 5 May 2007 21:43:31 -0000       1.4
@@ -26,11 +26,11 @@
 +LISP="comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \
 +    yatexlib.el yatexprc.el yatexpkg.el \
 +    yatexmth.el yatexhks.el yatexhlp.el \
-+    yatexm-o.el yatexsec.el  yatexhie.el yahtml.el xdvi-search.el"
++    yatexm-o.el yatexsec.el  yatexhie.el yahtml.el"
 +
 +if [ ${FLAVOR} != emacs ]
 +    then
-+    echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}...
++    /bin/echo "install/${PACKAGE}: Byte-compiling for ${FLAVOR}...\c"
 +
 +    install -m 755 -d ${ELCDIR}
 +    # Copy the temp .el files
@@ -46,7 +46,7 @@
 +    cp ${ELDIR}/yatex19.el ${ELCDIR}
 +#    cp ${ELDIR}/YATEXHLP.eng ${ELCDIR}
 +#    cp ${ELDIR}/YATEXHLP.jp  ${ELCDIR}
-+    echo "done."
++    echo " done."
 +fi
 +
 +exit 0
@@ -70,7 +70,7 @@
 +#        rm -f $ELCDIR/{*.elc,$LOG.gz,yatex19.el,YATEXHLP.eng,YATEXHLP.jp}
 +        rm -f $ELCDIR/{*.elc,$LOG.gz,yatex19.el}
 +        rmdir $ELCDIR || true
-+        echo "done."
++        echo " done."
 +fi
 +exit 0
 diff -Naur yatex1.72.orig/fink/yatex-startup yatex1.72/fink/yatex-startup
@@ -137,7 +137,6 @@
 +;       (YaTeX-use-LaTeX2e "platex")
 +;       (YaTeX-japan "jlatex")
 +;       (t "latex")))
-+(setq tex-command "@PREFIX@/bin/platex -src")
 +
 +;;
 +;; YaTeX BibTeX command
@@ -165,16 +164,17 @@
 +;(setq dviprint-command-format "dvi2ps %f %t %s | lpr")
 +
 +;; for TeX source special
-+(if (load "xdvi-search" t)
-+    (progn
-+      (server-start)
-+      (custom-set-variables
-+       '(server-switch-hook (quote (raise-frame))))
-+      (custom-set-faces)
-+      (add-hook 'yatex-mode-hook
-+                '(lambda ()
-+                   (define-key YaTeX-mode-map "\C-c\C-j" 'xdvi-jump-to-line)))
-+    ))
++;(setq tex-command "@PREFIX@/bin/platex -src")
++;(if (load "xdvi-search" t)
++;    (progn
++;      (server-start)
++;      (custom-set-variables
++;       '(server-switch-hook (quote (raise-frame))))
++;      (custom-set-faces)
++;      (add-hook 'yatex-mode-hook
++;                '(lambda ()
++;                   (define-key YaTeX-mode-map "\C-c\C-j" 
'xdvi-jump-to-line)))
++;    ))
 +
 +
 +;;
@@ -199,3 +199,67 @@
 +;;
 +;; End of file `50yatex.el'
 +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+diff -Naur yatex1.73.orig/docs/yahtmle yatex1.73/docs/yahtmle
+--- yatex1.73.orig/docs/yahtmle        2006-12-24 15:28:10.000000000 +0900
++++ yatex1.73/docs/yahtmle     2007-05-06 06:16:37.000000000 +0900
+@@ -3,8 +3,10 @@
+ from file `yahtmle.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+ 
+-
+-
++INFO-DIR-SECTION Emacs
++START-INFO-DIR-ENTRY
++* YaHTML(en): (yahtml). Yet Another HTML mode(English).
++END-INFO-DIR-ENTRY
+ 
+ 
+ File: yahtmle, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
+diff -Naur yatex1.73.orig/docs/yahtmlj yatex1.73/docs/yahtmlj
+--- yatex1.73.orig/docs/yahtmlj        2006-12-24 15:28:10.000000000 +0900
++++ yatex1.73/docs/yahtmlj     2007-05-06 06:20:19.000000000 +0900
+@@ -3,8 +3,10 @@
+ from file `yahtmlj.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+ 
+-
+-
++INFO-DIR-SECTION Emacs
++START-INFO-DIR-ENTRY
++* YaHTML(ja): (yahtml-ja). Yet Another HTML mode(Japanese).
++END-INFO-DIR-ENTRY
+ 
+ 
+ File: yahtmlj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
+diff -Naur yatex1.73.orig/docs/yatexe yatex1.73/docs/yatexe
+--- yatex1.73.orig/docs/yatexe 2006-12-24 15:28:10.000000000 +0900
++++ yatex1.73/docs/yatexe      2007-05-06 06:17:18.000000000 +0900
+@@ -3,8 +3,10 @@
+ from file `yatexe.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+ 
+-
+-
++INFO-DIR-SECTION Emacs
++START-INFO-DIR-ENTRY
++* YaTeX(en): (yatex). Yet Another LaTeX mode(English).
++END-INFO-DIR-ENTRY
+ 
+ 
+ File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir)
+diff -Naur yatex1.73.orig/docs/yatexj yatex1.73/docs/yatexj
+--- yatex1.73.orig/docs/yatexj 2006-12-24 15:28:10.000000000 +0900
++++ yatex1.73/docs/yatexj      2007-05-06 06:15:21.000000000 +0900
+@@ -3,8 +3,10 @@
+ from file `yatexj.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+ 
+-
+-
++INFO-DIR-SECTION Emacs
++START-INFO-DIR-ENTRY
++* YaTeX(ja): (yatex-ja). Yet Another LaTeX mode(Japanese).
++END-INFO-DIR-ENTRY
+ 
+ 
+ File: yatexj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)

Index: yatex.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors/yatex.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- yatex.info  12 Mar 2007 06:42:59 -0000      1.4
+++ yatex.info  5 May 2007 21:43:31 -0000       1.5
@@ -1,97 +1,48 @@
 Package: yatex
-Version: 1.72
-Revision: 5
+Version: 1.73
+Revision: 1
 BuildDepends: fink (>= 0.24.12)
 Depends: emacsen
-Recommends: ptex-base | tetex-base, xdvi
+Recommends: ptex3-base | tetex-base
 Source: http://www.yatex.org/%n%v.tar.gz
-Source-MD5:ddc66e29cf7909c8cf0877f3a8fbfd0a
-# Downloaded from http://xdvi.sourceforge.net/xdvi-search.el
-Source2: 
http://mh.sodan.ecc.u-tokyo.ac.jp/~okayama/distfiles/xdvi-search-1.35.el
-Source2-MD5: 2bc5ad28e69afbc95760c2a596b1e196
+Source-MD5: 45a9edb6d5d46089351d69fee2ba87fa
 PatchFile: %n.patch
-PatchFile-MD5: c0bf9aca939b428051dbe52370b6aa8a
+PatchFile-MD5: ae86cacf40a93d61c55ac2fbe84fe519
 PatchScript: <<
  sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
- mv ../xdvi-search-1.35.el xdvi-search.el
+ cd docs && mv yatexe yatex.info    && mv yahtmle yahtml.info
+ cd docs && mv yatexj yatex-ja.info && mv yahtmlj yahtml-ja.info
 <<
 CompileScript: echo "Nothing is compiled in this section."
 InstallScript: <<
-install -m 755 -d %i/share/info
-#install -m 644 docs/{yatexe,yatexj,yahtmle,yahtmlj} %i/share/info
+install -m 755 -d                                          %i/share/info
+install -m 644 docs/{yatex,yatex-ja,yahtml,yahtml-ja}.info %i/share/info
 
-install -m 755 -d %i/share/emacs/site-lisp/%n
+install -m 755 -d          %i/share/emacs/site-lisp/%n
 install -m 644 *.el help/* %i/share/emacs/site-lisp/%n
 
-install -m 755 -d %i/etc/emacs/site-start.d
+install -m 755 -d              %i/etc/emacs/site-start.d
 install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/50%n.el
 
-install -m 755 -d %i/lib/emacsen-common/packages/{install,remove}
+install -m 755 -d              %i/lib/emacsen-common/packages/{install,remove}
 install -m 755 fink/%n-install %i/lib/emacsen-common/packages/install/%n
-install -m 755 fink/%n-remove %i/lib/emacsen-common/packages/remove/%n
+install -m 755 fink/%n-remove  %i/lib/emacsen-common/packages/remove/%n
 <<
 DocFiles: 00readme install docs/{htmlqa*,qanda*,yatex.ref,yatexref.eng,*.doc}
+InfoDocs: yatex.info yatex-ja.info yahtml.info yahtml-ja.info
 PostInstScript: <<
-case "$1" in
-    configure)
-
-if [ -x %p/lib/emacsen-common/emacs-package-install ]
+if [ "$1" = "configure" ] && [ -x %p/lib/emacsen-common/emacs-package-install ]
 then
        %p/lib/emacsen-common/emacs-package-install %n
 fi
-
-       if [ -f %p/share/info/dir ] && [ -x %p/sbin/install-info ]
-         then
-           install-info --section "Emacs" --menuentry="YaTeX(en)" \
-             --description="Yet Another LaTeX mode(English)." \
-             --infodir=%p/share/info %p/share/info/yatexe
-           install-info --section "Emacs" --menuentry="YaTeX(ja)" \
-             --description="Yet Another LaTeX mode(Japanese)." \
-             --infodir=%p/share/info %p/share/info/yatexj
-           install-info --section "Emacs" --menuentry="YaHTML(en)" \
-             --description="Yet Another HTML mode(English)." \
-             --infodir=%p/share/info %p/share/info/yahtmle
-           install-info --section "Emacs" --menuentry="YaHTML(ja)" \
-             --description="Yet Another HTML mode(Japanese)." \
-             --infodir=%p/share/info %p/share/info/yahtmlj
-       fi
-
-    ;;
-    abort-upgrade|abort-deconfigure|abort-remove)
-        :
-    ;;
-    *)
-        echo "${0##*/}: Called with unknown argument \`$1'." >&2
-    ;;
-esac
 <<
 PreRmScript: <<
-case "$1" in
-    remove|upgrade|deconfigure)
-
 if [ -x %p/lib/emacsen-common/emacs-package-remove ] ; then
        %p/lib/emacsen-common/emacs-package-remove %n
 fi
-
-       if [ -f %p/share/info/dir ]
-         then
-           install-info --remove --infodir=%p/share/info %p/info/yatexe
-           install-info --remove --infodir=%p/share/info %p/info/yatexj
-           install-info --remove --infodir=%p/share/info %p/info/yahtmle
-           install-info --remove --infodir=%p/share/info %p/info/yahtmlj
-       fi
-    ;;
-    failed-upgrade)
-        :
-    ;;
-    *)
-        echo "${0##*/}: Called with unknown argument \`$1'." >&2
-    ;;
-esac
 <<
 ConfFiles: %p/etc/emacs/site-start.d/50%n.el
 Description: Yet Another TeX mode for Emacs
-DescPackaging: InfoDocs give trouble so we do not install them
 DescDetail: <<
 YaTeX is an intelligent, acquisitive and integrated package which
 reduces your efforts of composing LaTeX source on Emacs.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to