Re: [E-devel] E SVN: leif trunk/e/src/bin

2011-12-28 Thread Leif Middelschulte

Hi Mike,

thanks your effort. The backtraces look promising.

I'll have a look soon and hope to be able to fix this issue.

Am 27.12.2011 um 14:42 schrieb mh mhe...@member.fsf.org:

 I learned how to record the gdb session. The attached gdb sessions  
 may provide more useful information. One gdb session run as root,  
 the other as user. Ran to break, then stepped through. Hope this  
 helps.

 mike

 e-log-root.txt
 e-log.txt




 On Dec 25, 2011, at 11:49 AM, Leif Middelschulte wrote:

 Hi Mike,

 sorry for this late reply, but am kept busy with rl.
 Find comments in their respective context.

 2011/12/24 mh mhe...@member.fsf.org:

 On Dec 23, 2011, at 12:27 PM, Leif Middelschulte wrote:

 2011/12/23 mh mhe...@member.fsf.org:
 Salute:

 I'm having the same issue using two different distros on the  
 same
 hardware (two drives).

 When I'm running Arch, I'm running xorg-server 1.11.3-1 ,  
 using
 xf86-video-ati 6.14.3-1

 On Debian, sid, I have xserver-xorg-core 1.11.2.902-1, using
 xserver-xorg-video-radeon 6.14.3-2

 I'd like you to start e via gdb (compile e with debugging  
 symbols, see
 our wiki). Then break on _e_randr_crtc_info_set and step  
 through that
 function until bad things (crash) happens.

 Will do and let you know what I find here.

 Ok, I installed gdb, downloaded the latest 66482 from svn.  
 Followed the wiki
 and rebuilt the EFLs after export CFLAG=-g. Now I'm stuck. From  
 the wiki it
 seems that I should start e, then when it crashes start gdb and  
 break on
 _e_randr_crtc_info_set. Not sure how to do that. Help  
 appreciated.

 On Dec 23, 2011, at 9:41 PM, Carsten Haitzler (The Rasterman)  
 wrote:

 you're going to need to start an xserver raw without any gdm.

 Xorg -ac :1 

 run that in a text console somewhere.
 in another text console do:

 export E_START=1
 gdb enlightenment
 Thanks to raster for helping out here :-)
 But shouldn't this be
 gdb enlightenment_start instead?
 br _e_randr_crtc_info_set
 r

 But, e never crashes though. What happens is that I'll run  
 startx from vt1,

 it won't - you have to make it STOP when it hits that function  
 with a
 breakpoint (br). you have to set it up before e starts like above.


 Thanks! Attached are three sequential console shots, after  
 hitting the breakpoint three times . These seem to look exactly  
 the messages I saw earlier.

 Sadly you did something wrong when trying to run e via gdb. Ecore_X
 fails to initialize, which is way before e_randr initialization.


 and then in vt1 there are a series of messages like I included  
 earlier in the
 file called start-results. The messages say Enlightenment  
 relocation
 handling, then many ESTART messages, then Enlighenment  
 relocation handling
 again, followed by the same ESTART messages, then  
 Enlightenment Error A
 previous instance of Enlightenment is still active on this  
 screen. Aborting
 startup. And then it repeats this process over and over until  
 there's a
 final error and X shuts down.

 So there doesn't seem to be a PID of enlightenment to run gdb  
 on. I guess.
 I've never really run gdb before.

 Any suggestions/hints would be appreciated, I'm willing to try  
 and help track
 down the problem with this damn ATI hardware.


 mike


 On Dec 23, 2011, at 3:52 AM, Andrea Suisani wrote:

 Hi all,

 sorry for not being able to join
 the irc debug session last evening...

 though it seems we have have narrowed
 the problem down to a peculiar comibination
 of HW (ATI HD 5770/5750), e17 ver,
 xorg version and x org drivere version.

 just trying get a more clear picture
 I'm running X.Org X Server 1.10.4
 with fglrx used as video driver (defined
 in xorg.conf) installed using

 apt-get install fglrx-updates

 on an ubuntu box ver 11.10, that's
 the output of uname -a:

 Linux suino 3.0.0-14-server #23-Ubuntu SMP Mon Nov 21  
 20:49:05 UTC 2011
 x86_64 x86_64 x86_64 GNU/Linux

 Mike what's your xorg version and
 which driver are you using for your
 5770?

 I'm going to try to configure my Xorg
 dropping the binary only driver and using
 instead the one provided by:

 xserver-xorg-video-radeon

 i.e.

 http://www.x.org/wiki/radeon

 I'll report back


 Andrea

 On 12/22/2011 08:49 PM, mh wrote:
 Leif,

 Following up on our irc session today: I
 deleted /opt/e17/lib/enlightenment/conf_randr and  
 restarted e. Still
 had the black screen with gkrellm.

 Decided to try something else: I took  the 5770 video card  
 out of the
 box and tried the onboard video, which is a Radeon HD  
 4200. Restarted
 e, and the display worked properly. Recompiled e to rev  
 66466, and it
 worked fine. Shutdown, the reinstalled the Radeon HD 5770  
 based video
 card and restarted, back to a black display with gkrellm  
 still working.

 So, from there I went back to the vt and recompiled e from  
 v. 66218 and
 restarted e. Display and system worked fine. So that's  
 where I'm at
 right now.

 mike



 --- 
 --- 
 --- 
 --- 
 

[E-devel] [PATCH] fix the bug that preedit string is broken in japanese

2011-12-28 Thread Jihoon Kim
Hi, EFL developers.

In composing japanese, preedit string wasn't splitted normally.

For example, you can see '会社員�です' when you tried to input that text. (it
means that (I'm) company employee).
It should be displayed as ''会社員です'.

This patch will fix the bug that preedit string doesn't display ordinarilly.

Would you please review this patch and apply in svn?
Index: src/modules/immodules/scim/scim_imcontext.cpp
===
--- src/modules/immodules/scim/scim_imcontext.cpp   (revision 66594)
+++ src/modules/immodules/scim/scim_imcontext.cpp   (working copy)
@@ -1109,7 +1109,7 @@ isf_imf_context_preedit_string_with_attributes_get
  if (attr == NULL)
continue;
  attr-start_index = start_index;
- attr-end_index = end_index;
+ attr-end_index = end_index - 1;
 
  if (i-get_value () == 
SCIM_ATTR_DECORATE_UNDERLINE)
{
Index: src/modules/immodules/xim/ecore_imf_xim.c
===
--- src/modules/immodules/xim/ecore_imf_xim.c   (revision 66579)
+++ src/modules/immodules/xim/ecore_imf_xim.c   (working copy)
@@ -414,7 +414,7 @@ add_feedback_attr (Eina_List **attrs,
 {
 attr = (Ecore_IMF_Preedit_Attr *)calloc(1, 
sizeof(Ecore_IMF_Preedit_Attr));
 attr-start_index = start_index;
-attr-end_index = end_index;
+attr-end_index = end_index - 1;
 *attrs = eina_list_append(*attrs, (void *)attr);
 }
 
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] fix the bug that preedit string is broken in japanese

2011-12-28 Thread Sanjeev
Based on the patch the end_index is reduced by one, which I guess eliminates 
the word break.
Is this solution generic? Does it apply to all words in Japanese?

My knowledge of Japanese is much closer to non-existent though.


-Original Message-
From: Jihoon Kim [mailto:imfin...@gmail.com] 
Sent: Wednesday, December 28, 2011 6:23 PM
To: Enlightenment developer list
Subject: [E-devel] [PATCH] fix the bug that preedit string is broken in japanese

Hi, EFL developers.

In composing japanese, preedit string wasn't splitted normally.

For example, you can see '会社員 です' when you tried to input that text. (it means 
that (I'm) company employee).
It should be displayed as ''会社員です'.

This patch will fix the bug that preedit string doesn't display ordinarilly.

Would you please review this patch and apply in svn?
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] fix the bug that preedit string is broken in japanese

2011-12-28 Thread Jihoon Kim
After receiving your e-mail, I realized that I thought wrong.

I found the appropriate solution, and I told Woohyun.

Please discard this patch, woohyun will commit edje_entry patch.

Thanks.

On Wednesday, December 28, 2011, Sanjeev wrote:

 Based on the patch the end_index is reduced by one, which I guess
 eliminates the word break.
 Is this solution generic? Does it apply to all words in Japanese?

 My knowledge of Japanese is much closer to non-existent though.


 -Original Message-
 From: Jihoon Kim [mailto:imfin...@gmail.com javascript:;]
 Sent: Wednesday, December 28, 2011 6:23 PM
 To: Enlightenment developer list
 Subject: [E-devel] [PATCH] fix the bug that preedit string is broken in
 japanese

 Hi, EFL developers.

 In composing japanese, preedit string wasn't splitted normally.

 For example, you can see '会社員 です' when you tried to input that text. (it
 means that (I'm) company employee).
 It should be displayed as ''会社員です'.

 This patch will fix the bug that preedit string doesn't display
 ordinarilly.

 Would you please review this patch and apply in svn?

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net javascript:;
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] elm_cnp_helper - code clean up

2011-12-28 Thread Hyoyoung Chang
Dear all,

it's a small patch which removes some needless compare and cleans up
code in elm_cnp_helper.

Thank you.
Index: elementary/src/lib/elm_cnp_helper.c
===
--- elementary/src/lib/elm_cnp_helper.c (리비전 66595)
+++ elementary/src/lib/elm_cnp_helper.c (작업 사본)
@@ -418,8 +418,7 @@
 
if (top) xwin = elm_win_xwindow_get(top);
else xwin = elm_win_xwindow_get(widget);
-   if (!xwin) return EINA_FALSE;
-   if ((unsigned int)selection = (unsigned int)ELM_SEL_TYPE_MAX)
+   if ((!xwin) || (selection = ELM_SEL_TYPE_MAX))
  return EINA_FALSE;
if (!_elm_cnp_init_count) _elm_cnp_init();
if ((!selbuf)  (format != ELM_SEL_FORMAT_IMAGE))
@@ -429,7 +428,6 @@
 
sel-active = EINA_TRUE;
sel-widget = widget;
-
sel-set(xwin, selection, sizeof(Elm_Sel_Type));
sel-format = format;
 
@@ -446,7 +444,6 @@
else
  sel-selbuf = NULL;
 
-
return EINA_TRUE;
 #else
return EINA_FALSE;
@@ -471,8 +468,10 @@
sel-active = EINA_FALSE;
sel-widget = NULL;
if (sel-selbuf)
- free(sel-selbuf);
-   sel-selbuf = NULL;
+ {
+free(sel-selbuf);
+sel-selbuf = NULL;
+ }
sel-clear();
 
return EINA_TRUE;
@@ -489,7 +488,7 @@
Evas_Object *top;
Cnp_Selection *sel;
 
-   if ((unsigned int)selection = (unsigned int)ELM_SEL_TYPE_MAX)
+   if (selection = ELM_SEL_TYPE_MAX)
  return EINA_FALSE;
if (!_elm_cnp_init_count) _elm_cnp_init();
 
@@ -550,8 +549,10 @@
sel-active = EINA_FALSE;
sel-widget = NULL;
if (sel-selbuf)
- free(sel-selbuf);
-   sel-selbuf = NULL;
+ {
+free(sel-selbuf);
+sel-selbuf = NULL;
+ }
 
return ECORE_CALLBACK_PASS_ON;
 }
@@ -614,8 +615,7 @@
 {
if (size == sizeof(Elm_Sel_Type))
  {
-Cnp_Selection *sel;
-sel = selections + *((int *)data);
+Cnp_Selection *sel = selections + *((int *)data);
 if (sel-active 
 (sel-format = ELM_SEL_FORMAT_TARGETS) 
 (sel-format  ELM_SEL_FORMAT_MAX))
@@ -695,9 +695,9 @@
data = notify-data;
cnp_debug(data-format is %d %p %p\n, data-format, notify, data);
if (data-content == ECORE_X_SELECTION_CONTENT_FILES) return EINA_TRUE;
-   else p = (char *)data-data;
-
+   p = (char *)data-data;
if (!p) return EINA_TRUE;
+
cnp_debug(Got %s\n, p);
if (strncmp(p, file://, 7))
  {
@@ -764,8 +764,7 @@
targets = notify-data;
atomlist = (Ecore_X_Atom *)(targets-data.data);
 
-   /* Start from 1: Skip targets */
-   for (j = 1 ; j  CNP_N_ATOMS ; j ++)
+   for (j = (CNP_ATOM_LISTING_ATOMS+1); j  CNP_N_ATOMS; j++)
  {
 if (!(atoms[j].formats  sel-requestformat)) continue;
 for (i = 0 ; i  targets-data.length ; i ++)
@@ -777,13 +776,10 @@
}
   }
  }
-found:
-   if (j == CNP_N_ATOMS)
- {
-cnp_debug(No matching type found\n);
-return 0;
- }
+   cnp_debug(No matching type found\n);
+   return 0;
 
+found:
top = elm_widget_top_get(sel-requestwidget);
if (!top) return 0;
 
@@ -949,7 +945,7 @@
Ecore_X_Selection_Data *data;
Tmp_Info *tmp;
 
-   cnp_debug(got a png (or a jpeg)!\n);
+   cnp_debug(got a image file!\n);
data = notify-data;
 
cnp_debug(Size if %d\n, data-length);
@@ -969,7 +965,7 @@
/* generate tmp name */
tmp = elm_cnp_tempfile_create(data-length);
memcpy(tmp-map, data-data, data-length);
-   munmap(tmp-map,data-length);
+   munmap(tmp-map, data-length);
 
/* FIXME: Add to paste image data to clean up */
pasteimage_append(tmp-filename, sel-requestwidget);
@@ -1003,8 +999,7 @@
 return 0;
  }
 
-   char *stripstr = NULL;
-   stripstr = malloc(sizeof(char) * (data-length + 1));
+   char *stripstr = malloc(sizeof(char) * (data-length + 1));
strncpy(stripstr, (char *)data-data, data-length);
stripstr[data-length] = '\0';
cnp_debug(String is %s (%d bytes)\n, stripstr, data-length);
@@ -1048,7 +1043,8 @@
  {
 cnp_debug(Image %s\n, evas_object_type_get(sel-widget));
 cnp_debug(Elm type: %s\n, elm_object_widget_type_get(sel-widget));
-
evas_object_image_file_get(elm_photocam_internal_image_get(sel-widget), (const 
char **)data_ret, NULL);
+
evas_object_image_file_get(elm_photocam_internal_image_get(sel-widget),
+   (const char **)data_ret, NULL);
 if (!*data_ret) *data_ret = strdup(No file);
 else *data_ret = strdup(*data_ret);
 *size_ret = strlen(*data_ret);
@@ -1071,9 +1067,7 @@
  }
else
  {
-Cnp_Selection *sel;
-
-sel = selections + *((int *)data);
+Cnp_Selection *sel = selections + *((int *)data);
 if (data_ret) *data_ret = strdup(sel-selbuf);
 if (size_ret) *size_ret = strlen(sel-selbuf);
  }
@@ -1087,8 +1081,7 @@
int len;
static const char *tagstring = item absize=240x180 
href=file://%s/item;
 
-   if (!file) return EINA_FALSE;

Re: [E-devel] Gadget Resize in Shelves no longer an option

2011-12-28 Thread The Rasterman
On Wed, 28 Dec 2011 01:19:18 -0600 Jeff Hoogland jeffhoogl...@linux.com said:

 Was the ability to resize gadgets that exist on a shelf removed
 intentionally?

yes.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] fix build warning in scim-immodule

2011-12-28 Thread WooHyun Jung
+1
I think he is the specialist for ecore imf :)

2011/12/28, ChunEon Park her...@naver.com:
 +1 Here.
 As I know, he's been EFL Programming over 3 years.
 He will be a good member to improve our EFL.
 Thank u.
 
 -Regards, Hermet-

 -Original Message-
 From: Daniel Juyung Seolt;seojuyu...@gmail.comgt;
 To: Enlightenment developer
 listlt;enlightenment-devel@lists.sourceforge.netgt;
 Cc:
 Sent: 11-12-28(수) 08:06:18
 Subject: Re: [E-devel] [PATCH] fix build warning in scim-immodule
 +1 here.
 He's been sending many patches so far and done a good job mainly on ecore
 imf.
 Daniel Juyung Seo (SeoZ)
 On Tue, Dec 27, 2011 at 11:28 PM, Cedric BAIL lt;cedric.b...@free.frgt;
 wrote:
 On Tue, Dec 27, 2011 at 3:13 PM, Iván Briano (Sachiel)
 lt;sachi...@gmail.comgt; wrote:
 2011/12/27 Jihoon Kim lt;imfin...@gmail.comgt;:
 Here are two simple patches.

 'fix_warning_scim_imcontext.patch' is for fixing build warning 'warning:
 unused parameter' in scim-immodule.
 'fix_indent_Makefile.patch' is for fixing indentation of Makefile.am in
 immodules/scim directory.

 Would you please apply in svn?

 In, both at once. I changed the warning fix to include config.h
 at the top, as that's what we do everywhere else.

 I'm also wondering if your next patch shouldn't be an info.txt file
 and your public key.

 Sounds like a lazy way to get the work done faster and better as
 Jihoon has been annoyingly sending patch that get in svn quite fast
 since sometimes now. So I vote that we get less work and put the
 burden on him by giving him svn access.
 --
 Cedric BAIL

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] elm_cnp_helper - code clean up

2011-12-28 Thread Michael Blumenkrantz
On Wed, 28 Dec 2011 19:29:39 +0900
Hyoyoung Chang hyoyo...@gmail.com wrote:

 Dear all,
 
 it's a small patch which removes some needless compare and cleans up
 code in elm_cnp_helper.
 
 Thank you.
in

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Re : Re : compilation of eina

2011-12-28 Thread Sachiel
2011/12/26 Philippe Reynes trem...@yahoo.fr:



 Hi,

 I've done a little patch to fix the compilation with new automake.

does it install the examples in the correct directory ?

 I don't know what is the correct directory, I don't package it.
 I've enabled both option : --enable-build-examples --enable-install-examples

 and I have :

 /usr/lib/eina/eina_accessor_01
 

This looks wrong, given that Eina is redefining pkglibdir to
$(datadir)/$(PACKAGE)/examples
so the compiled examples should be installed in the same place as their sources.

 /usr/share/eina/examples/eina_accessor_01.c
 


 regards,
 trem




 Index: eina/src/examples/Makefile.am
 ===
 --- eina.orig/src/examples/Makefile.am
 +++ eina/src/examples/Makefile.am
 @@ -39,7 +39,7 @@ SRCS = \
     eina_strbuf_01.c \
     eina_tiler_01.c

 -pkglib_PROGRAMS =
 +pkglibexec_PROGRAMS =

  if EFL_INSTALL_EXAMPLES
  filesdir = $(datadir)/$(PACKAGE)/examples
 @@ -47,7 +47,7 @@ files_DATA = $(SRCS)
  endif

  if EFL_BUILD_EXAMPLES
 -pkglib_PROGRAMS += \
 +pkglibexec_PROGRAMS += \
     eina_accessor_01 \
  eina_array_01 \
     eina_array_02 \
 @@ -77,7 +77,7 @@ pkglib_PROGRAMS += \

  if BUILD_TILER_EXAMPLE
  AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
 -pkglib_PROGRAMS += eina_tiler_01
 +pkglibexec_PROGRAMS += eina_tiler_01
  eina_tiler_01_LDADD = $(top_builddir)/src/lib/libeina.la @ECORE_EVAS_LIBS@
  endif




 regards,
 trem




 
  De : Guillaume Friloux guillaume.fril...@asp64.com
 À : enlightenment-devel@lists.sourceforge.net
 Envoyé le : Lundi 26 Décembre 2011 14h09
 Objet : Re: [E-devel] compilation of eina

 On 26/12/2011 14:02, Rafael Fonseca wrote:
 The attached patch solves that issue but I don't know whether I can
 commit because of possible side effects (vtorri?). It is based in the
 following discussion:
 http://lists.gnu.org/archive/html/coreutils/2011-06/msg00044.html


 Thanks, i myself saw that going back to automake 1.11-1 solves the
 problem too

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


 À : Enlightenment developer list enlightenment-devel@lists.sourceforge.net
 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
Hello All,

I am currently working on porting emotion to Windows. I would like to get
involved and contribute back to the project. So have decided to start with
emotion port to Windows.

Has anyone worked on this before? Any advice?

I am assuming that work for porting emotion to windows is not completed. I
tried installing emotion in MingW and it is configuring but not compiling.

note:configure output is attached

Gives me the following error:

make  all-recursive
make[1]: Entering directory `/home/emo2/emotion-0.2.0.65643'
Making all in src
make[2]: Entering directory `/home/emo2/emotion-0.2.0.65643/src'
Making all in lib
make[3]: Entering directory `/home/emo2/emotion-0.2.0.65643/src/lib'
  CC emotion_smart.lo
  CC emotion_main.lo
emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition is
mark
ed dllimport
emotion_main.c:103:1: warning: 'emotion_object_extension_may_play_fast_get'
alre
ady declared with dllexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
already d
eclared with dllexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:305:1: warning: 'emotion_init' already declared with
dllexport at
tribute: dllimport ignored [-Wattributes]
emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
dllexpor
t attribute: dllimport ignored [-Wattributes]
emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
dllex
port attribute: dllimport ignored [-Wattributes]
emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
with d
llexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already declared
with
 dllexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already declared
with
 dllexport attribute: dllimport ignored [-Wattributes]
make[3]: *** [emotion_main.lo] Error 1
make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
make: *** [all] Error 2


Regards,
Azhar


OUT
Description: Binary data
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 Hello All,

 I am currently working on porting emotion to Windows. I would like to get
 involved and contribute back to the project. So have decided to start with
 emotion port to Windows.

 Has anyone worked on this before? Any advice?

 I am assuming that work for porting emotion to windows is not completed. I
 tried installing emotion in MingW and it is configuring but not compiling.

 note:configure output is attached

 Gives me the following error:


Fixed that error, but I can't guaranteed there won't be others.
The warnings are a problem with the order headers are included
and I would need to install a cross-compile chain to test properly.

Please update Emotion and try building again, and even if everything
works, please send the build log with all the warnings.

 make  all-recursive
 make[1]: Entering directory `/home/emo2/emotion-0.2.0.65643'
 Making all in src
 make[2]: Entering directory `/home/emo2/emotion-0.2.0.65643/src'
 Making all in lib
 make[3]: Entering directory `/home/emo2/emotion-0.2.0.65643/src/lib'
  CC     emotion_smart.lo
  CC     emotion_main.lo
 emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition is
 mark
 ed dllimport
 emotion_main.c:103:1: warning: 'emotion_object_extension_may_play_fast_get'
 alre
 ady declared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
 already d
 eclared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:305:1: warning: 'emotion_init' already declared with
 dllexport at
 tribute: dllimport ignored [-Wattributes]
 emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
 dllexpor
 t attribute: dllimport ignored [-Wattributes]
 emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
 dllex
 port attribute: dllimport ignored [-Wattributes]
 emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
 with d
 llexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 make[3]: *** [emotion_main.lo] Error 1
 make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
 make: *** [all] Error 2


 Regards,
 Azhar

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
Thanks Ivan,

I tried your change along with one more change from my end.


///
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
+++ H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
@@ -16,7 +16,7 @@

 #include Eet.h

-int EMOTION_WEBCAM_UPDATE = 0;
+EAPI int EMOTION_WEBCAM_UPDATE = 0;

 struct ext_match_s
 {
//


and now I am getting a similar error as follows. Question is - should I
continue remove EAPI from variable declarations?


  CC xine_la-emotion_xine.lo
In file included from emotion_xine.h:4:0,
 from emotion_xine.c:3:
H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
deprecated
(declared at H:/MinGW/msys/1.0/include/xine.h:2253)
[-Wdeprecated-declarations]
emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
marked
 dllimport
emotion_xine.c:1611:1: error: variable '__eina_module_shutdown' definition
is ma
rked dllimport
make[4]: *** [xine_la-emotion_xine.lo] Error 1
make[4]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
make: *** [all] Error 2

Regards
Azhar




On Wed, Dec 28, 2011 at 7:30 PM, Mohammed Azharudin az...@emo2.com wrote:

 Hello All,

 I am currently working on porting emotion to Windows. I would like to get
 involved and contribute back to the project. So have decided to start with
 emotion port to Windows.

 Has anyone worked on this before? Any advice?

 I am assuming that work for porting emotion to windows is not completed. I
 tried installing emotion in MingW and it is configuring but not compiling.

 note:configure output is attached

 Gives me the following error:

 make  all-recursive
 make[1]: Entering directory `/home/emo2/emotion-0.2.0.65643'
 Making all in src
 make[2]: Entering directory `/home/emo2/emotion-0.2.0.65643/src'
 Making all in lib
 make[3]: Entering directory `/home/emo2/emotion-0.2.0.65643/src/lib'
   CC emotion_smart.lo
   CC emotion_main.lo
 emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition
 is mark
 ed dllimport
 emotion_main.c:103:1: warning:
 'emotion_object_extension_may_play_fast_get' alre
 ady declared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
 already d
 eclared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:305:1: warning: 'emotion_init' already declared with
 dllexport at
 tribute: dllimport ignored [-Wattributes]
 emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
 dllexpor
 t attribute: dllimport ignored [-Wattributes]
 emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
 dllex
 port attribute: dllimport ignored [-Wattributes]
 emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
 with d
 llexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already
 declared with
  dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already
 declared with
  dllexport attribute: dllimport ignored [-Wattributes]
 make[3]: *** [emotion_main.lo] Error 1
 make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
 make: *** [all] Error 2


 Regards,
 Azhar

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 Thanks Ivan,

 I tried your change along with one more change from my end.


 ///
 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
 +++ H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
 @@ -16,7 +16,7 @@

  #include Eet.h

 -int EMOTION_WEBCAM_UPDATE = 0;
 +EAPI int EMOTION_WEBCAM_UPDATE = 0;


What's this? I see in SVN that EAPI is already there.

  struct ext_match_s
  {
 //


 and now I am getting a similar error as follows. Question is - should I
 continue remove EAPI from variable declarations?


  CC     xine_la-emotion_xine.lo
 In file included from emotion_xine.h:4:0,
                 from emotion_xine.c:3:
 H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
 deprecated
 (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
 [-Wdeprecated-declarations]
 emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
 marked
  dllimport
 emotion_xine.c:1611:1: error: variable '__eina_module_shutdown' definition
 is ma
 rked dllimport
 make[4]: *** [xine_la-emotion_xine.lo] Error 1
 make[4]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
 make: *** [all] Error 2


Try removing the include Emotion.h from emotion_xine.c

 Regards
 Azhar

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
Oops.

Its actually this:



# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
+++ H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
@@ -16,7 +16,7 @@

 #include Eet.h

-EAPI int EMOTION_WEBCAM_UPDATE = 0;
+int EMOTION_WEBCAM_UPDATE = 0;

 struct ext_match_s
 {

///


After applying this patch the webcam errors are gone and compilation moves
on till this error is encountered.
I tried removing include emotion.h as suggested from emotion_xine.c. No
change.

I still get:

  CC xine_la-emotion_xine.lo
In file included from emotion_xine.h:4:0,
 from emotion_xine.c:2:
H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
deprecated
(declared at H:/MinGW/msys/1.0/include/xine.h:2253)
[-Wdeprecated-declarations]
emotion_xine.c:1609:1: error: variable '__eina_module_init' definition is
marked
 dllimport
emotion_xine.c:1610:1: error: variable '__eina_module_shutdown' definition
is ma
rked dllimport
make[4]: *** [xine_la-emotion_xine.lo] Error 1
make[4]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
make: *** [all] Error 2

Regards
Azhar






On Wed, Dec 28, 2011 at 8:58 PM, Iván Briano (Sachiel)
sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  Thanks Ivan,
 
  I tried your change along with one more change from my end.
 
 
 
 ///
  # This patch file was generated by NetBeans IDE
  # It uses platform neutral UTF-8 encoding and \n newlines.
  ---
 H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
  +++ H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
  @@ -16,7 +16,7 @@
 
   #include Eet.h
 
  -int EMOTION_WEBCAM_UPDATE = 0;
  +EAPI int EMOTION_WEBCAM_UPDATE = 0;
 

 What's this? I see in SVN that EAPI is already there.

   struct ext_match_s
   {
 
 //
 
 
  and now I am getting a similar error as follows. Question is - should I
  continue remove EAPI from variable declarations?
 
 
   CC xine_la-emotion_xine.lo
  In file included from emotion_xine.h:4:0,
  from emotion_xine.c:3:
  H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
  deprecated
  (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
  [-Wdeprecated-declarations]
  emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
  marked
   dllimport
  emotion_xine.c:1611:1: error: variable '__eina_module_shutdown'
 definition
  is ma
  rked dllimport
  make[4]: *** [xine_la-emotion_xine.lo] Error 1
  make[4]: Leaving directory
 `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
  make: *** [all] Error 2
 

 Try removing the include Emotion.h from emotion_xine.c

  Regards
  Azhar


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 Oops.

 Its actually this:


 
 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
 +++ H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
 @@ -16,7 +16,7 @@

  #include Eet.h

 -EAPI int EMOTION_WEBCAM_UPDATE = 0;
 +int EMOTION_WEBCAM_UPDATE = 0;


Updating Emotion and not removing EAPI still gives an error?
EAPI should not be removed, it's telling the compiler that that symbol
will be exported so programs linking to the library can find it.

  struct ext_match_s
  {

 ///


 After applying this patch the webcam errors are gone and compilation moves
 on till this error is encountered.
 I tried removing include emotion.h as suggested from emotion_xine.c. No
 change.

 I still get:

  CC     xine_la-emotion_xine.lo
 In file included from emotion_xine.h:4:0,
                 from emotion_xine.c:2:
 H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
 deprecated
 (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
 [-Wdeprecated-declarations]
 emotion_xine.c:1609:1: error: variable '__eina_module_init' definition is
 marked
  dllimport
 emotion_xine.c:1610:1: error: variable '__eina_module_shutdown' definition
 is ma
 rked dllimport
 make[4]: *** [xine_la-emotion_xine.lo] Error 1
 make[4]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
 make: *** [all] Error 2


Another fix went in for that, I think.

 Regards
 Azhar






 On Wed, Dec 28, 2011 at 8:58 PM, Iván Briano (Sachiel)
 sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  Thanks Ivan,
 
  I tried your change along with one more change from my end.
 
 
 
 ///
  # This patch file was generated by NetBeans IDE
  # It uses platform neutral UTF-8 encoding and \n newlines.
  ---
 H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
  +++ H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
  @@ -16,7 +16,7 @@
 
   #include Eet.h
 
  -int EMOTION_WEBCAM_UPDATE = 0;
  +EAPI int EMOTION_WEBCAM_UPDATE = 0;
 

 What's this? I see in SVN that EAPI is already there.

   struct ext_match_s
   {
 
 //
 
 
  and now I am getting a similar error as follows. Question is - should I
  continue remove EAPI from variable declarations?
 
 
   CC     xine_la-emotion_xine.lo
  In file included from emotion_xine.h:4:0,
                  from emotion_xine.c:3:
  H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
  deprecated
  (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
  [-Wdeprecated-declarations]
  emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
  marked
   dllimport
  emotion_xine.c:1611:1: error: variable '__eina_module_shutdown'
 definition
  is ma
  rked dllimport
  make[4]: *** [xine_la-emotion_xine.lo] Error 1
  make[4]: Leaving directory
 `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
  make: *** [all] Error 2
 

 Try removing the include Emotion.h from emotion_xine.c

  Regards
  Azhar


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Ridiculously easy VDI. 

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
OK well, should not remove EAPI's...

Updating emotion and not removing EAPI still gives me:

  CC emotion_main.lo
emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition is
mark
ed dllimport
emotion_main.c:103:1: warning: 'emotion_object_extension_may_play_fast_get'
alre
ady declared with dllexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
already d
eclared with dllexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:305:1: warning: 'emotion_init' already declared with
dllexport at
tribute: dllimport ignored [-Wattributes]
emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
dllexpor
t attribute: dllimport ignored [-Wattributes]
emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
dllex
port attribute: dllimport ignored [-Wattributes]
emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
with d
llexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already declared
with
 dllexport attribute: dllimport ignored [-Wattributes]
emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already declared
with
 dllexport attribute: dllimport ignored [-Wattributes]




On Wed, Dec 28, 2011 at 9:21 PM, Iván Briano (Sachiel)
sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  Oops.
 
  Its actually this:
 
 
 
 
  # This patch file was generated by NetBeans IDE
  # It uses platform neutral UTF-8 encoding and \n newlines.
  --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
  +++
 H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
  @@ -16,7 +16,7 @@
 
   #include Eet.h
 
  -EAPI int EMOTION_WEBCAM_UPDATE = 0;
  +int EMOTION_WEBCAM_UPDATE = 0;
 

 Updating Emotion and not removing EAPI still gives an error?
 EAPI should not be removed, it's telling the compiler that that symbol
 will be exported so programs linking to the library can find it.

   struct ext_match_s
   {
 
 
 ///
 
 
  After applying this patch the webcam errors are gone and compilation
 moves
  on till this error is encountered.
  I tried removing include emotion.h as suggested from emotion_xine.c. No
  change.
 
  I still get:
 
   CC xine_la-emotion_xine.lo
  In file included from emotion_xine.h:4:0,
  from emotion_xine.c:2:
  H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
  deprecated
  (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
  [-Wdeprecated-declarations]
  emotion_xine.c:1609:1: error: variable '__eina_module_init' definition is
  marked
   dllimport
  emotion_xine.c:1610:1: error: variable '__eina_module_shutdown'
 definition
  is ma
  rked dllimport
  make[4]: *** [xine_la-emotion_xine.lo] Error 1
  make[4]: Leaving directory
 `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
  make: *** [all] Error 2
 

 Another fix went in for that, I think.

  Regards
  Azhar
 
 
 
 
 
 
  On Wed, Dec 28, 2011 at 8:58 PM, Iván Briano (Sachiel)
  sachi...@gmail.comwrote:
 
  2011/12/28 Mohammed Azharudin az...@emo2.com:
   Thanks Ivan,
  
   I tried your change along with one more change from my end.
  
  
  
 
 ///
   # This patch file was generated by NetBeans IDE
   # It uses platform neutral UTF-8 encoding and \n newlines.
   ---
  H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
   +++ H:\Documents and
 Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
   @@ -16,7 +16,7 @@
  
#include Eet.h
  
   -int EMOTION_WEBCAM_UPDATE = 0;
   +EAPI int EMOTION_WEBCAM_UPDATE = 0;
  
 
  What's this? I see in SVN that EAPI is already there.
 
struct ext_match_s
{
  
 
 //
  
  
   and now I am getting a similar error as follows. Question is - should
 I
   continue remove EAPI from variable declarations?
  
  
CC xine_la-emotion_xine.lo
   In file included from emotion_xine.h:4:0,
   from emotion_xine.c:3:
   H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
   deprecated
   (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
   

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 OK well, should not remove EAPI's...

 Updating emotion and not removing EAPI still gives me:

  CC     emotion_main.lo
 emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition is
 mark
 ed dllimport

Weird. In Emotion.h the declaration for the variable has EAPI? I would
have expected to give the same warnings as below, not an error.
But well, there's not much more I can do without a build environment, and
I can't set up one now.

 emotion_main.c:103:1: warning: 'emotion_object_extension_may_play_fast_get'
 alre
 ady declared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
 already d
 eclared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:305:1: warning: 'emotion_init' already declared with
 dllexport at
 tribute: dllimport ignored [-Wattributes]
 emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
 dllexpor
 t attribute: dllimport ignored [-Wattributes]
 emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
 dllex
 port attribute: dllimport ignored [-Wattributes]
 emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
 with d
 llexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]




 On Wed, Dec 28, 2011 at 9:21 PM, Iván Briano (Sachiel)
 sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  Oops.
 
  Its actually this:
 
 
 
 
  # This patch file was generated by NetBeans IDE
  # It uses platform neutral UTF-8 encoding and \n newlines.
  --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
  +++
 H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
  @@ -16,7 +16,7 @@
 
   #include Eet.h
 
  -EAPI int EMOTION_WEBCAM_UPDATE = 0;
  +int EMOTION_WEBCAM_UPDATE = 0;
 

 Updating Emotion and not removing EAPI still gives an error?
 EAPI should not be removed, it's telling the compiler that that symbol
 will be exported so programs linking to the library can find it.

   struct ext_match_s
   {
 
 
 ///
 
 
  After applying this patch the webcam errors are gone and compilation
 moves
  on till this error is encountered.
  I tried removing include emotion.h as suggested from emotion_xine.c. No
  change.
 
  I still get:
 
   CC     xine_la-emotion_xine.lo
  In file included from emotion_xine.h:4:0,
                  from emotion_xine.c:2:
  H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
  deprecated
  (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
  [-Wdeprecated-declarations]
  emotion_xine.c:1609:1: error: variable '__eina_module_init' definition is
  marked
   dllimport
  emotion_xine.c:1610:1: error: variable '__eina_module_shutdown'
 definition
  is ma
  rked dllimport
  make[4]: *** [xine_la-emotion_xine.lo] Error 1
  make[4]: Leaving directory
 `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/modules'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
  make: *** [all] Error 2
 

 Another fix went in for that, I think.

  Regards
  Azhar
 
 
 
 
 
 
  On Wed, Dec 28, 2011 at 8:58 PM, Iván Briano (Sachiel)
  sachi...@gmail.comwrote:
 
  2011/12/28 Mohammed Azharudin az...@emo2.com:
   Thanks Ivan,
  
   I tried your change along with one more change from my end.
  
  
  
 
 ///
   # This patch file was generated by NetBeans IDE
   # It uses platform neutral UTF-8 encoding and \n newlines.
   ---
  H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
   +++ H:\Documents and
 Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
   @@ -16,7 +16,7 @@
  
    #include Eet.h
  
   -int EMOTION_WEBCAM_UPDATE = 0;
   +EAPI int EMOTION_WEBCAM_UPDATE = 0;
  
 
  What's this? I see in SVN that EAPI is already there.
 
    struct ext_match_s
    {
  
 
 //
  
  
   and now I am getting a similar error as follows. Question is - should
 I
   continue remove EAPI 

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
No the emotion.h declaration does not have EAPI.

So I added EAPI there and tried. same error.

After adding EAPI to the emotion.h declaration, I removed the EAPI in
emotion_main.c and it works.

Maybe we are not supposed to declare EAPI twice.

but now I am back to:

make[4]: Entering directory
`/home/emo2/emotion-0.2.0.65643/src/modules/xine'
  CC xine_la-emotion_xine.lo
In file included from emotion_xine.h:4:0,
 from emotion_xine.c:3:
H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
deprecated
(declared at H:/MinGW/msys/1.0/include/xine.h:2253)
[-Wdeprecated-declarations]
emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
marked
 dllimport
emotion_xine.c:1611:1: error: variable '__eina_module_shutdown' definition
is ma
rked dllimport
make[4]: *** [xine_la-emotion_xine.lo] Error 1

Thanks for the help.





On Wed, Dec 28, 2011 at 9:36 PM, Iván Briano (Sachiel)
sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  OK well, should not remove EAPI's...
 
  Updating emotion and not removing EAPI still gives me:
 
   CC emotion_main.lo
  emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition
 is
  mark
  ed dllimport

 Weird. In Emotion.h the declaration for the variable has EAPI? I would
 have expected to give the same warnings as below, not an error.
 But well, there's not much more I can do without a build environment, and
 I can't set up one now.

  emotion_main.c:103:1: warning:
 'emotion_object_extension_may_play_fast_get'
  alre
  ady declared with dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
  already d
  eclared with dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:305:1: warning: 'emotion_init' already declared with
  dllexport at
  tribute: dllimport ignored [-Wattributes]
  emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
  dllexpor
  t attribute: dllimport ignored [-Wattributes]
  emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared
 with
  dllex
  port attribute: dllimport ignored [-Wattributes]
  emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
  with d
  llexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already
 declared
  with
   dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already
 declared
  with
   dllexport attribute: dllimport ignored [-Wattributes]
 
 
 
 
  On Wed, Dec 28, 2011 at 9:21 PM, Iván Briano (Sachiel)
  sachi...@gmail.comwrote:
 
  2011/12/28 Mohammed Azharudin az...@emo2.com:
   Oops.
  
   Its actually this:
  
  
  
 
 
   # This patch file was generated by NetBeans IDE
   # It uses platform neutral UTF-8 encoding and \n newlines.
   --- H:\Documents and
 Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
   +++
  H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
   @@ -16,7 +16,7 @@
  
#include Eet.h
  
   -EAPI int EMOTION_WEBCAM_UPDATE = 0;
   +int EMOTION_WEBCAM_UPDATE = 0;
  
 
  Updating Emotion and not removing EAPI still gives an error?
  EAPI should not be removed, it's telling the compiler that that symbol
  will be exported so programs linking to the library can find it.
 
struct ext_match_s
{
  
  
 
 ///
  
  
   After applying this patch the webcam errors are gone and compilation
  moves
   on till this error is encountered.
   I tried removing include emotion.h as suggested from emotion_xine.c.
 No
   change.
  
   I still get:
  
CC xine_la-emotion_xine.lo
   In file included from emotion_xine.h:4:0,
   from emotion_xine.c:2:
   H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
   deprecated
   (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
   [-Wdeprecated-declarations]
   emotion_xine.c:1609:1: error: variable '__eina_module_init'
 definition is
   marked
dllimport
   emotion_xine.c:1610:1: error: variable '__eina_module_shutdown'
  definition
   is ma
   rked dllimport
   make[4]: *** [xine_la-emotion_xine.lo] Error 1
   make[4]: Leaving directory
  `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
   make[3]: *** [all-recursive] Error 1
   make[3]: Leaving directory
 `/home/emo2/emotion-0.2.0.65643/src/modules'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
   make: *** [all] Error 2
  
 
  Another fix went in for that, I think.
 
   Regards
   Azhar
  
  
  
  
  
  
  

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
neither eina_module_init or eina_module_shutdown are declared with EAPI
anywhere.





On Wed, Dec 28, 2011 at 9:45 PM, Mohammed Azharudin az...@emo2.com wrote:

 No the emotion.h declaration does not have EAPI.

 So I added EAPI there and tried. same error.

 After adding EAPI to the emotion.h declaration, I removed the EAPI in
 emotion_main.c and it works.

 Maybe we are not supposed to declare EAPI twice.

 but now I am back to:

 make[4]: Entering directory
 `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
   CC xine_la-emotion_xine.lo
 In file included from emotion_xine.h:4:0,
  from emotion_xine.c:3:
 H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
 deprecated
 (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
 [-Wdeprecated-declarations]
 emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
 marked
  dllimport
 emotion_xine.c:1611:1: error: variable '__eina_module_shutdown' definition
 is ma
 rked dllimport
 make[4]: *** [xine_la-emotion_xine.lo] Error 1

 Thanks for the help.





 On Wed, Dec 28, 2011 at 9:36 PM, Iván Briano (Sachiel) sachi...@gmail.com
  wrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  OK well, should not remove EAPI's...
 
  Updating emotion and not removing EAPI still gives me:
 
   CC emotion_main.lo
  emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE'
 definition is
  mark
  ed dllimport

 Weird. In Emotion.h the declaration for the variable has EAPI? I would
 have expected to give the same warnings as below, not an error.
 But well, there's not much more I can do without a build environment, and
 I can't set up one now.

  emotion_main.c:103:1: warning:
 'emotion_object_extension_may_play_fast_get'
  alre
  ady declared with dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
  already d
  eclared with dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:305:1: warning: 'emotion_init' already declared with
  dllexport at
  tribute: dllimport ignored [-Wattributes]
  emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
  dllexpor
  t attribute: dllimport ignored [-Wattributes]
  emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared
 with
  dllex
  port attribute: dllimport ignored [-Wattributes]
  emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already
 declared
  with d
  llexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already
 declared
  with
   dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already
 declared
  with
   dllexport attribute: dllimport ignored [-Wattributes]
 
 
 
 
  On Wed, Dec 28, 2011 at 9:21 PM, Iván Briano (Sachiel)
  sachi...@gmail.comwrote:
 
  2011/12/28 Mohammed Azharudin az...@emo2.com:
   Oops.
  
   Its actually this:
  
  
  
 
 
   # This patch file was generated by NetBeans IDE
   # It uses platform neutral UTF-8 encoding and \n newlines.
   --- H:\Documents and
 Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
   +++
  H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
   @@ -16,7 +16,7 @@
  
#include Eet.h
  
   -EAPI int EMOTION_WEBCAM_UPDATE = 0;
   +int EMOTION_WEBCAM_UPDATE = 0;
  
 
  Updating Emotion and not removing EAPI still gives an error?
  EAPI should not be removed, it's telling the compiler that that symbol
  will be exported so programs linking to the library can find it.
 
struct ext_match_s
{
  
  
 
 ///
  
  
   After applying this patch the webcam errors are gone and compilation
  moves
   on till this error is encountered.
   I tried removing include emotion.h as suggested from emotion_xine.c.
 No
   change.
  
   I still get:
  
CC xine_la-emotion_xine.lo
   In file included from emotion_xine.h:4:0,
   from emotion_xine.c:2:
   H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
   deprecated
   (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
   [-Wdeprecated-declarations]
   emotion_xine.c:1609:1: error: variable '__eina_module_init'
 definition is
   marked
dllimport
   emotion_xine.c:1610:1: error: variable '__eina_module_shutdown'
  definition
   is ma
   rked dllimport
   make[4]: *** [xine_la-emotion_xine.lo] Error 1
   make[4]: Leaving directory
  `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
   make[3]: *** [all-recursive] Error 1
   make[3]: Leaving directory
 `/home/emo2/emotion-0.2.0.65643/src/modules'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
   make[1]: *** 

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 No the emotion.h declaration does not have EAPI.

 So I added EAPI there and tried. same error.

 After adding EAPI to the emotion.h declaration, I removed the EAPI in
 emotion_main.c and it works.

 Maybe we are not supposed to declare EAPI twice.

 but now I am back to:


Just now I read your path, I'm fixing this in SVN, so you
should get the sources from there to try.
Regarding the double EAPI, I remember they are there
like that for a reason, but I don't remember what that
reason was. Still, the double declaration should give
warnings as it does for the other functions, not an error.
If it gives the same error it's because it's missing the
first declaration.

 make[4]: Entering directory
 `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
  CC     xine_la-emotion_xine.lo
 In file included from emotion_xine.h:4:0,
                 from emotion_xine.c:3:
 H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
 deprecated
 (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
 [-Wdeprecated-declarations]
 emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
 marked
  dllimport
 emotion_xine.c:1611:1: error: variable '__eina_module_shutdown' definition
 is ma
 rked dllimport
 make[4]: *** [xine_la-emotion_xine.lo] Error 1

 Thanks for the help.





 On Wed, Dec 28, 2011 at 9:36 PM, Iván Briano (Sachiel)
 sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  OK well, should not remove EAPI's...
 
  Updating emotion and not removing EAPI still gives me:
 
   CC     emotion_main.lo
  emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition
 is
  mark
  ed dllimport

 Weird. In Emotion.h the declaration for the variable has EAPI? I would
 have expected to give the same warnings as below, not an error.
 But well, there's not much more I can do without a build environment, and
 I can't set up one now.

  emotion_main.c:103:1: warning:
 'emotion_object_extension_may_play_fast_get'
  alre
  ady declared with dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
  already d
  eclared with dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:305:1: warning: 'emotion_init' already declared with
  dllexport at
  tribute: dllimport ignored [-Wattributes]
  emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
  dllexpor
  t attribute: dllimport ignored [-Wattributes]
  emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared
 with
  dllex
  port attribute: dllimport ignored [-Wattributes]
  emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
  with d
  llexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already
 declared
  with
   dllexport attribute: dllimport ignored [-Wattributes]
  emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already
 declared
  with
   dllexport attribute: dllimport ignored [-Wattributes]
 
 
 
 
  On Wed, Dec 28, 2011 at 9:21 PM, Iván Briano (Sachiel)
  sachi...@gmail.comwrote:
 
  2011/12/28 Mohammed Azharudin az...@emo2.com:
   Oops.
  
   Its actually this:
  
  
  
 
 
   # This patch file was generated by NetBeans IDE
   # It uses platform neutral UTF-8 encoding and \n newlines.
   --- H:\Documents and
 Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
   +++
  H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
   @@ -16,7 +16,7 @@
  
    #include Eet.h
  
   -EAPI int EMOTION_WEBCAM_UPDATE = 0;
   +int EMOTION_WEBCAM_UPDATE = 0;
  
 
  Updating Emotion and not removing EAPI still gives an error?
  EAPI should not be removed, it's telling the compiler that that symbol
  will be exported so programs linking to the library can find it.
 
    struct ext_match_s
    {
  
  
 
 ///
  
  
   After applying this patch the webcam errors are gone and compilation
  moves
   on till this error is encountered.
   I tried removing include emotion.h as suggested from emotion_xine.c.
 No
   change.
  
   I still get:
  
    CC     xine_la-emotion_xine.lo
   In file included from emotion_xine.h:4:0,
                   from emotion_xine.c:2:
   H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
   deprecated
   (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
   [-Wdeprecated-declarations]
   emotion_xine.c:1609:1: error: variable '__eina_module_init'
 definition is
   marked
    dllimport
   emotion_xine.c:1610:1: error: variable '__eina_module_shutdown'
  definition
   is ma
   rked dllimport
   make[4]: *** [xine_la-emotion_xine.lo] Error 1
   make[4]: Leaving directory
  

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 neither eina_module_init or eina_module_shutdown are declared with EAPI
 anywhere.



And they don't have to, they are macros and they put
the EAPI in there already, the Makefile.am is missing
an @EFL_EMOTION_BUILD@ in the AM_CPPFLAGS.
I fixed that in SVN already.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
Check this patch:

Now I don't get the  EMOTION_WEBCAM_UPDATE error and I can keep EAPI too.

///
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
+++ H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
@@ -16,8 +16,9 @@

 #include Eet.h

-EAPI int EMOTION_WEBCAM_UPDATE = 0;
-
+#ifdef EMOTION_WEBCAM_UPDATE
+EAPI EMOTION_WEBCAM_UPDATE = 0;
+#endif
 struct ext_match_s
 {
unsigned int length;
@@ -329,7 +330,7 @@
  }

 #ifdef EMOTION_HAVE_EEZE
-   EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
+   EAPI EMOTION_WEBCAM_UPDATE = ecore_event_type_new();

eeze_init();

/







On Wed, Dec 28, 2011 at 9:51 PM, Iván Briano (Sachiel)
sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  neither eina_module_init or eina_module_shutdown are declared with EAPI
  anywhere.
 
 

 And they don't have to, they are macros and they put
 the EAPI in there already, the Makefile.am is missing
 an @EFL_EMOTION_BUILD@ in the AM_CPPFLAGS.
 I fixed that in SVN already.


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Mohammed Azharudin az...@emo2.com:
 Check this patch:

 Now I don't get the  EMOTION_WEBCAM_UPDATE error and I can keep EAPI too.

 ///
 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
 +++ H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
 @@ -16,8 +16,9 @@

  #include Eet.h

 -EAPI int EMOTION_WEBCAM_UPDATE = 0;
 -
 +#ifdef EMOTION_WEBCAM_UPDATE
 +EAPI EMOTION_WEBCAM_UPDATE = 0;
 +#endif
  struct ext_match_s
  {
    unsigned int length;
 @@ -329,7 +330,7 @@
      }

  #ifdef EMOTION_HAVE_EEZE
 -   EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
 +   EAPI EMOTION_WEBCAM_UPDATE = ecore_event_type_new();

    eeze_init();

 /


That doesn't look right and it only builds because
you don't have EEZE and EMOTION_WEBCAM_UPDATE
never gets compiled. I'll see if I can get everything to build
and home and work out this issues, but it looks like Emotion
will need a lot of work to build on Windows.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: andreas trunk/BINDINGS/cxx/elementaryxx/include/elementaryxx

2011-12-28 Thread Andreas Volz
Am Wed, 28 Dec 2011 11:12:22 +0900 schrieb Daniel Juyung Seo:

Maybe I missed that email. Sorry!

Now I added also this file. It's always dangerous if only one developer
exists and no nightly build. :-(

But this situation will improve with launchpad...

Thanks for pointing out!

Andreas

 Thanks. But I pointed out elementaryxx build break before and nobody
 answered. However I still have a build break there.
 Something is still missing?
 
 make[2]: *** No rule to make target `GenListItem.lo', needed by
 `libelementaryxx.la'.
 make[2]: Target `all' not remade because of errors.
 
 Daniel Juyung Seo (SeoZ)
 
 On Wed, Dec 28, 2011 at 2:53 AM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
  Log:
  ups, forgot to commit a file - nobody noticed :-( - good choose to
  build now daily on launchpad...
 
 
  Author:       andreas
  Date:         2011-12-27 09:53:29 -0800 (Tue, 27 Dec 2011)
  New Revision: 66576
  Trac:         http://trac.enlightenment.org/e/changeset/66576
 
  Added:
   trunk/BINDINGS/cxx/elementaryxx/include/elementaryxx/GenListItem.h
 
 
  --
  Write once. Port to many.
  Get the SDK and tools to simplify cross-platform app development.
  Create new or port existing apps to sell to consumers worldwide.
  Explore the Intel AppUpSM program developer opportunity.
  appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev
  ___
  enlightenment-svn mailing list
  enlightenment-...@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
 
 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development.
 Create new or port existing apps to sell to consumers worldwide.
 Explore the Intel AppUpSM program developer opportunity.
 appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Vincent Torri
i'll take care of that. don't commit anything about windows please

Vincent

On Wed, Dec 28, 2011 at 5:51 PM, Iván Briano (Sachiel)
sachi...@gmail.com wrote:
 2011/12/28 Mohammed Azharudin az...@emo2.com:
 Check this patch:

 Now I don't get the  EMOTION_WEBCAM_UPDATE error and I can keep EAPI too.

 ///
 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
 +++ H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
 @@ -16,8 +16,9 @@

  #include Eet.h

 -EAPI int EMOTION_WEBCAM_UPDATE = 0;
 -
 +#ifdef EMOTION_WEBCAM_UPDATE
 +EAPI EMOTION_WEBCAM_UPDATE = 0;
 +#endif
  struct ext_match_s
  {
    unsigned int length;
 @@ -329,7 +330,7 @@
      }

  #ifdef EMOTION_HAVE_EEZE
 -   EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
 +   EAPI EMOTION_WEBCAM_UPDATE = ecore_event_type_new();

    eeze_init();

 /


 That doesn't look right and it only builds because
 you don't have EEZE and EMOTION_WEBCAM_UPDATE
 never gets compiled. I'll see if I can get everything to build
 and home and work out this issues, but it looks like Emotion
 will need a lot of work to build on Windows.

 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Sachiel
2011/12/28 Vincent Torri vincent.to...@gmail.com:
 i'll take care of that. don't commit anything about windows please


Ok.

 Vincent

 On Wed, Dec 28, 2011 at 5:51 PM, Iván Briano (Sachiel)
 sachi...@gmail.com wrote:
 2011/12/28 Mohammed Azharudin az...@emo2.com:
 Check this patch:

 Now I don't get the  EMOTION_WEBCAM_UPDATE error and I can keep EAPI too.

 ///
 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
 +++ H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
 @@ -16,8 +16,9 @@

  #include Eet.h

 -EAPI int EMOTION_WEBCAM_UPDATE = 0;
 -
 +#ifdef EMOTION_WEBCAM_UPDATE
 +EAPI EMOTION_WEBCAM_UPDATE = 0;
 +#endif
  struct ext_match_s
  {
    unsigned int length;
 @@ -329,7 +330,7 @@
      }

  #ifdef EMOTION_HAVE_EEZE
 -   EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
 +   EAPI EMOTION_WEBCAM_UPDATE = ecore_event_type_new();

    eeze_init();

 /


 That doesn't look right and it only builds because
 you don't have EEZE and EMOTION_WEBCAM_UPDATE
 never gets compiled. I'll see if I can get everything to build
 and home and work out this issues, but it looks like Emotion
 will need a lot of work to build on Windows.

 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/ethumb/src: lib plugins/emotion plugins/epdf

2011-12-28 Thread Vincent Torri
On Wed, Dec 28, 2011 at 5:10 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 ethumb: make plugin API fully assynchronous and use it in emotion backend.

  NOTE: epdf isn't asynchronous at the moment, so no need to fix its ethumb 
 plugin.

you should use eyesight instead of epdf. You'll have all the document
formats supported by eyesight in ethumb

Vincent



 Author:       cedric
 Date:         2011-12-28 08:10:10 -0800 (Wed, 28 Dec 2011)
 New Revision: 66607
 Trac:         http://trac.enlightenment.org/e/changeset/66607

 Modified:
  trunk/ethumb/src/lib/Ethumb_Plugin.h trunk/ethumb/src/lib/ethumb.c 
 trunk/ethumb/src/lib/ethumb_private.h 
 trunk/ethumb/src/plugins/emotion/emotion.c 
 trunk/ethumb/src/plugins/epdf/epdf.c

 Modified: trunk/ethumb/src/lib/Ethumb_Plugin.h
 ===
 --- trunk/ethumb/src/lib/Ethumb_Plugin.h        2011-12-28 16:08:38 UTC (rev 
 66606)
 +++ trunk/ethumb/src/lib/Ethumb_Plugin.h        2011-12-28 16:10:10 UTC (rev 
 66607)
 @@ -10,7 +10,8 @@
  struct _Ethumb_Plugin
  {
    const char **extensions;
 -   void (*generate_thumb)(Ethumb *);
 +   void *(*thumb_generate)(Ethumb *);
 +   void (*thumb_cancel)(Ethumb *, void *);
  };

  EAPI void ethumb_calculate_aspect_from_ratio(Ethumb *e, float ia, int *w, 
 int *h);

 Modified: trunk/ethumb/src/lib/ethumb.c
 ===
 --- trunk/ethumb/src/lib/ethumb.c       2011-12-28 16:08:38 UTC (rev 66606)
 +++ trunk/ethumb/src/lib/ethumb.c       2011-12-28 16:10:10 UTC (rev 66607)
 @@ -1185,7 +1185,8 @@
    else
      evas_object_hide(e-img);

 -   plugin-generate_thumb(e);
 +   e-plugin = plugin;
 +   e-pdata = plugin-thumb_generate(e);

    return EINA_TRUE;
  }
 @@ -1519,6 +1520,8 @@
    if (e-finished_idler)
      ecore_idler_del(e-finished_idler);
    e-finished_idler = ecore_idler_add(_ethumb_finished_idler_cb, e);
 +   e-plugin = NULL;
 +   e-pdata = NULL;
  }

  EAPI Eina_Bool
 @@ -1537,6 +1540,13 @@
        ERR(thumbnail generation already in progress.);
        return EINA_FALSE;
      }
 +   if (e-pdata)
 +     {
 +        e-plugin-thumb_cancel(e, e-pdata);
 +        e-pdata = NULL;
 +        e-plugin = NULL;
 +     }
 +
    e-finished_cb = finished_cb;
    e-cb_data = (void *)data;
    e-cb_data_free = free_data;
 @@ -1549,9 +1559,9 @@
      }

    r = _ethumb_plugin_generate(e);
 +   fprintf(stderr, ethumb generate: %i: %p\n, r, e-pdata);
    if (r)
      {
 -        ethumb_finished_callback_call(e, r);
         return EINA_TRUE;
      }

 @@ -1688,6 +1698,8 @@
    r-cb_data = NULL;
    r-cb_data_free = NULL;
    r-cb_result = 0;
 +   r-plugin = NULL;
 +   r-pdata = NULL;

    return r;
  }

 Modified: trunk/ethumb/src/lib/ethumb_private.h
 ===
 --- trunk/ethumb/src/lib/ethumb_private.h       2011-12-28 16:08:38 UTC (rev 
 66606)
 +++ trunk/ethumb/src/lib/ethumb_private.h       2011-12-28 16:10:10 UTC (rev 
 66607)
 @@ -2,6 +2,7 @@
  #define __ETHUMB_PRIVATE_H__ 1

  #include Ethumb.h
 +#include Ethumb_Plugin.h

  typedef struct _Ethumb_Frame Ethumb_Frame;

 @@ -48,6 +49,9 @@
    void *cb_data;
    Eina_Free_Cb cb_data_free;
    int cb_result;
 +
 +   void *pdata;
 +   Ethumb_Plugin *plugin;
  };

  #endif /* __ETHUMB_PRIVATE_H__ */

 Modified: trunk/ethumb/src/plugins/emotion/emotion.c
 ===
 --- trunk/ethumb/src/plugins/emotion/emotion.c  2011-12-28 16:08:38 UTC (rev 
 66606)
 +++ trunk/ethumb/src/plugins/emotion/emotion.c  2011-12-28 16:10:10 UTC (rev 
 66607)
 @@ -38,6 +38,9 @@
    int w, h;
  };

 +static Eina_Bool _frame_grab(void *data);
 +static Eina_Bool _frame_grab_single(void *data);
 +
  static void
  _resize_movie(struct _emotion_plugin *_plugin)
  {
 @@ -62,6 +65,17 @@
  }

  static void
 +_frame_decode_cb(void *data, Evas_Object *o __UNUSED__, void *event_info 
 __UNUSED__)
 +{
 +   struct _emotion_plugin *_plugin = data;
 +
 +   if (_plugin-ef)
 +     _frame_grab(data);
 +   else
 +     _frame_grab_single(data);
 +}
 +
 +static void
  _frame_resized_cb(void *data, Evas_Object *o __UNUSED__, void *event_info 
 __UNUSED__)
  {
    _resize_movie(data);
 @@ -168,6 +182,8 @@
    int r = 0;
    evas_object_smart_callback_del(_plugin-video, frame_resize,
                                  _frame_resized_cb);
 +   evas_object_smart_callback_del(_plugin-video, frame_decode,
 +                                 _frame_decode_cb);
    emotion_object_play_set(_plugin-video, 0);
    evas_object_del(_plugin-video);
    if (_plugin-ef)
 @@ -207,7 +223,7 @@
    emotion_object_play_set(_plugin-video, 0);
    evas_object_del(_plugin-video);
    free(_plugin);
 -
 +
    ethumb_finished_callback_call(e, 1);

    return EINA_FALSE;
 @@ -294,12 +310,10 @@
        fprintf(stderr, ERROR: could not open '%s'\n, thumb_path);
        _finish_thumb_generation(_plugin, 0);
      }
 -
 -   

Re: [E-devel] E SVN: sachiel IN trunk: ecore/src/examples edje/src/examples eet/src/examples eina/src/examples elementary/src/examples emotion/src/examples evas/src/examples

2011-12-28 Thread Vincent Torri
On Wed, Dec 28, 2011 at 3:13 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 Don't override standard variables, it looks weird. In turn, fix building with 
 automake 1.11.2


 Author:       sachiel
 Date:         2011-12-28 06:13:30 -0800 (Wed, 28 Dec 2011)
 New Revision: 66599
 Trac:         http://trac.enlightenment.org/e/changeset/66599

 Modified:
  trunk/ecore/src/examples/Makefile.am trunk/edje/src/examples/Makefile.am 
 trunk/eet/src/examples/Makefile.am trunk/eina/src/examples/Makefile.am 
 trunk/elementary/src/examples/Makefile.am 
 trunk/emotion/src/examples/Makefile.am trunk/evas/src/examples/Makefile.am

 Modified: trunk/ecore/src/examples/Makefile.am
 ===
 --- trunk/ecore/src/examples/Makefile.am        2011-12-28 12:54:59 UTC (rev 
 66598)
 +++ trunk/ecore/src/examples/Makefile.am        2011-12-28 14:13:30 UTC (rev 
 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

$(pkgdatadir) is maybe better than $(datadir)/$(PACKAGE)

Vincent


  filesdir = $(datadir)/$(PACKAGE)/examples
  files_DATA =
 @@ -59,7 +59,7 @@
  EXTRA_DIST = $(SRCS) \
        $(srcdir)/red.png

 -pkglib_PROGRAMS =
 +examples_PROGRAMS =

  if EFL_INSTALL_EXAMPLES
  files_DATA += $(SRCS) \
 @@ -67,7 +67,7 @@
  endif

  if EFL_BUILD_EXAMPLES
 -pkglib_PROGRAMS += \
 +examples_PROGRAMS += \
        ecore_animator_example \
        ecore_fd_handler_example \
        ecore_poller_example \

 Modified: trunk/edje/src/examples/Makefile.am
 ===
 --- trunk/edje/src/examples/Makefile.am 2011-12-28 12:54:59 UTC (rev 66598)
 +++ trunk/edje/src/examples/Makefile.am 2011-12-28 14:13:30 UTC (rev 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

  if ENABLE_MULTISENSE
  MULTISENSE_EDC_FILE = multisense.edc
 @@ -64,7 +64,7 @@

  files_DATA += $(EDJS)

 -pkglib_PROGRAMS = \
 +examples_PROGRAMS = \
        edje-basic \
        edje-swallow \
        edje-text \

 Modified: trunk/eet/src/examples/Makefile.am
 ===
 --- trunk/eet/src/examples/Makefile.am  2011-12-28 12:54:59 UTC (rev 66598)
 +++ trunk/eet/src/examples/Makefile.am  2011-12-28 14:13:30 UTC (rev 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

  if BUILD_EXAMPLES
  AM_CPPFLAGS = \
 @@ -8,7 +8,7 @@
  -I$(top_srcdir)/src/lib \
  @EINA_CFLAGS@

 -pkglib_PROGRAMS = eet_basic eet_file eet_data_simple eet_data_nested 
 eet_data_file_descriptor_01 eet_data_file_descriptor_02 
 eet_data_cipher_decipher
 +examples_PROGRAMS = eet_basic eet_file eet_data_simple eet_data_nested 
 eet_data_file_descriptor_01 eet_data_file_descriptor_02 
 eet_data_cipher_decipher

  eet_basic_SOURCES = eet-basic.c
  eet_basic_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@

 Modified: trunk/eina/src/examples/Makefile.am
 ===
 --- trunk/eina/src/examples/Makefile.am 2011-12-28 12:54:59 UTC (rev 66598)
 +++ trunk/eina/src/examples/Makefile.am 2011-12-28 14:13:30 UTC (rev 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

  AM_CPPFLAGS = \
  -I. \
 @@ -39,7 +39,7 @@
        eina_strbuf_01.c \
        eina_tiler_01.c

 -pkglib_PROGRAMS =
 +examples_PROGRAMS =

  if EFL_INSTALL_EXAMPLES
  filesdir = $(datadir)/$(PACKAGE)/examples
 @@ -47,7 +47,7 @@
  endif

  if EFL_BUILD_EXAMPLES
 -pkglib_PROGRAMS += \
 +examples_PROGRAMS += \
        eina_accessor_01 \
        eina_array_01 \
        eina_array_02 \
 @@ -77,7 +77,7 @@

  if BUILD_TILER_EXAMPLE
  AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
 -pkglib_PROGRAMS += eina_tiler_01
 +examples_PROGRAMS += eina_tiler_01
  eina_tiler_01_LDADD = $(top_builddir)/src/lib/libeina.la @ECORE_EVAS_LIBS@
  endif


 Modified: trunk/elementary/src/examples/Makefile.am
 ===
 --- trunk/elementary/src/examples/Makefile.am   2011-12-28 12:54:59 UTC (rev 
 66598)
 +++ trunk/elementary/src/examples/Makefile.am   2011-12-28 14:13:30 UTC (rev 
 66599)
 @@ -2,7 +2,7 @@

  .PHONY: screenshots

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples
  filesdir = $(datadir)/$(PACKAGE)/examples
  files_DATA =

 @@ -124,7 +124,7 @@
         efl_thread_5.c \
         efl_thread_6.c

 -pkglib_PROGRAMS =
 +examples_PROGRAMS =

  .edc.edj:
        $(EDJE_CC) $(EDJE_FLAGS) $ $@
 @@ -142,7 +142,7 @@
  clean-local:
        rm -f *.edj

 -pkglib_PROGRAMS += \
 +examples_PROGRAMS += \
        actionslider_example_01 \
        

Re: [E-devel] E SVN: sachiel IN trunk: ecore/src/examples edje/src/examples eet/src/examples eina/src/examples elementary/src/examples emotion/src/examples evas/src/examples

2011-12-28 Thread Sachiel
2011/12/28 Vincent Torri vincent.to...@gmail.com:
 On Wed, Dec 28, 2011 at 3:13 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
 Log:
 Don't override standard variables, it looks weird. In turn, fix building 
 with automake 1.11.2


 Author:       sachiel
 Date:         2011-12-28 06:13:30 -0800 (Wed, 28 Dec 2011)
 New Revision: 66599
 Trac:         http://trac.enlightenment.org/e/changeset/66599

 Modified:
  trunk/ecore/src/examples/Makefile.am trunk/edje/src/examples/Makefile.am 
 trunk/eet/src/examples/Makefile.am trunk/eina/src/examples/Makefile.am 
 trunk/elementary/src/examples/Makefile.am 
 trunk/emotion/src/examples/Makefile.am trunk/evas/src/examples/Makefile.am

 Modified: trunk/ecore/src/examples/Makefile.am
 ===
 --- trunk/ecore/src/examples/Makefile.am        2011-12-28 12:54:59 UTC (rev 
 66598)
 +++ trunk/ecore/src/examples/Makefile.am        2011-12-28 14:13:30 UTC (rev 
 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

 $(pkgdatadir) is maybe better than $(datadir)/$(PACKAGE)


The worst part is that I thought of it while doing it and
completely ignored it. Will change later.

 Vincent


  filesdir = $(datadir)/$(PACKAGE)/examples
  files_DATA =
 @@ -59,7 +59,7 @@
  EXTRA_DIST = $(SRCS) \
        $(srcdir)/red.png

 -pkglib_PROGRAMS =
 +examples_PROGRAMS =

  if EFL_INSTALL_EXAMPLES
  files_DATA += $(SRCS) \
 @@ -67,7 +67,7 @@
  endif

  if EFL_BUILD_EXAMPLES
 -pkglib_PROGRAMS += \
 +examples_PROGRAMS += \
        ecore_animator_example \
        ecore_fd_handler_example \
        ecore_poller_example \

 Modified: trunk/edje/src/examples/Makefile.am
 ===
 --- trunk/edje/src/examples/Makefile.am 2011-12-28 12:54:59 UTC (rev 66598)
 +++ trunk/edje/src/examples/Makefile.am 2011-12-28 14:13:30 UTC (rev 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

  if ENABLE_MULTISENSE
  MULTISENSE_EDC_FILE = multisense.edc
 @@ -64,7 +64,7 @@

  files_DATA += $(EDJS)

 -pkglib_PROGRAMS = \
 +examples_PROGRAMS = \
        edje-basic \
        edje-swallow \
        edje-text \

 Modified: trunk/eet/src/examples/Makefile.am
 ===
 --- trunk/eet/src/examples/Makefile.am  2011-12-28 12:54:59 UTC (rev 66598)
 +++ trunk/eet/src/examples/Makefile.am  2011-12-28 14:13:30 UTC (rev 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

  if BUILD_EXAMPLES
  AM_CPPFLAGS = \
 @@ -8,7 +8,7 @@
  -I$(top_srcdir)/src/lib \
  @EINA_CFLAGS@

 -pkglib_PROGRAMS = eet_basic eet_file eet_data_simple eet_data_nested 
 eet_data_file_descriptor_01 eet_data_file_descriptor_02 
 eet_data_cipher_decipher
 +examples_PROGRAMS = eet_basic eet_file eet_data_simple eet_data_nested 
 eet_data_file_descriptor_01 eet_data_file_descriptor_02 
 eet_data_cipher_decipher

  eet_basic_SOURCES = eet-basic.c
  eet_basic_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@

 Modified: trunk/eina/src/examples/Makefile.am
 ===
 --- trunk/eina/src/examples/Makefile.am 2011-12-28 12:54:59 UTC (rev 66598)
 +++ trunk/eina/src/examples/Makefile.am 2011-12-28 14:13:30 UTC (rev 66599)
 @@ -1,6 +1,6 @@
  MAINTAINERCLEANFILES = Makefile.in

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples

  AM_CPPFLAGS = \
  -I. \
 @@ -39,7 +39,7 @@
        eina_strbuf_01.c \
        eina_tiler_01.c

 -pkglib_PROGRAMS =
 +examples_PROGRAMS =

  if EFL_INSTALL_EXAMPLES
  filesdir = $(datadir)/$(PACKAGE)/examples
 @@ -47,7 +47,7 @@
  endif

  if EFL_BUILD_EXAMPLES
 -pkglib_PROGRAMS += \
 +examples_PROGRAMS += \
        eina_accessor_01 \
        eina_array_01 \
        eina_array_02 \
 @@ -77,7 +77,7 @@

  if BUILD_TILER_EXAMPLE
  AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
 -pkglib_PROGRAMS += eina_tiler_01
 +examples_PROGRAMS += eina_tiler_01
  eina_tiler_01_LDADD = $(top_builddir)/src/lib/libeina.la @ECORE_EVAS_LIBS@
  endif


 Modified: trunk/elementary/src/examples/Makefile.am
 ===
 --- trunk/elementary/src/examples/Makefile.am   2011-12-28 12:54:59 UTC (rev 
 66598)
 +++ trunk/elementary/src/examples/Makefile.am   2011-12-28 14:13:30 UTC (rev 
 66599)
 @@ -2,7 +2,7 @@

  .PHONY: screenshots

 -pkglibdir = $(datadir)/$(PACKAGE)/examples
 +examplesdir = $(datadir)/$(PACKAGE)/examples
  filesdir = $(datadir)/$(PACKAGE)/examples
  files_DATA =

 @@ -124,7 +124,7 @@
         efl_thread_5.c \
         efl_thread_6.c

 -pkglib_PROGRAMS =
 +examples_PROGRAMS =

  .edc.edj:
        $(EDJE_CC) $(EDJE_FLAGS) $ $@
 @@ 

Re: [E-devel] porting emotion to windows

2011-12-28 Thread Mohammed Azharudin
Thanks.

I am also looking into this. Seems like a lot of change is required.

Thanks for the pointers. Very helpful.

Regards
Azhar




On Wed, Dec 28, 2011 at 10:21 PM, Iván Briano (Sachiel)
sachi...@gmail.comwrote:

 2011/12/28 Mohammed Azharudin az...@emo2.com:
  Check this patch:
 
  Now I don't get the  EMOTION_WEBCAM_UPDATE error and I can keep EAPI too.
 
 
 ///
  # This patch file was generated by NetBeans IDE
  # It uses platform neutral UTF-8 encoding and \n newlines.
  --- H:\Documents and Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
  +++
 H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
  @@ -16,8 +16,9 @@
 
   #include Eet.h
 
  -EAPI int EMOTION_WEBCAM_UPDATE = 0;
  -
  +#ifdef EMOTION_WEBCAM_UPDATE
  +EAPI EMOTION_WEBCAM_UPDATE = 0;
  +#endif
   struct ext_match_s
   {
 unsigned int length;
  @@ -329,7 +330,7 @@
   }
 
   #ifdef EMOTION_HAVE_EEZE
  -   EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
  +   EAPI EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
 
 eeze_init();
 
 
 /
 

 That doesn't look right and it only builds because
 you don't have EEZE and EMOTION_WEBCAM_UPDATE
 never gets compiled. I'll see if I can get everything to build
 and home and work out this issues, but it looks like Emotion
 will need a lot of work to build on Windows.


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread The Rasterman
On Wed, 28 Dec 2011 19:30:59 +0530 Mohammed Azharudin az...@emo2.com said:

 Hello All,
 
 I am currently working on porting emotion to Windows. I would like to get

WO... *gasp*... WOW... well then... ummm cool! this
definitely was not expected! :)

 involved and contribute back to the project. So have decided to start with
 emotion port to Windows.

absolutely - if this actually interests you and is useful to you and brings
benefits to you - then you're the right person to do it. :)

 Has anyone worked on this before? Any advice?

not that i have ever heard of. :)

 I am assuming that work for porting emotion to windows is not completed. I
 tried installing emotion in MingW and it is configuring but not compiling.
 
 note:configure output is attached
 
 Gives me the following error:
 
 make  all-recursive
 make[1]: Entering directory `/home/emo2/emotion-0.2.0.65643'
 Making all in src
 make[2]: Entering directory `/home/emo2/emotion-0.2.0.65643/src'
 Making all in lib
 make[3]: Entering directory `/home/emo2/emotion-0.2.0.65643/src/lib'
   CC emotion_smart.lo
   CC emotion_main.lo
 emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition is
 mark
 ed dllimport
 emotion_main.c:103:1: warning: 'emotion_object_extension_may_play_fast_get'
 alre
 ady declared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
 already d
 eclared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:305:1: warning: 'emotion_init' already declared with
 dllexport at
 tribute: dllimport ignored [-Wattributes]
 emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
 dllexpor
 t attribute: dllimport ignored [-Wattributes]
 emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
 dllex
 port attribute: dllimport ignored [-Wattributes]
 emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
 with d
 llexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 make[3]: *** [emotion_main.lo] Error 1
 make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
 make: *** [all] Error 2

looks like some EAPI stuff is messed up somewhere... either mis-defined in the
wrong spot or missing entirely.


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Edje bugs?

2011-12-28 Thread Youness Alaoui
Hi,

I'm trying to develop a small GUI using edje, and I've run into a few
problems already... it seems that the 'clip_to' keyword screws up some
stuff.
Unless I'm understanding this wrong, the clip_to only means do not draw
anything that's outside of this area.. but if you do a clip_to on a TEXT
or IMAGE and the clipping is a rect, it seems to actually override the
other part, and apply it as a mask.. I'm not sure I can explain this
properly so here's a test :
http://dl.dropbox.com/u/22642664/edje_clip_to_bug.edc
http://dl.dropbox.com/u/22642664/gnome-run.png (needed file)

and here's a screenshot of the result (this is of course with latest SVN) :
without clip_to :
http://dl.dropbox.com/u/22642664/edje_clip_to_bug1.png
as expected, we have a red background with the image on top

with clip_to :
http://dl.dropbox.com/u/22642664/edje_clip_to_bug2.png
The background is now black and the image seems to have been xor-ed with
the red...


Another bug is apparently with the 'aspect' attribute of an IMAGE type
part. If you set the aspect attribute, then the part will forget about its
real size. More precisely, if I have an image in a group, and I create in
another group a part of type GROUP and embed that group in it, then the
image will overflow from its part.
Hard to explain, so here's a sample code :
http://dl.dropbox.com/u/22642664/edje_aspect_bug.edc

Here's the result of the test without aspect: 1.0 1.0;
http://dl.dropbox.com/u/22642664/edje_aspect_bug1.png
And here it is again when you enable the aspect keyword :
http://dl.dropbox.com/u/22642664/edje_aspect_bug2.png

All I want basically is to have the image inside its group but with the
proper aspect ratio. Note that adding 'to: bg;' in the relative positions
doesn't seem to change anything, once aspect keyword is there, it just
seems to take its size/position relative to the full window. I haven't
tried without this GROUP part, but it might be reproducable just by doing a
relative to keyword.

Thanks for looking into this.

p.s: Anyone knows how to use lua to get a part's object? all I saw in the
doc is edje.edje() to create a new edje object.. but what if I want to
write a script to get an existing part (like a text part) and modify it in
lua? or in embryo how to change a TEXT part's text...

Thanks,
KaKaRoTo
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] porting emotion to windows

2011-12-28 Thread Vincent Torri
On Thu, Dec 29, 2011 at 4:26 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Wed, 28 Dec 2011 19:30:59 +0530 Mohammed Azharudin az...@emo2.com said:

 Hello All,

 I am currently working on porting emotion to Windows. I would like to get

 WO... *gasp*... WOW... well then... ummm cool! this
 definitely was not expected! :)

 involved and contribute back to the project. So have decided to start with
 emotion port to Windows.

 absolutely - if this actually interests you and is useful to you and brings
 benefits to you - then you're the right person to do it. :)

 Has anyone worked on this before? Any advice?

 not that i have ever heard of. :)

i did. Emotion with the gstreamer backend used to work. But i didn't
try it since the last cedric's changes.

What sould be nice would be to have a directshow backend. Mohamed, I
don't know if you know directshow, but if you can work on it, that
would be great.

Vincent


 I am assuming that work for porting emotion to windows is not completed. I
 tried installing emotion in MingW and it is configuring but not compiling.

 note:configure output is attached

 Gives me the following error:

 make  all-recursive
 make[1]: Entering directory `/home/emo2/emotion-0.2.0.65643'
 Making all in src
 make[2]: Entering directory `/home/emo2/emotion-0.2.0.65643/src'
 Making all in lib
 make[3]: Entering directory `/home/emo2/emotion-0.2.0.65643/src/lib'
   CC     emotion_smart.lo
   CC     emotion_main.lo
 emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition is
 mark
 ed dllimport
 emotion_main.c:103:1: warning: 'emotion_object_extension_may_play_fast_get'
 alre
 ady declared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
 already d
 eclared with dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:305:1: warning: 'emotion_init' already declared with
 dllexport at
 tribute: dllimport ignored [-Wattributes]
 emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
 dllexpor
 t attribute: dllimport ignored [-Wattributes]
 emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared with
 dllex
 port attribute: dllimport ignored [-Wattributes]
 emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
 with d
 llexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already declared
 with
  dllexport attribute: dllimport ignored [-Wattributes]
 make[3]: *** [emotion_main.lo] Error 1
 make[3]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
 make: *** [all] Error 2

 looks like some EAPI stuff is messed up somewhere... either mis-defined in the
 wrong spot or missing entirely.


 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)    ras...@rasterman.com


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje bugs?

2011-12-28 Thread David Seikel
On Thu, 29 Dec 2011 00:37:35 -0500 Youness Alaoui
kakar...@kakaroto.homelinux.net wrote:

 p.s: Anyone knows how to use lua to get a part's object? all I saw in
 the doc is edje.edje() to create a new edje object.. but what if I
 want to write a script to get an existing part (like a text part) and
 modify it in lua?

That sort of thing was vetoed by raster, though I had a design and was
ready to start coding it.  Edje Lua is supposed to be entirely
sandboxed, not being allowed to mess with external things.  Not being
allowed to use external image files, not being allowed to do stuff to
edje parts it did not create itself, etc.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch][elm_map] Smooth stepping of wheel pinch gesture

2011-12-28 Thread Bluezery
Hi,

When elm_map doing zooming by using wheel gesture, scroller is resized
if it exceeds certain limit.
But current limit value is 2.0  1.0, actually those should be below
2.0 and above 1.0.
The reason is that resizing means exactly 2.0 or 1.0. So if it is
above 1.99x,  it can be 2.0 and can be resized.
In addition, pinch.level  pinch.diff values should not be 1.0 or 2.0
for more accuracy. It should be half of previous pinch level or two
times of that.

Please review this.

-- 
BRs,
Kim.
Index: src/lib/elm_map.c
===
--- src/lib/elm_map.c	(리비전 66618)
+++ src/lib/elm_map.c	(작업 사본)
@@ -1658,20 +1658,20 @@
 wd-pinch.cx = x + ((double)w * 0.5);
 wd-pinch.cy = y + ((double)h * 0.5);
 
-if (wd-pinch.level  2.0 || wd-pinch.level  1.0)
+if (wd-pinch.level  1.99 || wd-pinch.level  1.01)
   {
  wd-wheel_diff = 0;
- if (wd-pinch.level  2.0)
+ if (wd-pinch.level  1.99)
{
   zoom_diff = 1;
-  wd-pinch.diff = 1.0;
-  wd-pinch.level = 1.0;
+  wd-pinch.diff = wd-pinch.level / 2.0;
+  wd-pinch.level = wd-pinch.level / 2.0;
}
- else if (wd-pinch.level  1.0)
+ else if (wd-pinch.level  1.01)
{
   zoom_diff = -1;
-  wd-pinch.diff = 2.0;
-  wd-pinch.level = 2.0;
+  wd-pinch.diff = wd-pinch.level * 2.0;
+  wd-pinch.level = wd-pinch.level * 2.0;
}
 
  Elm_Map_Zoom_Mode temp;
@@ -2839,6 +2839,8 @@
elm_smart_scroller_freeze_set(wd-scr, 1);
_scr_drag_start(wd-obj, NULL, NULL);
 
+   wd-pinch.diff += 0.001;
+
return EVAS_EVENT_FLAG_NONE;
 }
 
@@ -2875,19 +2877,19 @@
 wd-pinch.cx = x + ((double)w * 0.5);
 wd-pinch.cy = y + ((double)h * 0.5);
 
-if (wd-pinch.level  2.0 || wd-pinch.level  1.0)
+if (wd-pinch.level  1.999 || wd-pinch.level  1.001)
   {
- if (wd-pinch.level  2.0)
+ if (wd-pinch.level  1.999)
{
   zoom_diff = 1;
-  wd-pinch.diff = 1.0;
-  wd-pinch.level = 1.0;
+  wd-pinch.diff = wd-pinch.level / 2.0;
+  wd-pinch.level = wd-pinch.level / 2.0;
}
- else if (wd-pinch.level  1.0)
+ else if (wd-pinch.level  1.001)
{
   zoom_diff = -1;
-  wd-pinch.diff = 2.0;
-  wd-pinch.level = 2.0;
+  wd-pinch.diff = wd-pinch.level * 2.0;
+  wd-pinch.level = wd-pinch.level * 2.0;
}
  Elm_Map_Zoom_Mode temp;
  elm_gesture_layer_cb_set(wd-ges, ELM_GESTURE_ZOOM, ELM_GESTURE_STATE_MOVE, NULL, wd);  // ei-zoom is refreshed
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel