diff options
-rw-r--r-- | app-emacs/auctex/ChangeLog | 8 | ||||
-rw-r--r-- | app-emacs/auctex/Manifest | 21 | ||||
-rw-r--r-- | app-emacs/auctex/auctex-11.84-r2.ebuild | 100 | ||||
-rw-r--r-- | app-emacs/auctex/files/digest-auctex-11.84-r2 | 3 |
4 files changed, 124 insertions, 8 deletions
diff --git a/app-emacs/auctex/ChangeLog b/app-emacs/auctex/ChangeLog index df3387092d1b..5ab554c9df5a 100644 --- a/app-emacs/auctex/ChangeLog +++ b/app-emacs/auctex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/auctex # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.63 2007/06/14 07:18:13 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.64 2007/06/27 10:40:53 opfer Exp $ + +*auctex-11.84-r2 (27 Jun 2007) + + 27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> + +auctex-11.84-r2.ebuild: + generate and install reference card in doc directory 14 Jun 2007; Christian Faulhammer <opfer@gentoo.org> -files/51auctex-gentoo.el, -files/auctex-11.55-configure.diff, diff --git a/app-emacs/auctex/Manifest b/app-emacs/auctex/Manifest index 27f3c9c8bde8..01a7782de030 100644 --- a/app-emacs/auctex/Manifest +++ b/app-emacs/auctex/Manifest @@ -26,10 +26,14 @@ EBUILD auctex-11.84-r1.ebuild 3342 RMD160 f07a293d7e4e3770161fadfe4ac996e20f6e8b MD5 49db82d8251b044a190bd2a87160397c auctex-11.84-r1.ebuild 3342 RMD160 f07a293d7e4e3770161fadfe4ac996e20f6e8bdd auctex-11.84-r1.ebuild 3342 SHA256 f8340bb1501fdcbe7e6091ad0edc491801434c292d86fa54647b590748ee202f auctex-11.84-r1.ebuild 3342 -MISC ChangeLog 9894 RMD160 f066aecf2060e6255abda1eca08ea65d320f1fdc SHA1 d8c8bbaa81e5ccb2a8cf74e15cde5f692f0963c5 SHA256 7a16bb5a52a8d41b61606a2425207b855d35d3ff102df4f7e450d605640aef0f -MD5 1e1279d8c5e571d86474af41fa867e46 ChangeLog 9894 -RMD160 f066aecf2060e6255abda1eca08ea65d320f1fdc ChangeLog 9894 -SHA256 7a16bb5a52a8d41b61606a2425207b855d35d3ff102df4f7e450d605640aef0f ChangeLog 9894 +EBUILD auctex-11.84-r2.ebuild 3469 RMD160 73895bbe2f362cf61496ccfa13ad9eab8b08706f SHA1 847650cf46e0404efedc98b25fd71302777edf68 SHA256 c2e1d4b0fbeb7733da1a6a333e74ae1c3523322da46efb9bc78f6557d3c8bcd1 +MD5 917b4aa4f2f392cd06f0fad102f8d73a auctex-11.84-r2.ebuild 3469 +RMD160 73895bbe2f362cf61496ccfa13ad9eab8b08706f auctex-11.84-r2.ebuild 3469 +SHA256 c2e1d4b0fbeb7733da1a6a333e74ae1c3523322da46efb9bc78f6557d3c8bcd1 auctex-11.84-r2.ebuild 3469 +MISC ChangeLog 10064 RMD160 19e52a4bf9b1f961709505b76a6601c633bbe2e5 SHA1 71c7023b4f7dc64e2720f72c404c92272540b511 SHA256 3f26e56aa8f9caa23a8b9e1a6730a92f603d096caf71a58e63e44fbc45c9c8cb +MD5 8f9d41a74377b56cb6c4681117a1383e ChangeLog 10064 +RMD160 19e52a4bf9b1f961709505b76a6601c633bbe2e5 ChangeLog 10064 +SHA256 3f26e56aa8f9caa23a8b9e1a6730a92f603d096caf71a58e63e44fbc45c9c8cb ChangeLog 10064 MISC metadata.xml 175 RMD160 02f01e92a67d7710aaba396e841d532381b2eacb SHA1 43235866a53af449bf9cccd4cd9bb66220d8be73 SHA256 ed92147de58e8f114a4a5cda40f909fda97ac61411a5b613dd9d569ee1f099a4 MD5 418979631f02d38fc0d46a6e95f9fede metadata.xml 175 RMD160 02f01e92a67d7710aaba396e841d532381b2eacb metadata.xml 175 @@ -37,10 +41,13 @@ SHA256 ed92147de58e8f114a4a5cda40f909fda97ac61411a5b613dd9d569ee1f099a4 metadata MD5 815c11804f6af4382e3bfc36dc160c4f files/digest-auctex-11.84-r1 238 RMD160 8e9361ff87c5c5809898f7771c2617fb99da9ad6 files/digest-auctex-11.84-r1 238 SHA256 9f0fded779310d40f2aa923f5819df3e46de92d6dddeee0b8b7316a425af55bd files/digest-auctex-11.84-r1 238 +MD5 815c11804f6af4382e3bfc36dc160c4f files/digest-auctex-11.84-r2 238 +RMD160 8e9361ff87c5c5809898f7771c2617fb99da9ad6 files/digest-auctex-11.84-r2 238 +SHA256 9f0fded779310d40f2aa923f5819df3e46de92d6dddeee0b8b7316a425af55bd files/digest-auctex-11.84-r2 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFGcOu7NQqtfCuFneMRAvHwAJ9rCZXKhGc5LsZdLKjmr5TSObFX0ACcDX+S -mRugT16VPK+DL1ph0bcFoCQ= -=ZGtu +iD8DBQFGgj68NQqtfCuFneMRApZWAJ4vEMXXquHOGBZ84BMY3RxunWPB/wCfc5C9 +kgBCXGCdCS2R0khyr2S/Xvg= +=VWfq -----END PGP SIGNATURE----- diff --git a/app-emacs/auctex/auctex-11.84-r2.ebuild b/app-emacs/auctex/auctex-11.84-r2.ebuild new file mode 100644 index 000000000000..8b6072588787 --- /dev/null +++ b/app-emacs/auctex/auctex-11.84-r2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.84-r2.ebuild,v 1.1 2007/06/27 10:40:53 opfer Exp $ + +inherit elisp eutils latex-package + +DESCRIPTION="An extensible package that supports writing and formatting TeX files" +HOMEPAGE="http://www.gnu.org/software/auctex/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="preview-latex" + +DEPEND="virtual/tetex + preview-latex? ( !dev-tex/preview-latex + app-text/dvipng + virtual/ghostscript )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # skip XEmacs detection. this is a workaround for emacs23 + epatch "${FILESDIR}/${P}-configure.diff" + # allow compilation of Japanese TeX files, fixed in upstream's CVS + # not needed for next release (>=11.85) + epatch "${FILESDIR}/${P}-japanes.patch" + # detection of Emacs fails on ppc64 with version 21, see bug #131761 + use ppc64 && epatch "${FILESDIR}/${P}-ppc64_configure.patch" +} + +src_compile() { + # Don't install in the main tree, as this causes file collisions + # with app-text/tetex, see bug #155944 + if use preview-latex; then + local TEXMFPATH="$(kpsewhich -var-value=TEXMFSITE)" + local TEXMFCONFIGFILE="$(kpsewhich texmf.cnf)" + + if [ -z "${TEXMFPATH}" ]; then + eerror "You haven't defined the TEXMFSITE variable in your TeX config." + eerror "Please do so in the file ${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf}" + die "Define TEXMFSITE in TeX configuration!" + else + # go through the colon separated list of directories (maybe only one) provided in the variable + # TEXMFPATH (generated from TEXMFSITE from TeX's config) and choose only the first entry. + # All entries are separated by colons, even when defined with semi-colons, kpsewhich changes + # the output to a generic format, so IFS has to be redefined. + local IFS="${IFS}:" + + for strippedpath in ${TEXMFPATH} + do + if [ -d ${strippedpath} ]; then + local PREVIEW_TEXMFDIR="${strippedpath}" + break + fi + done + + # verify if an existing path was chosen to prevent from installing into the wrong directory + if [ -z ${PREVIEW_TEXMFDIR} ]; then + eerror "TEXMFSITE does not contain any existing directory." + eerror "Please define an existing directory in your TeX config file" + eerror "${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf} or create at least one of the there specified directories" + die "TEXMFSITE variable did not contain an existing directory" + fi + + dodir "${PREVIEW_TEXMFDIR}" + fi + fi + + econf --disable-build-dir-test \ + --with-auto-dir="${D}/var/lib/auctex" \ + --with-lispdir="${D}/usr/share/emacs/site-lisp" \ + --with-texmf-dir="${D}/${PREVIEW_TEXMFDIR}" \ + $(use_enable preview-latex preview) || die "econf failed" + emake || die "emake failed" + cd doc; emake tex-ref.pdf || die "creation of tex-ref.pdf failed" +} + +src_install() { + einstall || die "einstall failed" + dosed "${SITELISP}/tex-site.el" || die "dosed failed" + elisp-site-file-install "${FILESDIR}/52auctex-gentoo.el" + if use preview-latex; then + elisp-site-file-install "${FILESDIR}/60auctex-gentoo.el" + fi + dodoc ChangeLog CHANGES README RELEASE TODO FAQ INSTALL* doc/tex-ref.pdf +} + +pkg_postinst() { + # rebuild TeX-inputfiles-database + use preview-latex && latex-package_pkg_postinst + elisp-site-regen +} + +pkg_postrm(){ + use preview-latex && latex-package_pkg_postrm + elisp-site-regen +} diff --git a/app-emacs/auctex/files/digest-auctex-11.84-r2 b/app-emacs/auctex/files/digest-auctex-11.84-r2 new file mode 100644 index 000000000000..c88a621c6913 --- /dev/null +++ b/app-emacs/auctex/files/digest-auctex-11.84-r2 @@ -0,0 +1,3 @@ +MD5 73970c51221524442c11cde13d0584e9 auctex-11.84.tar.gz 927517 +RMD160 305f5327eac1bfe7f2770deb6617a50926c65f4f auctex-11.84.tar.gz 927517 +SHA256 3f25e99ddecc21422bbddf27ecbfcab49b187eb00f69788aaba1cf818fe557d1 auctex-11.84.tar.gz 927517 |