public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/yatex/, app-emacs/yatex/files/
@ 2018-07-27 14:27 Akinori Hattori
  0 siblings, 0 replies; 2+ messages in thread
From: Akinori Hattori @ 2018-07-27 14:27 UTC (permalink / raw
  To: gentoo-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 11617 bytes --]

commit:     4c2aa02a2c8607a19091836a7fb808a8f9f8e926
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 27 14:26:48 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Jul 27 14:26:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2aa02a

app-emacs/yatex: new upstream release

Closes: https://bugs.gentoo.org/630596
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-emacs/yatex/Manifest                         |   1 +
 app-emacs/yatex/files/yatex-1.80-texinfo-5.patch | 247 +++++++++++++++++++++++
 app-emacs/yatex/yatex-1.80.ebuild                |  54 +++++
 3 files changed, 302 insertions(+)

diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
index 4f935daf501..fa48203d8f0 100644
--- a/app-emacs/yatex/Manifest
+++ b/app-emacs/yatex/Manifest
@@ -1 +1,2 @@
 DIST yatex1.77.tar.gz 356721 BLAKE2B f923bc80ec32ee3d1654f15a99624251604c94af60738ad2f56b237d4385da0951bec32b32f297662540667da2648789a380b433332ce7e10f50f1d016c3b6d0 SHA512 d6b909b540b0966cfcd35a36ad7c9e8d8a821ca668ea9b0a4d1f3267a45397800769dd47ce64f5f8cbda65c274a7f415c8e86b6598a365ea41104684cf9df07f
+DIST yatex1.80.tar.gz 376944 BLAKE2B 355726fb3b38bfbc314647739d4af6e588848b5ade208fe1e026106a7cc2c220edcf10214f37ee7c9cc461ecb3e776c3969e329d5a331b3d8ce9f669f2361e26 SHA512 6548d1ac95ce95198468698d9b91449736e4be8af15d29352c00f7604fd7b34b2c606afb2d90d1115fd64dc859efdd9c993a6b3733f9321ca7671615977b4bd5

diff --git a/app-emacs/yatex/files/yatex-1.80-texinfo-5.patch b/app-emacs/yatex/files/yatex-1.80-texinfo-5.patch
new file mode 100644
index 00000000000..49e55b608f1
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.80-texinfo-5.patch
@@ -0,0 +1,247 @@
+--- a/docs/yahtmle.tex
++++ b/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 yahtmle
+ @settitle Yet Another html-mode for Emacs
+@@ -14,10 +14,9 @@
+ 
+ @titlepage
+ @sp 10
+-@center
+ @subtitle Yet Another html-mode for emacs
+ @title // yahtml //
+-%@subtitle // yahtml //
++@c @subtitle // yahtml //
+ @author @copyright{} 1994-2012 by    HIROSE, Yuuji [yuuji@@yatex.org]
+ @end titlepage
+ 
+--- a/docs/yahtmlj.tex
++++ b/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 yahtmlj
+ @settitle Yet Another html-mode for Emacs
+@@ -14,7 +14,6 @@
+ 
+ @titlepage
+ @sp 10
+-@center
+ @subtitle Yet Another html-mode for emacs
+ @title wHTML‰®x
+ @subtitle // yahtml //
+--- a/docs/yatexe.tex
++++ b/docs/yatexe.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*-
++@c \def\lang{jp} % -*- texinfo -*-
+ \input texinfo.tex
+ @setfilename yatexe
+ @settitle Yet Another tex-mode for Emacs
+@@ -14,7 +14,6 @@
+ 
+ @titlepage
+ @sp 10
+-@center
+ @subtitle Yet Another tex-mode for emacs
+ @title Wild Bird
+ @subtitle // YaTeX //
+@@ -713,7 +712,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
+@@ -1133,7 +1132,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
+@@ -1756,44 +1755,44 @@
+ @end defvar
+ 
+ @defvar YaTeX-cmd-gimp
+-Command name of GIMP (code{"gimp"})
++Command name of GIMP (@code{"gimp"})
+ @end defvar
+ @defvar YaTeX-cmd-tgif
+-Command name of tgif (code{"tgif"})
++Command name of tgif (@code{"tgif"})
+ @end defvar
+ @defvar YaTeX-cmd-inkscape
+-Command name of Inkscape (code{"inkscape"})
++Command name of Inkscape (@code{"inkscape"})
+ @end defvar
+ @defvar YaTeX-cmd-dia
+-Command name of Dia (code{"dia"})
++Command name of Dia (@code{"dia"})
+ @end defvar
+ @defvar YaTeX-cmd-ooo
+-Command name of OpenOffice.org/LibreOffice (code{"soffice"})
++Command name of OpenOffice.org/LibreOffice (@code{"soffice"})
+ @end defvar
+ @defvar YaTeX-cmd-gs
+-Command name of Ghostscript (code{"gs"})
++Command name of Ghostscript (@code{"gs"})
+ @end defvar
+ @defvar YaTeX-cmd-dvips
+-Command name of dvips (code{"dvips"})
++Command name of dvips (@code{"dvips"})
+ @end defvar
+ @defvar YaTeX-cmd-displayline
+ Command name of displayline
+-(code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
++(@code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
+ @end defvar
+ @defvar YaTeX-cmd-edit-ps
+-Command name for editing PostScript files(Value of code{"YaTeX-cmd-gimp"})
++Command name for editing PostScript files(Value of @code{"YaTeX-cmd-gimp"})
+ @end defvar
+ @defvar YaTeX-cmd-edit-pdf
+-Command name for editing PDF files(Value of code{"YaTeX-cmd-ooo"})
++Command name for editing PDF files(Value of @code{"YaTeX-cmd-ooo"})
+ @end defvar
+ @defvar YaTeX-cmd-edit-ai
+-Command name for editing `.ai' files(Value of code{"YaTeX-cmd-inkscape"})
++Command name for editing `.ai' files(Value of @code{"YaTeX-cmd-inkscape"})
+ @end defvar
+ @defvar YaTeX-cmd-edit-svg
+-Command name for editing SVG files(Value of code{"YaTeX-cmd-inkscape"})
++Command name for editing SVG files(Value of @code{"YaTeX-cmd-inkscape"})
+ @end defvar
+ @defvar YaTeX-cmd-edit-images
+-Command name for editing image files(Value of code{"YaTeX-cmd-gimp"})
++Command name for editing image files(Value of @code{"YaTeX-cmd-gimp"})
+ @end defvar
+ 
+ @defvar YaTeX-need-nonstop
+@@ -2289,9 +2288,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
+@@ -2299,9 +2298,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},
+@@ -2309,9 +2308,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.
+--- a/docs/yatexj.tex
++++ b/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 yatexj
+ @settitle Yet Another tex-mode for Emacs
+@@ -19,7 +19,6 @@
+ 
+ @titlepage
+ @sp 10
+-@center
+ @subtitle Yet Another tex-mode for emacs
+ @title w–ì’¹x
+ @subtitle // YaTeX //
+@@ -1146,7 +1145,7 @@
+ @section ЇŒÊ“ü—͕⏕
+ @cindex ЇŒÊ“ü—͕⏕[‚©‚‚±‚ɂ䂤‚è‚æ‚­‚Ù‚µ‚æ]
+ 
+-  3Ží—Þ‚ ‚銇ŒÊ () {} [] ‚ÌŠJ‚«Š‡ŒÊ‚ð“ü‚ꂽ‚Æ‚«‚ɕ‚¶Š‡ŒÊ‚ðŽ©“®“I‚É“ü‚ê‚Ü‚·B
++  3Ží—Þ‚ ‚銇ŒÊ () @{@} [] ‚ÌŠJ‚«Š‡ŒÊ‚ð“ü‚ꂽ‚Æ‚«‚ɕ‚¶Š‡ŒÊ‚ðŽ©“®“I‚É“ü‚ê‚Ü‚·B
+ @code{\} ‚Ì’¼Œã‚É‚Ì @code{[} ‚ð“ü‚ê‚邯s‚𕪂¯‚ăCƒ“ƒfƒ“ƒg‚𑵂¦A
+ ”Ž®“ü—͂ɔõ‚¦‚Ü‚·B‚»‚Ì‘¼ La@TeX{} ‚̃}ƒNƒ‚ɉž‚¶‚ÄŠ‡ŒÊ‚̒ލ‡‚ÌŽæ‚ꂽ
+ ó‘Ô‚É“±‚«‚Ü‚·BŠJ‚«Š‡ŒÊ‚»‚Ì‚à‚Ì‚ð1‚‚¾‚¯“ü‚ꂽ‚¢‚Æ‚«‚Í @kbd{C-q} ‚Å
+@@ -1965,44 +1964,44 @@
+ @end defvar
+ 
+ @defvar YaTeX-cmd-gimp
+-GIMP‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (code{"gimp"})
++GIMP‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (@code{"gimp"})
+ @end defvar
+ @defvar YaTeX-cmd-tgif
+-tgif‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (code{"tgif"})
++tgif‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (@code{"tgif"})
+ @end defvar
+ @defvar YaTeX-cmd-inkscape
+-Inkscape‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (code{"inkscape"})
++Inkscape‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (@code{"inkscape"})
+ @end defvar
+ @defvar YaTeX-cmd-dia
+-Dia‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (code{"dia"})
++Dia‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (@code{"dia"})
+ @end defvar
+ @defvar YaTeX-cmd-ooo
+-OpenOffice.org‚Ü‚½‚ÍLibreOffice‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (code{"soffice"})
++OpenOffice.org‚Ü‚½‚ÍLibreOffice‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (@code{"soffice"})
+ @end defvar
+ @defvar YaTeX-cmd-gs
+-Ghostscript‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (code{"gs"})
++Ghostscript‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh (@code{"gs"})
+ @end defvar
+ @defvar YaTeX-cmd-dvips
+-dvips‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh(ŠÂ‹«‚É‚æ‚Á‚Ä‚Ípdvips‚È‚Ç) (code{"dvips"})
++dvips‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh(ŠÂ‹«‚É‚æ‚Á‚Ä‚Ípdvips‚È‚Ç) (@code{"dvips"})
+ @end defvar
+ @defvar YaTeX-cmd-displayline
+ displayline‚ð‹N“®‚·‚éƒRƒ}ƒ“ƒh
+-(code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
++(@code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
+ @end defvar
+ @defvar YaTeX-cmd-edit-ps
+-PostScriptƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”code{"YaTeX-cmd-gimp"}‚Ì’l)
++PostScriptƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”@code{"YaTeX-cmd-gimp"}‚Ì’l)
+ @end defvar
+ @defvar YaTeX-cmd-edit-pdf
+-PDFƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”code{"YaTeX-cmd-ooo"}‚Ì’l)
++PDFƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”@code{"YaTeX-cmd-ooo"}‚Ì’l)
+ @end defvar
+ @defvar YaTeX-cmd-edit-ai
+-.aiƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”code{"YaTeX-cmd-inkscape"}‚Ì’l)
++.aiƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”@code{"YaTeX-cmd-inkscape"}‚Ì’l)
+ @end defvar
+ @defvar YaTeX-cmd-edit-svg
+-SVGƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”code{"YaTeX-cmd-inkscape"}‚Ì’l)
++SVGƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”@code{"YaTeX-cmd-inkscape"}‚Ì’l)
+ @end defvar
+ @defvar YaTeX-cmd-edit-images
+-‚»‚Ì‘¼‰æ‘œƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”code{"YaTeX-cmd-gimp"}‚Ì’l)
++‚»‚Ì‘¼‰æ‘œƒtƒ@ƒCƒ‹‚ð•ҏW‚·‚éƒRƒ}ƒ“ƒh (•ϐ”@code{"YaTeX-cmd-gimp"}‚Ì’l)
+ @end defvar
+ 
+ @defvar YaTeX-need-nonstop

diff --git a/app-emacs/yatex/yatex-1.80.ebuild b/app-emacs/yatex/yatex-1.80.ebuild
new file mode 100644
index 00000000000..70503b9d1df
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.80.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit elisp
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/"
+SRC_URI="http://www.${PN}.org/${P/-}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+SLOT="0"
+LICENSE="BSD-2"
+IUSE="l10n_ja"
+
+S="${WORKDIR}/${P/-}"
+
+ELISP_PATCHES="${PN}-1.76-direntry.patch
+	${P}-texinfo-5.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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/yatex/, app-emacs/yatex/files/
@ 2022-01-04 10:43 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2022-01-04 10:43 UTC (permalink / raw
  To: gentoo-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 3926 bytes --]

commit:     6dd2cc20f56fc8af87855561d07d8d2fbed72734
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  4 10:23:37 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jan  4 10:43:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd2cc20

app-emacs/yatex: Version bump to 1.82

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/yatex/Manifest                       |  1 +
 app-emacs/yatex/files/yatex-1.82-texinfo.patch | 22 ++++++++++
 app-emacs/yatex/yatex-1.82.ebuild              | 58 ++++++++++++++++++++++++++
 3 files changed, 81 insertions(+)

diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
index 7ff4894c24f5..475ff65ae333 100644
--- a/app-emacs/yatex/Manifest
+++ b/app-emacs/yatex/Manifest
@@ -1 +1,2 @@
 DIST yatex1.80.tar.gz 376944 BLAKE2B 355726fb3b38bfbc314647739d4af6e588848b5ade208fe1e026106a7cc2c220edcf10214f37ee7c9cc461ecb3e776c3969e329d5a331b3d8ce9f669f2361e26 SHA512 6548d1ac95ce95198468698d9b91449736e4be8af15d29352c00f7604fd7b34b2c606afb2d90d1115fd64dc859efdd9c993a6b3733f9321ca7671615977b4bd5
+DIST yatex1.82.tar.gz 387358 BLAKE2B 77c88563e3beb7b29ac8a4d7204d14b966c9a88b1c2f04c6160089f0b61a70c9d6aa135d2e1cee6e13a90cc108428ce80e7ef0d0b8852b9a8651e67f34af7e1e SHA512 8c2890fc12e93aace5ac51e24da315a9d241aec023a3c67187c1fd28d2a7a02d1688b7e1177e1ba13411ecb394b5d581298c735cd80195e663bbdcf240f10fe5

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 @@
+ ‚Ü‚·B‚»‚Ì‚½‚߂ɂ͈ȉº‚̂悤‚ȃ\[ƒX‚𕶏‘’†‚ɏ‘‚«‚Ü‚·B
+ 
+ @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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-04 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-27 14:27 [gentoo-commits] repo/gentoo:master commit in: app-emacs/yatex/, app-emacs/yatex/files/ Akinori Hattori
  -- strict thread matches above, loose matches on Subject: below --
2022-01-04 10:43 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox