From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F15CC138335 for ; Thu, 5 Sep 2019 10:27:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA8B7E07B3; Thu, 5 Sep 2019 10:27:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1879E07B3 for ; Thu, 5 Sep 2019 10:27:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09A0834AC76 for ; Thu, 5 Sep 2019 10:27:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA81A780 for ; Thu, 5 Sep 2019 10:27:00 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1567679200.6bf543064ee636fee7842bf3000b8c861db458c8.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/auctex/, app-emacs/auctex/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/auctex/auctex-12.1-r1.ebuild app-emacs/auctex/files/auctex-12.1-autoload.patch X-VCS-Directories: app-emacs/auctex/files/ app-emacs/auctex/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 6bf543064ee636fee7842bf3000b8c861db458c8 X-VCS-Branch: master Date: Thu, 5 Sep 2019 10:27:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3a3b102-f3f7-451a-bf40-b844a2502755 X-Archives-Hash: dc18070e4dd2900c546d50278aa8210c commit: 6bf543064ee636fee7842bf3000b8c861db458c8 Author: Ulrich Müller gentoo org> AuthorDate: Thu Sep 5 10:24:13 2019 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Sep 5 10:26:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf54306 app-emacs/auctex: Fix build failure with Emacs 27. Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Ulrich Müller gentoo.org> app-emacs/auctex/auctex-12.1-r1.ebuild | 62 +++++++++++++++++++++++ app-emacs/auctex/files/auctex-12.1-autoload.patch | 33 ++++++++++++ 2 files changed, 95 insertions(+) diff --git a/app-emacs/auctex/auctex-12.1-r1.ebuild b/app-emacs/auctex/auctex-12.1-r1.ebuild new file mode 100644 index 00000000000..dcd803eff7f --- /dev/null +++ b/app-emacs/auctex/auctex-12.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +NEED_EMACS=24 + +inherit elisp + +DESCRIPTION="Extensible package for writing and formatting TeX files in Emacs" +HOMEPAGE="https://www.gnu.org/software/auctex/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ FDL-1.3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +IUSE="preview-latex" + +RDEPEND="virtual/latex-base + preview-latex? ( + app-text/dvipng + app-text/ghostscript-gpl + )" +BDEPEND="${RDEPEND}" + +ELISP_PATCHES="${P}-autoload.patch" +TEXMF="/usr/share/texmf-site" + +src_configure() { + econf --with-emacs \ + --with-auto-dir="${EPREFIX}/var/lib/auctex" \ + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ + --with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \ + --with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \ + --with-texmf-dir="${EPREFIX}${TEXMF}" \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --disable-build-dir-test \ + $(use_enable preview-latex preview) +} + +src_compile() { + export VARTEXFONTS="${T}"/fonts + emake +} + +src_install() { + emake -j1 DESTDIR="${D}" install + elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" + if use preview-latex; then + elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" + fi + dodoc ChangeLog* CHANGES FAQ INSTALL PROBLEMS.preview README RELEASE TODO +} + +pkg_postinst() { + use preview-latex && texmf-update + elisp-site-regen +} + +pkg_postrm(){ + use preview-latex && texmf-update + elisp-site-regen +} diff --git a/app-emacs/auctex/files/auctex-12.1-autoload.patch b/app-emacs/auctex/files/auctex-12.1-autoload.patch new file mode 100644 index 00000000000..3ee765d94ca --- /dev/null +++ b/app-emacs/auctex/files/auctex-12.1-autoload.patch @@ -0,0 +1,33 @@ +commit 1b88eda687913a3a355a010ed0483bfcfce28301 +Author: Tassilo Horn +Date: Fri May 17 22:07:10 2019 +0200 + + Fix autoload generation code (bug#35758) + + * Makefile.in (AUTOLOAD,PREVIEW_AUTOLOAD): Use arg instead of + generated-autoload-file (bug#35758). + +diff --git a/Makefile.in b/Makefile.in +index 822eea9f..74659f7a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -52,12 +52,15 @@ PACKAGE=auctex + PACKAGE_INFO=auctex preview-latex + EMACS=@EMACS@ + ELCC=$(EMACS) -batch -q -no-site-file -no-init-file -l lpath.el +-AUTOLOAD=--eval '(let ((generated-autoload-file (expand-file-name "$@"))) \ +- (mapcar (function update-file-autoloads) command-line-args-left) \ ++AUTOLOAD=--eval '(let ((autoload-file (expand-file-name "$@"))) \ ++ (mapcar (lambda (file) \ ++ (update-file-autoloads file nil autoload-file)) \ ++ command-line-args-left) \ + (save-buffers-kill-emacs t))' + +-PREVIEW_AUTOLOAD=--eval '(let ((generated-autoload-file (expand-file-name "$@"))) \ +- (update-file-autoloads "preview.el")(save-buffers-kill-emacs t))' ++PREVIEW_AUTOLOAD=--eval '(let ((autoload-file (expand-file-name "$@"))) \ ++ (update-file-autoloads "preview.el" nil autoload-file) \ ++ (save-buffers-kill-emacs t))' + + # Files and directories excluded from distributed tar ball. + EXCLUDEDFILES=autogen.sh .gitignore doc/.gitignore doc/tex-ref.log \