diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-25 19:25:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-25 19:25:33 +0000 |
commit | 67dbd3ba144944fbf4b466be1b5fa0569b774e6f (patch) | |
tree | 721c7f9085992578da57f71ea0c5becb6827cdb4 /eclass | |
parent | d4653056cc74d97f24bef0d56b4ebe11c53c8b76 (diff) |
gentoo auto-resync : 25:02:2025 - 19:25:33
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 40191 -> 40201 bytes | |||
-rw-r--r-- | eclass/latex-package.eclass | 24 | ||||
-rw-r--r-- | eclass/llvm.org.eclass | 3 | ||||
-rw-r--r-- | eclass/rust.eclass | 2 |
4 files changed, 24 insertions, 5 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex a10c37231092..5708fb860929 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index dfef7fc2836f..e35da30e1b44 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex-package.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: latex-package.eclass @@ -60,6 +60,8 @@ esac if [[ -z ${_LATEX_PACKAGE_ECLASS} ]]; then _LATEX_PACKAGE_ECLASS=1 +inherit edo + RDEPEND="virtual/latex-base" BDEPEND="${RDEPEND} >=sys-apps/texinfo-4.2-r5" @@ -77,6 +79,12 @@ TEXMF="/usr/share/texmf-site" # DESCRIPTION above) SUPPLIER="misc" +# @ECLASS_VARIABLE: LATEX_ENGINE +# @DESCRIPTION: +# When compiling documentation (.tex/.dtx), use the specified engine, +# e.g., lualatex, to build the documention. Defaults to pdflatex. +: "${LATEX_ENGINE:=pdflatex}" + # @ECLASS_VARIABLE: LATEX_DOC_ARGUMENTS # @DESCRIPTION: # When compiling documentation (.tex/.dtx), this variable will be passed @@ -138,18 +146,24 @@ latex-package_src_doinstall() { einfo "Making documentation: ${i}" local mypdflatex=( - pdflatex + ${LATEX_ENGINE} ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode "${i}" ) + + if [[ ${LATEX_ENGINE} == "lualatex" ]]; then + # bug #950021 + local -x TEXMFCACHE="${T}" TEXMFVAR="${T}" + fi + # some macros need compiler called twice, do it here. - if "${mypdflatex[@]}"; then - "${mypdflatex[@]}" + if nonfatal edo "${mypdflatex[@]}"; then + edo "${mypdflatex[@]}" else einfo "pdflatex failed, trying texi2dvi" - texi2dvi -q -c --language=latex "${i}" || die + edo texi2dvi -q -c --language=latex "${i}" fi done < <(find -maxdepth 1 -type f -name "*.${1}" -print0) fi diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index ca18a41acd08..ed8c6521d902 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -72,6 +72,9 @@ if [[ -z ${_LLVM_SOURCE_TYPE+1} ]]; then _LLVM_SOURCE_TYPE=snapshot case ${PV} in + 21.0.0_pre20250225) + EGIT_COMMIT=d254fa877f419e61e54709f0a6f2e891da893a60 + ;; 21.0.0_pre20250221) EGIT_COMMIT=581599096e8a1a89ccd3e053a1209c69a9079083 ;; diff --git a/eclass/rust.eclass b/eclass/rust.eclass index d887970c34a7..9ead9d005706 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -71,6 +71,7 @@ declare -A -g -r _RUST_LLVM_MAP=( ["1.86.0"]=19 ["1.85.0"]=19 ["1.84.1"]=19 + ["1.84.0"]=19 ["1.83.0"]=19 ["1.82.0"]=19 ["1.81.0"]=18 @@ -95,6 +96,7 @@ declare -a -g -r _RUST_SLOTS_ORDERED=( "1.86.0" "1.85.0" "1.84.1" + "1.84.0" "1.83.0" "1.82.0" "1.81.0" |