summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* texlive-common.eclass: Add TEXLIVE_SCRIPTS_W_FILE_EXT variableFlorian Schmaus2024-07-241-2/+18
| | | | | | | | | | | | | | | | | Some scripts are supposed to be installed with file extensions [1, 2]. Add support for declaring those scripts in a new elcass variable TEXLIVE_SCRIPTS_W_FILE_EXT. Also use pure-bash functions to retrieve the basename and strip the file extensions. And use "declare -l" to lowercase the value of 'trg', instead of 'tr' [3]. 1: https://tug.org/pipermail/tldistro/2024q3/000485.html 2: https://github.com/TeX-Live/texlive-source/blob/c087bab35570b1d5cb0afd272611a7a4ec3c9e38/texk/texlive/linked_scripts/Makefile.am#L332-L333 3: https://github.com/TeX-Live/texlive-source/blob/c087bab35570b1d5cb0afd272611a7a4ec3c9e38/texk/texlive/linked_scripts/Makefile.am#L330 Bug: https://bugs.gentoo.org/934975 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* texlive-common.eclass: eftmutil-sys: use edobFlorian Schmaus2024-05-141-3/+5
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* texlive-common.eclass: add newline between tlpobj entries in tlpdbFlorian Schmaus2024-04-291-1/+3
| | | | | | | | | | | | | | | We previously created the texlive.tlpdb by concatenating all tlpobj files. This means that the entries will be right after another. As it turns out, some TeX Live tools require a newline (e.g., tlmgr) between the entries, while others do not (e.g., texdoc). And the "official" tlpdb also has the entries separated by newlines. Therefore this changes texlive-common_update_tlpdb() to also add them. Thanks to ulm for showing how this can be done with sed. Signed-off-by: Florian Schmaus <flow@gentoo.org> Thanks-to: Ulrich Müller <ulm@gentoo.org>
* texlive-common_update_tlpdb: only run find if tlpobj dir existsFlorian Schmaus2024-04-051-4/+6
| | | | | | | | | | | | Closes: https://bugs.gentoo.org/928638 Closes: https://bugs.gentoo.org/928639 Closes: https://bugs.gentoo.org/928640 Closes: https://bugs.gentoo.org/928641 Closes: https://bugs.gentoo.org/928642 Closes: https://bugs.gentoo.org/928643 Closes: https://bugs.gentoo.org/928644 Closes: https://bugs.gentoo.org/928645 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* texlive-*.eclass: move update_tldb from texlive-module to texlive-commonFlorian Schmaus2024-04-041-0/+54
| | | | | | | The TexLive package database (tlpdb) also needs to be updated by app-text/texlive-core, which only inherits texlive-common.eclass. Signed-off-by: Florian Schmaus <flow@gentoo.org>
* texlive-common.eclass: etexmf-update to call 'die' for non-"dev-telive"Florian Schmaus2024-03-191-1/+2
| | | | | | | | This also makes etexmf-update fail for packages that are outside dev-texlive/* and don't use the TexLive version scheme like dev-libs/kpathsea and soon dev-tex/hevea. Signed-off-by: Florian Schmaus <flow@gentoo.org>
* texlive-common.eclass: Use nonfatal-respecting die for fmtutil-sysFlorian Schmaus2024-03-011-1/+2
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* texlive-common.eclass: check exit status of texmf-updateFlorian Schmaus2024-03-011-0/+4
| | | | | | | | | | | | The texlive eclasses where traditionally lenient when it comes to the exit status of texmf-update and fmtutil-sys, as they would return a non-zero exit status in certain situations, especially when bootstraping the texlive installation, i.e., when texlive-core is installed. With the upcoming Texlive 2023 bbump we can make this more strict, having texlive-core use nonfatal. Signed-off-by: Florian Schmaus <flow@gentoo.org>
* eclass: update texlive eclasses for texlive 2023Florian Schmaus2024-01-301-29/+99
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* eclass: standardize prologue/epilogueDavid Seifert2023-03-171-7/+6
| | | | | Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert <soap@gentoo.org>
* texlive-common.eclass: respect EPREFIX in symlink creationSam James2022-01-311-3/+3
| | | | | Closes: https://bugs.gentoo.org/832408 Signed-off-by: Sam James <sam@gentoo.org>
* eclass/texlive-common.eclass: fix texlive-common_is_file_present_in_texmf.Alexis Ballier2020-08-121-0/+1
| | | | | | | | | Function was not returning if the file was found or not. Always returned true. Fixes: [dcfc5829e7c027057d8] texlive-common.eclass: kill POSIXism Closes: https://bugs.gentoo.org/736872 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* texlive-common.eclass: fix iteration optionsMikle Kolyada2020-06-261-1/+1
| | | | | | Thanks-To: Nuno Silva <njsg@iki.fi> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: fix several @USAGE problemsBen Kohler2020-03-311-7/+7
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* texlive-common.eclass: kill POSIXismMikle Kolyada2020-02-091-36/+42
| | | | | | Reviewed-by: David Saifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-common: kill POSIXism"Mikle Kolyada2020-01-201-12/+12
| | | | | | This reverts commit 9eee03a809d88c230e2a57c72e69323dc7493b93. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-common.eclass: fix a typo"Mikle Kolyada2020-01-201-1/+1
| | | | | | This reverts commit eb69a2821a19ee58b99c8d41a741362826c1e226. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-common.eclass: kill even more POSIXism"Mikle Kolyada2020-01-201-1/+2
| | | | | | This reverts commit 57e379ccf655a2c767260f3c298a9c7edf290d52. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: kill even more POSIXismMikle Kolyada2020-01-201-2/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: fix a typoMikle Kolyada2020-01-201-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common: kill POSIXismMikle Kolyada2020-01-201-12/+12
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: code cleanupMikle Kolyada2019-11-041-2/+2
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common: replace -n with -z to trigged updates correctlyMikle Kolyada2019-06-051-2/+2
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* eclass/texlive-common: call non-empty ${ROOT}Mikle Kolyada2019-06-051-2/+2
| | | | | | | | | | EAPI=7 introduces empty ROOT variable if the actual root is defined as "/", this leads to the false-negative texmf-update and fmtutil calls. Closes: https://bugs.gentoo.org/687306 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* eclass: texlive-common.eclass: Fix long standing bug: Do not overwrite ↵Alexis Ballier2015-09-211-1/+1
| | | | | | existing symlinks. The bug has been here since the beginning but surprisingly enough, it was only noticed now in bug #560722.
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+170
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed