Hi Ingo, >A few days later ... > >Here is a diff that switches lemonbar to the krypt-n/bar fork supporting >XFT. A tarball is attached for two patches (I wanted to avoid `cvs add` >on the patches directory). The inline diff just shows the changes to the >Makefile and distinfo. > >At the same time add pledge() before the main processing loop. It is >nice to see that "stdio" is enough at this point (after initialization >which needed at least "rpath" is my tests; likely for loading some >fonts). > >Alternatively we could create a new port for the fork (e.g., >lemonbar-xft). But since both LemonBoy/bar and krypt-n/bar have not seen >a lot of changes recently we won't miss anything important if we just >switch. > >So OK for the switch? > >Best regards, >Ingo
I've been looking for the Xft version of lemonbar in ports lately too, however I couldn't get it to compile with your patch. I had to amend CFLAGS in the Makefile like so: CFLAGS += -I${X11BASE}/include \ -I${X11BASE}/include/freetype2 Without it, I got fatal errors building: /usr/X11R6/include/X11/Xft/Xft.h:39:10: fatal error: 'ft2build.h' file not found Other than that, it built with the CFLAGS changes above and works for me with Xft fonts. Thanks, Tom