diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-11-23 16:16:06 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-11-23 16:16:06 +0000 |
commit | e51b906b4dc475e250da3f669f54f605fad1fe5c (patch) | |
tree | 7aeea42fcb447118ebae167d6592d5fa1c4a76f2 /app-emacs/auctex | |
parent | We need pkgconfig. (diff) | |
download | historical-e51b906b4dc475e250da3f669f54f605fad1fe5c.tar.gz historical-e51b906b4dc475e250da3f669f54f605fad1fe5c.tar.bz2 historical-e51b906b4dc475e250da3f669f54f605fad1fe5c.zip |
Move data files from site-lisp to etc directory. Other minor changes.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'app-emacs/auctex')
-rw-r--r-- | app-emacs/auctex/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/auctex/Manifest | 41 | ||||
-rw-r--r-- | app-emacs/auctex/auctex-11.84-r3.ebuild | 99 | ||||
-rw-r--r-- | app-emacs/auctex/files/50auctex-gentoo.el | 8 | ||||
-rw-r--r-- | app-emacs/auctex/files/digest-auctex-11.84-r1 | 1 | ||||
-rw-r--r-- | app-emacs/auctex/files/digest-auctex-11.84-r2 | 1 | ||||
-rw-r--r-- | app-emacs/auctex/files/digest-auctex-11.84-r3 | 3 |
7 files changed, 152 insertions, 11 deletions
diff --git a/app-emacs/auctex/ChangeLog b/app-emacs/auctex/ChangeLog index 91d0c92f8f20..98d9b2de9214 100644 --- a/app-emacs/auctex/ChangeLog +++ b/app-emacs/auctex/ChangeLog @@ -1,6 +1,14 @@ # 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.69 2007/11/21 12:06:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.70 2007/11/23 16:16:06 ulm Exp $ + +*auctex-11.84-r3 (23 Nov 2007) + + 23 Nov 2007; Ulrich Mueller <ulm@gentoo.org> +files/50auctex-gentoo.el, + +auctex-11.84-r3.ebuild: + Move data files from site-lisp to etc directory. Use "emake install" for + installation and remove ${D} from configure options. Don't use auctex.el + wrapper for startup, but require tex-site directly. 21 Nov 2007; Raúl Porcel <armin76@gentoo.org> auctex-11.84-r2.ebuild: sparc stable wrt #199765 diff --git a/app-emacs/auctex/Manifest b/app-emacs/auctex/Manifest index b4cabcd719e4..9373fb468a70 100644 --- a/app-emacs/auctex/Manifest +++ b/app-emacs/auctex/Manifest @@ -1,3 +1,10 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 50auctex-gentoo.el 157 RMD160 7202a2c54b556987219f81f7ca29c735946e1a90 SHA1 e2d6f1145b48286facadbe33cbbba2bcda53e8c9 SHA256 ee6df844f12c72a9865f10ca7c25daf06ef64125c302de670aa1ba250a569fe5 +MD5 484c00b8513e3f02f0903e4bb09ae034 files/50auctex-gentoo.el 157 +RMD160 7202a2c54b556987219f81f7ca29c735946e1a90 files/50auctex-gentoo.el 157 +SHA256 ee6df844f12c72a9865f10ca7c25daf06ef64125c302de670aa1ba250a569fe5 files/50auctex-gentoo.el 157 AUX 52auctex-gentoo.el 128 RMD160 0f17a0cd948a0e64eebd21b4da8359a27019ff6a SHA1 7220ee7d4bd9c1bb0e140fabe98138de29e970ea SHA256 6bdb9a39fe1dc5da4b29318268dfe4e5ce6fd75ebd2e5dd8d3d7c0f69541bff5 MD5 1fb0d54bc0d7cb4978d446e347d178f9 files/52auctex-gentoo.el 128 RMD160 0f17a0cd948a0e64eebd21b4da8359a27019ff6a files/52auctex-gentoo.el 128 @@ -27,17 +34,31 @@ EBUILD auctex-11.84-r2.ebuild 3323 RMD160 22806d58443e7c7b39155cdaa5ea8615b91a1b MD5 a018bac11de0c2b8181d54780916c24e auctex-11.84-r2.ebuild 3323 RMD160 22806d58443e7c7b39155cdaa5ea8615b91a1ba3 auctex-11.84-r2.ebuild 3323 SHA256 d406e22f495ebfac1fb53aaef6b35e51887e744edd94b0999b663860f613c030 auctex-11.84-r2.ebuild 3323 -MISC ChangeLog 10739 RMD160 1e1a9cf74bd9d1261a08a02e86fe9dc035659231 SHA1 4c901467cd363df32e43989ff0e341c1e58977da SHA256 01fa665d025d630cff7bb87f30a4533925e1575527e4340ec946b0734fd52e77 -MD5 8350fd8dbc6c9229406d419a354b4b0a ChangeLog 10739 -RMD160 1e1a9cf74bd9d1261a08a02e86fe9dc035659231 ChangeLog 10739 -SHA256 01fa665d025d630cff7bb87f30a4533925e1575527e4340ec946b0734fd52e77 ChangeLog 10739 +EBUILD auctex-11.84-r3.ebuild 3396 RMD160 29757d7bc2a789f6a6cbf7179c6050a9a0e28ef0 SHA1 15eb745332238f530bfe3041289321350c270445 SHA256 5205e6f2a59f059b3a208fa35e008ea40f25e6b4198b1e9418045a03d98809c3 +MD5 fdd91fb0b3d3b5c6658e107b3cce95bb auctex-11.84-r3.ebuild 3396 +RMD160 29757d7bc2a789f6a6cbf7179c6050a9a0e28ef0 auctex-11.84-r3.ebuild 3396 +SHA256 5205e6f2a59f059b3a208fa35e008ea40f25e6b4198b1e9418045a03d98809c3 auctex-11.84-r3.ebuild 3396 +MISC ChangeLog 11073 RMD160 e21619abba78951252766a779bc8ef5380ad1756 SHA1 c701d32dbafab1e6ea6d3e6c7a0cea7f936380e6 SHA256 ba76b26b236bed22d422398cc1860e069855d122a61dc2194b43998a38303114 +MD5 1bc0994fb09ab4161f7190fe279a326c ChangeLog 11073 +RMD160 e21619abba78951252766a779bc8ef5380ad1756 ChangeLog 11073 +SHA256 ba76b26b236bed22d422398cc1860e069855d122a61dc2194b43998a38303114 ChangeLog 11073 MISC metadata.xml 175 RMD160 02f01e92a67d7710aaba396e841d532381b2eacb SHA1 43235866a53af449bf9cccd4cd9bb66220d8be73 SHA256 ed92147de58e8f114a4a5cda40f909fda97ac61411a5b613dd9d569ee1f099a4 MD5 418979631f02d38fc0d46a6e95f9fede metadata.xml 175 RMD160 02f01e92a67d7710aaba396e841d532381b2eacb metadata.xml 175 SHA256 ed92147de58e8f114a4a5cda40f909fda97ac61411a5b613dd9d569ee1f099a4 metadata.xml 175 -MD5 0f55f7c343c6189a7c197c756d8f53f9 files/digest-auctex-11.84-r1 174 -RMD160 7345bfc74bb27bcfed1e50584dcb61705d840156 files/digest-auctex-11.84-r1 174 -SHA256 8f4acc2ac9e4a4efdd22b2de40216abc250c6f82a628d9c682fe40cec0e6723c files/digest-auctex-11.84-r1 174 -MD5 0f55f7c343c6189a7c197c756d8f53f9 files/digest-auctex-11.84-r2 174 -RMD160 7345bfc74bb27bcfed1e50584dcb61705d840156 files/digest-auctex-11.84-r2 174 -SHA256 8f4acc2ac9e4a4efdd22b2de40216abc250c6f82a628d9c682fe40cec0e6723c files/digest-auctex-11.84-r2 174 +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 +MD5 815c11804f6af4382e3bfc36dc160c4f files/digest-auctex-11.84-r3 238 +RMD160 8e9361ff87c5c5809898f7771c2617fb99da9ad6 files/digest-auctex-11.84-r3 238 +SHA256 9f0fded779310d40f2aa923f5819df3e46de92d6dddeee0b8b7316a425af55bd files/digest-auctex-11.84-r3 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFHRvzdOeoy/oIi7uwRAhDFAKCOL8q+k5+VU4x2+cEXPv9h/Io0mQCfR8dB +tCPyvNX2AqK5i1Hp2nzg4CE= +=pS+/ +-----END PGP SIGNATURE----- diff --git a/app-emacs/auctex/auctex-11.84-r3.ebuild b/app-emacs/auctex/auctex-11.84-r3.ebuild new file mode 100644 index 000000000000..9bb3b5027807 --- /dev/null +++ b/app-emacs/auctex/auctex-11.84-r3.ebuild @@ -0,0 +1,99 @@ +# 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-r3.ebuild,v 1.1 2007/11/23 16:16:06 ulm 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" +} + +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="/var/lib/auctex" \ + --with-lispdir="${SITELISP}/${PN}" \ + --with-packagelispdir="${SITELISP}/${PN}" \ + --with-packagedatadir="/usr/share/emacs/etc/${PN}" \ + --with-texmf-dir="${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() { + emake DESTDIR="${D}" install || die "emake install failed" + elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die + if use preview-latex; then + elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" || die + 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/50auctex-gentoo.el b/app-emacs/auctex/files/50auctex-gentoo.el new file mode 100644 index 000000000000..ad4377967194 --- /dev/null +++ b/app-emacs/auctex/files/50auctex-gentoo.el @@ -0,0 +1,8 @@ + +;;; auctex site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(require 'tex-site) + +;; detect needed steps after rebuild +(setq TeX-parse-self t) diff --git a/app-emacs/auctex/files/digest-auctex-11.84-r1 b/app-emacs/auctex/files/digest-auctex-11.84-r1 index 1c658d33b342..c88a621c6913 100644 --- a/app-emacs/auctex/files/digest-auctex-11.84-r1 +++ b/app-emacs/auctex/files/digest-auctex-11.84-r1 @@ -1,2 +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 diff --git a/app-emacs/auctex/files/digest-auctex-11.84-r2 b/app-emacs/auctex/files/digest-auctex-11.84-r2 index 1c658d33b342..c88a621c6913 100644 --- a/app-emacs/auctex/files/digest-auctex-11.84-r2 +++ b/app-emacs/auctex/files/digest-auctex-11.84-r2 @@ -1,2 +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 diff --git a/app-emacs/auctex/files/digest-auctex-11.84-r3 b/app-emacs/auctex/files/digest-auctex-11.84-r3 new file mode 100644 index 000000000000..c88a621c6913 --- /dev/null +++ b/app-emacs/auctex/files/digest-auctex-11.84-r3 @@ -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 |