After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614598 - build failure in git/master: undefined reference to `e_source_set_color'
build failure in git/master: undefined reference to `e_source_set_color'
Status: RESOLVED FIXED
Product: Evolution Webcal
Classification: Deprecated
Component: General
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: Rodney Dawes
Rodney Dawes
: 615511 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-01 16:23 UTC by David Ronis
Modified: 2010-04-14 11:26 UTC
See Also:
GNOME target: 3.0
GNOME version: 2.29/2.30


Attachments
ewc patch (956 bytes, patch)
2010-04-14 11:10 UTC, Milan Crha
committed Details | Review

Description David Ronis 2010-04-01 16:23:22 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
Comment 2 André Klapper 2010-04-12 11:12:39 UTC
*** Bug 615511 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2010-04-12 11:21:20 UTC
<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);
Comment 4 Matthew Barnes 2010-04-12 11:51:26 UTC
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
Comment 5 Milan Crha 2010-04-14 11:10:44 UTC
Created attachment 158706 [details] [review]
ewc patch

for evolution-webcal;

~5 minutes, pretty simple.
Comment 6 Milan Crha 2010-04-14 11:12:06 UTC
Created commit cfb610c in ewc master (not sure what version, its actual is 2.28.2)
Comment 7 André Klapper 2010-04-14 11:26:39 UTC
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