cursors: fix the contents of the gimp-color-picker-cursors resource file

Due to a typo we included all cursors, not only the color picker
cursor. Use the right Makefile.am variable to fix this. Also include
the cursor's raw PNG file, which is needed for simplifying OS X
specific code, see bug #753175.
This commit is contained in:
Michael Natterer 2015-09-27 12:47:13 +02:00
parent 7fd7c122c2
commit 9e06ff428c

View file

@ -116,10 +116,15 @@ gimp-color-picker-cursors.gresource.xml: $(CURSOR_IMAGES) Makefile.am
echo '<?xml version="1.0" encoding="UTF-8"?>' > $@; \
echo '<gresources>' >> $@; \
echo ' <gresource prefix="/org/gimp/color-picker-cursors">' >> $@; \
for image in $(CURSOR_IMAGES); do \
for image in $(COLOR_PICKER_IMAGES); do \
echo " <file preprocess=\"to-pixdata\">$$image</file>" >> $@; \
done; \
echo ' </gresource>' >> $@; \
echo ' <gresource prefix="/org/gimp/color-picker-cursors-raw">' >> $@; \
for image in $(COLOR_PICKER_IMAGES); do \
echo " <file>$$image</file>" >> $@; \
done; \
echo ' </gresource>' >> $@; \
echo '</gresources>' >> $@ )
gimp-color-picker-cursors.c: gimp-color-picker-cursors.gresource.xml