summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-05-12 11:12:09 +0000
committerUlrich Müller <ulm@gentoo.org>2008-05-12 11:12:09 +0000
commit5fe5ef4102f50b2c99c15e23288424bee909cf69 (patch)
tree78d4fdcc6cd9acf01e68c7e054a34d5b356a7d76
parentVersion bump, prerelease eselect-{ctags,emacs}. (diff)
downloademacs-5fe5ef4102f50b2c99c15e23288424bee909cf69.tar.gz
emacs-5fe5ef4102f50b2c99c15e23288424bee909cf69.tar.bz2
emacs-5fe5ef4102f50b2c99c15e23288424bee909cf69.zip
Version bump. Work in progress.
svn path=/emacs-overlay/; revision=1061
-rw-r--r--app-emacs/yatex/ChangeLog9
-rw-r--r--app-emacs/yatex/Manifest6
-rw-r--r--app-emacs/yatex/files/50yatex-gentoo.el18
-rw-r--r--app-emacs/yatex/files/yatex-1.73-gentoo.patch72
-rw-r--r--app-emacs/yatex/metadata.xml13
-rw-r--r--app-emacs/yatex/yatex-1.73.ebuild53
6 files changed, 171 insertions, 0 deletions
diff --git a/app-emacs/yatex/ChangeLog b/app-emacs/yatex/ChangeLog
new file mode 100644
index 0000000..337007c
--- /dev/null
+++ b/app-emacs/yatex/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-emacs/yatex
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 12 May 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/yatex-1.73-gentoo.patch, +files/50yatex-gentoo.el,
+ +yatex-1.73.ebuild:
+ Version bump. Work in progress, compilation fails.
+
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
new file mode 100644
index 0000000..2b181fa
--- /dev/null
+++ b/app-emacs/yatex/Manifest
@@ -0,0 +1,6 @@
+AUX 50yatex-gentoo.el 524 RMD160 ec4b355164ec7af371784b0556d2037a05876135 SHA1 4b2ff183496b19544339c5134e079389a41162dc SHA256 64a72a3ba1a21a4064d479d900fd575598d07b31822a44503d710d8e2c1d94ae
+AUX yatex-1.73-gentoo.patch 2309 RMD160 0de0d6fe75c5fe2a8b5ee415b82a65c5cec01767 SHA1 0f49491d9b2118c8e13d9874d783575fbe9cef96 SHA256 b252cf493968e683b87328a63b7606c41c150736d244e92622730fd397cea491
+DIST yatex1.73.tar.gz 344934 RMD160 430e89c793ccd0b6afdb3362d676326a6265f4c0 SHA1 5436e163db55a2e2553fb7b4ef7d4e4c98591f81 SHA256 367bfc862bd6ae78818f57a87c13b39d3157ba27fcf3e3d640a2250b0e289cd3
+EBUILD yatex-1.73.ebuild 1297 RMD160 bc6544690a0568b40f31e83be9ba20829669396c SHA1 02573a6fe1e21b3744f0a2395366b8cb4b3b65f8 SHA256 515ceeaac97277a3308ba86044f262277fc82c1e46d4b3ad47aeaa658cda9069
+MISC ChangeLog 299 RMD160 159bf8785445980d010bf213952a1dd76557d9e6 SHA1 2f0f964c9c544e133588390aad7d9a20d7b9a9fe SHA256 0ed7652e6b67bb6f975d745c5ec441960fb3e42097d132246c296372db7be467
+MISC metadata.xml 575 RMD160 c166b19e0d6b4141e2553bbecf8196b98f9ffd53 SHA1 1f8cb1cc17e8bc9cfd27c88c275831ebe35b0a9a SHA256 e63f63c75b64c0cc80e80838c036ad50858c768fd1c7dd7fbb1a44be27e64eed
diff --git a/app-emacs/yatex/files/50yatex-gentoo.el b/app-emacs/yatex/files/50yatex-gentoo.el
new file mode 100644
index 0000000..2b3b457
--- /dev/null
+++ b/app-emacs/yatex/files/50yatex-gentoo.el
@@ -0,0 +1,18 @@
+
+;;; yatex site-lisp configuration
+
+;; YaTeX-mode
+(setq auto-mode-alist
+ (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
+(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
+
+;; YaHtml-mode
+(setq auto-mode-alist
+ (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
+(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
+
+;; If your Kanji code is EUC-JP, then it is better to add following
+;; lines into .emacs, and it makes file encoding EUC.
+
+(setq YaTeX-kanji-code 3)
+(setq yahtml-kanji-code 3)
diff --git a/app-emacs/yatex/files/yatex-1.73-gentoo.patch b/app-emacs/yatex/files/yatex-1.73-gentoo.patch
new file mode 100644
index 0000000..79a7075
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.73-gentoo.patch
@@ -0,0 +1,72 @@
+--- yatex1.73-orig/yatexhlp.el 2006-12-24 07:25:29.000000000 +0100
++++ yatex1.73/yatexhlp.el 2008-05-12 12:19:02.000000000 +0200
+@@ -9,12 +9,7 @@
+ (cond (YaTeX-japan "jp")
+ (t "eng"))))
+ (help-dir
+- (cond
+- ((and (boundp 'site-directory) site-directory) site-directory)
+- ((string-match "\\.app/" doc-directory) ;For Emacs.app(Darwin)
+- (expand-file-name "../site-lisp" doc-directory))
+- (YaTeX-emacs-19 (expand-file-name "../../site-lisp" doc-directory))
+- (t exec-directory))))
++ "/usr/share/emacs/etc/yatex"))
+ (defvar YaTeX-help-file
+ (expand-file-name help-file help-dir)
+ "*Help file of LaTeX/TeX commands or macros.")
+--- yatex1.73-orig/docs/yahtmle 2006-12-24 07:28:10.000000000 +0100
++++ yatex1.73/docs/yahtmle 2008-05-12 12:19:40.000000000 +0200
+@@ -3,8 +3,9 @@
+ from file `yahtmle.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+
+-
+-
++START-INFO-DIR-ENTRY
++* yahtml: (yahtml). Yet Another HTML-mode for Emacs. (English).
++END-INFO-DIR-ENTRY
+
+ 
+ File: yahtmle, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
+--- yatex1.73-orig/docs/yahtmlj 2006-12-24 07:28:10.000000000 +0100
++++ yatex1.73/docs/yahtmlj 2008-05-12 12:21:03.000000000 +0200
+@@ -3,8 +3,9 @@
+ from file `yahtmlj.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+
+-
+-
++START-INFO-DIR-ENTRY
++* yahtml-ja: (yahtml-ja). Yet Another HTML-mode for Emacs. (Japanese).
++END-INFO-DIR-ENTRY
+
+ 
+ File: yahtmlj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
+--- yatex1.73-orig/docs/yatexe 2006-12-24 07:28:10.000000000 +0100
++++ yatex1.73/docs/yatexe 2008-05-12 12:20:30.000000000 +0200
+@@ -3,8 +3,9 @@
+ from file `yatexe.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+
+-
+-
++START-INFO-DIR-ENTRY
++* YaTeX: (yatex). Yet Another tex-mode for Emacs. (English).
++END-INFO-DIR-ENTRY
+
+ 
+ File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir)
+--- yatex1.73-orig/docs/yatexj 2006-12-24 07:28:10.000000000 +0100
++++ yatex1.73/docs/yatexj 2008-05-12 12:20:56.000000000 +0200
+@@ -3,8 +3,9 @@
+ from file `yatexj.tex'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+
+-
+-
++START-INFO-DIR-ENTRY
++* YaTeX-ja: (yatex-ja). Yet Another tex-mode for Emacs. (Japanese).
++END-INFO-DIR-ENTRY
+
+ 
+ File: yatexj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
diff --git a/app-emacs/yatex/metadata.xml b/app-emacs/yatex/metadata.xml
new file mode 100644
index 0000000..ca03895
--- /dev/null
+++ b/app-emacs/yatex/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>emacs</herd>
+<longdescription lang="en">
+ YaTeX is an intelligent, acquisitive and integrated package which reduces
+ your efforts of composing LaTeX source on Emacs. And yahtml is the honest
+ and bright YaTeX-compatible major-mode package for writing HTML. If you have
+ noticed the power of YaTeX, you can drive yahtml over the HTML files quickly
+ and steadily. And vice versa, of course.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/yatex/yatex-1.73.ebuild b/app-emacs/yatex/yatex-1.73.ebuild
new file mode 100644
index 0000000..f7905d6
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.73.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.72.ebuild,v 1.13 2007/08/26 20:11:09 ulm Exp $
+
+inherit elisp eutils
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/"
+SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
+
+#KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS=""
+SLOT="0"
+LICENSE="as-is"
+IUSE="linguas_ja"
+
+S=${WORKDIR}/${P/-/}
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_compile() {
+ elisp-comp *.el || die "elisp-comp failed"
+
+ cd docs
+ mv yatexe yatex.info
+ mv yahtmle yahtml.info
+ if use linguas_ja; then
+ iconv -f ISO-2022-JP -t EUC-JP yatexj > yatex-ja.info
+ iconv -f ISO-2022-JP -t EUC-JP yahtmlj > yahtml-ja.info
+ fi
+}
+
+src_install() {
+ elisp-install ${PN} *.el || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+
+ insinto ${SITEETC}/${PN}
+ doins help/YATEXHLP.* || die "doins failed"
+
+ doinfo docs/*.info|| die "doinfo failed"
+
+ dodoc docs/*.eng || die "dodoc failed"
+ if use linguas_ja; then
+ dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc \
+ || die "dodoc failed"
+ fi
+}