Missing icon in liquid and liquid-dark icon themes.
While debugging another application, just find out xfce4-wheater-plugin has one missing icon file in liquid and liquid-dark icon themes: lightrain-night.png
.
(wrapper-2.0:17827): weather-WARNING **: 19:19:16.028: Failed to load pixbuf: Falló al abrir el archivo «/usr/share/xfce4/weather/icons/liquid/22/lightrain-night.png»: No existe el fichero o el directorio
(wrapper-2.0:17827): weather-WARNING **: 19:19:16.112: Failed to load pixbuf: Falló al abrir el archivo «/usr/share/xfce4/weather/icons/liquid/128/lightrain-night.png»: No existe el fichero o el directorio
(wrapper-2.0:17827): weather-WARNING **: 19:19:16.163: Failed to load pixbuf: Falló al abrir el archivo «/usr/share/xfce4/weather/icons/liquid/48/lightrain-night.png»: No existe el fichero o el directorio
Sorry for posting the ~/.xsession-errors in spanish. But the relevant information is in english.
Workaround for me was to merge sun-night.png
and lightrain.png
as lightrain-night.png
using convert
from ImageMagick, a simple bash script and manually installing files in my RPM spec file. lightrain-night.png
files need to be created for liquid and liquid-dark in source tree and Makefile.am files need to be patched to include lightrain-night.png
.
for icontheme in liquid liquid-dark
do
for i in 22 48 128
do
pushd icons/${icontheme}/${i}
convert -layers merge -background none sun-night.png lightrain.png lightrain-night.png
install -m 0644 lightrain-night.png \
%{buildroot}%{_datadir}/xfce4/weather/icons/${icontheme}/${i}/lightrain-night.png
popd
done
done