Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587846

Summary: x11-wm/dwm-6.1 should depend on x11-libs/libXft
Product: Gentoo Linux Reporter: S. Gilles <sgilles>
Component: Current packagesAssignee: Michael Stahl <hm.stahl>
Status: RESOLVED FIXED    
Severity: minor CC: desktop-misc, proxy-maint, viking-coyote
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.suckless.org/dwm/commit/?id=14343e69cc596b847f71f1e825d3019ab1a29aa8
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch adding x11-libs/libXft dependency

Description S. Gilles 2016-07-03 03:09:12 UTC
Created attachment 439474 [details, diff]
Patch adding x11-libs/libXft dependency

Since commit 14343e69cc596b847f71f1e825d3019ab1a29aa8, dwm depends on libXft.  Most people installing dwm probably already have libXft installed, but when setting up a new machine, there's a chance that someone would run into this.
Comment 1 Christos Gitsis 2016-11-04 02:55:01 UTC
It happened to me today on a new installation, when dwm was the first window manager I tried to install

drw.c:6:25: fatal error: X11/Xft/Xft.h: No such file or directory
 #include <X11/Xft/Xft.h>
Comment 2 ardok 2016-11-07 16:07:27 UTC
(In reply to Christos Gitsis from comment #1)
> It happened to me today on a new installation, when dwm was the first window
> manager I tried to install
> 
> drw.c:6:25: fatal error: X11/Xft/Xft.h: No such file or directory
>  #include <X11/Xft/Xft.h>

Just the same here.
Comment 3 Oleh 2016-11-15 14:14:23 UTC
can this obvious fix added into ebuild?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-21 12:52:47 UTC
Fixed without revision bump. Thanks for the report!
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2017-10-08 11:09:54 UTC
*** Bug 608848 has been marked as a duplicate of this bug. ***