GNOME Bugzilla – Bug 614598
build failure in git/master: undefined reference to `e_source_set_color'
Last modified: 2010-04-14 11:26:39 UTC
I've just updated evo, eds and friends to the current git/master. evolution-webcal's build dies. I also tried purging the directory and starting with a fresh git checkout. The full error message is: evolution-webcal-notify.o: In function `e_webcal_query_user': /home/ronis/Project/notar/GNOME/garnome/svn/evolution-webcal/work/main.d/evolution-webcal-git/src/evolution-webcal-notify.c:552: undefined reference to `e_source_set_color' c
http://library.gnome.org/devel/libedataserver/stable/ESource.html#e-source-set-color
*** Bug 615511 has been marked as a duplicate of this bug. ***
<Fridrich> e_source_set_color_spec could work if you first craft the string from the integer <Fridrich> the string can be "#RRGGBB" <Fridrich> so you must create a string like sprintf("#%.2x%.2x%.2x", color.red, color.green, color.blue) <Fridrich> and then give to the e_source_set_color_spec(source, string);
There's an even easier way: gdk_color_to_string() http://library.gnome.org/devel/gdk/stable/gdk-Colormaps-and-Colors.html#gdk-color-to-string
Created attachment 158706 [details] [review] ewc patch for evolution-webcal; ~5 minutes, pretty simple.
Created commit cfb610c in ewc master (not sure what version, its actual is 2.28.2)
Thanks! I've bumped the libecal-1.2 requirement afterwards as this requires 1.10: http://git.gnome.org/browse/evolution-webcal/commit/?id=0b0c4a680bcd5f4d6dd8a6bd85b9477d360a22ad