Hi,

I finally commited evas gl_cocoa engine, ecore_cocoa and ecore_evas_cocoa.
Evas gl_cocoa is based on gl_common code, and works with native cocoa
opengl view.

I added ecore_evas_cocoa to create evas view inside an ecore_cocoa window.

ecore_cocoa was already in, but was not working, i fixed the use of it.

There is a major problem to build all EFL on macos, the numbering of
EFL libs. In svn version they are in 999 minor but 3 digit is not
accepted by the ld version of MacOSX. You will find attached patches
to build all EFL on MacosX. After the release of 1.1 if we could keep
only 2 digits for the minor version, it would be wonderful.

I'm working currently on MacOS Lion 10.7.1 with Xcode 4 installed.
For the build i'm using VLC packaged tools [1]

All expedite tests are running fine. But i get some printf like that :
  DRAW#  0    1 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    0
type RECT }-
  DRAW#  1    1 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    2
type IMAG }-
  DRAW#  2    1 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    3
type IMAG }-
  DRAW#  3    9 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    4
type IMAG }-
  DRAW#  4   56 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    5
type FONT }-
  DRAW#  5    1 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    6
type IMAG }-
  DRAW#  6    8 -> 0x7fd1c2ca76b0[   1x   1] @  720x 420 -{ tex    6
type IMAG }-

Don't know from where they come.

Ecore_cocoa/ecore_evas_cocoa its a start and help is more than
welcome. I'm able to create a window, and resize the canvas inside.
But no events are handle. And cocoa mainloop is not integrated into
ecore one.

edje_player can display correctly parts on screen, but as mentionned,
no events are handled.

elementary_test launch with ELM_ENGINE="gl_cocoa" displays the whole
list of test.
So it's a good start, but if you have skills in cocoa development, i
would be pleased to accept your help :)

Regards,
Nicolas

[1] http://wiki.videolan.org/OSXCompile

-- 
Nicolas Aguirre
Mail: [email protected]
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/
Index: configure.ac
===================================================================
--- configure.ac	(revision 64657)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
-m4_define([v_mic], [999])
+m4_define([v_mic], [99])
 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
Index: configure.ac
===================================================================
--- configure.ac	(revision 64658)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
-m4_define([v_mic], [999])
+m4_define([v_mic], [99])
 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
@@ -264,7 +264,7 @@
    [
     eina >= 1.0.0
     eet >= 1.4.0
-    evas >= 1.0.999
+    evas >= 1.0.99
     ecore >= 1.0.0
     ecore-evas >= 1.0.0
     ecore-file >= 1.0.0
Index: configure.ac
===================================================================
--- configure.ac	(revision 64657)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
 m4_define([v_min], [4])
-m4_define([v_mic], [999])
+m4_define([v_mic], [99])
 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
Index: configure.ac
===================================================================
--- configure.ac	(revision 64657)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
-m4_define([v_mic], [999])
+m4_define([v_mic], [99])
 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
Index: configure.ac
===================================================================
--- configure.ac	(revision 64657)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
-m4_define([v_mic], [999])
+m4_define([v_mic], [99])
 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
@@ -107,7 +107,7 @@
 AC_SUBST(EFL_EMBRYO_BUILD)
 
 # For embryo_cc_prefix.c
-PKG_CHECK_MODULES([EINA], [eina >= 1.0.999])
+PKG_CHECK_MODULES([EINA], [eina >= 1.0.99])
 
 ### Checks for header files
 
Index: configure.ac
===================================================================
--- configure.ac	(revision 64657)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
-m4_define([v_mic], [999])
+m4_define([v_mic], [99])
 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
@@ -236,7 +236,7 @@
 ## strong dependencies
 
 # Eina
-PKG_CHECK_MODULES([EINA], [eina > 1.0.999])
+PKG_CHECK_MODULES([EINA], [eina > 1.0.99])
 CPPFLAGS_SAVE="$CPPFLAGS"
 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
 AC_CHECK_SIZEOF(Eina_Unicode,, [#include <Eina.h>])
Index: configure.ac
===================================================================
--- configure.ac	(revision 64658)
+++ configure.ac	(working copy)
@@ -213,15 +213,15 @@
 
 PKG_CHECK_MODULES([ELEMENTARY],
    [
-    eina >= 1.0.999
+    eina >= 1.0.99
     eet >= 1.4.0
-    evas >= 1.0.999
-    ecore >= 1.0.999
-    ecore-evas >= 1.0.999
-    ecore-file >= 1.0.999
-    ecore-imf >= 1.0.999
-    ecore-con >= 1.0.999
-    edje >= 1.0.999
+    evas >= 1.0.99
+    ecore >= 1.0.99
+    ecore-evas >= 1.0.99
+    ecore-file >= 1.0.99
+    ecore-imf >= 1.0.99
+    ecore-con >= 1.0.99
+    edje >= 1.0.99
    ]
 )
 
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to