diff options
Diffstat (limited to 'app-emacs/yatex')
-rw-r--r-- | app-emacs/yatex/Manifest | 3 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.82-texinfo.patch | 22 | ||||
-rw-r--r-- | app-emacs/yatex/yatex-1.82.ebuild | 58 |
3 files changed, 83 insertions, 0 deletions
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest index 6ed2758af025..9b4bb3169d3a 100644 --- a/app-emacs/yatex/Manifest +++ b/app-emacs/yatex/Manifest @@ -1,6 +1,9 @@ AUX 50yatex-gentoo.el 488 BLAKE2B fcc7c76ee0ace31938ac6e7f438832d53542d2cdd0109ddf9ba59c8cdfe535f1bb5f2d2bf5edeb7247cc8903424f3eb5d4eeac56fe01f2d4665c85936a4736bd SHA512 93a1d45bb228d1ac304fd3652246561a5b7a9d91aa230f0f0d62a9e557f9f61a1dafee900139b7588f3310fdb98fbd71d6347ee45b6527ae27e2095da2a652b5 AUX yatex-1.76-direntry.patch 1646 BLAKE2B 7b13a22accecada28782abac230b7e20aec5aa1e920d98cf9fd68e776a1527181ebe8d99a8d4eecf1415d30336b7021edd2e9cbc1934d7022a3251095dd74702 SHA512 4415c8ebc8e3bfb7f15ac842e05743d7689def9365fae75a466b05daa7356f51625348e1b68f4eb6ff0144eec12feecb0054562aa91414ba6a5ad544999ec42e AUX yatex-1.80-texinfo-5.patch 8187 BLAKE2B 9039ff22af04b4f7bb7d7538eb73977aed30c14ad5329698691c30222b07c0cf2e531e85037bec790178c4003934ee082978ae37e7959bd5a76842659b1299b9 SHA512 856b16be069c6a77535b1800303b48467366d4765afa1d66ed5ccfc78c031b899ea027de8a95bb4687f19c06f9edb98d3e520e68adf2e93ca68acba96b62fbf8 +AUX yatex-1.82-texinfo.patch 615 BLAKE2B 5ed48ec8800af1d09c3ef6777ca0688a325f28f71f89f52f659a02592619e48606800a186121e0e9f951dc7816088fda3ba7dcfcbebc0e9af5eac4d22b3f936d SHA512 d50d91bcd00b3c0e2824475b6035f7bc5e0afb7171b370e8b264de4afc289d8ee91c9596f43c90a9617214f8d4962355a4151f8327419d9f67e38ca9cd2cfa40 DIST yatex1.80.tar.gz 376944 BLAKE2B 355726fb3b38bfbc314647739d4af6e588848b5ade208fe1e026106a7cc2c220edcf10214f37ee7c9cc461ecb3e776c3969e329d5a331b3d8ce9f669f2361e26 SHA512 6548d1ac95ce95198468698d9b91449736e4be8af15d29352c00f7604fd7b34b2c606afb2d90d1115fd64dc859efdd9c993a6b3733f9321ca7671615977b4bd5 +DIST yatex1.82.tar.gz 387358 BLAKE2B 77c88563e3beb7b29ac8a4d7204d14b966c9a88b1c2f04c6160089f0b61a70c9d6aa135d2e1cee6e13a90cc108428ce80e7ef0d0b8852b9a8651e67f34af7e1e SHA512 8c2890fc12e93aace5ac51e24da315a9d241aec023a3c67187c1fd28d2a7a02d1688b7e1177e1ba13411ecb394b5d581298c735cd80195e663bbdcf240f10fe5 EBUILD yatex-1.80.ebuild 1182 BLAKE2B 482b350173cda77b0ffb240059ca72893f24278954e34bf8c31cae588b7bdd919f6d463c157262c913cf8deccd1c21be26ea8eef662848e410e0cf0b9b46fad9 SHA512 635a78f07150dd0bf661e079956ab4262d7a1a8d0ffe427bd9894278cf2bccfc29fceba4b819af3ed8cb6add9bc28667e87042f8c14f791d8416d9cee5181ce3 +EBUILD yatex-1.82.ebuild 1288 BLAKE2B 482fdf6599179e96124f52f1864209c03f3d56a400820873e8ccd3baadd5980487d6d1863f93045e46bd63ca662031cbd6ab92c08193a24cd9ef08c4d592a564 SHA512 1af1fe67d2c6941cf5d5af32ad2d3d2374eb544e1402d7d007aba67c215cc0214c6dd9990e62212663e036720a83161b3f3c0bd4ecc70d2ea47a5984cc523e87 MISC metadata.xml 783 BLAKE2B d13521013411b6e4c82b13fc3770bf6860f3f9661fe170d2a3ad44010a73ec5dea991f62e2e44b9ffcead09abc8767b5b583c05e7d9cacc7cea0f6f2315e8a62 SHA512 c24917eb292e5da3b32e61970874b02eb90354bae372455f4abb6dc9e0b724a25ce36285531185aadaf4d16420b004504745d890ec8d6ddb13247477bb77d594 diff --git a/app-emacs/yatex/files/yatex-1.82-texinfo.patch b/app-emacs/yatex/files/yatex-1.82-texinfo.patch new file mode 100644 index 000000000000..1938b1a766d2 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.82-texinfo.patch @@ -0,0 +1,22 @@ +--- yatex1.82/docs/yatexe.tex ++++ yatex1.82/docs/yatexe.tex +@@ -382,7 +382,7 @@ + @section Special Filtering Region + A region like below will be passed to external filter command. + @example +-%#BEGIN FILTER{foo.pdf}{dot -T %t -o %o} ++%#BEGIN FILTER@{foo.pdf@}@{dot -T %t -o %o@} + \if0 + ....blah blah blah... + ....blah blah blah... +--- yatex1.82/docs/yatexj.tex ++++ yatex1.82/docs/yatexj.tex +@@ -488,7 +488,7 @@ + ます。そのためには以下のようなソースを文書中に書きます。 + + @example +-%#BEGIN FILTER{foo.pdf}{blockdiag -T %t -o %o} ++%#BEGIN FILTER@{foo.pdf@}@{blockdiag -T %t -o %o@} + \if0 + --- + ....blah blah blah... diff --git a/app-emacs/yatex/yatex-1.82.ebuild b/app-emacs/yatex/yatex-1.82.ebuild new file mode 100644 index 000000000000..bdf92dd93aab --- /dev/null +++ b/app-emacs/yatex/yatex-1.82.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Yet Another TeX mode for Emacs" +HOMEPAGE="http://www.yatex.org/" +SRC_URI="http://www.${PN}.org/${P/-}.tar.gz" +S="${WORKDIR}/${P/-}" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +LICENSE="BSD-2" +IUSE="l10n_ja" + +BDEPEND="l10n_ja? ( virtual/libiconv )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.76-direntry.patch + "${FILESDIR}"/${PN}-1.80-texinfo-5.patch + "${FILESDIR}"/${P}-texinfo.patch +) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + sed -i "/(help-dir/,/)))/c\ (help-dir \"${SITEETC}/${PN}\"))" ${PN}hlp.el + + elisp_src_prepare +} + +src_compile() { + cd docs + makeinfo {${PN},yahtml}e.tex || die + + if use l10n_ja; then + iconv -f WINDOWS-31J -t UTF-8 ${PN}j.tex > ${PN}-ja.texi || die + iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex > yahtml-ja.texi || die + makeinfo {${PN},yahtml}-ja.texi || die + fi +} + +src_install() { + elisp-install ${PN} *.el + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + + insinto ${SITEETC}/${PN} + doins help/YATEXHLP.eng + doinfo docs/{${PN},yahtml}.info* + dodoc install docs/*.eng + + if use l10n_ja; then + doins help/YATEXHLP.jp + doinfo docs/{${PN},yahtml}-ja.info* + dodoc 00readme ${PN}.new docs/{htmlqa,qanda,*.doc} + fi +} |