diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/yatex | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/yatex')
-rw-r--r-- | app-emacs/yatex/Manifest | 9 | ||||
-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 | 20 | ||||
-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, 307 insertions, 0 deletions
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest new file mode 100644 index 000000000000..86ce28f2c5f9 --- /dev/null +++ b/app-emacs/yatex/Manifest @@ -0,0 +1,9 @@ +AUX 50yatex-gentoo.el 488 BLAKE2B fcc7c76ee0ace31938ac6e7f438832d53542d2cdd0109ddf9ba59c8cdfe535f1bb5f2d2bf5edeb7247cc8903424f3eb5d4eeac56fe01f2d4665c85936a4736bd SHA512 93a1d45bb228d1ac304fd3652246561a5b7a9d91aa230f0f0d62a9e557f9f61a1dafee900139b7588f3310fdb98fbd71d6347ee45b6527ae27e2095da2a652b5 +AUX yatex-1.76-direntry.patch 1730 BLAKE2B e705e6f7b6a0bc7206aafe33af43f239be54b4203dc3e55e7f8221b3509f474c978165c62f8876633b7052247592ce4584beccce93cfe95b046cdedc48e527b5 SHA512 e7ddb8270e5ece483a5a796b7c5b712059b3093ec1994565400afa6731efe76494cb86163632edde3b3bd167cf78886c216482ab4377c9fd8a969b37a41aee6e +AUX yatex-1.76-gentoo.patch 668 BLAKE2B 8ddfcc0d7f189462777ddd30ad77e4053230f701fc94448ad6ea0bc0096ba02c911e057b071278eb5c4e3b61151d16e247b4fd38c66b7314a2df82c342a00443 SHA512 dc1bd4d95cec7eb9268560ba78c93a1551f28e0da83d9beb99313e034dfd86044f2971a2dc0ae830e975e78d0a79b951d02378c677eb4d39d5e7f6885e6377cd +AUX yatex-1.77-texinfo-5.patch 2968 BLAKE2B 834f913dfef0d56e12fe163cdee501fc681b6f33beef5f5757598a9c5703c36619ffaa13ad811dc29a36b5fbcb9c7fd2e797ce8ee07bfa2bd2ddf1df65c2242e SHA512 91b2caf1adcd805fa10d9c0b2576a83fb57f549d64e9ee37b6873cd705ebaecf96853efb265b3f7e42f821f37c79b469ca8507fd1d3470190e04594788b7d8ad +DIST yatex1.76.tar.gz 357552 BLAKE2B c829cf73d38fd0ea12bd9b831059fabae2d8cf6d7f111762a409770910aefc6f0617979e38ef0fb5c489d92c38c83832cf74e075f68a190c794aa15b5f0a696b SHA512 ff2afea1cb1b7e4bef223c13d4cc6b942b1d555959321e7cb97595dfe7ca3adbc9efa6db7d7d13cdd0bb5aa62eabc1d3383d07635b1dbbe5b15175bf99c4c416 +DIST yatex1.77.tar.gz 356721 BLAKE2B f923bc80ec32ee3d1654f15a99624251604c94af60738ad2f56b237d4385da0951bec32b32f297662540667da2648789a380b433332ce7e10f50f1d016c3b6d0 SHA512 d6b909b540b0966cfcd35a36ad7c9e8d8a821ca668ea9b0a4d1f3267a45397800769dd47ce64f5f8cbda65c274a7f415c8e86b6598a365ea41104684cf9df07f +EBUILD yatex-1.76.ebuild 1213 BLAKE2B 4e707f3c0c9b17209ebc2546044de5b3ec7266d94227f4e5c06bc5fe1f5a00094af364f7133cb06228498b8cb9d3ba3bf1337c1c3a3e3865b46545e673fdf72b SHA512 bfbcf7cf87bb592e8ed9cdb0c17cc2bdaf31246412e145913e993553b1f7ba69fd24625e0941699abec2b5fdb4111cf548641a900f0d24d934df7ad460c14a86 +EBUILD yatex-1.77.ebuild 1241 BLAKE2B 005fadf3bba18e44aa6483f149ab29c5c643a94168f1a575ec5eed48e5dc948c36c8761317ad723cf367051577fe6bf1a58ac512973e5b1b13ca444a8d3d4fe2 SHA512 f935dd5ca28fb1c1eb6ed7eb4828ee08e2b17ed2c73c84986762f9befeab712f7b186c522a8400c4948899b258080230d802722c6934582eb85952d351d4fdac +MISC metadata.xml 775 BLAKE2B 1bbb59c7ea19bb7527aa04a2c4f85310ba955a05cb3a03081c76ab3802fe6756bcdc209b45194c29caf3bc0ab429687e3e262e1a120f57d1ede05b01a8580ab2 SHA512 51bcb805b7e9f0669d6c8b213061bd948662a89545921375bd4caf4dae84b2e68332b220992c00b70dae3a1de1cf3605f546295195b01b5366b730adea2196bf 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..d82c1ecb87c7 --- /dev/null +++ b/app-emacs/yatex/metadata.xml @@ -0,0 +1,20 @@ +<?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> +<stabilize-allarches/> +</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 +} |