Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43418 - Fluxbox ebuild fails to include AA support on a new install
Summary: Fluxbox ebuild fails to include AA support on a new install
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 14:12 UTC by Jeff
Modified: 2004-11-07 18:13 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 Jeff 2004-03-01 14:12:18 UTC
Fluxbox AA fails on a new install.
CPPFLAGS="-I/usr/include/freetype2" emerge fluxbox works!
Without the CPPFLAGS line AA is broken. Upgrading works fine as is but a new install requires the CPPFLAGS line for AA to work.
root@Genbox jeff # etcat -u fluxbox
[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]

 U I [ Found these USE variables in : x11-wm/fluxbox-0.9.8 ]
 + + nls      : unknown
 - - xinerama : Add support for XFree86's xinerama extension, which allows you to stretch your display across multiple monitors
 + + truetype : Adds support for FreeType and/or FreeType2 fonts
 - - kde      : Adds support for kde-base/kde (K Desktop Enviroment)
 - - gnome    : Adds GNOME support

truetype flag is set.

Reproducible: Always
Steps to Reproduce:
1.emerge fluxbox
2.
3.

Actual Results:  
No AA support

Expected Results:  
AA support

root@Genbox jeff # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.2
-ck1)
=================================================================
System uname: 2.6.2-ck1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirr
ors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa avi berkdb cdr crypt cups dvd encode foomaticdb gdbm gif 
gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncu
rses nls oggvorbis opengl pam pdflib perl png ppds python quicktime readline sdl
 slang spell sse ssl svga tcpd tiff truetype usb x86 xml2 xmms xv zlib"
Comment 1 Ciaran McCreesh 2004-03-01 14:32:17 UTC
What does fluxbox -info say?
Comment 2 Jeff 2004-03-02 02:49:42 UTC
jeff@Genbox etc $ fluxbox -info
Fluxbox version: 0.9.8
Compiled: Feb 29 2004 11:27:35
Compiler: GCC
Compiler version: 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)

Defaults:
    menu: /usr/share/fluxbox/menu
   style: /usr/share/fluxbox/styles/Clean
    keys: /usr/share/fluxbox/keys
    init: /usr/share/fluxbox/init

Compiled options (- => disabled): 
-DEBUG
SLIT
TOOLBAR
XPM
-GNOME
-KDE
EWMH
REMEMBER
SHAPE
XFT
XMB
-XINERAMA
RENDER
Comment 3 Jeff 2004-03-02 03:04:51 UTC
I'm going to be doing an install on a new machine today-I will post all the info, with & without the CPPFLAGS added.
Comment 4 Jeff 2004-03-05 06:38:02 UTC
K, here's the info on a new install:

root@Genbox jeff # emerge -pv fluxbox
These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild  N    ] x11-wm/fluxbox-0.9.8  -gnome -kde +nls +truetype -xinerama  671 kB 

Total size of downloads: 671 kB

Fluxbox version: 0.9.8
Compiled: Mar  4 2004 16:25:51
Compiler: GCC
Compiler version: 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)

Defaults:
    menu: /usr/share/fluxbox/menu
   style: /usr/share/fluxbox/styles/Clean
    keys: /usr/share/fluxbox/keys
    init: /usr/share/fluxbox/init

Compiled options (- => disabled): 
-DEBUG
SLIT
TOOLBAR
XPM
-GNOME
-KDE
EWMH
REMEMBER
SHAPE
-XFT
XMB
-XINERAMA
RENDER

Recompiled:

root@Genbox jeff # CPPFLAGS="-I/usr/include/freetype2" emerge -pv fluxbox
These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] x11-wm/fluxbox-0.9.8  -gnome -kde +nls +truetype -xinerama  0 kB 

Total size of downloads: 0 kB

Fluxbox version: 0.9.8
Compiled: Mar  4 2004 16:34:19
Compiler: GCC
Compiler version: 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)

Defaults:
    menu: /usr/share/fluxbox/menu
   style: /usr/share/fluxbox/styles/Clean
    keys: /usr/share/fluxbox/keys
    init: /usr/share/fluxbox/init

Compiled options (- => disabled): 
-DEBUG
SLIT
TOOLBAR
XPM
-GNOME
-KDE
EWMH
REMEMBER
SHAPE
XFT
XMB
-XINERAMA
RENDER

Emerge info same for both compiles:

Gentoo Base System version 1.4.3.13p1
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-rc1-mm2
)
=================================================================
System uname: 2.6.4-rc1-mm2 i686 AMD Athlon(tm) XP 2600+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/con
fig /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.19/sites/www.ibiblio.org/gentoo/ http://www.gtlib.cc.
gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.e
du/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa avi berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gpm gtk 
gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorb
is opengl pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcp
d tiff truetype usb x86 xml2 xmms xv zlib"
Comment 5 Jeff 2004-04-07 16:00:05 UTC
Any action on this? Either you plan on doing something about it or I will close it since I know the solution.
Comment 6 Ciaran McCreesh 2004-04-07 16:41:12 UTC
We can't reproduce this, so it's kinda hard to find a fix...
Comment 7 Jeff 2004-04-08 12:03:28 UTC
Sorry about my last comments-a bad day I guess. That's strange you can't reproduce it as I can 100% of the time on a new install. That's doing an install, emerging xfree then fluxbox, no gnome or kde as I don't use either.
Comment 8 Ciaran McCreesh 2004-05-01 09:23:26 UTC
I can't reproduce this with 0.9.9 either.
Comment 9 eyel 2004-10-23 20:12:37 UTC
I've just done a complete re-install of Gentoo and, by consequence, of fluxbox.  The fluxbox version I'm using is 0.9.10-r3.  I cannot get fluxbox to use AA.  The toggle option is not even in the root menu anymore (Root Menu->Fluxbox Menu->Configure).  I will try what the submitter has posted and see what happens.
Comment 10 eyel 2004-10-23 20:14:13 UTC
I've just done a complete re-install of Gentoo and, by consequence, of fluxbox.  The fluxbox version I'm using is 0.9.10-r3.  I cannot get fluxbox to use AA.  The toggle option is not even in the root menu anymore (Root Menu->Fluxbox Menu->Configure).  I will try what the submitter has posted and see what happens.

Comment 11 eyel 2004-10-23 20:56:36 UTC
I'm sorry for the double posting; I got a little confused as the commit button redirected me to another bug.  Anyway, on my first newly-installed fluxbox, $fluxbox -info outputted:

..cut..
-XFT
..cut..

but after recompiling with the CPPFLAGS variable as noted, $fluxbox -info reported
XFT.

I'm now able to use AA fonts.
Comment 12 Peter Beutner 2004-11-07 18:13:33 UTC
I've just experienced exactly the same problem with fluxbox lacking antialiasing-support whether compiling with enabled truetype USE-flag or not.
A closer look revealed that the configure script didn't find the freetype headers, because it depends on pkg-config to find the header location.
Without pkg-config it assumes that headers are in /usr/include/freetype(while they're actually in /usr/include/freetype2/freetype). 
Failing to find freetype-headers xft-support is disabled automatically.
Solution was to emerge pkgconfig before fluxbox. After that everything went as expected.
Maybe fluxbox should depends on pkg-config?

While looking for this issue into bugzilla i found another (older) bug addressing a similiar problem(#24720). There is stated that fluxbox actually depends on pkgconfig(over commonbox eclass). I cant verify that with an emerge -ep fluxbox.