Talk:TeX Live
From Gentoo Wiki
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 09:21, 5 November 2024 (UTC) :: Your reply ~~~~
Navigate to first
Texdoc section
Talk status
This discussion is done as of May 22, 2017.
In the texdoc section there is some hackery using qlist to get a list of installed packages and add them to package.use. To enable the doc use flag for all of them it suffices to do:
root #
echo dev-texlive/* doc >> /etc/portage/package.use
The question is do we want to keep the first qlist command to give the user a chance to see the installed packages and enable the doc use flags for a subset of them by hand or do we want to suggest enabling all of them at once with the command above only? --Few 11:48, 19 October 2011 (UTC)
- why not both? I never used a wildcard for use flags before. I was told in a bug report, that they do not inherit a doc USE flag on the texlive meta package, because Gentoo is about choice. So they didn't want to automatically have the doc USE flag on all modules. Please feel free to add another method to enable them on all packages Disi 08:14, 20 October 2011 (UTC)
- I guess both is fine we me. Wild cards have nothing to do with inheriting from a meta package though. Your command is good if you want to enable the doc use flag for half of the packages or something like that. If you want it only for a single package adding a single line for that package by hand is probably easier. If you're interested in enabling the doc use flag for all of the texlive packages then my line in p.use is better. a) because it doesn't need tools that aren't installed by default and b) because it works even for packages that get installed / added to the tree later. Also note that's still possible to disable the doc useflag with for individual packages by adding an entry for this package with -doc in p.use. --Sebastian Luther (few_) 10:34, 20 October 2011 (UTC)
- I think you misunderstood :) I created a bug report and asked if they could change the Texlive modules to inherit the doc use flag if it is set on the texlive meta package (because this actual installs the texdoc tools but no real documentation). They refused and told me people should enable it individually for each module, because Gentoo is about choice. Your approach, first enabling everything and then disable single modules would work the other way around. Disi 10:46, 20 October 2011 (UTC)
- I guess both is fine we me. Wild cards have nothing to do with inheriting from a meta package though. Your command is good if you want to enable the doc use flag for half of the packages or something like that. If you want it only for a single package adding a single line for that package by hand is probably easier. If you're interested in enabling the doc use flag for all of the texlive packages then my line in p.use is better. a) because it doesn't need tools that aren't installed by default and b) because it works even for packages that get installed / added to the tree later. Also note that's still possible to disable the doc useflag with for individual packages by adding an entry for this package with -doc in p.use. --Sebastian Luther (few_) 10:34, 20 October 2011 (UTC)
- Yes, I thought about something else. Do we agree that both approaches have their use case (enable doc for a subset of packages vs. enabling it for all with possibly a few exceptions)? If so, are you going to add it?--Sebastian Luther (few_) 10:56, 20 October 2011 (UTC)
- how is that? You can do whatever you want btw. :) That's why we use a wiki. qlist is part of portage-utils and should be on any Gentoo system, so is sed. This doc USE flag thing is the main reason I wanted to have the article, because if you just enable the doc USE flag on the Texlive meta package and thought you have all the documentation, you are wrong. I had to learn that once the hard way :) Disi 11:41, 20 October 2011 (UTC)
- Yes, I thought about something else. Do we agree that both approaches have their use case (enable doc for a subset of packages vs. enabling it for all with possibly a few exceptions)? If so, are you going to add it?--Sebastian Luther (few_) 10:56, 20 October 2011 (UTC)
- Well, you can't do what you want. If there is no consensus about what the article should look like, we have a problem. I reordered it a bit in a way I find more logical.--Sebastian Luther (few_) 18:44, 20 October 2011 (UTC)