Hello,

I was trying to build rage from CVS, but I had an error about emotion
and ecore-job :

i686-pc-linux-gnu-gcc -O2 -march=prescott -mno-tls-direct-seg-refs
-pipe -Wl,--as-needed -Wl,-O1 -Wl,-z -Wl,now -o rage main.o layout.o
background.o volume.o status.o menu.o video.o mini.o sha1.o minivid.o
e_box.o e_table.o e_layout.o e_flowlayout.o
-L/usr/X11R6/lib /usr/lib/libecore_ipc.so /usr/lib/libecore_con.so
-lssl -lcrypto /usr/lib/libecore_file.so /usr/lib/libedje.so
/usr/lib/libecore_job.so /usr/lib/libembryo.so /usr/lib/libemotion.so
/usr/lib/libecore_evas.so /usr/lib/libecore_x.so /usr/lib/libXcursor.so
/usr/lib/libXdamage.so /usr/lib/libXfixes.so /usr/lib/libXinerama.so
/usr/lib/libXp.so /usr/lib/libXrandr.so /usr/lib/libXrender.so
/usr/lib/libXss.so /usr/lib/libXext.so /usr/lib/libX11.so
/usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libecore.so
/usr/lib/libecore_txt.so /usr/lib/libevas.so /usr/lib/libfreetype.so
/usr/lib/libeet.so /usr/lib/libjpeg.so /usr/lib/libfontconfig.so
/usr/lib/libxml2.so -ldl -lz -lm

/usr/lib/libemotion.so: undefined reference to `ecore_job_del'
/usr/lib/libemotion.so: undefined reference to `ecore_job_add'
collect2: ld returned 1 exit status

After running ldd on /usr/lib/libemotion.so, I've seen that it wasn't
linked with ecore_job.so, but ecore_job_add and ecore_job_del are used :
emotion $ grep -n ecore_job -r .
./src/lib/emotion_smart.c:293:   if (sd->job) ecore_job_del(sd->job);
./src/lib/emotion_smart.c:294:   sd->job = ecore_job_add(_pos_set_j...
./src/lib/emotion_smart.c:1184:   if (sd->job) ecore_job_del(sd->job);

I just added ecore-job to the file configre.in (see attached patch #1),
and it's working now!

Then I wanted to try the "rage -gl", but it failed with :
[evas module] error loading the module
/usr/lib/evas/modules/engines/gl_x11/linux-gnu-i686/module.so.
/usr/lib/evas/modules/engines/gl_x11/linux-gnu-i686/module.so:
undefined symbol: evas_common_gradient_offset_set

This function is not available in the evas library. Some function names
seems to have changed. I've done it for the gl engine (see attached
patch #2), but it seems that the same work is needed for the dfb engine.

Then I was able to start "rage -gl". It's faster on my system, but when
I play a video, there is no color (it's here with the default engine).

Regards,
--
Damien Thebault
Index: configure.in
===================================================================
RCS file: /var/cvs/e/e17/libs/emotion/configure.in,v
retrieving revision 1.45
diff -u -r1.45 configure.in
--- configure.in	25 Mar 2007 08:37:47 -0000	1.45
+++ configure.in	14 Apr 2007 20:47:37 -0000
@@ -83,7 +83,10 @@
 
 PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9])
 PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
-PKG_CHECK_MODULES(ECORE, [ecore >= 0.9.9 ecore-evas >= 0.9.9])
+PKG_CHECK_MODULES(ECORE, [
+   ecore >= 0.9.9
+   ecore-evas >= 0.9.9
+   ecore-job >= 0.9.9])
 
 save_CPPFLAGS=$CPPFLAGS
 CPPFLAGS="$CPPFLAGS $ECORE_CFLAGS"
Index: ./evas/src/modules/engines/gl_common/evas_gl_gradient.c
===================================================================
RCS file: /var/cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_gradient.c,v
retrieving revision 1.4
diff -u -r1.4 evas_gl_gradient.c
--- ./evas/src/modules/engines/gl_common/evas_gl_gradient.c	30 Sep 2006 10:18:34 -0000	1.4
+++ ./evas/src/modules/engines/gl_common/evas_gl_gradient.c	14 Apr 2007 21:27:01 -0000
@@ -89,26 +89,26 @@
 }
 
 void
-evas_gl_common_gradient_angle_set(Evas_GL_Gradient *gr, double angle)
+evas_gl_common_gradient_map_angle_set(Evas_GL_Gradient *gr, double angle)
 {
    if (!gr) return;
-   evas_common_gradient_angle_set(gr->grad, angle);
+   evas_common_gradient_map_angle_set(gr->grad, angle);
    gr->changed = 1;
 }
 
 void
-evas_gl_common_gradient_offset_set(Evas_GL_Gradient *gr, float offset)
+evas_gl_common_gradient_map_offset_set(Evas_GL_Gradient *gr, float offset)
 {
    if (!gr) return;
-   evas_common_gradient_offset_set(gr->grad, offset);
+   evas_common_gradient_map_offset_set(gr->grad, offset);
    gr->changed = 1;
 }
 
 void
-evas_gl_common_gradient_direction_set(Evas_GL_Gradient *gr, int direction)
+evas_gl_common_gradient_map_direction_set(Evas_GL_Gradient *gr, int direction)
 {
    if (!gr) return;
-   evas_common_gradient_direction_set(gr->grad, direction);
+   evas_common_gradient_map_direction_set(gr->grad, direction);
    gr->changed = 1;
 }
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to