Summary: | x11-wm/fvwm: documentation installed outside /usr/share/doc/${PF} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Jesús Guerrero Botella (RETIRED) <i92guboj> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | darkside, radhermit |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to remove docdir cruft |
Description
Diego Elio Pettenò (RETIRED)
![]() Thanks for the report. I am testing the proposed solution and will submit the ebuild as soon as possible. Now the docs seem to go correctly into the right directory, however, the ebuild still creates some empty dirs at an alternate location. This will take some time to debug because I am not familiar with autotools. This is the file list for me (ignore the ebuild version since this can be easily backported): /usr/share/doc/fvwm/ /usr/share/doc/fvwm/commands/ /usr/share/doc/fvwm/images/ /usr/share/doc/fvwm/images/svg_rendering/ /usr/share/doc/fvwm/modules/ /usr/share/doc/fvwm/modules/images/ /usr/share/doc/fvwm/modules/images/FvwmTabs/ /usr/share/doc/fvwm/fvwm/ /usr/share/doc/fvwm-9999-r1/ /usr/share/doc/fvwm-9999-r1/NEWS.bz2 /usr/share/doc/fvwm-9999-r1/README.bz2 /usr/share/doc/fvwm-9999-r1/BUGS.bz2 /usr/share/doc/fvwm-9999-r1/FAQ.bz2 /usr/share/doc/fvwm-9999-r1/TODO.bz2 /usr/share/doc/fvwm-9999-r1/fvwm.lsm.bz2 /usr/share/doc/fvwm-9999-r1/AUTHORS.bz2 /usr/share/doc/fvwm-9999-r1/ChangeLog.bz2 /usr/share/doc/fvwm-9999-r1/ANNOUNCE.bz2 /usr/share/doc/fvwm-9999-r1/COMMANDS.bz2 /usr/share/doc/fvwm-9999-r1/CONVENTIONS.bz2 /usr/share/doc/fvwm-9999-r1/DEVELOPERS.bz2 /usr/share/doc/fvwm-9999-r1/error_codes.bz2 /usr/share/doc/fvwm-9999-r1/README.translucency.bz2 Everything is going into /usr/share/doc/fvwm-9999-r1/ however it still creates a number of subdirs at /usr/share/doc/fvwm/, all of which are empty. I guess this is one of these broken configure scripts that you speak of. Suggestions on how to debug this are welcome. (In reply to comment #2) > Everything is going into /usr/share/doc/fvwm-9999-r1/ however it still creates > a number of subdirs at /usr/share/doc/fvwm/, all of which are empty. I guess > this is one of these broken configure scripts that you speak of. Suggestions on > how to debug this are welcome. > In src_install, rm -rf ${D}/<empty dir> is one way. Based on the names of the empty directories, one of them is probably coming from doc/modules/images/FvwmTabs/Makefile.am. Inspection there reveals that docdir is explicitly assigned a value derived from FVWM_DOCDIR. FVWM_DOCDIR is set in configure.ac as '${datadir}'"$FVWM_DOCSUBDIR". FVWM_DOCSUBDIR is set as /doc/${PACKAGE}. This should result in FVWM_DOCDIR being assigned /usr/share/doc/fvwm. As I read the automake-generated doc/modules/images/FvwmTabs/Makefile.in shipped in the tarball, docdir will be made whether or not it has anything in it. Look around line 322. Removing the explicit assignment of docdir from the .am files might fix the empty directories, and is worthwhile anyway, since its value is inconsistent with the directory that this bug requests. (In reply to comment #3) > (In reply to comment #2) > > > Everything is going into /usr/share/doc/fvwm-9999-r1/ however it still creates > > a number of subdirs at /usr/share/doc/fvwm/, all of which are empty. I guess > > this is one of these broken configure scripts that you speak of. Suggestions on > > how to debug this are welcome. > > > > In src_install, rm -rf ${D}/<empty dir> is one way. > I thought of that, however that's only circumventing the real problem. I will look into it again using the advice from Kevin Pyle and possibly discuss an upstream fix on the fvwm list, if the problem is truly on their make files, tomorrow if possible, I am really busy today. Thanks everyone for all the info, it's greatly appreciated and very helpful indeed. Created attachment 230985 [details, diff]
Patch to remove docdir cruft
So I am back.
I have managed to remove most of the cruft by following the advice above, however /usr/share/doc/fvwm still exists and I haven't been able to remove it.
Did this ever get resolved in the latest version(s) ? (In reply to comment #7) > Did this ever get resolved in the latest version(s) ? > In 2.5.31 with USE=doc I can't see a directory called /usr/share/doc/fvwm, only /usr/share/doc/fvwm-2.5.31 exists. thx. closing then |