[gimp/blend-tool-fun: 78/163] cursors: fix the contents of the gimp-color-picker-cursors resource file



commit 9960d7a725e64790fd4d1e9e0319ebebe871b89d
Author: Michael Natterer <mitch gimp org>
Date:   Sun Sep 27 12:47:13 2015 +0200

    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.

 cursors/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/cursors/Makefile.am b/cursors/Makefile.am
index 3240333..aef058e 100644
--- a/cursors/Makefile.am
+++ b/cursors/Makefile.am
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]