torsmo-0.18-10.fc12 complains "Xft not enabled" when setting "use_xft yes" in $HOME/.torsmorc How reproducible: Put this in your .torsmorc ------------------------------ snip ---------------------- # Use Xft? use_xft yes # Xft font when Xft is enabled xftfont Sans:size=12:Shadow=2 # Text alpha when using Xft xftalpha 0.8 ------------------------------ snap ---------------------- Actual results: "Xft not enabled", torsmo uses fixed font Expected results: I was expecting torsmo to use some xft sans font Additional info: xft is manually enabled in torsmo.spec but xft-config is not found, so xft is disabled. I worked around this by setting XFT_LIBS and CFLAGS in the environment before %configure ------------------------------ snip ---------------------- ... %build CFLAGS="`pkg-config xft --cflags` -DXFT" ; export CFLAGS XFT_LIBS=`pkg-config xft --libs` ; export XFT_LIBS %configure --enable-xft --enable-proc-uptime --enable-seti \ --x-includes=%{_includedir} --x-libraries=%{_libdir} make %{?_smp_mflags} ... ------------------------------ snap ---------------------- Patch agains torsmo.spec is attached.
Created attachment 415321 [details] --enable-xft but xft-config not found: workaround with CFLAGS and XFT_LIBS
torsmo-0.18-11.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/torsmo-0.18-11.fc12
torsmo-0.18-11.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/torsmo-0.18-11.fc13
thank you very much. Good idea including %{optflags} into the CFLAGS. Works for me and did not break my setup.
torsmo-0.18-11.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
torsmo-0.18-11.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.