[Bug 1209109] New: texlive-hyperref pulls in java
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 Bug ID: 1209109 Summary: texlive-hyperref pulls in java Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: stefan.bruens@rwth-aachen.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The java dependency is coming from texlive-tex4ht. The dependency tex4ht is picked up automatically from /usr/share/texmf/tex/latex/hyperref/htex4ht.def: \RequirePackage[htex4ht]{tex4ht} But this is only relevant if the tex4ht driver of hyperref is used. hyperref has drivers for (amongst others) dvips, dvipdfm, pdftex, luatex, xetex, vtex and tex4ht. The vtex driver even has a vtexhtml dependency, which automatically is filtered out as being not resolvable. There are several possible approaches to fix this: 1. Move hyperref/htex4ht.{def,cfg} to a separate package 2. Filter out the htex4ht dependency 3. Use a weak dependency (Recommends/Suggests) instead 4. Use a boolean dependency: "Requires: (tex(tex4ht.sty) if tex4ht)" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 http://bugzilla.opensuse.org/show_bug.cgi?id=1209109#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- And what is wrong with that dependency on java? I do see a bug here. Also next two week I'm busy with TeXLive 2023. That is I've no idea how this is now organized ... What is clear: there will be no further package split as already done via upstream package data base. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 http://bugzilla.opensuse.org/show_bug.cgi?id=1209109#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Dr. Werner Fink <werner@suse.com> ---
But this is only relevant if the tex4ht driver of hyperref is used.
Indeed and who decides what the user wants to use? Suppose we avoid installing texlive-tex4ht ... are you willingly to handle the next open bugs about a missing feature. There is a reason *why* my perl script reads the dependencies from the usptream package database as well as detects dependencies like `tex(tex4ht.sty)' from the tar balls its self ... if I now would add e.g. `if texlive-tex4ht' then this would become dispensable. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 http://bugzilla.opensuse.org/show_bug.cgi?id=1209109#c3 --- Comment #3 from Stefan Br�ns <stefan.bruens@rwth-aachen.de> --- If the user wants to use xetex, they install texlive-xetex. If the user wants to use pdftex, they install texlive-pdftex. Why does hyperref decide what the user wants to use? The "\RequirePackage[htex4ht]{tex4ht}" is conditional in the tex code, so it seems natural to also put it in a conditional on the RPM side. You can *newer* run in a condition where hyperref complains about the missing h4tex.sty - it is only included when texlive-tex4ht is installed, as without it you are using a different driver. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 http://bugzilla.opensuse.org/show_bug.cgi?id=1209109#c4 --- Comment #4 from Stefan Br�ns <stefan.bruens@rwth-aachen.de> --- And the bug is obviously in the generate script, as it just does pattern matching without understanding the surrounding code. I understand it would be almost impossible to get this right from code alone, but as the generate script already does fixup its autodetected dependencies it could also fixup this one. BTW, is there any repository where the generate script is maintained? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 Stefan Br�ns <stefan.bruens@rwth-aachen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com, | |petr.vorel@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209109 http://bugzilla.opensuse.org/show_bug.cgi?id=1209109#c5 --- Comment #5 from Petr Vorel <petr.vorel@suse.com> --- I'd also wish this was fixed, because Stefan's arguments sound reasonable. BTW looking at Debian: they have tex4ht not as a separated package but in texlive-plain-generic package [1], which is a collection of many packages, but default-jre-headless (java) is there just a suggestion, not a dependency.
BTW, is there any repository where the generate script is maintained?
Given, there are other problems with the package [2] it might be worth to put it somewhere in git [3]. [1] https://packages.debian.org/sid/texlive-plain-generic [1] https://bugzilla.suse.com/show_bug.cgi?id=1197367#c12 [3] https://github.com/openSUSE/ -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com