Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81973 - XFCE 4.2 ebuild appears to ignore "-doc" in USE, requires gtk-doc
Summary: XFCE 4.2 ebuild appears to ignore "-doc" in USE, requires gtk-doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 02:37 UTC by LionsPhil
Modified: 2005-02-19 18:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LionsPhil 2005-02-14 02:37:00 UTC
The ebuild for XFCE 4.2 appears to ignore the value of the "doc" USE flag and bring in the documentation requirements anyway. Unfortunately, this includes a large number of libraries, which kind of defeats the mean-and-lean nature of XFCE.

Reproducible: Always
Steps to Reproduce:
0. (In my case, I am upgrading from XFCE 4.0.6.)
1. USE="-doc" emerge -pv xfce-base/xfwm4
(I am aware that temporary use flags are bad practice, but this is only for a --pretend. Also note that xfce-base/xfce4-base is out of date and won't get you 4.2.)

Because "doc" is not set on my machine, I get the same results without explicitly stating 'USE="-doc"'.
Actual Results:  
panther root # USE="-doc" emerge -pv xfce-base/xfwm4

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] x11-themes/gtk-engines-xfce-2.2.5 [2.1.7] 0 kB 
[ebuild  N    ] app-text/sgml-common-0.6.3-r4  74 kB 
[ebuild  N    ] app-text/opensp-1.5-r1  +nls 1,257 kB 
[ebuild  N    ] app-text/openjade-1.3.2-r1  -debug 873 kB 
[ebuild  N    ] app-text/docbook-sgml-dtd-3.0-r2  42 kB 
[ebuild  NS   ] app-text/docbook-xml-dtd-4.1.2-r5  73 kB 
[ebuild  N    ] app-text/docbook-dsssl-stylesheets-1.77-r2  385 kB 
[ebuild  N    ] dev-util/gtk-doc-1.2-r1  -emacs 131 kB 
[ebuild     U ] xfce-base/libxfce4util-4.2.0 [4.0.6] -debug -doc 308 kB 
[ebuild     U ] xfce-base/libxfcegui4-4.2.0 [4.0.6] -debug -doc 602 kB 
[ebuild     U ] xfce-base/libxfce4mcs-4.2.0 [4.0.6] -debug -doc 256 kB 
[ebuild     U ] xfce-base/xfce-mcs-manager-4.2.0 [4.0.6] -debug -doc 395 kB 
[ebuild     U ] xfce-base/xfwm4-4.2.0 [4.0.6] -debug -doc 856 kB 

Expected Results:  
Not included any of: sgml-common, opensp, openjade, docbook, gtk-doc.
These libraries/tools are only needed for the documentation.

panther root # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-
r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Mobile Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 13:22:49)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/
X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/
dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/
config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ http://mirrors.sec.informatik.
tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm avi bash-completion berkdb bitmap-fonts crypt cups 
curl dga divx4linux f77 fbcon flac font-server foomaticdb fortran gdbm gif gpm 
gtk gtk2 guile ipv6 jack jack-tmpfs java jikes jpeg libcaca libg++ libwww mad 
mikmod mmx mng motif mpeg ncurses nls oggvorbis opengl pam pcmcia pdflib perl 
png pnp postgres python qt quicktime readline ruby sdl slang spell sse ssl svg 
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb wmf 
wxwindows xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2005-02-19 18:50:04 UTC
I think I got it fixed thanks