Summary: | app-emulation/lxc should support doc use flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Niniryoku <antoine.underlinux> |
Component: | New packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | antoine.underlinux, dev-zero, virtualization |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1-r4.ebuild?view=markup | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Niniryoku
2012-05-03 23:04:12 UTC
Okay let's see if I can add it again with 0.8.0 since they seem to be shipping them once again. Nope, still not fixed, --disable-doc stops man pages from being installed, which is not going to happen. Having to install extra packages for documentation that won't be used is an unnecessary pain IMO, although missing man pages due to -doc will be surprising and wrong. However, AFAICT (from weak autotools knowledge and grepping), --enable-doc /only/ controls man page generation (in doc/Makefile.am lines 9-46). This goes for 0.8.0 (as patched in gentoo) and current git, which is somewhat different in this regard. Looking at the rest of the portage tree, there are other packages with similar issues: - dev-cpp/libcmis requires app-text/docbook2X for generating man pages. There, it is solved by introducing a man use flag. - sys-auth/sssd uses the manpages use flag (enabled by default) to generate man pages with docbook and libxslt. Please consider adding such a flag to lxc. Making it default avoids unwanted surprise since the profiles don't know about it. Ebuild patch for completeness: --- a/app-emulation/lxc/lxc-0.8.0-r1.ebuild +++ b/app-emulation/lxc/lxc-0.8.0-r1.ebuild @@ -24,12 +24,12 @@ KEYWORDS="~amd64 ~ppc64 ~x86" LICENSE="LGPL-3" SLOT="0" -IUSE="examples" +IUSE="examples +man" RDEPEND="sys-libs/libcap" DEPEND="${RDEPEND} - app-text/docbook-sgml-utils + man? ( app-text/docbook-sgml-utils ) >=sys-kernel/linux-headers-3.2" RDEPEND="${RDEPEND} @@ -99,7 +99,7 @@ src_configure() { --docdir=/usr/share/doc/${PF} \ --with-config-path=/etc/lxc \ --with-rootfs-path=/usr/lib/lxc/rootfs \ - --enable-doc \ + $(use_enable doc man) \ --disable-apparmor \ $(use_enable examples) } --- a/app-emulation/lxc/metadata.xml +++ b/app-emulation/lxc/metadata.xml @@ -17,5 +17,8 @@ around as they use LXC in contexts where the init script is not useful. </flag> + <flag name="man"> + Build and install man pages. + </flag> </use> </pkgmetadata> Also voting for this. Wait .. it does now. :) On my other host I had global -doc and the manpage vanished. Ahh, too much white wine for breakfast :) |