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

Modified Files:
        yatex.info yatex.patch 
Log Message:
move to stable


Index: yatex.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors/yatex.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- yatex.patch 20 Jan 2006 20:12:52 -0000      1.1
+++ yatex.patch 12 Mar 2007 06:43:54 -0000      1.2
@@ -1,6 +1,6 @@
 diff -Naur yatex1.72.orig/fink/yatex-install yatex1.72/fink/yatex-install
---- yatex1.72.orig/fink/yatex-install  Thu Jan  1 09:00:00 1970
-+++ yatex1.72/fink/yatex-install       Tue Feb 24 02:49:24 2004
+--- yatex1.72.orig/fink/yatex-install  1970-01-01 09:00:00.000000000 +0900
++++ yatex1.72/fink/yatex-install       2006-03-22 14:12:16.000000000 +0900
 @@ -0,0 +1,48 @@
 +#!/bin/bash -e
 +# @PREFIX@/lib/emacsen-common/packages/install/yatex
@@ -26,7 +26,7 @@
 +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"
++    yatexm-o.el yatexsec.el  yatexhie.el yahtml.el xdvi-search.el"
 +
 +if [ ${FLAVOR} != emacs ]
 +    then
@@ -51,8 +51,8 @@
 +
 +exit 0
 diff -Naur yatex1.72.orig/fink/yatex-remove yatex1.72/fink/yatex-remove
---- yatex1.72.orig/fink/yatex-remove   Thu Jan  1 09:00:00 1970
-+++ yatex1.72/fink/yatex-remove        Tue Feb 24 02:50:49 2004
+--- yatex1.72.orig/fink/yatex-remove   1970-01-01 09:00:00.000000000 +0900
++++ yatex1.72/fink/yatex-remove        2006-03-22 14:04:09.000000000 +0900
 @@ -0,0 +1,19 @@
 +#!/bin/bash -e
 +# @PREFIX@/lib/emacsen-common/packages/remove/yatex
@@ -66,7 +66,7 @@
 +
 +if [ ${FLAVOR} != emacs ]
 +    then
-+      echo -n "remove/$PACKAGE: Removing for $FLAVOR..."
++      /bin/echo "remove/$PACKAGE: Removing for $FLAVOR...\c"
 +#        rm -f $ELCDIR/{*.elc,$LOG.gz,yatex19.el,YATEXHLP.eng,YATEXHLP.jp}
 +        rm -f $ELCDIR/{*.elc,$LOG.gz,yatex19.el}
 +        rmdir $ELCDIR || true
@@ -74,9 +74,9 @@
 +fi
 +exit 0
 diff -Naur yatex1.72.orig/fink/yatex-startup yatex1.72/fink/yatex-startup
---- yatex1.72.orig/fink/yatex-startup  Thu Jan  1 09:00:00 1970
-+++ yatex1.72/fink/yatex-startup       Tue Feb 24 02:39:36 2004
-@@ -0,0 +1,109 @@
+--- yatex1.72.orig/fink/yatex-startup  1970-01-01 09:00:00.000000000 +0900
++++ yatex1.72/fink/yatex-startup       2006-03-22 14:17:31.000000000 +0900
+@@ -0,0 +1,122 @@
 +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 +;;
 +;; @PREFIX@/etc/emacs/site-start.d/50yatex.el
@@ -137,6 +137,7 @@
 +;       (YaTeX-use-LaTeX2e "platex")
 +;       (YaTeX-japan "jlatex")
 +;       (t "latex")))
++(setq tex-command "@PREFIX@/bin/platex -src")
 +
 +;;
 +;; YaTeX BibTeX command
@@ -151,7 +152,7 @@
 +;;
 +;; YaTeX previewer command
 +;;
-+(setq dvi2-command "xdvi -geo +0+0 -s 4 -display :0")
++(setq dvi2-command "xdvi -geo +0+0 -s 6 -display :0")
 +
 +;;
 +;; YaTeX command for printing
@@ -163,6 +164,18 @@
 +;;
 +;(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)))
++    ))
++
 +
 +;;
 +;; YaHTML lint command

Index: yatex.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors/yatex.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- yatex.info  20 Jan 2006 20:12:52 -0000      1.1
+++ yatex.info  12 Mar 2007 06:43:54 -0000      1.2
@@ -1,15 +1,24 @@
 Package: yatex
 Version: 1.72
-Revision: 2
+Revision: 5
+BuildDepends: fink (>= 0.24.12)
 Depends: emacsen
 Recommends: ptex-base | tetex-base, xdvi
 Source: http://www.yatex.org/%n%v.tar.gz
 Source-MD5:ddc66e29cf7909c8cf0877f3a8fbfd0a
-PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
+# 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
+PatchFile: %n.patch
+PatchFile-MD5: c0bf9aca939b428051dbe52370b6aa8a
+PatchScript: <<
+ sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
+ mv ../xdvi-search-1.35.el xdvi-search.el
+<<
 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 644 docs/{yatexe,yatexj,yahtmle,yahtmlj} %i/share/info
 
 install -m 755 -d %i/share/emacs/site-lisp/%n
 install -m 644 *.el help/* %i/share/emacs/site-lisp/%n
@@ -82,6 +91,7 @@
 <<
 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.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to