[E-devel] Evas merge: WIP

2012-11-03 Thread Vincent Torri
hey

i'm still merging evas. It remains mainly configure.ac, which will
take time, so please do not commit in the evas repo until i have
finished the merge.

thanks

Vincent

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Compiling recent E17 SVN

2012-11-03 Thread Andreas Volz
Hello,

after several week I synced E17 SVN and tried to compile with
easy_e17.sh as always:

configure: error: Package requirements (eo) were not met:

No package 'eo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables EO_CFLAGS
and EO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Seems there's a new package efl in trunk. I didn't read announcement
about that structure change. When did it happen and was there an
announcement? I think as many people use easy_e17.sh to cyclic compile
e17 it should be announced. Maybe I missed it.

Is there a new SVN compile instruction on the website that I could
follow without looking deeper into efl and see what are the
dependencies?

regards
Andreas

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

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Vincent Torri
On Sat, Nov 3, 2012 at 10:50 AM, Andreas Volz li...@brachttal.net wrote:
 Hello,

 after several week I synced E17 SVN and tried to compile with
 easy_e17.sh as always:

 configure: error: Package requirements (eo) were not met:

 No package 'eo' found

eo is in efl/. Now, you have to compile efl/ which contains eina, eo,
eet and embryo. The maintainer of easy_e17 should update his script

Vincent


 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables EO_CFLAGS
 and EO_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.

 Seems there's a new package efl in trunk. I didn't read announcement
 about that structure change. When did it happen and was there an
 announcement? I think as many people use easy_e17.sh to cyclic compile
 e17 it should be announced. Maybe I missed it.

 Is there a new SVN compile instruction on the website that I could
 follow without looking deeper into efl and see what are the
 dependencies?

 regards
 Andreas

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

 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Thomas Sachau
Andreas Volz schrieb:
 Hello,
 
 after several week I synced E17 SVN and tried to compile with
 easy_e17.sh as always:
 
 configure: error: Package requirements (eo) were not met:
 
 No package 'eo' found
 
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables EO_CFLAGS
 and EO_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 Seems there's a new package efl in trunk. I didn't read announcement
 about that structure change. When did it happen and was there an
 announcement? I think as many people use easy_e17.sh to cyclic compile
 e17 it should be announced. Maybe I missed it.
 
 Is there a new SVN compile instruction on the website that I could
 follow without looking deeper into efl and see what are the
 dependencies?
 
 regards
   Andreas
 

Update your copy of easy_e17.sh (which you should always do, before you
do even start (re)compiling anything from efl, then you should have a
version, that includes the in your case missing eobj lib. If that is not
the case, install eobj and go on.

-- 

Thomas Sachau
Gentoo Linux Developer



signature.asc
Description: OpenPGP digital signature
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Andreas Volz
Am Sat, 03 Nov 2012 11:10:17 +0100 schrieb Thomas Sachau:

 Andreas Volz schrieb:
  Hello,
  
  after several week I synced E17 SVN and tried to compile with
  easy_e17.sh as always:
  
  configure: error: Package requirements (eo) were not met:
  
  No package 'eo' found
  
  Consider adjusting the PKG_CONFIG_PATH environment variable if you
  installed software in a non-standard prefix.
  
  Alternatively, you may set the environment variables EO_CFLAGS
  and EO_LIBS to avoid the need to call pkg-config.
  See the pkg-config man page for more details.
  
  Seems there's a new package efl in trunk. I didn't read announcement
  about that structure change. When did it happen and was there an
  announcement? I think as many people use easy_e17.sh to cyclic
  compile e17 it should be announced. Maybe I missed it.
  
  Is there a new SVN compile instruction on the website that I could
  follow without looking deeper into efl and see what are the
  dependencies?
  
  regards
  Andreas
  
 
 Update your copy of easy_e17.sh (which you should always do, before
 you do even start (re)compiling anything from efl, then you should
 have a version, that includes the in your case missing eobj lib. If
 that is not the case, install eobj and go on.

./easy_e17.sh -v
...
-- Check script version 
- local version .. 1.4.0
- downloading script . ok
- remote version . 1.4.0

- update available ... no


So it seems easy_e17.sh is not working with latest svn.

I looked in PROTO/eobj to find out what it does. But there's no README and it's
not obviously what it does. Could anyone tell it or maybe add a single line to
README that explains the content?

Andreas

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

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Andreas Volz
Am Sat, 3 Nov 2012 11:09:13 +0100 schrieb Vincent Torri:

 On Sat, Nov 3, 2012 at 10:50 AM, Andreas Volz li...@brachttal.net
 wrote:
  Hello,
 
  after several week I synced E17 SVN and tried to compile with
  easy_e17.sh as always:
 
  configure: error: Package requirements (eo) were not met:
 
  No package 'eo' found
 
 eo is in efl/. Now, you have to compile efl/ which contains eina, eo,
 eet and embryo. The maintainer of easy_e17 should update his script

However, I could do it local.

But I don't understand it. eina, eo, eet and embryo is still existing
direct in trunk. So what's the difference? Is the old one deprecated?
Than one should move them to OLD. Are both sources in sync? Isn't there
any official announcement from the one who changed the structure?

regards
Andreas

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

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Vincent Torri
On Sat, Nov 3, 2012 at 12:27 PM, Andreas Volz li...@brachttal.net wrote:
 Am Sat, 3 Nov 2012 11:09:13 +0100 schrieb Vincent Torri:

 On Sat, Nov 3, 2012 at 10:50 AM, Andreas Volz li...@brachttal.net
 wrote:
  Hello,
 
  after several week I synced E17 SVN and tried to compile with
  easy_e17.sh as always:
 
  configure: error: Package requirements (eo) were not met:
 
  No package 'eo' found

 eo is in efl/. Now, you have to compile efl/ which contains eina, eo,
 eet and embryo. The maintainer of easy_e17 should update his script

 However, I could do it local.

 But I don't understand it. eina, eo, eet and embryo is still existing
 direct in trunk. So what's the difference? Is the old one deprecated?
 Than one should move them to OLD. Are both sources in sync? Isn't there
 any official announcement from the one who changed the structure?

the merge of the core EFL into a single tree has been discussed
several times in the mailing list. raster wanted it.

iirc, until the merge is complete, the versions of the EFL outside and
inside efl/ are the same and will co-exist. They will be removed when
the merge is complete.

Vincent

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e] Temperature module

2012-11-03 Thread Igor Murzov
On Fri, 02 Nov 2012 17:22:38 +0100
rustyBSD rusty...@gmx.fr wrote:

 Hi,
 I don't really know sensors on linux, but it seems
 that there is a mistake in the temperature module.

 -/sys/class/thermal/thermal/%s/temp, sensor_name);
 +/sys/class/thermal/%s/temp, sensor_name);

I don't know why, but after recompiling E with your patch,
temperature gadget shows N/A. But i still think that the 
patch is correct. On my laptop temperature can be read from
/sys/class/thermal/thermal_zone0/temp and there is no
/sys/class/thermal/thermal/ at all, so there is probably
some other bug in the code.


-- Igor

 Here are two patches: the first is for formatting
 (it was a shame),the second for the fix.
 
 thanks

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread David Seikel
On Sat, 3 Nov 2012 12:22:31 +0100 Andreas Volz li...@brachttal.net
wrote:

 Am Sat, 03 Nov 2012 11:10:17 +0100 schrieb Thomas Sachau:
 
  Andreas Volz schrieb:
   Hello,
   
   after several week I synced E17 SVN and tried to compile with
   easy_e17.sh as always:
   
   configure: error: Package requirements (eo) were not met:
   
   No package 'eo' found
   
   Consider adjusting the PKG_CONFIG_PATH environment variable if you
   installed software in a non-standard prefix.
   
   Alternatively, you may set the environment variables EO_CFLAGS
   and EO_LIBS to avoid the need to call pkg-config.
   See the pkg-config man page for more details.
   
   Seems there's a new package efl in trunk. I didn't read
   announcement about that structure change. When did it happen and
   was there an announcement? I think as many people use easy_e17.sh
   to cyclic compile e17 it should be announced. Maybe I missed it.
   
   Is there a new SVN compile instruction on the website that I could
   follow without looking deeper into efl and see what are the
   dependencies?
   
   regards
 Andreas
   
  
  Update your copy of easy_e17.sh (which you should always do, before
  you do even start (re)compiling anything from efl, then you should
  have a version, that includes the in your case missing eobj lib. If
  that is not the case, install eobj and go on.
 
 ./easy_e17.sh -v
 ...
 -- Check script version
 
 - local version .. 1.4.0
 - downloading script . ok
 - remote version . 1.4.0
 
 - update available ... no
 
 
 So it seems easy_e17.sh is not working with latest svn.
 
 I looked in PROTO/eobj to find out what it does. But there's no
 README and it's not obviously what it does. Could anyone tell it or
 maybe add a single line to README that explains the content?

Near the top of easy_e17.sh is the list of packages it will try to
install.  You could just add eobj to that list -

efl_basic=eina eobj eet evas_generic_loaders evas ecore eio e_dbus
edbus efreet embryo edje

is my version of that line.  Note it's a single line, the email system
just wrapped it to two.  Have a look at the help, I remember there was
a way to add packages on the command line to.

Eobj is an object oriented system that EFL is in the process of moving
to use for as the basic object oriented system.

-- 
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
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread P Purkayastha
On 11/03/2012 07:22 PM, Andreas Volz wrote:
 Am Sat, 03 Nov 2012 11:10:17 +0100 schrieb Thomas Sachau:

 Andreas Volz schrieb:
 Hello,

 after several week I synced E17 SVN and tried to compile with
 easy_e17.sh as always:

 configure: error: Package requirements (eo) were not met:

 No package 'eo' found

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables EO_CFLAGS
 and EO_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.

 Seems there's a new package efl in trunk. I didn't read announcement
 about that structure change. When did it happen and was there an
 announcement? I think as many people use easy_e17.sh to cyclic
 compile e17 it should be announced. Maybe I missed it.

 Is there a new SVN compile instruction on the website that I could
 follow without looking deeper into efl and see what are the
 dependencies?

 regards
 Andreas


 Update your copy of easy_e17.sh (which you should always do, before
 you do even start (re)compiling anything from efl, then you should
 have a version, that includes the in your case missing eobj lib. If
 that is not the case, install eobj and go on.

 ./easy_e17.sh -v
 ...
 -- Check script version 
 
 - local version .. 1.4.0
 - downloading script . ok
 - remote version . 1.4.0

 - update available ... no
 

 So it seems easy_e17.sh is not working with latest svn.

 I looked in PROTO/eobj to find out what it does. But there's no README and 
 it's
 not obviously what it does. Could anyone tell it or maybe add a single line to
 README that explains the content?

 Andreas


Use easy_e17 from svn if you are using morlenxus's version:
http://omicron.homeip.net/svn/easy_e17



--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Andreas Volz
Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:

 On 11/03/2012 07:22 PM, Andreas Volz wrote:
  Am Sat, 03 Nov 2012 11:10:17 +0100 schrieb Thomas Sachau:
 
  Andreas Volz schrieb:
  Hello,
 
  after several week I synced E17 SVN and tried to compile with
  easy_e17.sh as always:
 
  configure: error: Package requirements (eo) were not met:
 
  No package 'eo' found
 
  Consider adjusting the PKG_CONFIG_PATH environment variable if you
  installed software in a non-standard prefix.
 
  Alternatively, you may set the environment variables EO_CFLAGS
  and EO_LIBS to avoid the need to call pkg-config.
  See the pkg-config man page for more details.
 
  Seems there's a new package efl in trunk. I didn't read
  announcement about that structure change. When did it happen and
  was there an announcement? I think as many people use easy_e17.sh
  to cyclic compile e17 it should be announced. Maybe I missed it.
 
  Is there a new SVN compile instruction on the website that I could
  follow without looking deeper into efl and see what are the
  dependencies?
 
  regards
Andreas
 
 
  Update your copy of easy_e17.sh (which you should always do, before
  you do even start (re)compiling anything from efl, then you should
  have a version, that includes the in your case missing eobj lib. If
  that is not the case, install eobj and go on.
 
  ./easy_e17.sh -v
  ...
  -- Check script version
  
  - local version .. 1.4.0
  - downloading script . ok
  - remote version . 1.4.0
 
  - update available ... no
  
 
  So it seems easy_e17.sh is not working with latest svn.
 
  I looked in PROTO/eobj to find out what it does. But there's no
  README and it's not obviously what it does. Could anyone tell it or
  maybe add a single line to README that explains the content?
 
  Andreas
 
 
 Use easy_e17 from svn if you are using morlenxus's version:
 http://omicron.homeip.net/svn/easy_e17

Thanks! I think this version should be linked to the website. There's
an old one linked...

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

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: hermet trunk/evas/src/lib/canvas

2012-11-03 Thread Vincent Torri
no

i've said to post pone evas commits until I merge evas :(

Vincent


On Sat, Nov 3, 2012 at 2:20 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 evas/object - no need to update events when source is invisible



 Author:   hermet
 Date: 2012-11-03 06:20:01 -0700 (Sat, 03 Nov 2012)
 New Revision: 78881
 Trac: http://trac.enlightenment.org/e/changeset/78881

 Modified:
   trunk/evas/src/lib/canvas/evas_object_main.c

 Modified: trunk/evas/src/lib/canvas/evas_object_main.c
 ===
 --- trunk/evas/src/lib/canvas/evas_object_main.c2012-11-03 09:43:56 
 UTC (rev 78880)
 +++ trunk/evas/src/lib/canvas/evas_object_main.c2012-11-03 13:20:01 
 UTC (rev 78881)
 @@ -814,7 +814,7 @@
  pass = evas_event_passes_through(eo_obj, obj);
  freeze = evas_event_freezes_through(eo_obj, obj);
  source_invisible = evas_object_is_source_invisible(eo_obj, obj);
 -if ((!pass)  (!freeze))
 +if ((!pass)  (!freeze)  (!source_invisible))
was = evas_object_is_in_output_rect(eo_obj, obj,
obj-layer-evas-pointer.x,
obj-layer-evas-pointer.y, 
 1, 1);


 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: hermet trunk/evas/src/lib/canvas

2012-11-03 Thread ChunEon Park
I forgot your mail. sorry reverted all.




-Regards, Hermet-

-Original Message-
From: Vincent Torrilt;vincent.to...@gmail.comgt; 
To: lt;enlightenment-devel@lists.sourceforge.netgt;; 
Cc: 
Sent: 2012-11-03 (토) 22:21:20
Subject: Re: [E-devel] E SVN: hermet trunk/evas/src/lib/canvas

no

i've said to post pone evas commits until I merge evas :(

Vincent


On Sat, Nov 3, 2012 at 2:20 PM, Enlightenment SVN
lt;no-replygt;@enlightenment.orggt; wrote:
gt; Log:
gt; evas/object - no need to update events when source is invisible
gt;
gt;
gt;
gt; Author:   hermet
gt; Date: 2012-11-03 06:20:01 -0700 (Sat, 03 Nov 2012)
gt; New Revision: 78881
gt; Trac: http://trac.enlightenment.org/e/changeset/78881
gt;
gt; Modified:
gt;   trunk/evas/src/lib/canvas/evas_object_main.c
gt;
gt; Modified: trunk/evas/src/lib/canvas/evas_object_main.c
gt; ===
gt; --- trunk/evas/src/lib/canvas/evas_object_main.c2012-11-03 
09:43:56 UTC (rev 78880)
gt; +++ trunk/evas/src/lib/canvas/evas_object_main.c2012-11-03 
13:20:01 UTC (rev 78881)
gt; @@ -814,7 +814,7 @@
gt;  pass = evas_event_passes_through(eo_obj, obj);
gt;  freeze = evas_event_freezes_through(eo_obj, obj);
gt;  source_invisible = evas_object_is_source_invisible(eo_obj, obj);
gt; -if ((!pass) amp;amp; (!freeze))
gt; +if ((!pass) amp;amp; (!freeze) amp;amp; (!source_invisible))
gt;was = evas_object_is_in_output_rect(eo_obj, obj,
gt;
obj-gt;layer-gt;evas-gt;pointer.x,
gt;
obj-gt;layer-gt;evas-gt;pointer.y, 1, 1);
gt;
gt;
gt; 
--
gt; LogMeIn Central: Instant, anywhere, Remote PC access and management.
gt; Stay in control, update software, and manage PCs from one command center
gt; Diagnose problems and improve visibility into emerging IT issues
gt; Automate, monitor and manage. Do more in less time with Central
gt; http://p.sf.net/sfu/logmein12331_d2d
gt; ___
gt; enlightenment-svn mailing list
gt; enlightenment-...@lists.sourceforge.net
gt; https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread P Purkayastha
On 11/03/2012 09:16 PM, Andreas Volz wrote:
 Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:
 Use easy_e17 from svn if you are using morlenxus's version:
 http://omicron.homeip.net/svn/easy_e17

 Thanks! I think this version should be linked to the website. There's
 an old one linked...


I have no idea what is on the website. I simply (try to) keep my own 
version of easy_e17 (github.com/ppurka/easy_e17)up to date, and so I 
need to sync to this svn from time to time. :)


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib

2012-11-03 Thread Gustavo Sverzut Barbieri
Hi Daniel,

The move intercept should not be required as elm_win is a smart object and
it implements the move method, which is a clear way to do it.

Could you provide a sample code that breaks? Likely your friend overwrote
move() but does not call parent's method (like super)?

Regards,
-- Gustavo



On Fri, Nov 2, 2012 at 7:06 AM, Daniel Juyung Seo seojuyu...@gmail.comwrote:

 On Thu, Jul 19, 2012 at 1:35 PM, Enlightenment SVN 
 no-re...@enlightenment.org wrote:

  Log:
  elm_win: support trapping ecore_evas calls (aka: e17 support)
 
Allows setting a trap in elm_win that intercepts calls to
ecore_evas. If there is a trap and the trap returns EINA_FALSE, then
the corresponding call is NOT issued. If it does not exist or returns
EINA_TRUE, then the call is executed.
 
Enlightenment window manager will set these traps and will call
e_border directly, allowing E17 to use Elementary! A major feature
given e_widgets painful usage.
 
This should also help integrating into Wayland or even debug.
 
 
 
 
 
  Author:   barbieri
  Date: 2012-07-18 21:35:50 -0700 (Wed, 18 Jul 2012)
  New Revision: 74156
  Trac: http://trac.enlightenment.org/e/changeset/74156
 
  Modified:
trunk/elementary/src/lib/elm_win.c trunk/elementary/src/lib/elm_win.h
 
  Modified: trunk/elementary/src/lib/elm_win.c
  ===
  --- trunk/elementary/src/lib/elm_win.c  2012-07-19 03:25:25 UTC (rev
 74155)
  +++ trunk/elementary/src/lib/elm_win.c  2012-07-19 04:35:50 UTC (rev
 74156)
  @@ -3,6 +3,18 @@
 
   static const char WIN_SMART_NAME[] = elm_win;
 
  +static const Elm_Win_Trap *trap = NULL;
  +
  +#define TRAP(sd, name, ...)
 \
  +  do
  \
  +{
 \
  +   if ((!trap) || (!trap-name) ||
  \
  +   ((trap-name) 
 \
  +(trap-name(sd-trap_data, sd-base.obj, ## __VA_ARGS__
 \
  + ecore_evas_##name(sd-ee, ##__VA_ARGS__);
  \
  +}
 \
  +  while (0)
  +
   #define ELM_WIN_DATA_GET(o, sd) \
 Elm_Win_Smart_Data * sd = evas_object_smart_data_get(o)
 
  @@ -113,6 +125,8 @@
  const char  *icon_name;
  const char  *role;
 
  +   void *trap_data;
  +
  double   aspect;
  int  size_base_w, size_base_h;
  int  size_step_w, size_step_h;
  @@ -356,20 +370,80 @@
  sd-shot.timer = ecore_timer_add(_shot_delay_get(sd), _shot_delay,
 sd);
   }
 
  +/* elm-win specific associate, does the trap while
  ecore_evas_object_associate()
  + * does not.
  + */
  +static Elm_Win_Smart_Data *
  +_elm_win_associate_get(const Ecore_Evas *ee)
  +{
  +   return ecore_evas_data_get(ee, elm_win);
  +}
  +
  +/* Interceptors Callbacks */
   static void
  +_elm_win_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__)
  +{
  +   Elm_Win_Smart_Data *sd = data;
  +   TRAP(sd, raise);
  +}
  +
  +static void
  +_elm_win_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__)
  +{
  +   Elm_Win_Smart_Data *sd = data;
  +   TRAP(sd, lower);
  +}
  +
  +static void
  +_elm_win_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object
  *obj __UNUSED__, Evas_Object *above __UNUSED__)
  +{
  +   INF(TODO: %s, __FUNCTION__);
  +}
  +
  +static void
  +_elm_win_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object
  *obj __UNUSED__, Evas_Object *below __UNUSED__)
  +{
  +   INF(TODO: %s, __FUNCTION__);
  +}
  +
  +static void
  +_elm_win_obj_intercept_layer_set(void *data, Evas_Object *obj
 __UNUSED__,
  int l)
  +{
  +   Elm_Win_Smart_Data *sd = data;
  +   TRAP(sd, layer_set, l);
  +}
  +
  +/* Event Callbacks */
  +
  +static void
  +_elm_win_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__,
  Evas_Object *obj, void *event_info __UNUSED__)
  +{
  +   Elm_Win_Smart_Data *sd = data;
  +   Evas_Coord w, h;
  +
  +   evas_object_size_hint_min_get(obj, w, h);
  +   TRAP(sd, size_min_set, w, h);
  +
  +   evas_object_size_hint_max_get(obj, w, h);
  +   if (w  1) w = -1;
  +   if (h  1) h = -1;
  +   TRAP(sd, size_max_set, w, h);
  +}
  +/* end of elm-win specific associate */
  +
  +
  +static void
   _elm_win_move(Ecore_Evas *ee)
   {
  -   Evas_Object *obj = ecore_evas_object_associate_get(ee);
  +   Elm_Win_Smart_Data *sd = _elm_win_associate_get(ee);
  int x, y;
 
  -   if (!obj) return;
  +   EINA_SAFETY_ON_NULL_RETURN(sd);
 
  -   ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
  -
  ecore_evas_geometry_get(ee, x, y, NULL, NULL);
  sd-screen.x = x;
  sd-screen.y = y;
  -   evas_object_smart_callback_call(obj, SIG_MOVED, NULL);
  +   evas_object_smart_callback_call(ELM_WIDGET_DATA(sd)-obj, SIG_MOVED,
  NULL);
   }
 
   static void
  @@ -407,11 +481,9 @@
   static void
   _elm_win_resize(Ecore_Evas *ee)
   {
  -   Evas_Object *obj = ecore_evas_object_associate_get(ee);
  +   Elm_Win_Smart_Data *sd = _elm_win_associate_get(ee);
  +   EINA_SAFETY_ON_NULL_RETURN(sd);
 
  -   if (!obj) return;
  -   ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
  -
  if 

Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Gustavo Sverzut Barbieri
Hi Andreas,

Which distribution are you using? It would be nice to create a proper
method to package live (from svn) to it.

For gentoo we do have it, Tasn just committed one for Arch to SVN (which
I'm working on, to be re-submitted soon).

I'd love to have something for debian/ubuntu and suse/fedora. This way not
only you have the latest script, but properly packaged and no left-overs
from upgrades (dead modules that would not be uninstalled, etc).



On Sat, Nov 3, 2012 at 11:42 AM, P Purkayastha ppu...@gmail.com wrote:

 On 11/03/2012 09:16 PM, Andreas Volz wrote:
  Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:
  Use easy_e17 from svn if you are using morlenxus's version:
  http://omicron.homeip.net/svn/easy_e17
 
  Thanks! I think this version should be linked to the website. There's
  an old one linked...
 

 I have no idea what is on the website. I simply (try to) keep my own
 version of easy_e17 (github.com/ppurka/easy_e17)up to date, and so I
 need to sync to this svn from time to time. :)



 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Fix getting temperature from /sys/class/thermal/.

2012-11-03 Thread Igor Murzov
---
 src/modules/temperature/tempget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/temperature/tempget.c 
b/src/modules/temperature/tempget.c
index 3a1c346..ffbfb7f 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -343,7 +343,7 @@ init(void)
 break;
   case SENSOR_TYPE_LINUX_SYS:
 snprintf(path, sizeof(path),
- /sys/class/thermal/thermal/%s/temp, sensor_name);
+ /sys/class/thermal/%s/temp, sensor_name);
 sensor_path = strdup(path);
 break;
default:
@@ -508,6 +508,7 @@ check(void)
 fclose(f);
  temp = atoi(buf);
  temp /= 1000;
+ ret = 1;
  }
else
  goto error;
-- 
1.7.12.1


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Alex-P. Natsios
I do believe that for openSUSE the work Sleep_walker is doing is more
than sufficient.
Hannes Janetzek also provides a PPA for Ubuntu with binaries packaged
directly from the SVN.

I am not aware of anything for fedora but as far as Debian goes what
about the packaging/debian folder that has existed in SVN for a long
time now?

On Sat, Nov 3, 2012 at 3:48 PM, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 Hi Andreas,

 Which distribution are you using? It would be nice to create a proper
 method to package live (from svn) to it.

 For gentoo we do have it, Tasn just committed one for Arch to SVN (which
 I'm working on, to be re-submitted soon).

 I'd love to have something for debian/ubuntu and suse/fedora. This way not
 only you have the latest script, but properly packaged and no left-overs
 from upgrades (dead modules that would not be uninstalled, etc).



 On Sat, Nov 3, 2012 at 11:42 AM, P Purkayastha ppu...@gmail.com wrote:

 On 11/03/2012 09:16 PM, Andreas Volz wrote:
  Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:
  Use easy_e17 from svn if you are using morlenxus's version:
  http://omicron.homeip.net/svn/easy_e17
 
  Thanks! I think this version should be linked to the website. There's
  an old one linked...
 

 I have no idea what is on the website. I simply (try to) keep my own
 version of easy_e17 (github.com/ppurka/easy_e17)up to date, and so I
 need to sync to this svn from time to time. :)



 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202
 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Regards,

Alex-P. Natsios
(a.k.a Drakevr)

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Gustavo Sverzut Barbieri
No idea about those packaging, certainly they don't work as nobody updated
them in a while... even with the introduction of eo and single tree efl.

As for Sleep_Walker and Janetzek's PPA, they should be written somewhere.
Every time that Ubuntu and Suse guys ask where we have reliable packages,
we don't know for sure. That reminds me: are their packages reliable or it
may work once in every 3 months or so?


On Sat, Nov 3, 2012 at 12:14 PM, Alex-P. Natsios apnats...@gmail.comwrote:

 I do believe that for openSUSE the work Sleep_walker is doing is more
 than sufficient.
 Hannes Janetzek also provides a PPA for Ubuntu with binaries packaged
 directly from the SVN.

 I am not aware of anything for fedora but as far as Debian goes what
 about the packaging/debian folder that has existed in SVN for a long
 time now?

 On Sat, Nov 3, 2012 at 3:48 PM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:
  Hi Andreas,
 
  Which distribution are you using? It would be nice to create a proper
  method to package live (from svn) to it.
 
  For gentoo we do have it, Tasn just committed one for Arch to SVN (which
  I'm working on, to be re-submitted soon).
 
  I'd love to have something for debian/ubuntu and suse/fedora. This way
 not
  only you have the latest script, but properly packaged and no left-overs
  from upgrades (dead modules that would not be uninstalled, etc).
 
 
 
  On Sat, Nov 3, 2012 at 11:42 AM, P Purkayastha ppu...@gmail.com wrote:
 
  On 11/03/2012 09:16 PM, Andreas Volz wrote:
   Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:
   Use easy_e17 from svn if you are using morlenxus's version:
   http://omicron.homeip.net/svn/easy_e17
  
   Thanks! I think this version should be linked to the website. There's
   an old one linked...
  
 
  I have no idea what is on the website. I simply (try to) keep my own
  version of easy_e17 (github.com/ppurka/easy_e17)up to date, and so I
  need to sync to this svn from time to time. :)
 
 
 
 
 --
  LogMeIn Central: Instant, anywhere, Remote PC access and management.
  Stay in control, update software, and manage PCs from one command center
  Diagnose problems and improve visibility into emerging IT issues
  Automate, monitor and manage. Do more in less time with Central
  http://p.sf.net/sfu/logmein12331_d2d
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 
  --
  Gustavo Sverzut Barbieri
  http://profusion.mobi embedded systems
  --
  MSN: barbi...@gmail.com
  Skype: gsbarbieri
  Mobile: +55 (19) 9225-2202
 
 --
  LogMeIn Central: Instant, anywhere, Remote PC access and management.
  Stay in control, update software, and manage PCs from one command center
  Diagnose problems and improve visibility into emerging IT issues
  Automate, monitor and manage. Do more in less time with Central
  http://p.sf.net/sfu/logmein12331_d2d
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 Regards,

 Alex-P. Natsios
 (a.k.a Drakevr)


 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread P Purkayastha
On 11/03/2012 09:16 PM, Andreas Volz wrote:
 Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:
 Use easy_e17 from svn if you are using morlenxus's version:
 http://omicron.homeip.net/svn/easy_e17

 Thanks! I think this version should be linked to the website. There's
 an old one linked...

Oh, by the way, even this svn one is outdated. efreet won't compile 
without trunk/edbus, so you need to add that package before efreet.




--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Compiling recent E17 SVN

2012-11-03 Thread Alex-P. Natsios
Can't say for sure, haven't tried said PPA for a looong time.

Sleep_Walker's Nightly packages are supposed to be working well though
(some friends of mine with openSUSE use the repo as a source of E pkgs
for their system).

On Sat, Nov 3, 2012 at 4:22 PM, P Purkayastha ppu...@gmail.com wrote:
 On 11/03/2012 09:16 PM, Andreas Volz wrote:
 Am Sat, 03 Nov 2012 20:02:35 +0800 schrieb P Purkayastha:
 Use easy_e17 from svn if you are using morlenxus's version:
 http://omicron.homeip.net/svn/easy_e17

 Thanks! I think this version should be linked to the website. There's
 an old one linked...

 Oh, by the way, even this svn one is outdated. efreet won't compile
 without trunk/edbus, so you need to add that package before efreet.




 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Regards,

Alex-P. Natsios
(a.k.a Drakevr)

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: englebass IN trunk/efreet/src: bin lib

2012-11-03 Thread Sebastian Dransfeld
Good catch, much better solution. Will fix.

S.

Den 2. nov. 2012 kl. 23:23 skrev Gustavo Sverzut Barbieri 
barbi...@profusion.mobi:

 Hi Englebass,
 
 It would be nice to not rely on UnRegister (also bad name, Why not
 Unregister?), I'd get the sender bus name and watch for them (ie: :1.2),
 when they die we automatically do the UnRegister... then Register would
 need to keep a list of monitored bus names.
 
 Regards,
 -- Gustavo
 
 
 On Fri, Nov 2, 2012 at 6:12 PM, Enlightenment SVN 
 no-re...@enlightenment.org wrote:
 
 Log:
 efreet: track efreetd clients
 
 Author:   englebass
 Date: 2012-11-02 13:12:41 -0700 (Fri, 02 Nov 2012)
 New Revision: 78874
 Trac: http://trac.enlightenment.org/e/changeset/78874
 
 Modified:
  trunk/efreet/src/bin/efreetd.c trunk/efreet/src/bin/efreetd.h
 trunk/efreet/src/bin/efreetd_dbus.c trunk/efreet/src/lib/efreet_cache.c
 
 Modified: trunk/efreet/src/bin/efreetd.c
 ===
 --- trunk/efreet/src/bin/efreetd.c  2012-11-02 20:12:27 UTC (rev 78873)
 +++ trunk/efreet/src/bin/efreetd.c  2012-11-02 20:12:41 UTC (rev 78874)
 @@ -11,6 +11,12 @@
 
 int efreetd_log_dom = -1;
 
 +void
 +quit(void)
 +{
 +   ecore_main_loop_quit();
 +}
 +
 int
 main(void)
 {
 
 Modified: trunk/efreet/src/bin/efreetd.h
 ===
 --- trunk/efreet/src/bin/efreetd.h  2012-11-02 20:12:27 UTC (rev 78873)
 +++ trunk/efreet/src/bin/efreetd.h  2012-11-02 20:12:41 UTC (rev 78874)
 @@ -29,4 +29,6 @@
 #endif
 #define WRN(...) EINA_LOG_DOM_WARN(efreetd_log_dom, __VA_ARGS__)
 
 +void quit(void);
 +
 #endif
 
 Modified: trunk/efreet/src/bin/efreetd_dbus.c
 ===
 --- trunk/efreet/src/bin/efreetd_dbus.c 2012-11-02 20:12:27 UTC (rev 78873)
 +++ trunk/efreet/src/bin/efreetd_dbus.c 2012-11-02 20:12:41 UTC (rev 78874)
 @@ -2,6 +2,7 @@
 # include config.h
 #endif
 
 +#include Ecore.h
 #include EDBus.h
 
 #include efreetd.h
 @@ -21,17 +22,43 @@
 static EDBus_Connection *conn;
 static EDBus_Service_Interface *iface;
 
 +static Ecore_Timer *shutdown = NULL;
 +static int clients = 0;
 +
 +static Eina_Bool
 +do_shutdown(void *data __UNUSED__)
 +{
 +   quit();
 +   return ECORE_CALLBACK_CANCEL;
 +}
 +
 static EDBus_Message *
 -ping(const EDBus_Service_Interface *ifc __UNUSED__, const EDBus_Message
 *message)
 +do_register(const EDBus_Service_Interface *ifc __UNUSED__, const
 EDBus_Message *message)
 {
EDBus_Message *reply;
 
 +   clients++;
 +   if (shutdown) ecore_timer_del(shutdown);
 +   shutdown = NULL;
reply = edbus_message_method_return_new(message);
edbus_message_arguments_set(reply, b, cache_desktop_exists());
return reply;
 }
 
 static EDBus_Message *
 +do_unregister(const EDBus_Service_Interface *ifc __UNUSED__, const
 EDBus_Message *message __UNUSED__)
 +{
 +   clients--;
 +   if (clients = 0)
 + {
 +clients = 0;
 +if (shutdown) ecore_timer_del(shutdown);
 +shutdown = ecore_timer_add(10.0, do_shutdown, NULL);
 + }
 +   return NULL;
 +}
 +
 +static EDBus_Message *
 add_desktop_dirs(const EDBus_Service_Interface *ifc __UNUSED__, const
 EDBus_Message *message)
 {
EDBus_Message_Iter *array = NULL;
 @@ -105,12 +132,15 @@
 };
 
 static const EDBus_Method methods[] = {
 - /* TODO: Register / Unregister */
{
 -  Ping, NULL, EDBUS_ARGS({b, cache exists}),
 -  ping, 0
 +  Register, NULL, EDBUS_ARGS({b, cache exists}),
 +  do_register, 0
},
{
 +  UnRegister, NULL, NULL,
 +  do_unregister, 0
 +   },
 +   {
   AddDesktopDirs, EDBUS_ARGS({as, dirs}), NULL,
   add_desktop_dirs, EDBUS_METHOD_FLAG_NOREPLY
},
 @@ -130,7 +160,7 @@
 };
 
 static const EDBus_Service_Interface_Desc desc = {
 -   INTERFACE, methods, signals
 +   INTERFACE, methods, signals, NULL, NULL, NULL
 };
 
 static void
 
 Modified: trunk/efreet/src/lib/efreet_cache.c
 ===
 --- trunk/efreet/src/lib/efreet_cache.c 2012-11-02 20:12:27 UTC (rev 78873)
 +++ trunk/efreet/src/lib/efreet_cache.c 2012-11-02 20:12:41 UTC (rev 78874)
 @@ -93,7 +93,7 @@
 static Eina_Bool efreet_cache_check(Eet_File **ef, const char *path, int
 major);
 static void *efreet_cache_close(Eet_File *ef);
 
 -static void on_send_ping(void *data, const EDBus_Message *msg,
 EDBus_Pending *pending);
 +static void on_send_register(void *data, const EDBus_Message *msg,
 EDBus_Pending *pending);
 static void desktop_cache_update(void *context, const EDBus_Message *msg);
 static void icon_cache_update(void *context, const EDBus_Message *msg);
 
 @@ -134,7 +134,7 @@
 edbus_proxy_signal_handler_add(proxy, IconCacheUpdate,
 icon_cache_update, NULL);
 edbus_proxy_signal_handler_add(proxy, DesktopCacheUpdate,
 desktop_cache_update, NULL);
 
 -

Re: [E-devel] E SVN: englebass trunk/edbus/src/lib

2012-11-03 Thread Sebastian Dransfeld
Ubuntu 12.04

gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

efreet/src/bin grep ^CFLAGS Makefile
CFLAGS = -rdynamic -std=gnu99 -g -Wall -Wextra -Wpointer-arith 
-fvisibility=hidden -pipe -march=native -Wshadow

S.

On 11/02/2012 11:20 PM, Gustavo Sverzut Barbieri wrote:
 Hi englebass,

 which compiler version? which cflags? Shouldn't be a problem, but I agree
 with you... but it is good to know why it`s causing that for you.


 On Fri, Nov 2, 2012 at 6:12 PM, Enlightenment SVN 
 no-re...@enlightenment.org wrote:

 Log:
 edbus2: quiet warning (again)

Say what you want, but this creates quite a lot of warnings, and
warnings when including another header into a project is no good. I want
to just see my own warnings.

So as long as there is only two NULLs, please let them be there.

 Author:   englebass
 Date: 2012-11-02 13:12:27 -0700 (Fri, 02 Nov 2012)
 New Revision: 78873
 Trac: http://trac.enlightenment.org/e/changeset/78873

 Modified:
trunk/edbus/src/lib/edbus_service.h

 Modified: trunk/edbus/src/lib/edbus_service.h
 ===
 --- trunk/edbus/src/lib/edbus_service.h 2012-11-02 20:11:56 UTC (rev 78872)
 +++ trunk/edbus/src/lib/edbus_service.h 2012-11-02 20:12:27 UTC (rev 78873)
 @@ -24,7 +24,7 @@
* The signature will be ss and each string will have a tag name on
* introspect XML with the respective name.
*/
 -#define EDBUS_ARGS(args...) (const EDBus_Arg_Info[]){ args, { } }
 +#define EDBUS_ARGS(args...) (const EDBus_Arg_Info[]){ args, { NULL, NULL
 } }

   typedef struct _EDBus_Service_Interface EDBus_Service_Interface;
   typedef EDBus_Message * (*EDBus_Method_Cb)(const EDBus_Service_Interface
 *iface, const EDBus_Message *message);



 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn






--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: englebass IN trunk/efreet/src: bin lib

2012-11-03 Thread Sebastian Dransfeld
But it seems like there is no way to get watch events from edbus.

S.

On 11/03/2012 09:03 PM, Sebastian Dransfeld wrote:
 Good catch, much better solution. Will fix.

 S.

 Den 2. nov. 2012 kl. 23:23 skrev Gustavo Sverzut Barbieri 
 barbi...@profusion.mobi:

 Hi Englebass,

 It would be nice to not rely on UnRegister (also bad name, Why not
 Unregister?), I'd get the sender bus name and watch for them (ie: :1.2),
 when they die we automatically do the UnRegister... then Register would
 need to keep a list of monitored bus names.


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] git.enlightenment.org - missing repos

2012-11-03 Thread Daniel Juyung Seo
Hello, I am also a git repo user.
But git://git.enlightenment.org/git/e.git includes efl and edbus.
Can you try it again?
Or do you fetch each directories?

Daniel Juyung Seo (SeoZ)


On Sat, Nov 3, 2012 at 4:55 AM, Rafael Antognolli antogno...@gmail.comwrote:

 Hey guys, who takes care of this git?

 Could you please also add trunk/efl to it and, now that efreet depends
 on it too, trunk/edbus?

 I'm using it right now, and works perfectly! But I have to fetch these
 two specific repos from svn...

 Btw, how often it is synced?

 Regards,
 --
 Rafael Antognolli
 http://antognolli.org/


 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel