Fedora Account System
Red Hat Associate
Red Hat Customer
spec: https://fed500.fedorapeople.org/mediawiki2latex.spec srpm: https://fed500.fedorapeople.org/mediawiki2latex-8.32-1.fc43.src.rpm description: MediaWiki To LaTeX converts MediaWiki markup to LaTeX and generates a PDF. So it provides an export from MediaWiki to LaTeX. It works with any project running MediaWiki, especially Wikipedia and Wikibooks. fas: fed500 Reproducible: Always
Copr build: https://copr.fedorainfracloud.org/coprs/build/10406679 (failed) Build log: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2463837-mediawiki2latex/fedora-rawhide-x86_64/10406679-mediawiki2latex/builder-live.log.gz Please make sure the package builds successfully at least for Fedora Rawhide. - If the build failed for unrelated reasons (e.g. temporary network unavailability), please ignore it. - If the build failed because of missing BuildRequires, please make sure they are listed in the "Depends On" field --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
Okay thanks for preparing this. I have a couple of questions/concerns: - Have you tested that it (still) works? - Mainly ask since the number of sites that still accept http:// is quite limited these days. - Also more trivially the current spec does not install: a) Typo of texlive-collection-langportuguese b) there is no texlive-collection-science or texlive-collection-langvietnamese in rawhide or recent releases I think. Of course the texlive dependency is heavy (6GB on disk) but that can't be helped or reduced perhaps? The cabal-diff is also quite large: is it possible you can make it closer to cabal-rpm spec? That would make it easier to maintain going forward. Also are you sure it is actually using hxt-http? ---- I tried to run it on a couple of pages and wasn't very successful. wikipedia.org seems not very happy: appeared to get stuff on "curl run"'s not sure if it actually uses curl?? For the Fedora Wiki I got an error about no "main.pdf" file at the end. Anyway curious to hear your experience: though I am not completely sure yet if this is good enough to be worth including in Fedora, but maybe you have had better success? It also seems rather slow, though could be "bot throttling"? :shrug:
(I see you have a copr repo also: https://copr.fedorainfracloud.org/coprs/fed500/wb2pdf/)
(I guess the dependency on hxt-http was dropped for version 8. Hence it uses http-client-tls I see, at least as a dep. So that explains how it handles https:// I think.)
Just to give an idea for example I tried: $ mediawiki2latex --url https://fedoraproject.org/wiki/I18N -o main.pdf and $ mediawiki2latex https://en.wikipedia.org/wiki/Main_Page -o test.pdf