summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-07-30 14:58:08 +0000
committerUlrich Müller <ulm@gentoo.org>2008-07-30 14:58:08 +0000
commit0892fea8e7d97db5e0231a0a575a92490838ade8 (patch)
tree2f2fd90d3bb94f2246c72033a243c2d3995e9fe0 /app-emacs
parentVersion bump. Fixed bugs #223121, #223715 and #230913. (diff)
downloadgentoo-2-0892fea8e7d97db5e0231a0a575a92490838ade8.tar.gz
gentoo-2-0892fea8e7d97db5e0231a0a575a92490838ade8.tar.bz2
gentoo-2-0892fea8e7d97db5e0231a0a575a92490838ade8.zip
Version bump.
(Portage version: 2.2_rc3/cvs/Linux 2.6.25-gentoo-r6 i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/yatex/ChangeLog11
-rw-r--r--app-emacs/yatex/files/yatex-1.73-gentoo.patch72
-rw-r--r--app-emacs/yatex/metadata.xml18
-rw-r--r--app-emacs/yatex/yatex-1.73.ebuild53
4 files changed, 143 insertions, 11 deletions
diff --git a/app-emacs/yatex/ChangeLog b/app-emacs/yatex/ChangeLog
index a8ffcea3d75b..51c57320508f 100644
--- a/app-emacs/yatex/ChangeLog
+++ b/app-emacs/yatex/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emacs/yatex
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/ChangeLog,v 1.21 2007/12/25 16:44:51 phreak Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/ChangeLog,v 1.22 2008/07/30 14:58:07 ulm Exp $
+
+*yatex-1.73 (30 Jul 2008)
+
+ 30 Jul 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/yatex-1.73-gentoo.patch, metadata.xml, +yatex-1.73.ebuild:
+ Version bump. Replace cjk USE flag by linguas_ja. Install help files in
+ etc directory.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing usata from metadata.xml as per #22931.
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 000000000000..79a707516d1a
--- /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
index 543d3f0abf1a..ca038952bd63 100644
--- a/app-emacs/yatex/metadata.xml
+++ b/app-emacs/yatex/metadata.xml
@@ -1,13 +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>
+<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 000000000000..8b240bd9bac8
--- /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.73.ebuild,v 1.1 2008/07/30 14:58:07 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"
+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() {
+ # compilation b0rks
+ #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
+}