Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texlive: changes trigger mass rebuilds #46740

Closed
xeji opened this issue Sep 16, 2018 · 4 comments
Closed

texlive: changes trigger mass rebuilds #46740

xeji opened this issue Sep 16, 2018 · 4 comments

Comments

@xeji
Copy link
Contributor

xeji commented Sep 16, 2018

Issue description

Pretty much any change to texlive or its packages triggers a mass rebuild (examples: #46376, #40232), mainly because it is used to build documentation for many packages.

This makes texlive difficult to maintain/bugfix as any change must go through a staging iteration.

My analysis (using maintainers/scripts/rebuild-amount.sh) indicates that the mass rebuild is mainly caused by gtk-doc, which depends on texlive via dblatex.

How can we fix this?

I see 2 possible solutions (of course, any fix will cause a mass rebuild 😄):

  1. Build gtk-doc without dblatex by default, which removes the texlive dependency. It won't be able to generate pdf docs, but do we really need them? This is my recommendation.

  2. Duplicate texlive as texlive-for-docs and use that for gtk-doc and other packages generating docs. texlive-for-docs won't need frequent updates, it's good enough if it works.


cc @vcunat @samueldr @jtojnar @pSub @veprbl @bhipple

@vcunat
Copy link
Member

vcunat commented Sep 16, 2018

  1. sounds OK to me. Few people want docs in PDF nowadays, I believe, as few print it and other formats tend to be better on-screen.

Note: 2. wouldn't have to cause a mass rebuild, but I believe we can easily afford a "last" rebuilt this way.

@jtojnar
Copy link
Contributor

jtojnar commented Sep 16, 2018

👍 for number one – cannot dblatex be added to PATH by peeople who need it?

Also removing dblatex is required for building glib 2.58 docs: #45950 (comment)

@bhipple
Copy link
Contributor

bhipple commented Sep 17, 2018

Also 👍 for number 1. In general I'd imagine almost nobody looks at PDF docs by default, and if they do they can just build them.

@xeji
Copy link
Contributor Author

xeji commented Sep 17, 2018

Should be fixed by #46761 (in staging now).

@xeji xeji closed this as completed Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants