diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/yatex |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/yatex')
-rw-r--r-- | app-emacs/yatex/Manifest | 11 | ||||
-rw-r--r-- | app-emacs/yatex/files/50yatex-gentoo.el | 15 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.76-direntry.patch | 60 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.76-gentoo.patch | 16 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.77-texinfo-5.patch | 86 | ||||
-rw-r--r-- | app-emacs/yatex/metadata.xml | 19 | ||||
-rw-r--r-- | app-emacs/yatex/yatex-1.76.ebuild | 50 | ||||
-rw-r--r-- | app-emacs/yatex/yatex-1.77.ebuild | 51 |
8 files changed, 308 insertions, 0 deletions
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest new file mode 100644 index 000000000000..91382020f6e3 --- /dev/null +++ b/app-emacs/yatex/Manifest @@ -0,0 +1,11 @@ +AUX 50yatex-gentoo.el 488 SHA256 daf76513095da0d003c5a63f20c0648b66de5251607429bc4da8e951a066aaf9 SHA512 93a1d45bb228d1ac304fd3652246561a5b7a9d91aa230f0f0d62a9e557f9f61a1dafee900139b7588f3310fdb98fbd71d6347ee45b6527ae27e2095da2a652b5 WHIRLPOOL d141574fcd6dd533bdc21962ebec363597e985b4beba773ceaa1152dcfbc4765ec8daf1851278e8e5672ad0d239c712104a5da4d1f5d145801c0bad9a1c59253 +AUX yatex-1.76-direntry.patch 1730 SHA256 184375f82722ab43a03957ed356282ff67e2ded46979b42b383f5a6eb5ea319e SHA512 e7ddb8270e5ece483a5a796b7c5b712059b3093ec1994565400afa6731efe76494cb86163632edde3b3bd167cf78886c216482ab4377c9fd8a969b37a41aee6e WHIRLPOOL 54daaa4c4c3f4c3c08870a4f040b96799a0a92475c089a0c562aa521892dafd4b03188e7185dc886a1d076046d94cd0338f6870ac82769bd8223ac0b684df17d +AUX yatex-1.76-gentoo.patch 668 SHA256 86fe6153f9a14896b3da54211d5da54753bee5b8f9e14080c05cd6003ba2678f SHA512 dc1bd4d95cec7eb9268560ba78c93a1551f28e0da83d9beb99313e034dfd86044f2971a2dc0ae830e975e78d0a79b951d02378c677eb4d39d5e7f6885e6377cd WHIRLPOOL 61303a21650b53b71a92f030f84ba839e7408319b1150ced3145ea152f4908f3ad519c52ee6d3d845eecb49c0b22ff5e552122cdd03a13fab22152719a60a95c +AUX yatex-1.77-texinfo-5.patch 2968 SHA256 e388e1035b79bfc92dfbc688a1fa8d3d876600ec41c7926fc08981b242dae4df SHA512 91b2caf1adcd805fa10d9c0b2576a83fb57f549d64e9ee37b6873cd705ebaecf96853efb265b3f7e42f821f37c79b469ca8507fd1d3470190e04594788b7d8ad WHIRLPOOL cc574a1eab9fbe8d9ce9857b0aca7de355d47486307e6b55e007e36a5fbb8adcd48f78ff61373c9a4eb4a3fdbf189ae1818d8c4068a35a354df8a741cdd4d9d0 +DIST yatex1.76.tar.gz 357552 SHA256 66c6f162a0ce4ee1edb231bacb4a3926ea4b5a45a4ba004330bb0bc0a7887acf SHA512 ff2afea1cb1b7e4bef223c13d4cc6b942b1d555959321e7cb97595dfe7ca3adbc9efa6db7d7d13cdd0bb5aa62eabc1d3383d07635b1dbbe5b15175bf99c4c416 WHIRLPOOL 878b199d1479a501fb36763daf6565ddfe340df2b607e346c8b4e5523c20df2cefe4a7254dd2a3f415fc4b2bc0371b79f9c504d801d3e4cc8553091bd2b4cd36 +DIST yatex1.77.tar.gz 356721 SHA256 acc3e14c34ea5eba0c1a96cef6b5c7ab850e621f75cf25764e0ae37be483f177 SHA512 d6b909b540b0966cfcd35a36ad7c9e8d8a821ca668ea9b0a4d1f3267a45397800769dd47ce64f5f8cbda65c274a7f415c8e86b6598a365ea41104684cf9df07f WHIRLPOOL 1755e2592b04596f154afb4cf6598371b61ce8e85f0960dbbcbe5172f2543edcb610f7e93185480ae7bed492da2f7a66f450756e7615014e3a0034a928c7e3c9 +EBUILD yatex-1.76.ebuild 1213 SHA256 2c34b8aeaefa5755ad9effd6f6b42582bef8e5dde68804d00c8a53bb892c7158 SHA512 bfbcf7cf87bb592e8ed9cdb0c17cc2bdaf31246412e145913e993553b1f7ba69fd24625e0941699abec2b5fdb4111cf548641a900f0d24d934df7ad460c14a86 WHIRLPOOL d5971217b80ebea42ee41a52851528f1b7ced1cfb20afce5066b0ee03f3cc6bd46fd4bcb92c637a8e497fdd2d1ba794aa434e707b8ddb91cf6e5fe96e7df0f47 +EBUILD yatex-1.77.ebuild 1241 SHA256 c1bdec0642432abeeb3448f8f46429bcdb7180be25973bb631eab9532369d398 SHA512 f935dd5ca28fb1c1eb6ed7eb4828ee08e2b17ed2c73c84986762f9befeab712f7b186c522a8400c4948899b258080230d802722c6934582eb85952d351d4fdac WHIRLPOOL c7ee1bd9c503ac5347b9d5310f2c992c4b18f34e6a197cbb4a61402ad47998ff038410690cfeb94a43df0ebc240ff375204f1f997433b0dc422a04be47b1cc89 +MISC ChangeLog 2893 SHA256 0aeeef81f674611d75a0f684ae99a645e7c73ed30a15f9db85186c92b5625844 SHA512 6ae34fbd761cd45c12a91cc181aab3a4f14e539f2c903eef08a98afbca6e95ac61d409edc2759d6423b982af96bf7bcb739fbe84ccbc6805592002c9299ceeaf WHIRLPOOL bdf9906194823ff8a71c77d95891bd5780069acd4302db694649f3793efe1d92c42f3f774872eeeecb83aa9c1d1021c41a3acce51cca3c8c9a59cf411b611af1 +MISC ChangeLog-2015 5748 SHA256 84d656b38780b333938fb6d6440e5d73f5f53d7d7468c5fd99bb195a9559c74e SHA512 ac07442f330b72db57094c5ad4dc2978214965f26c56c394b785a6279d70db1e9ec59af22f2f44a4842987bb35b6a11508e746c496646c203d34c33dc49714c3 WHIRLPOOL ac904031328b897dae7d6c821795942f4afc02c67bbafd4aaa31c4f7883f98d6890ae977bba5d578dbb14d5c33704cfcf97bc0d001273d250c49b35e32d64193 +MISC metadata.xml 752 SHA256 a8ff5756fa833248be44bd9a2bb911ef48f5802fe5ee35dc1991d7520c4863f6 SHA512 c064a45b13484007559da1f6721405d0b686fbace8e61e6517842de32d129fa3258bdabcc7dbf22bdec4207e766392cbed8d11abc53d42d315ef1ec6c34b45ed WHIRLPOOL c570dbb5572b795a2f4eacc01861d3592308fbd5094b56f04c5115b7ef69b4c1375537cc595b8488053aa432572e96e4fe8071a988efc38811e653a29edac7fe diff --git a/app-emacs/yatex/files/50yatex-gentoo.el b/app-emacs/yatex/files/50yatex-gentoo.el new file mode 100644 index 000000000000..c57be338abeb --- /dev/null +++ b/app-emacs/yatex/files/50yatex-gentoo.el @@ -0,0 +1,15 @@ +;; 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.76-direntry.patch b/app-emacs/yatex/files/yatex-1.76-direntry.patch new file mode 100644 index 000000000000..8dc0c5f310f7 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.76-direntry.patch @@ -0,0 +1,60 @@ +--- yatex1.76-orig/docs/yahtmle.tex ++++ yatex1.76/docs/yahtmle.tex +@@ -1,9 +1,10 @@ + \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo +-@setfilename yahtmle ++@setfilename yahtml.info + @settitle Yet Another html-mode for Emacs ++@dircategory Emacs + @direntry +-* yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English). ++* yahtml: (yahtml). Yet Another html-mode for Emacs (English). + @end direntry + + @iftex +--- yatex1.76-orig/docs/yahtmlj.tex ++++ yatex1.76/docs/yahtmlj.tex +@@ -1,9 +1,10 @@ + \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo +-@setfilename yahtmlj ++@setfilename yahtml-ja.info + @settitle Yet Another html-mode for Emacs ++@dircategory Emacs + @direntry +-* yahtml: (yahtmlj). Yet Another html-mode for Emacs (Japanese). ++* yahtml-ja: (yahtml-ja). Yet Another html-mode for Emacs (Japanese). + @end direntry + + @iftex +--- yatex1.76-orig/docs/yatexe.tex ++++ yatex1.76/docs/yatexe.tex +@@ -1,9 +1,10 @@ + \def\lang{jp} % -*- texinfo -*- + \input texinfo.tex +-@setfilename yatexe ++@setfilename yatex.info + @settitle Yet Another tex-mode for Emacs ++@dircategory Emacs + @direntry +-* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English). ++* YaTeX: (yatex). Yet Another tex-mode for Emacs (English). + @end direntry + + @iftex +--- yatex1.76-orig/docs/yatexj.tex ++++ yatex1.76/docs/yatexj.tex +@@ -1,9 +1,10 @@ + \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo +-@setfilename yatexj ++@setfilename yatex-ja.info + @settitle Yet Another tex-mode for Emacs ++@dircategory Emacs + @direntry +-* YaTeX: (yatexj). Yet Another tex-mode for Emacs (Japanese). ++* YaTeX-ja: (yatex-ja). Yet Another tex-mode for Emacs (Japanese). + @end direntry + + @iftex diff --git a/app-emacs/yatex/files/yatex-1.76-gentoo.patch b/app-emacs/yatex/files/yatex-1.76-gentoo.patch new file mode 100644 index 000000000000..b961b31798e1 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.76-gentoo.patch @@ -0,0 +1,16 @@ +--- 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.") diff --git a/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch new file mode 100644 index 000000000000..73ff873cce34 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch @@ -0,0 +1,86 @@ +--- yatex1.77-orig/docs/yahtmle.tex ++++ yatex1.77/docs/yahtmle.tex +@@ -1,4 +1,4 @@ +-\def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 ++@c \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo + @setfilename yahtml.info + @settitle Yet Another html-mode for Emacs +--- yatex1.77-orig/docs/yahtmlj.tex ++++ yatex1.77/docs/yahtmlj.tex +@@ -1,4 +1,4 @@ +-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 ++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo + @setfilename yahtml-ja.info + @settitle Yet Another html-mode for Emacs +--- yatex1.77-orig/docs/yatexe.tex ++++ yatex1.77/docs/yatexe.tex +@@ -1,4 +1,4 @@ +-\def\lang{jp} % -*- texinfo -*- ++@c \def\lang{jp} % -*- texinfo -*- + \input texinfo.tex + @setfilename yatex.info + @settitle Yet Another tex-mode for Emacs +@@ -705,7 +705,7 @@ + @item M-x YaTeX-section-overview + @dots{} Generate *Sectioning Lines* buffer + @end table +-@cindex{Generate the listing of sectioning units} ++@cindex Generate the listing of sectioning units + from the LaTeX source buffer. In this listing buffer, typing @kbd{u} on + the sectioning command shifts up the corresponding sectioning command in + source text and @kbd{d} shifts down. After marking lines in the listing +@@ -1087,7 +1087,7 @@ + @node Invoking image processor, Jump to main file, Jump to corresponding object, Cursor jump + @comment node-name, next, previous, up + @section Invoking image processor +-@cindex{Drawing tool invocation} ++@cindex Drawing tool invocation + + `image-including line' described above means such lines as + @code{\epsfile@{file=foo.ps@}}. If you type @kbd{[prefix] g} on that +@@ -2179,9 +2179,9 @@ + @table @kbd + @item [F] + YaTeX:read-position +-@itemx [A] ++@item [A] + Character list which can show up in the brackets +-@itemx [D] ++@item [D] + Return the location specifier such as `[htb]'. When + nothing is entered, omit [] itself. If the possible characters + are "htbp", call this function as +@@ -2189,9 +2189,9 @@ + + @item [F] + YaTeX:read-coordinates +-@itemx [A] ++@item [A] + Base prompt, X-axis prompt, Y-axis prompt (each optional) +-@itemx [D] ++@item [D] + Read the coordinates with the prompt ``BasePrompt X-axisPrompt:'' for + X-axis, ``BasePrompt Y-axisPrompt:'' for Y-axis, and return it in the form + of ``(X,Y)''. The default prompts are @code{Dimension}, @code{X}, +@@ -2199,9 +2199,9 @@ + + @item [F] + YaTeX:check-completion-type +-@itemx [A] ++@item [A] + One of the symbols: 'begin, 'section, or 'maketitle +-@itemx [D] ++@item [D] + Check the current completion type is specified one and cause error if + not. The variable @code{YaTeX-current-completion-type} holds the symbol + according to the current completion type. +--- yatex1.77-orig/docs/yatexj.tex ++++ yatex1.77/docs/yatexj.tex +@@ -1,4 +1,4 @@ +-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 ++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo + @setfilename yatex-ja.info + @settitle Yet Another tex-mode for Emacs diff --git a/app-emacs/yatex/metadata.xml b/app-emacs/yatex/metadata.xml new file mode 100644 index 000000000000..3e07a075145e --- /dev/null +++ b/app-emacs/yatex/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> +</maintainer> +<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.76.ebuild b/app-emacs/yatex/yatex-1.76.ebuild new file mode 100644 index 000000000000..47cd7c4e7d43 --- /dev/null +++ b/app-emacs/yatex/yatex-1.76.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +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="amd64 ppc ~ppc64 x86" +SLOT="0" +LICENSE="YaTeX" +IUSE="l10n_ja" + +S="${WORKDIR}/${P/-/}" +ELISP_PATCHES="${PN}-1.76-gentoo.patch + ${PN}-1.76-direntry.patch" +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + # byte-compilation fails (as of 1.74): yatexlib.el requires fonts + # that are only available under X + + cd docs + makeinfo yatexe.tex yahtmle.tex || die + + if use l10n_ja; then + iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die + iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die + makeinfo yatex-ja.texi yahtml-ja.texi || die + fi +} + +src_install() { + elisp-install ${PN} *.el || die + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + + insinto ${SITEETC}/${PN} + doins help/YATEXHLP.eng + doinfo docs/yatex.info* docs/yahtml.info* + dodoc docs/*.eng + + if use l10n_ja; then + doins help/YATEXHLP.jp + doinfo docs/yatex-ja.info* docs/yahtml-ja.info* + dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc + fi +} diff --git a/app-emacs/yatex/yatex-1.77.ebuild b/app-emacs/yatex/yatex-1.77.ebuild new file mode 100644 index 000000000000..7b7534cc7785 --- /dev/null +++ b/app-emacs/yatex/yatex-1.77.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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="amd64 ppc ~ppc64 x86" +SLOT="0" +LICENSE="YaTeX" +IUSE="l10n_ja" + +S="${WORKDIR}/${P/-/}" +ELISP_PATCHES="${PN}-1.76-gentoo.patch + ${PN}-1.76-direntry.patch + ${PN}-1.77-texinfo-5.patch" +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + # byte-compilation fails (as of 1.74): yatexlib.el requires fonts + # that are only available under X + + cd docs + makeinfo yatexe.tex yahtmle.tex || die + + if use l10n_ja; then + iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die + iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die + makeinfo yatex-ja.texi yahtml-ja.texi || die + fi +} + +src_install() { + elisp-install ${PN} *.el || die + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + + insinto ${SITEETC}/${PN} + doins help/YATEXHLP.eng + doinfo docs/yatex.info* docs/yahtml.info* + dodoc docs/*.eng + + if use l10n_ja; then + doins help/YATEXHLP.jp + doinfo docs/yatex-ja.info* docs/yahtml-ja.info* + dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc + fi +} |