[Bug 839717] New: man shouldn't depend on groff-full
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c0 Summary: man shouldn't depend on groff-full Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: werner@suse.com ReportedBy: dmuhamedagic@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- IMHO, man shouldn't require groff-full which pulls quite a few big packages: yoyo-c:~ # zypper in man Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: cups-libs ghostscript ghostscript-fonts-other ghostscript-fonts-std glibc-locale groff-full libICE6 libSM6 libXt6 libjasper1 libjbig2 libnetpbm11 libtiff5 man netpbm psutils 16 new packages to install. Overall download size: 29.4 MiB. After the operation, additional 193.6 MiB will be used. Continue? [y/n/?] (y): n That's 200MB just to view man pages in the terminal. yoyo-c:~ # zypper info --requires man | grep groff printer (using groff). groff-full P.S. Werner, you're listed as the package bugowner. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mvyskocil@suse.com InfoProvider| |dmuhamedagic@suse.com Severity|Normal |Minor --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-09-12 06:56:29 UTC --- Then explain *how* you like to use the features of `man' without having groff-full installed? Please execute man 1 man and read the section Controlling formatted output e.g. about the option -T [device] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c2 Dejan Muhamedagic <dmuhamedagic@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|dmuhamedagic@suse.com | --- Comment #2 from Dejan Muhamedagic <dmuhamedagic@suse.com> 2013-09-12 10:06:56 CEST --- The documentation should explain that for high quality output groff-full is necessary. I suspect that the main use of man pages is viewing them on the terminal. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c3 --- Comment #3 from Michal Vyskocil <mvyskocil@suse.com> 2013-09-12 08:12:13 UTC --- Hi Werner, can be dependencies relaxed to Recommends? man.spec: Requires: groff Recommends: groff-full In this case most of openSUSE users will get man with full feature set by default, but experiences ones can intentionally limit man's feature set to plain ascii output, which should work well with basic groff package. And I do agree with Dejan that the most common use case of man is to print pages to terminal and it should work without a need to have ghostscript installed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c4 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mvyskocil@suse.com --- Comment #4 from Dr. Werner Fink <werner@suse.com> 2013-09-12 08:23:26 UTC --- And you have to fix a few of packages to get them build: zgrep SRC/openSUSE:Fac /work/SRC/INDEX.spec.gz | xargs grep -2 grotty and maybe some more ... /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec-for m in docs/*.man; do /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec- test -e $m || continue /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec: troff -Tlatin1 -t -mandoc < $m | grotty -bou > ${m%.*}.txt /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec- mv $m man/ /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec-done /work/SRC/openSUSE:Factory/ksh/ksh.spec- tdevice=ascii8 /work/SRC/openSUSE:Factory/ksh/ksh.spec- troff -Tascii8 < /dev/null > /dev/null 2>&1 || tdevice=utf8 /work/SRC/openSUSE:Factory/ksh/ksh.spec: cat src/cmd/ksh93/builtins.mm | sed 's/\\f5/\\fB/g;s/^\.H/\.P\n\.H/g' | troff -T$tdevice -t -mm | grotty -bou > Builtins /work/SRC/openSUSE:Factory/ksh/ksh.spec: cat src/cmd/ksh93/PROMO.mm | sed 's/\\f5/\\fB/g;s/^\.H/\.P\n\.H/g' | troff -T$tdevice -t -mm | grotty -bou > PROMO /work/SRC/openSUSE:Factory/ksh/ksh.spec: cat src/cmd/ksh93/OBSOLETE.mm | sed 's/\\f5/\\fB/g;s/^\.H/\.P\n\.H/g' | troff -T$tdevice -t -mm | grotty -bou > OBSOLETE /work/SRC/openSUSE:Factory/ksh/ksh.spec: cat src/cmd/ksh93/sh.memo | sed 's/\\f5/\\fB/g;s/^\.H/\.P\n\.H/g' | troff -T$tdevice -t -mm | grotty -bou > MEMORANDUM /work/SRC/openSUSE:Factory/zsh/zsh.spec-troff -Tlatin1 -t -mandoc ./Doc/zshbuiltins.1 | \ /work/SRC/openSUSE:Factory/zsh/zsh.spec: grotty -cbou | \ /work/SRC/openSUSE:Factory/zsh/zsh.spec- sed -e 's/±/{+|-}/' | \ /work/SRC/openSUSE:Factory/zsh/zsh.spec- ../Util/helpfiles -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c5 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|mvyskocil@suse.com |coolo@suse.com --- Comment #5 from Michal Vyskocil <mvyskocil@suse.com> 2013-09-12 09:28:55 UTC --- No problem, but it's quite late in release process - coolo, what'd you think? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c6 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tchvatal@suse.com --- Comment #6 from Tomáš Chvátal <tchvatal@suse.com> 2013-09-12 10:09:12 UTC ---
From my PoV this is not such biggie if you guys then at least check the queue and fix most of the obvious ones to build again.
Another possibility is to create you staging project where you could see all the failing ones, and fix them prior introducing this change to the tree. We can merge this even after beta if the build/staging verifies that everything is working. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c7 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEEDINFO |ASSIGNED CC| |werner@suse.com InfoProvider|coolo@suse.com | AssignedTo|werner@suse.com |mvyskocil@suse.com --- Comment #7 from Michal Vyskocil <mvyskocil@suse.com> 2013-09-12 10:52:42 UTC --- Having staging project makes a sense, how can I submit changed man package there? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c8 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhrusecky@suse.com --- Comment #8 from Tomáš Chvátal <tchvatal@suse.com> 2013-09-12 12:24:00 UTC --- Adding Michal to CC as he is the best of now to figure out how hotplug staging request, the tool to manage them is still in creation :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c9 --- Comment #9 from Michal Vyskocil <mvyskocil@suse.com> 2013-09-13 13:14:50 UTC --- I've made home:mvyskocil:man as a staging project in a meanwhile. Atm it seems no package needs a change. Now going through list of things with BuildRequires: groff -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c10 --- Comment #10 from Michal Vyskocil <mvyskocil@suse.com> 2013-09-13 13:18:30 UTC --- (In reply to comment #9)
Now going through list of things with BuildRequires: groff
Isn't Friday today? groof packages don't need to be checked as they'd be broken by split itself. sent man with relaxed dependencies as 198954 https://build.opensuse.org/request/show/198954 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c11 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Dr. Werner Fink <werner@suse.com> 2013-09-13 13:53:21 UTC --- Be aware that any bug report about missing features of man due missing groff-full will reach you ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-09-13 16:00:08 CEST --- This is an autogenerated message for OBS integration: This bug (839717) was mentioned in https://build.opensuse.org/request/show/198961 Factory / man -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c13 --- Comment #13 from Dejan Muhamedagic <dmuhamedagic@suse.com> 2013-09-13 20:43:24 CEST --- (In reply to comment #4)
And you have to fix a few of packages to get them build:
zgrep SRC/openSUSE:Fac /work/SRC/INDEX.spec.gz | xargs grep -2 grotty
and maybe some more ...
/work/SRC/openSUSE:Factory:NonFree/xv/xv.spec-for m in docs/*.man; do /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec- test -e $m || continue /work/SRC/openSUSE:Factory:NonFree/xv/xv.spec: troff -Tlatin1 -t -mandoc < $m | grotty -bou > ${m%.*}.txt [...]
What do any of these has to do with the man package? All I can see is troff and grotty invocations which are all part of other package (or packages). If the spec wants to produce printable documentation, then it should require the relevant *roff tools. (In reply to comment #11)
Be aware that any bug report about missing features of man due missing groff-full will reach you ;)
Why do I have an impression that you are uncomfortable with this change? :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c14 --- Comment #14 from Dr. Werner Fink <werner@suse.com> 2013-09-16 06:50:36 UTC --- The build of the package xv had been broken in past due to the grof/groff-full split.
Why do I have an impression that you are uncomfortable with this change? :)
Simply because the usability of man is reduced and in my experience and IMHO this will cause bug reports. Btw ... for ncurses I had done also a split but into three packages, that is the libraries its self with compiled in basic terminal terminfo descritions (xterm, linux, vt100, vt102), a package terminfo-base with the most common terminals, and the big rest normally not found even on s390 terminals are moved into package terminfo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c15 --- Comment #15 from Michal Vyskocil <mvyskocil@suse.com> 2013-09-16 07:56:07 UTC --- (In reply to comment #11)
Be aware that any bug report about missing features of man due missing groff-full will reach you ;)
Sounds fair ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839717 https://bugzilla.novell.com/show_bug.cgi?id=839717#c16 --- Comment #16 from Dejan Muhamedagic <dmuhamedagic@suse.com> 2013-09-17 10:07:59 CEST --- (In reply to comment #14)
The build of the package xv had been broken in past due to the grof/groff-full split.
Why do I have an impression that you are uncomfortable with this change? :)
Simply because the usability of man is reduced and in my experience and IMHO this will cause bug reports.
I'd say that pulling extra 200MB just to satisfy some dependencies which are almost never going to be used is, well, somewhat less than optimal. There are still quite a few use cases where graphical environment and fine printing is not the norm. Often so in the development :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com