Re: [E-devel] entropy 20070715 fails to build

2007-07-16 Thread Vincent Torri


add evfs.pc.in and apply that evfs patch. Same for entropy, I can't test. 
So tell me if it compiles and runs fine (I guess entropy is a good test 
for evfs :) )


I think that the .spec file of evfs should be updated, but I don't touch 
that beast :)


Vincent

On Sun, 15 Jul 2007, Didier Casse wrote:


It looks for evfs now. But evfs and evfs-devel are installed in my box.

evfs-0.0.1-1.20070715cvs
evfs-devel-0.0.1-1.20070715cvs

-
configure: error: Package requirements (evfs = 0.0.1) were not met:

No package 'evfs' 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 EVFS_CFLAGS
and EVFS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

error: Bad exit status from /var/tmp/rpm-tmp.70125 (%build)
  Bad exit status from /var/tmp/rpm-tmp.70125 (%build)
aborting... entropy.spec did not compile!

-

Thanks for the reply Vincent.


--
With kind regards,
Didier.

Yum repository for Fedora Core
http://sps.nus.edu.sg/~didierbe



On 7/15/07, Vincent Torri [EMAIL PROTECTED] wrote:



Hey,

try the attached patch. If entropy compiles and works, I'll commit it (I
can't test entropy right now)

Vincent


On Sun, 15 Jul 2007, Didier Casse wrote:

 Hi all,

 Enlightenment is fine now. But entropy seems to be looking for ecore.
Log
 attached.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel





--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@

Name: evfs
Description: E Virtual File System
Requires: ecore 
Version: @VERSION@
Libs: -L${libdir} -levfs
Cflags: -I${includedir}/evfs

? evfs.diff
? evfs.pc.in
Index: Makefile.am
===
RCS file: /cvs/e/e17/apps/evfs/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- Makefile.am 5 Apr 2006 11:44:33 -   1.3
+++ Makefile.am 16 Jul 2007 06:33:34 -
@@ -24,8 +24,7 @@
 debian/libevfs0-plugin-tar.install \
 debian/rules \
 debian/changelog.in \
-debian/changelog 
-
-bin_SCRIPTS = evfs-config
-
+debian/changelog
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = evfs.pc
Index: configure.in
===
RCS file: /cvs/e/e17/apps/evfs/configure.in,v
retrieving revision 1.30
diff -u -r1.30 configure.in
--- configure.in5 Jul 2007 18:46:49 -   1.30
+++ configure.in16 Jul 2007 06:33:34 -
@@ -11,10 +11,11 @@
 AC_ISC_POSIX
 AC_PROG_CC
 AM_PROG_CC_STDC
+AM_PROG_CC_C_O
 AC_HEADER_STDC
 AM_PROG_LIBTOOL
 
-AC_C_BIGENDIAN   
+AC_C_BIGENDIAN
 AC_STRUCT_ST_BLKSIZE
 AC_STRUCT_ST_BLOCKS
 
@@ -36,10 +37,11 @@
 dnl Samba 3.0
 dnl **
 
-AC_ARG_ENABLE(samba, [  --disable-samba   build without samba support])
+AC_ARG_ENABLE(samba, AC_HELP_STRING([--disable-samba],[build without samba 
support]))
 msg_samba=no
 if test x$enable_samba != xno; then
-  AC_ARG_WITH(samba-includes, [  --with-samba-includes=PREFIX Location of 
samba includes.],
+  AC_ARG_WITH(samba-includes,
+  AC_HELP_STRING([--with-samba-includes=PREFIX],[Location of samba 
includes.]),
  with_samba_includes=$withval, 
with_samba_includes=/usr/include)
   have_samba_includes=no
   if test x${with_samba_includes} != xno; then
@@ -50,7 +52,7 @@
CPPFLAGS=$CPPFLAGS -I$with_samba_includes
AC_CHECK_HEADER(libsmbclient.h, [ samba_includes=yes ])
CPPFLAGS=$CPPFLAGS_save
-   
+
if test x{samba_includes} != xno -a x${samba_includes} != x; 
then
have_samba_includes=yes
if test ${with_samba_includes} != /usr/include ; then
@@ -58,7 +60,7 @@
else
SAMBA_CFLAGS=
fi
-   
+
CPPFLAGS=$CPPFLAGS -I$with_samba_includes
AC_CHECK_MEMBER(SMBCCTX.flags,
[AC_DEFINE(HAVE_SAMBA_FLAGS,, [Defined if flags 
availible in SMBCCTXT])],,
@@ -72,11 +74,12 @@
fi
   fi
   echo 

[E-devel] Patch autotools for etk_extra

2007-07-16 Thread Jerome Pinot
Hi,

This one fix the autotools stuff in etk_extra:

http://ngc891.blogdns.net/pub/projects/patches/etk_extra.patch

-- 
Jerome Pinot
http://ngc891.blogdns.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Small patch

2007-07-16 Thread The Rasterman
On Thu, 21 Jun 2007 15:34:34 +0200 Cedric BAIL [EMAIL PROTECTED] babbled:

 Time to dump all my pending patch again :) Starting with the easy one :
 
 - edje-const.diff and evas-const.diff: Add some const, useless :)
 
 - evas-list-sort.diff: I did finally find a bug with some size, the end of
 the list was not correctly sorted. Could be the bug raster see in my early
 patch (I also attached the test I used to find that issue).

in - i'm going to watch for anything strange when it comes to sorts.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Cache and SDL engine

2007-07-16 Thread The Rasterman
On Fri, 13 Jul 2007 16:41:50 +0200 Cedric BAIL [EMAIL PROTECTED] babbled:

 On Thursday 21 June 2007 15:34:26 Cedric BAIL wrote:
  I hope I understood all the previous remark.
  The most important request was to be able to have a main cache and
  child cache in each engine. This child cache will ask when necessary the
  main cache. It should be possible at some point to request an external
  daemon. So I changed all the evas_cache_image API from my previous patch.
  Now the RGBA_Image and the RGBA_Surface are allocated before calling engine
  specific function, this simplify the code needed to be written per engine.
  I think it should be quite easy to use this callback to request an external
  daemon.
 
 I just did catch some bug in the evas-cache.diff patch (when doing multiple 
 evas_common_image_init/evas_common_image_shutdown and with some error 
 handling dirty image).
 
 So here is an updated patch, but I am still not satisfied with the way I 
 handle dirty image (I should rework that part, but I don't know how right 
 now).

cool. excellent, you broke it up int digestible bits. i went over them from a
fairly high level - don't look too bad. in cvs now. we can nut out details as
we go on anyway. :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread Atton Jonathan
On Sun, 2007-07-15 at 11:15 -0700, Daniel Patterson wrote:
 On Sun, 15 Jul 2007 11:13:39 -0400
 Ross Vandegrift [EMAIL PROTECTED] wrote:
 
  On Sun, Jul 15, 2007 at 04:09:06PM +0900, Carsten Haitzler wrote:
   that's cool - though maybe it would make sense to have a general
   network config tool that handles modem+ppp, ethernet+pppoe,
   wireless lan, normal lan (dhcp, static ip etc.)... ? basically
   there comes a time when all network connections somehow have to
   know about eachother and interact. this does mean digging into
   lower level system configs and management of these, BUT, you want
   to be able to:
   
   1. use wired lan UNLESS its unplugged - then use wireless LAN
   2. if these don't work, and a phone line is attached, dial in
   3. maybe have multiple connections up at once but route different.
   4. modify the above preference list.
   etc.
  
  All that needs to be done is implement a front end to Gnome's
  NetworkManager daemon and we'll get all of this for free plus VPN.
  I've poked around with idea a few weekends, but unfortunately,
  there's no documentation on how a client application interacts with
  the daemon, only Gnome's nm-applet source code, so I don't really
  have anything to show.
  
  Ross
  
 
 Using any Gnome daemon ties in gnome dependencies... on a
 gentoo box that does this by default (base-layout), no way I would
 install an 'EFL app' that required into gnome. I would try to stick
 with frontends to the daemons that actually do the work, not all
 this automatic switching (which I really think is more trouble than its
 worth, generally you KNOW whether you are plugged into ethernet or
 not...). 


 if you had a frontend that could bring up network (dhclient or
 dhcpcd), or wireless (iwconfig, or wlanconfig), and ppp (pppd), I think
 you would have a pretty nice application... though I'm not sure why they
 should be integrated, just make three nice separate apps! 

Exalt allow you to do that, but Exalt doesn't support ppp and pppoe and
it's not a daemon, you need to be super-user.
http://www.e17-stuff.org/content/show.php/Exalt?content=62069PHPSESSID=e1c4aee244b64fe09fe2e3b41cf4e600
:)

 
 Daniel
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___ enlightenment-devel mailing 
 list enlightenment-devel@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
-- 
powered by gnu/linux


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread Michele Abbrescia
Carsten Haitzler (The Rasterman) wrote:
 On Mon, 04 Jun 2007 14:35:57 +0200 Michele Abbrescia [EMAIL PROTECTED] 
 babbled:

   
 Massimiliano Calamelli wrote:
 
 You're welcome!
 Which help are you looking for? 

 You also can try #edevelop or #e on freenode.
 Oppure, se preferisci parlare in italiano, siamo sul canale
 #enlightenment su azzurra. 

 Bye
 Massimiliano
   
 I'm looking for help to develop code to communicate with analog modems
 and manage pppd (configuration and running).
 Thanks.
 

 that's cool - though maybe it would make sense to have a general network
 config tool that handles modem+ppp, ethernet+pppoe, wireless lan, normal lan
 (dhcp, static ip etc.)... ? basically there comes a time when all network
 connections somehow have to know about eachother and interact. this does mean
 digging into lower level system configs and management of these, BUT, you want
 to be able to:

 1. use wired lan UNLESS its unplugged - then use wireless LAN
 2. if these don't work, and a phone line is attached, dial in
 3. maybe have multiple connections up at once but route different.
 4. modify the above preference list.
 etc.

 i.e. - network connections could/should just work (once you enter your
 password, network key etc. if needed).

   

Now Eppp handles only modem+ppp, but i'm working to manage 
ethernet+pppoe and mobile phones.
I think that Eppp's code can be used to create another application that 
works like a network manager, but it is another kind of project.

Regards.

-- 
Michele Abbrescia
 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread Steven Le Roux
On Mon, 16 Jul 2007 11:11:42 +0200, Michele Abbrescia [EMAIL PROTECTED] wrote:

 
 Now Eppp handles only modem+ppp, but i'm working to manage
 ethernet+pppoe and mobile phones.
 I think that Eppp's code can be used to create another application that
 works like a network manager, but it is another kind of project.
 
 Regards.
 
 --
 Michele Abbrescia

There is already Exalt as  network manager,  isn't it ? (perhaps a merge from 
both projects would be interesting)

--
Steven Le Roux
[EMAIL PROTECTED]


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread Michele Abbrescia
Steven Le Roux ha scritto:
 On Mon, 16 Jul 2007 11:11:42 +0200, Michele Abbrescia [EMAIL PROTECTED] 
 wrote:
   
 Now Eppp handles only modem+ppp, but i'm working to manage
 ethernet+pppoe and mobile phones.
 I think that Eppp's code can be used to create another application that
 works like a network manager, but it is another kind of project.

 Regards.

 --
 Michele Abbrescia
 

 There is already Exalt as network manager , isn't it ? (perhaps a merge from 
 both would be intere
 sting...)
   
Eppp + Exalt is a network manager. :)

-- 
Michele Abbrescia


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] image loading questions

2007-07-16 Thread Hisham Mardam Bey
On 7/15/07, Eric Wasylishen [EMAIL PROTECTED] wrote:
 Hi, I have a few questions related image loading.

 One thing I'm working on is an xmms2 client using ETK/evolve. I'd like
 it to show album cover art; the way the xmms2 client lib handles this
 is it gives you a pointer to an image file that was copied in to
 memory but not decoded. People using gtk have a function in gdk_pixbuf
 for this, which automatically determines the image format (probably
 jpg or png for covers) and decodes it, but as far as I can tell
 imlib2/evas lack this feature? (though I noticed epeg can load a jpeg
 file from memory.)

 One option I though of is just copying the loader code for say JPG and
 PNG from evas or imlib2 in to my app, and modifying it to do what I
 need. Or, would loading images from memory be useful enough to go in
 evas or imlib2?



Would be nice to have in evas.


 Another project I'd like to do is an image viewer where image loading
 doesn't block the GUI. After some reading my plan is to write a daemon
 which loads the image data in to shared memory for the gui app to
 access, though I'm not sure what advantages/disadvantages this would
 have over doing it in a thread.
 To get the best performance possible, I want it to load jpg's at a
 reduced size (epeg and evas can) and be able to cancel loading an
 image (only imlib2 can?) So far the best solution I can see is to use
 epeg and imlib2. Any better ideas?


You can read minds cant you? (=

I am currently working on this for Exhibit. The idea is to have a
worker process and the viewer, communicating (over dbus right now).
The worker does everything from loading large dirs, thumbs, sorting,
etc... When the results are ready, they are placed in SHM and a
message is sent to the client with the shmid. The client can then read
the data from SHM and do whatever it wants with it.

If you would like to discuss this idea some more, and perhaps
contribute, you can find me in #etk (CodeWarrior).

-- 
Hisham Mardam Bey
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patch autotools for etk_extra

2007-07-16 Thread Hisham Mardam Bey
On 7/16/07, Jerome Pinot [EMAIL PROTECTED] wrote:
 Hi,

 This one fix the autotools stuff in etk_extra:

 http://ngc891.blogdns.net/pub/projects/patches/etk_extra.patch


The idea is that we want to build those .pc files conditionally, so
the following code either fill in the variables or doesnt:

if test x$have_emotion = xyes ; then
  etk_extra_video_pc=etk_extra_video.pc
fi

if test x$have_cairo = xyes ; then
  etk_extra_cairo_pc=etk_extra_cairo.pc
fi

Thats why we then use the variables in AC_OUTPUT.

-- 
Hisham Mardam Bey
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entropy 20070715 fails to build

2007-07-16 Thread Didier Casse

Please read below:

On 7/16/07, Vincent Torri [EMAIL PROTECTED] wrote:



add evfs.pc.in and apply that evfs patch. Same for entropy, I can't test.
So tell me if it compiles and runs fine (I guess entropy is a good test
for evfs :) )




Unfortunately. it still complains about ecore. Log attached.


I think that the .spec file of evfs should be updated, but I don't touch

that beast :)




I don't  use the SPEC file in CVS anyway, so don't bother. I autogenerate my
own.



--
With kind regards,
Didier.

DR17/E17 Yum repository for Fedora Core
http://sps.nus.edu.sg/~didierbe
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1518
+ umask 022
+ cd /home/didier/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/didier/rpmbuild/BUILD
+ rm -rf entropy-0.0.1
+ /bin/gzip -dc /home/didier/rpmbuild/SOURCES/entropy-0.0.1-20070716.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd entropy-0.0.1
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1518
+ umask 022
+ cd /home/didier/rpmbuild/BUILD
+ cd entropy-0.0.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf missing
+ touch README
+ aclocal -I m4
+ autoconf
+ libtoolize --copy --automake
+ automake --add-missing --copy --gnu
configure.in:14: installing `./missing'
configure.in:14: installing `./install-sh'
src/Makefile.am: installing `./depcomp'
src/plugins/Makefile.am:93: variable `layout_ewl_simple_la_SOURCES' is defined 
but no program or
src/plugins/Makefile.am:93: library has `layout_ewl_simple_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:54: variable `ewl_local_icon_la_SOURCES' is defined but 
no program or
src/plugins/Makefile.am:54: library has `ewl_local_icon_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:64: variable `ewl_list_la_SOURCES' is defined but no 
program or
src/plugins/Makefile.am:64: library has `ewl_list_la' as canonic name (possible 
typo)
src/plugins/Makefile.am:80: variable `structure_viewer_la_SOURCES' is defined 
but no program or
src/plugins/Makefile.am:80: library has `structure_viewer_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:84: variable `structure_viewer_la_LIBADD' is defined 
but no program or
src/plugins/Makefile.am:84: library has `structure_viewer_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:99: variable `layout_ewl_simple_la_LIBADD' is defined 
but no program or
src/plugins/Makefile.am:99: library has `layout_ewl_simple_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:72: variable `ewl_list_la_LIBADD' is defined but no 
program or
src/plugins/Makefile.am:72: library has `ewl_list_la' as canonic name (possible 
typo)
src/plugins/Makefile.am:62: variable `ewl_local_icon_la_LIBADD' is defined but 
no program or
src/plugins/Makefile.am:62: library has `ewl_local_icon_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:61: variable `ewl_local_icon_la_LDFLAGS' is defined but 
no program or
src/plugins/Makefile.am:61: library has `ewl_local_icon_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:98: variable `layout_ewl_simple_la_LDFLAGS' is defined 
but no program or
src/plugins/Makefile.am:98: library has `layout_ewl_simple_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:83: variable `structure_viewer_la_LDFLAGS' is defined 
but no program or
src/plugins/Makefile.am:83: library has `structure_viewer_la' as canonic name 
(possible typo)
src/plugins/Makefile.am:71: variable `ewl_list_la_LDFLAGS' is defined but no 
program or
src/plugins/Makefile.am:71: library has `ewl_list_la' as canonic name (possible 
typo)
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables'
+ export FFLAGS
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /bin/rm -f ./config.sub
++ basename ./config.sub
+ /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
`/usr/lib/rpm/redhat/config.sub' - `./config.sub'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /bin/rm -f ./config.guess
++ basename ./config.guess
+ /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
`/usr/lib/rpm/redhat/config.guess' - `./config.guess'
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu 
--target=i386-redhat-linux

Re: [E-devel] image loading questions

2007-07-16 Thread Cedric BAIL
On Monday 16 July 2007 12:26:51 Hisham Mardam Bey wrote:
 On 7/15/07, Eric Wasylishen [EMAIL PROTECTED] wrote:
  Hi, I have a few questions related image loading.
 
  One thing I'm working on is an xmms2 client using ETK/evolve. I'd like
  it to show album cover art; the way the xmms2 client lib handles this
  is it gives you a pointer to an image file that was copied in to
  memory but not decoded. People using gtk have a function in gdk_pixbuf
  for this, which automatically determines the image format (probably
  jpg or png for covers) and decodes it, but as far as I can tell
  imlib2/evas lack this feature? (though I noticed epeg can load a jpeg
  file from memory.)
 
  One option I though of is just copying the loader code for say JPG and
  PNG from evas or imlib2 in to my app, and modifying it to do what I
  need. Or, would loading images from memory be useful enough to go in
  evas or imlib2?

 Would be nice to have in evas.

Definitively. I started looking at this and only wrote a patch for eet. This 
patch add a new eet_memopen_read. So you can add eet file also to your 
idea :)

Cedric
--- e17-clean/libs/eet/src/lib/eet_lib.c	2007-07-04 15:00:23.0 +0200
+++ e17-dev/libs/eet/src/lib/eet_lib.c	2007-07-04 15:02:25.0 +0200
@@ -464,21 +464,207 @@
 		  num++;
 	   }
 	  }
-	
+
 	for (i = 0; i  num; i++)
 	  eet_close(closelist[i]);
  }
 }
 
+static Eet_File*
+eet_internal_read (Eet_File *ef)
+{
+   const uint8_t	*dyn_buf = NULL;
+   const uint8_t	*p = NULL;
+   int			index = 0;
+   int			num_entries;
+   int			byte_entries;
+   int			i;
+
+   if (eet_test_close((ef-data == (void *)-1) || (ef-data == NULL), ef))
+ return NULL;
+
+   /* build header table if read mode */
+   /* geat header */
+   index += sizeof(int);
+   if (eet_test_close((int)ntohl(*((int *)ef-data)) != EET_MAGIC_FILE, ef))
+ return NULL;
+
+#define EXTRACT_INT(Value, Pointer, Index) \
+{ \
+	   int tmp; \
+	   memcpy(tmp, Pointer + Index, sizeof(int)); \
+	   Value = ntohl(tmp); \
+	   Index += sizeof(int); \
+}
+
+   /* get entries count and byte count */
+   EXTRACT_INT(num_entries, ef-data, index);
+   EXTRACT_INT(byte_entries, ef-data, index);
+
+   /* we cant have = 0 values here - invalid */
+   if (eet_test_close((num_entries = 0) || (byte_entries = 0), ef))
+ return NULL;
+
+   /* we can't have more entires than minimum bytes for those! invalid! */
+   if (eet_test_close((num_entries * 20)  byte_entries, ef))
+ return NULL;
+
+   /* allocate header */
+   ef-header = malloc(sizeof(Eet_File_Header));
+   if (eet_test_close(!ef-header, ef))
+ return NULL;
+
+   ef-header-magic = EET_MAGIC_FILE_HEADER;
+
+   /* allocate directory block in ram */
+   ef-header-directory = malloc(sizeof(Eet_File_Directory));
+   if (eet_test_close(!ef-header-directory, ef))
+ return NULL;
+
+   /* 8 bit hash table (256 buckets) */
+   ef-header-directory-size = 8;
+   /* allocate base hash table */
+   ef-header-directory-nodes = calloc(1, sizeof(Eet_File_Node *) * (1  ef-header-directory-size));
+   if (eet_test_close(!ef-header-directory-nodes, ef))
+ return NULL;
+
+   /* actually read the directory block - all of it, into ram */
+   dyn_buf = ef-data + index;
+
+   /* parse directory block */
+   p = dyn_buf;
+
+   for (i = 0; i  num_entries; i++)
+ {
+	Eet_File_Node	*efn;
+	void		*data = NULL;
+	int		indexn = 0;
+	int		name_size;
+	int		hash;
+	int		k;
+
+#define HEADER_SIZE (sizeof(int) * 5)
+
+	/* out directory block is inconsistent - we have oveerun our */
+	/* dynamic block buffer before we finished scanning dir entries */
+	if (eet_test_close(p + HEADER_SIZE = (dyn_buf + byte_entries), ef))
+	  return NULL;
+
+	/* allocate all the ram needed for this stored node accounting */
+	efn = malloc (sizeof(Eet_File_Node));
+	if (eet_test_close(!efn, ef))
+	  return NULL;
+
+	/* get entrie header */
+	EXTRACT_INT(efn-offset, p, indexn);
+	EXTRACT_INT(efn-compression, p, indexn);
+	EXTRACT_INT(efn-size, p, indexn);
+	EXTRACT_INT(efn-data_size, p, indexn);
+	EXTRACT_INT(name_size, p, indexn);
+
+	/* invalid size */
+	if (eet_test_close(efn-size = 0, ef))
+	  {
+	 free (efn);
+	 return NULL;
+	  }
+
+	/* invalid name_size */
+	if (eet_test_close(name_size = 0, ef))
+	  {
+	 free (efn);
+	 return NULL;
+	  }
+
+	/* reading name would mean falling off end of dyn_buf - invalid */
+	if (eet_test_close((p + 16 + name_size)  (dyn_buf + byte_entries), ef))
+	  {
+	 free (efn);
+	 return NULL;
+	  }
+
+	/* This code is useless if we dont want backward compatibility */
+	for (k = name_size; k  0  ((uint8_t) * (p + HEADER_SIZE + k)) != 0; --k)
+	  ;
+
+	efn-free_name = ((uint8_t) * (p + HEADER_SIZE + k)) != 0;
+
+	if (efn-free_name)
+	  {
+	 efn-name = malloc(sizeof(char) * name_size + 1);
+	 if (eet_test_close(efn-name == NULL, ef))
+	   {
+		  free (efn);
+		  return NULL;
+	   }
+
+	 strncpy(efn-name, (char *)p + HEADER_SIZE, name_size);
+	  

Re: [E-devel] entropy 20070715 fails to build

2007-07-16 Thread Vincent Torri


are you sure that you have applied the entropy patch ?

anyway, I'm back on linux. I'll fix evfs and entropy build system later 
today.


Vincent

On Mon, 16 Jul 2007, Didier Casse wrote:


Please read below:

On 7/16/07, Vincent Torri [EMAIL PROTECTED] wrote:



add evfs.pc.in and apply that evfs patch. Same for entropy, I can't test.
So tell me if it compiles and runs fine (I guess entropy is a good test
for evfs :) )




Unfortunately. it still complains about ecore. Log attached.


I think that the .spec file of evfs should be updated, but I don't touch

that beast :)




I don't  use the SPEC file in CVS anyway, so don't bother. I autogenerate my
own.



--
With kind regards,
Didier.

DR17/E17 Yum repository for Fedora Core
http://sps.nus.edu.sg/~didierbe

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Software X11 and Software SDL

2007-07-16 Thread Cedric BAIL
Hi,

During my development of the SDL engine I did notice that always seems 
a 
little bit faster than software x11. I think it was only an artefact, or 
something strange with my config, but as Caro also notice this. We did find 
something that could be the source of the slow down.

In the software_x11 implementation, we create a new RGBA_Image for each 
region to be update (in evas_engine.c:eng_output_redraws_next_update_get with 
evas_outbuf.c:evas_software_x11_outbuf_new_region_for_update). Then they are 
flushed on the final surface and destroyed.
In software_sdl, I just copy to the final destination without creating 
new 
surface (I need to reset the background to start from a fresh copy). 

The software_x11 is also more complex than software_sdl as it handle 
rotation 
and I don't know it's internal enough to see how and if it's possible to 
change it to not allocate an RGBA_Image for each region. So if someone as a 
little more time to look at this issue and see if it's possible to improve 
thing :)

Cedric


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Support custom click area for Evas_Object

2007-07-16 Thread The Rasterman
On Mon, 9 Jul 2007 19:20:57 -0300 Andre Magalhaes [EMAIL PROTECTED]
babbled:

 Hey Raster,
 
 On 7/9/07, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
  On Fri, 6 Jul 2007 18:00:08 -0300 Andre Magalhaes [EMAIL PROTECTED]
  babbled:
 
   Hi all,
  
   As this is my first post here, let me introduce myself. I am Andre
   Moreira Magalhaes, aka andrunko, and I work for INdT in Brazil.
 
  hey andre :)
 
   Now let's go to the point. I am working on a project that requires
   that an Evas_Object to have a custom click area. This object is a
   non-retangular object (a circle for eg) with a transparent backgroung.
   When i click on the background of this object, if the click was in a
   transparent area this object shouldn't receive any event. I was
   investigating the Evas code and i found 3 ways that this could be
   done.
 
  currently evas doesn't do this. in theory it could - but it doesn't.
 
   1 - Change evas_object_was_in_output_rect to always return 0 if the
   rect is in a transparent area of the object (not desired)
   2 - Change evas_object_event_callback_call to return a boolean value
   indicating if the object handled the event and if not, keep sending
   event to the other objects in the list. If the object handled the
   event, stop there. This would require a lot of changes.
   3 - Change evas_object_was_in_output_rect to check a for a custom
   in_output_rect method on the object, and if this method is set, use
   it to check if the rect is in output rect. This would require a new
   function, evas_object_is_in_output_rect_cb_set (or something similar)
   that could be implemented whenever is needed. If this method is not
   set, check the clip rectangle as it's done today.
 
  actually i already designed for this. there is an is_inside and was_inside
  method for objects. only line and polygon objects provide them and they just
  return 1 - these CAN be called if a point is inside the object rect and the
  code wants to determine if an event is still inside the object based on
  private object data (eg polygon outline, image pixel alpha channel data
  etc.). right now it basically isn't used - but its intent was to be used
  for this. the problem is this is actually relatively slow/expensive to do.
  you probably also want a way of enabling or disabling this level of event
  processing per object to save cost. so we probably need to add an object
  flag to use these methods, if they exist, or disable them (disabled by
  default), then provide methods for image objects at the least - then
  actually use them, if they are provided, and the flag is enabled for that
  object. implementing this won't be too hrd, but it won't be trivial. you
  need to be able to figure otu any x,y co-ord within the object and what
  pixel of the image that may map to based on paremeters of the object, then
  go check that pixel's alpha channel (if the image has an alpha channel).
  for polygon nd line objects you need to do some half-plane point
  intersection math (easy but its order(n) where n is the number of sides of
  the polygon). for lines its strange - you might want perfect inclusion, but
  that's a very small space unless its a thick line (doesn't exist
  currently). for text... thats hard as you need to figure out what character
  is in that x,y (that's easy) and then check the character glyph pixels to
  see if its inside...
 
  but anyway - i added this mechanism in at the very start but have never
  used it (or really needed it enough to implement the rest of it).
 hmmm, i didn't know about this is_inside method, it's similar to what

not surprising. it's hidden away for one day when i might want to use it :)

 i wanted but with some improvements :D. Attached there is a patch to
 implement it on evas_object_image and edje, and a callback to
 enable/disable it. I didn't like the name convention but this is
 something easy to change. I tested it here and it seems to be working.
 This is my first patch to evas, so please let me know where i can
 improve. Any comment is welcome

you seem to have only implemented the evas-side of using this method and a very
simple/primitive get pixel in evas_object_image_is_inside (). This doesn't
handle border scaling and any form of fills other than Scaling fills. i think
you really need to implement this - you need to take the x,y in
canvas-co-ordinates, then convert this to a, x,y in the pixel array for the
image (remember there is a fill origin and size so the image may get scaled
differently to the size of the object, also its original can be offset. also
there is border scaling that removes scaling for specified edges of the image
that you need to account for in converting the canvas co-ord x,y into a pixel
x,y reference).

and as gustavo mentioned - this only covers argb32 images - doesn't handle yuv
(though yuv will ALWAYS be in as there is no alpha channel so you can detect
this and skip the check and return 1), and the 16bpp engine images too... 

Re: [E-devel] Software X11 and Software SDL

2007-07-16 Thread Gustavo Sverzut Barbieri
On 7/16/07, Cedric BAIL [EMAIL PROTECTED] wrote:
 Hi,

 During my development of the SDL engine I did notice that always 
 seems a
 little bit faster than software x11. I think it was only an artefact, or
 something strange with my config, but as Caro also notice this. We did find
 something that could be the source of the slow down.

 In the software_x11 implementation, we create a new RGBA_Image for 
 each
 region to be update (in evas_engine.c:eng_output_redraws_next_update_get with
 evas_outbuf.c:evas_software_x11_outbuf_new_region_for_update). Then they are
 flushed on the final surface and destroyed.
 In software_sdl, I just copy to the final destination without 
 creating new
 surface (I need to reset the background to start from a fresh copy).

Raster is aware of this, while writing 16bpp I opted to do this
differently and this was the motivation behind idle_flush() call, so
I'm now able to create my X pixmap, operate on it and destroy after
some time it's unused.

-- 
Gustavo Sverzut Barbieri
--
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is this a community project?

2007-07-16 Thread The Rasterman
On Tue, 10 Jul 2007 08:40:24 +1000 David Seikel [EMAIL PROTECTED] babbled:

 This is a pet peeve of mine, so I'll just vent some steam.  B-)
 
 On Mon, 9 Jul 2007 01:50:44 +0300 Hisham Mardam Bey
 [EMAIL PROTECTED] wrote:
 
  So what if we have an API break? We can take care of it - we have not
  even made a stable release yet! If a developer takes the time to
  improve something that no one else has the time (or will) to work on,
  and it results in an API break, lets get his code into CVS (on the
  condition that he fixes the core libraries and applications that are
  affected). What are the core libraries and applications? Thats a good
  question that we need to answer as a community and as a group of
  developers.
 
 I've brought up the topic before, particularly with respect to ETK and
 EWL.  Those that break an API in E's CVS should fix everything in E's
 CVS that gets broken by it.  Despite all protestations to the contrary,
 it's not that hard.  Whenever I've brought up this topic before, it's
 always it's too hard, there are thousands of things to change.  After
 getting annoyed and fixing things myself, I usually find the fixes are
 trivial.

it's not hard - if you have mountains of spare time. change 1 very commonly
used function to have different (more less, changed) parameters - and boom you
may need to find 100's of instances - across 10's of directories or 100's. and
edit them all. changing 1 small thing because you feel like it may take 10
minutes in evas or edje or ecore - but then sink hours across everything else
to fix it. it is NOT easy to break an api. not once it is in use - especially
heavy use. every api break needs to be weighed up and considered.

 If it's trivial for me, a person that didn't change the API and has to
 figure things out by careful inspection of the commit email, then it
 will be even more trivial for the person that changed the API, as they
 will already understand the change.

again - see above. the person breaking the api may be able to change it easily
- in principle, but in practice it could be 5hrs of api fixes for 10 mins of
acutal api break.

 We like to take pride in the stability of our CVS, any random snapshot
 is likely to just compile and work.  We have a reputation amongst our
 users for having an unreleased, constantly changing code base that is
 more stable and usable than v3.5 releases of other projects.  This is
 why some Linux distros are not only happy to use E17 as an officially
 supported WM, they make loud noise about using E17.
 
 Whatever development environment you use, they often come with tools
 that make these sort of fixes easy.  It's not rocket science, it's
 business as usual computer science.  Computer programmers change APIs
 all the time, and we have written many tools to help with this change
 process.  Please use them.

as above - there is a COST. i can and do break api's - but i do not do it
unless i REALLY NEED TO. i will advocate doing things in ways that do not break
api's. breaking semantics (not just the rigid api itself) is also bad - but not
quite as bad as things till compile and probably work - but they work a little
differently.

 
 End of rant.
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is this a community project?

2007-07-16 Thread The Rasterman
On Mon, 9 Jul 2007 12:27:34 +0200 Jorge Luis Zapata Muga
[EMAIL PROTECTED] babbled:

 Hi all,
 
 I want to reply before this thread ends discussing only the how do we
 patch projects topic, as it is just a small part of the real problem.
 I've seen other devs and myself complaining on how things work on
 e-land, from how the ideas are discussed (design) to how they are
 implemented (implementation) and what happens between the process with
 other dependent projects (api breaks?). But instead of saying
 different solutions we can have, i would prefer to explain what i have
 in mind from a code perspective, what i have done and what are the
 problems with current status.
 
 - Canvas Server: This was an idea to allow different process access a
 canvas space and draw into it (think of them as having the gadcons on
 different processes) and a simple framebuffer multiplexer.  Some time
 ago, i retook the evoak project, refactored it and implemented it in a
 different way (as a plugin to evas, and stand alone library), it
 worked nice enough, but was just a proof of concepts because evas
 needs many things to be able to use it. (dependencies, internal
 changes, etc). So this *idea* ended up being nothing, evas should
 support foreign objects if it wants to avoid the dependency issue.

last i knew you were still working on this. yes evas needs to be able to
virtualise objects off into pluggable modules - like engines, as well as
callback-provided objects (much like smart objects - but done at the lower raw
object level). existing objects need to be able to be replaced by apps and
other libs - sure. though a lot of this requires our engine api settle down as
these objects will need to do their own rendering. again - proof of
concept/idea. i dropped evoak because it was going to turn out to be too much
work (for now) and i decided to worry about this some other day. it did prove
that i could do fancy graphics with incredibly low bandwidth. (the default
evoak demo ran and animated within 32kbit - a dialup connection). i hadn't even
gotten to being able to put parts of the UI logic server-side (much like
javascript is browser-side).

 - Better support of the fb system specially for embedded devices
 (interesting how now, everyone seems to be interested on this field).
 I reworked completely ecore_fb, i sent an email also to the list
 explaining what i had done, and what was left. (is almost done, what
 needs to be done is sending the utf8 string of the keypress to the
 event system). It did has some interest from other devs, but i wasnt
 satisfied of the approach mainly for one reason: having the input
 system mixed with the graphics system. In any case, there was no goal
 on what ecore_fb should be.

we have modified ecore_fb a lot over time - your patches and others too.
ecore_fb simply provides enough utilities to handle fb management. it's a bit
of a mixed bag of code and can be cleaned up, but we actually have very little
driving the need for it. embedded stuff is moving to X. fb would be mostly
useful for things like boot animations/status and other very specialised apps.

 - Memory Pool Allocator. I remember the discussion about the memory
 fragmentation and a need for a double pointer malloc, i already
 implemented a small library (mem pool) that supports different
 policies (firstfit, bestfit, etc) through a plugin system, with only
 one implementation (firstfit) because im not that good on memory
 algorithms, but with a good and simple interface. This was made public
 only through irc, with of course, no interest; even if it was a public
 need.

i think from memory what you implemented didnt do double-pointers. i.e.

Evas_Object **
instead of the current
Evas_Object *

at the api level - as long as an object is opaque, you can return any pointer
type you like, but internally it'd be a double-pointer with routines to be able
to defrag (re-shuffle memory locations around to compact memory down and
reduce memory space/page usage). again - this probably is sitting waiting for
it to be complete.

 - Shared Memory. Some people has said that a cache mechanism is needed
 between process, to share images and fonts between efl projects from a
 common place. I have coded a daemon that manages such shm segments
 using e_dbus as the communication and the previous project as the
 manager of elements inside the shm segment, with good results (it isnt
 finished btw). I also remember Cedric's mails about a cache mechanism
 which wasnt included into evas (can't recall now if it is inside yet).
 So evas was looking also for a cache mechanism, that (mostly sure)
 won't be usable from outside and any other app or library wishing to
 use a similar concept, simply can't. So here arise another problem
 with evas, its idea of being everything by itself, with its own data
 types, isnt a good thing.

never saw this?

 - Eet, one of the main needs of my ecore_fb rework was the array
 support on eet, i already sent an email on the list 

Re: [E-devel] [patch] e_shelf

2007-07-16 Thread The Rasterman
On Sun, 8 Jul 2007 20:44:42 +0200 Laurent Ghigonis [EMAIL PROTECTED] babbled:

you should be using the zone geometry - not evas output viewport. can't add
this as it's not going to work right with xinerama where zones only use
sub-sections of the container screen area.

 Hey !
 
 Attached a patch for e_shelf that changes the behavior of
 windows witch are moved on shelf unhide : 
 it moves the windows just near the shelf, instead of moving them of the
 shelf size offset.
 
 Also fixed missing brackets.
 
 If it seems ok, just tell me and i'll commit.
 
 laurent


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E FM Mime patch

2007-07-16 Thread The Rasterman
On Mon, 09 Jul 2007 21:52:06 -0500 Nick Hughart [EMAIL PROTECTED] babbled:

in cvs.

 I have slightly integrated the new efreet_mime stuff into e_fm.  For now 
 it is fairly simple and I have just wrapped efreet_mime_globs_type_get 
 inside of e_fm_mime_filename_get and removed a lot of duplicated code.

that's fine.

 More can be done, but figured this would be an easier patch to get in 
 for now.  I have also changed the mime type of directories to 
 inode/directory as it is what the current mime spec calls for.  There is 
 more that can be done and I would be interested in discussing further 
 changes.  I believe that having magic checking for local files will make 
 more users happy, but if that doesn't interest you then at least having 
 the fallbacks and special file types would be good.

magic checks for local files are still VERY VERY VERY expensive. imho i would
want to avoid them in almost all cases. per file it means seeking the disk head
at least 1 or 2 times or more - parsing data etc. even on local file systems
this can and will slow things down a lot - and it can lock up e itself into
doing the work. this should be done by enlightenment_fm (the child proc that
currently lists dirs and monitors for file changes and stat()'s file to get
their basic fs info). then at least it can't block E. but it will cause
directory listing to slow down - a fair bit. in the vast majority of cases
extension/glob matching will work perfectly well.

 I am willing to do the implementation and testing to see how bad/good 
 this all works.  If anyone has a remote NFS server (preferably outside 
 the US) it would be helpful for my testing :)

they might be crazy enough to do that... simple way to test - add a usleep
(50); into every magic file check. then you will have an idea of what it
might be like on a slow fs. :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is this a community project?

2007-07-16 Thread David Seikel
On Mon, 16 Jul 2007 23:03:33 +0900 Carsten Haitzler (The Rasterman)
[EMAIL PROTECTED] wrote:

 On Tue, 10 Jul 2007 08:40:24 +1000 David Seikel [EMAIL PROTECTED]
 babbled:
 
  This is a pet peeve of mine, so I'll just vent some steam.  B-)
  
  On Mon, 9 Jul 2007 01:50:44 +0300 Hisham Mardam Bey
  [EMAIL PROTECTED] wrote:
  
   So what if we have an API break? We can take care of it - we have
   not even made a stable release yet! If a developer takes the time
   to improve something that no one else has the time (or will) to
   work on, and it results in an API break, lets get his code into
   CVS (on the condition that he fixes the core libraries and
   applications that are affected). What are the core libraries and
   applications? Thats a good question that we need to answer as a
   community and as a group of developers.
  
  I've brought up the topic before, particularly with respect to ETK
  and EWL.  Those that break an API in E's CVS should fix everything
  in E's CVS that gets broken by it.  Despite all protestations to
  the contrary, it's not that hard.  Whenever I've brought up this
  topic before, it's always it's too hard, there are thousands of
  things to change.  After getting annoyed and fixing things myself,
  I usually find the fixes are trivial.
 
 it's not hard - if you have mountains of spare time. change 1 very
 commonly used function to have different (more less, changed)
 parameters - and boom you may need to find 100's of instances -
 across 10's of directories or 100's. and edit them all. changing 1
 small thing because you feel like it may take 10 minutes in evas or
 edje or ecore - but then sink hours across everything else to fix it.
 it is NOT easy to break an api. not once it is in use - especially
 heavy use. every api break needs to be weighed up and considered.
 
  If it's trivial for me, a person that didn't change the API and has
  to figure things out by careful inspection of the commit email,
  then it will be even more trivial for the person that changed the
  API, as they will already understand the change.
 
 again - see above. the person breaking the api may be able to change
 it easily
 - in principle, but in practice it could be 5hrs of api fixes for 10
 mins of acutal api break.

My point is that in reality it usually is just a few minutes work,
even with primitive manual tools.  With proper refactoring tools, it's
just a mouse click or three.  Lots of IDEs have proper refactoring
tools.  The API break that needs hours of fixing things hardly ever
happens.

What commonly happens is that an API is broken, and a few things go for
weeks being broken that only take a minute or two each to fix.


signature.asc
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is this a community project?

2007-07-16 Thread Nathan Ingersoll
On 7/16/07, David Seikel [EMAIL PROTECTED] wrote:

 My point is that in reality it usually is just a few minutes work,
 even with primitive manual tools.  With proper refactoring tools, it's
 just a mouse click or three.  Lots of IDEs have proper refactoring
 tools.  The API break that needs hours of fixing things hardly ever
 happens.

 What commonly happens is that an API is broken, and a few things go for
 weeks being broken that only take a minute or two each to fix.

So you are you complaining about API changes breaking the CVS build
and not getting fixed, or that we shouldn't be so concerned about API
changes since they are easy to fix?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patch autotools for etk_extra

2007-07-16 Thread Jerome Pinot
 The idea is that we want to build those .pc files conditionally, so
 the following code either fill in the variables or doesnt:

 if test x$have_emotion = xyes ; then
   etk_extra_video_pc=etk_extra_video.pc
 fi

 if test x$have_cairo = xyes ; then
   etk_extra_cairo_pc=etk_extra_cairo.pc
 fi

 Thats why we then use the variables in AC_OUTPUT.

I see but I got:

running autogen.sh:
...
configure.in:117: required file `$etk_extra_video_pc.in' not found
configure.in:117: required file `$etk_extra_cairo_pc.in' not found

running then configure:
...
checking for ETK... yes
checking for EMOTION... yes
checking for CAIRO... yes
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

Even if I have cairo and emotion in the box. Bypassing the test made
every body happy here.

I don't have much time to investigate further, I have to release
SlackE17 (which is long time overdue) and there is still a lot of
things to correct. I don't bother to keep the patch for myself, I
believe you'll find a neat fix :-)


-- 
Jerome Pinot
http://ngc891.blogdns.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entropy 20070715 fails to build

2007-07-16 Thread David Seikel
On Mon, 16 Jul 2007 14:14:32 +0200 (CEST) Vincent Torri
[EMAIL PROTECTED] wrote:

 anyway, I'm back on linux. I'll fix evfs and entropy build system
 later today.

Seems to be fixed now.


signature.asc
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is this a community project?

2007-07-16 Thread Nathan Ingersoll
On 7/16/07, David Seikel [EMAIL PROTECTED] wrote:

  So you are you complaining about API changes breaking the CVS build
  and not getting fixed,

 Yes.

This is actually a series of problems, not just one person taking the
time to fix CVS, though that is part of it. It also indicates we are
lacking good review of changes, user feedback is not reaching the
developers that will fix it, and maintainers are not updating their
module as dependency changes occur.

An automated nightly build could improve the build break detection.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Nightly builds - Was: Is this a community project?

2007-07-16 Thread David Seikel
On Mon, 16 Jul 2007 10:28:07 -0500 Nathan Ingersoll
[EMAIL PROTECTED] wrote:

 On 7/16/07, David Seikel [EMAIL PROTECTED] wrote:
 
   So you are you complaining about API changes breaking the CVS
   build and not getting fixed,
 
  Yes.
 
 This is actually a series of problems, not just one person taking the
 time to fix CVS, though that is part of it. It also indicates we are
 lacking good review of changes, user feedback is not reaching the
 developers that will fix it, and maintainers are not updating their
 module as dependency changes occur.
 
 An automated nightly build could improve the build break detection.

I do a mostly regular build of almost everything, which is why I notice
these things.  I'll be happy to setup regular automated builds.

Where would an automated nightly build best be run?  Where would the
results be delivered?   Since we are scattered all over the planet,
whose night should be used to define nightly?

Many other questions need to be answered to set this up.

Off the top of my head.  sf.net has a compile farm that can be used for
such things and I already use it for another project.  Then we can do
builds on several platforms.  I have seen other projects get the
results of the nightly build sent as a single email to their dev
mailing list each night.

I live an the same side of the planet as raster, so I share his night,
but I work at strange hours so that I can deal with my USA client in
real time (and not disrupt my local clients servers during local
business hours), so I don't really care what time it runs at.  Probably
doesn't matter so much what time, so I'll suggest a completely
arbitrary GMT midnight to start the builds.  Probably take one to two
hours to complete each build, but on the sf.net compile farm, they can
all build at the same time.  On the other hand, trying to dodge compile
farm busy times might be worth while.


signature.asc
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Problem with edje and its way of dispatching mouse, * signals

2007-07-16 Thread Nathan Ingersoll
A related but slightly different issue is triggering evas events
directly on a specific object. There are times where it would be very
helpful to simply dispatch an event directly to a specific object
rather than feeding the event into evas and relying on it's picking to
select the one you want.

Does anyone see a good reason we couldn't extend the evas API to support this?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] {Spam?} Nightly builds - Was: Is this a community project?

2007-07-16 Thread David Seikel
On Mon, 16 Jul 2007 18:05:53 +0200 (CEST) Vincent Torri
[EMAIL PROTECTED] wrote:

  Off the top of my head.  sf.net has a compile farm that can be used
  for such things
 
 SF has closed its Compile Farm service:
 
 http://sourceforge.net/forum/forum.php?forum_id=665365

Bummer.  qemu builds then I guess.


signature.asc
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread Eric Wasylishen
I think a networkmanager module for e17 would be fantastic. IMO,
networkmanager is a great example of technology just working.

There are some docs and examples in their svn:
http://svn.gnome.org/viewcvs/NetworkManager/trunk/

The client part just needs dbus, and since e already uses e_dbus that
dependency wouldn't be a problem.

On 7/15/07, Daniel Patterson [EMAIL PROTECTED] wrote:
 On Sun, 15 Jul 2007 14:33:08 -0400
 Ross Vandegrift [EMAIL PROTECTED] wrote:

  On Sun, Jul 15, 2007 at 11:15:45AM -0700, Daniel Patterson wrote:
   Using any Gnome daemon ties in gnome dependencies
 
  Nope.  NetworkManager is designed to be agnostic to any particular
  environment.  KDE uses it for it's backend as well.  From my box:
 
  [EMAIL PROTECTED]:~$ apt-cache depends network-manager
  network-manager
Depends: libc6
Depends: libdbus-1-3
Depends: libdbus-glib-1-2
Depends: libgcrypt11
Depends: libglib2.0-0
Depends: libgpg-error0
Depends: libhal1
Depends: libiw28
Depends: libnl1-pre6
Depends: libnm-util0
Depends: iproute
Depends: iputils-arping
Depends: dhcdbd
Depends: lsb-base
Depends: wpasupplicant
Depends: dbus
Depends: hal
Depends: ifupdown
   |Recommends: network-manager-gnome
Recommends: network-manager-kde
  knetworkmanager
 
 
  I suppose you might take issue with glib, hal, or dbus, but have fun
  with lots of things at that point...
 
 
   not...). if you had a frontend that could bring up network
   (dhclient or dhcpcd), or wireless (iwconfig, or wlanconfig), and
   ppp (pppd), I think you would have a pretty nice application...
   though I'm not sure why they should be integrated, just make three
   nice separate apps!
 
  Because it's awesome to be lazy.  I've temporary gone back to Gnome on
  my laptop explicity because of NetworkManager support.  I take my
  laptop all over town and my network only ever needs to be configured
  once.  It remembers what networks work, and if I plug in the wired
  ethernet, it doesn't worry about wireless.
 
  I'm not sure why you think this is more trouble than it's worth.
  It's easy, non-intrusive, and works in all cases I've encountered at
  work/home/coffee shop.
 

 I stand corrected... what I said was based on personal experience with
 it a while ago (around a year)... I tried to install it and it pulled in
 twenty to thirty dependencies... perhaps something was wrong with it in
 its early stages, or it was mistakingly pulling in something it did not
 actually need.

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] {Spam?} Nightly builds - Was: Is this a community project?

2007-07-16 Thread Vincent Torri


 Off the top of my head.  sf.net has a compile farm that can be used for
 such things

SF has closed its Compile Farm service:

http://sourceforge.net/forum/forum.php?forum_id=665365

Vincent

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Nightly builds - Was: Is this a community project?

2007-07-16 Thread Morten Nilsen
David Seikel wrote:
 Where would an automated nightly build best be run?

We might be able to get that sorted using community horsepowers..
I, for one, could certainly run x86 builds on one of my boxes.

-- 
Cheers,
Morten

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Patch for etk-perl (pkg-config)

2007-07-16 Thread Jerome Pinot
Hi,

An other pkg-config patch (etk-perl):
http://ngc891.blogdns.net/pub/projects/patches/etk_perl-pkgconfig.patch

-- 
Jerome Pinot
http://ngc891.blogdns.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Nightly builds - Was: Is this a community project?

2007-07-16 Thread David Seikel
On Mon, 16 Jul 2007 18:40:27 +0200 Morten Nilsen [EMAIL PROTECTED]
wrote:

 David Seikel wrote:
  Where would an automated nightly build best be run?
 
 We might be able to get that sorted using community horsepowers..
 I, for one, could certainly run x86 builds on one of my boxes.

I'll put together something that will run on my three boxen first
(x86, PPC, Cell), then package it up into something simple others can
use.

I'm still leaning towards a centralised build though, that way only one
build report gets sent, and we don't have to deal with the usual user
X volunteered resources but didn't deliver admin nightmare we've had
before.  That's why qemu is on my radar.

Something simple first though, to work out the kinks.


signature.asc
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Support custom click area for Evas_Object

2007-07-16 Thread Andre Magalhaes

Hi,

On 7/16/07, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:

On Mon, 9 Jul 2007 19:20:57 -0300 Andre Magalhaes [EMAIL PROTECTED]
babbled:

 Hey Raster,

 On 7/9/07, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
  On Fri, 6 Jul 2007 18:00:08 -0300 Andre Magalhaes [EMAIL PROTECTED]
  babbled:
 
   Hi all,
  
   As this is my first post here, let me introduce myself. I am Andre
   Moreira Magalhaes, aka andrunko, and I work for INdT in Brazil.
 
  hey andre :)
 
   Now let's go to the point. I am working on a project that requires
   that an Evas_Object to have a custom click area. This object is a
   non-retangular object (a circle for eg) with a transparent backgroung.
   When i click on the background of this object, if the click was in a
   transparent area this object shouldn't receive any event. I was
   investigating the Evas code and i found 3 ways that this could be
   done.
 
  currently evas doesn't do this. in theory it could - but it doesn't.
 
   1 - Change evas_object_was_in_output_rect to always return 0 if the
   rect is in a transparent area of the object (not desired)
   2 - Change evas_object_event_callback_call to return a boolean value
   indicating if the object handled the event and if not, keep sending
   event to the other objects in the list. If the object handled the
   event, stop there. This would require a lot of changes.
   3 - Change evas_object_was_in_output_rect to check a for a custom
   in_output_rect method on the object, and if this method is set, use
   it to check if the rect is in output rect. This would require a new
   function, evas_object_is_in_output_rect_cb_set (or something similar)
   that could be implemented whenever is needed. If this method is not
   set, check the clip rectangle as it's done today.
 
  actually i already designed for this. there is an is_inside and was_inside
  method for objects. only line and polygon objects provide them and they just
  return 1 - these CAN be called if a point is inside the object rect and the
  code wants to determine if an event is still inside the object based on
  private object data (eg polygon outline, image pixel alpha channel data
  etc.). right now it basically isn't used - but its intent was to be used
  for this. the problem is this is actually relatively slow/expensive to do.
  you probably also want a way of enabling or disabling this level of event
  processing per object to save cost. so we probably need to add an object
  flag to use these methods, if they exist, or disable them (disabled by
  default), then provide methods for image objects at the least - then
  actually use them, if they are provided, and the flag is enabled for that
  object. implementing this won't be too hrd, but it won't be trivial. you
  need to be able to figure otu any x,y co-ord within the object and what
  pixel of the image that may map to based on paremeters of the object, then
  go check that pixel's alpha channel (if the image has an alpha channel).
  for polygon nd line objects you need to do some half-plane point
  intersection math (easy but its order(n) where n is the number of sides of
  the polygon). for lines its strange - you might want perfect inclusion, but
  that's a very small space unless its a thick line (doesn't exist
  currently). for text... thats hard as you need to figure out what character
  is in that x,y (that's easy) and then check the character glyph pixels to
  see if its inside...
 
  but anyway - i added this mechanism in at the very start but have never
  used it (or really needed it enough to implement the rest of it).
 hmmm, i didn't know about this is_inside method, it's similar to what

not surprising. it's hidden away for one day when i might want to use it :)

 i wanted but with some improvements :D. Attached there is a patch to
 implement it on evas_object_image and edje, and a callback to
 enable/disable it. I didn't like the name convention but this is
 something easy to change. I tested it here and it seems to be working.
 This is my first patch to evas, so please let me know where i can
 improve. Any comment is welcome

you seem to have only implemented the evas-side of using this method and a very
simple/primitive get pixel in evas_object_image_is_inside (). This doesn't
handle border scaling and any form of fills other than Scaling fills. i think
you really need to implement this - you need to take the x,y in
canvas-co-ordinates, then convert this to a, x,y in the pixel array for the
image (remember there is a fill origin and size so the image may get scaled
differently to the size of the object, also its original can be offset. also
there is border scaling that removes scaling for specified edges of the image
that you need to account for in converting the canvas co-ord x,y into a pixel
x,y reference).

hmmm, ok, i will fix this.


and as gustavo mentioned - this only covers argb32 images - doesn't handle yuv
(though yuv will ALWAYS be in as there is no 

Re: [E-devel] Support custom click area for Evas_Object

2007-07-16 Thread Andre Magalhaes
Added to bugzilla:

http://bugzilla.enlightenment.org/show_bug.cgi?id=105 (evas patch)
http://bugzilla.enlightenment.org/show_bug.cgi?id=106 (edje patch)

BR
Andrunko

On 7/16/07, Andre Magalhaes [EMAIL PROTECTED] wrote:
 Hi,

 On 7/16/07, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
  On Mon, 9 Jul 2007 19:20:57 -0300 Andre Magalhaes [EMAIL PROTECTED]
  babbled:
 
   Hey Raster,
  
   On 7/9/07, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
On Fri, 6 Jul 2007 18:00:08 -0300 Andre Magalhaes [EMAIL PROTECTED]
babbled:
   
 Hi all,

 As this is my first post here, let me introduce myself. I am Andre
 Moreira Magalhaes, aka andrunko, and I work for INdT in Brazil.
   
hey andre :)
   
 Now let's go to the point. I am working on a project that requires
 that an Evas_Object to have a custom click area. This object is a
 non-retangular object (a circle for eg) with a transparent backgroung.
 When i click on the background of this object, if the click was in a
 transparent area this object shouldn't receive any event. I was
 investigating the Evas code and i found 3 ways that this could be
 done.
   
currently evas doesn't do this. in theory it could - but it doesn't.
   
 1 - Change evas_object_was_in_output_rect to always return 0 if the
 rect is in a transparent area of the object (not desired)
 2 - Change evas_object_event_callback_call to return a boolean value
 indicating if the object handled the event and if not, keep sending
 event to the other objects in the list. If the object handled the
 event, stop there. This would require a lot of changes.
 3 - Change evas_object_was_in_output_rect to check a for a custom
 in_output_rect method on the object, and if this method is set, use
 it to check if the rect is in output rect. This would require a new
 function, evas_object_is_in_output_rect_cb_set (or something similar)
 that could be implemented whenever is needed. If this method is not
 set, check the clip rectangle as it's done today.
   
actually i already designed for this. there is an is_inside and 
was_inside
method for objects. only line and polygon objects provide them and they 
just
return 1 - these CAN be called if a point is inside the object rect and 
the
code wants to determine if an event is still inside the object based on
private object data (eg polygon outline, image pixel alpha channel data
etc.). right now it basically isn't used - but its intent was to be used
for this. the problem is this is actually relatively slow/expensive to 
do.
you probably also want a way of enabling or disabling this level of 
event
processing per object to save cost. so we probably need to add an object
flag to use these methods, if they exist, or disable them (disabled by
default), then provide methods for image objects at the least - then
actually use them, if they are provided, and the flag is enabled for 
that
object. implementing this won't be too hrd, but it won't be trivial. you
need to be able to figure otu any x,y co-ord within the object and what
pixel of the image that may map to based on paremeters of the object, 
then
go check that pixel's alpha channel (if the image has an alpha channel).
for polygon nd line objects you need to do some half-plane point
intersection math (easy but its order(n) where n is the number of sides 
of
the polygon). for lines its strange - you might want perfect inclusion, 
but
that's a very small space unless its a thick line (doesn't exist
currently). for text... thats hard as you need to figure out what 
character
is in that x,y (that's easy) and then check the character glyph pixels 
to
see if its inside...
   
but anyway - i added this mechanism in at the very start but have never
used it (or really needed it enough to implement the rest of it).
   hmmm, i didn't know about this is_inside method, it's similar to what
 
  not surprising. it's hidden away for one day when i might want to use it 
  :)
 
   i wanted but with some improvements :D. Attached there is a patch to
   implement it on evas_object_image and edje, and a callback to
   enable/disable it. I didn't like the name convention but this is
   something easy to change. I tested it here and it seems to be working.
   This is my first patch to evas, so please let me know where i can
   improve. Any comment is welcome
 
  you seem to have only implemented the evas-side of using this method and a 
  very
  simple/primitive get pixel in evas_object_image_is_inside (). This doesn't
  handle border scaling and any form of fills other than Scaling fills. i 
  think
  you really need to implement this - you need to take the x,y in
  canvas-co-ordinates, then convert this to a, x,y in the pixel array for the
  image (remember there is a fill 

Re: [E-devel] new project for e17

2007-07-16 Thread Ross Vandegrift
On Sun, Jul 15, 2007 at 01:27:44PM -0600, Eric Wasylishen wrote:
 The client part just needs dbus, and since e already uses e_dbus that
 dependency wouldn't be a problem.

As Brian said and I found out, e_dbus actually has some NM binding in
place already.  I've started building an EWL app that can talk to NM
and have it reading a device list from there.  The API in e_dbus has
needed some work - bits of it were broken and there's a lot of
functionality that it's missing.  I've been adding that code as I go.
Except some code soon!

Ross

 
 On 7/15/07, Daniel Patterson [EMAIL PROTECTED] wrote:
  On Sun, 15 Jul 2007 14:33:08 -0400
  Ross Vandegrift [EMAIL PROTECTED] wrote:
 
   On Sun, Jul 15, 2007 at 11:15:45AM -0700, Daniel Patterson wrote:
Using any Gnome daemon ties in gnome dependencies
  
   Nope.  NetworkManager is designed to be agnostic to any particular
   environment.  KDE uses it for it's backend as well.  From my box:
  
   [EMAIL PROTECTED]:~$ apt-cache depends network-manager
   network-manager
 Depends: libc6
 Depends: libdbus-1-3
 Depends: libdbus-glib-1-2
 Depends: libgcrypt11
 Depends: libglib2.0-0
 Depends: libgpg-error0
 Depends: libhal1
 Depends: libiw28
 Depends: libnl1-pre6
 Depends: libnm-util0
 Depends: iproute
 Depends: iputils-arping
 Depends: dhcdbd
 Depends: lsb-base
 Depends: wpasupplicant
 Depends: dbus
 Depends: hal
 Depends: ifupdown
|Recommends: network-manager-gnome
 Recommends: network-manager-kde
   knetworkmanager
  
  
   I suppose you might take issue with glib, hal, or dbus, but have fun
   with lots of things at that point...
  
  
not...). if you had a frontend that could bring up network
(dhclient or dhcpcd), or wireless (iwconfig, or wlanconfig), and
ppp (pppd), I think you would have a pretty nice application...
though I'm not sure why they should be integrated, just make three
nice separate apps!
  
   Because it's awesome to be lazy.  I've temporary gone back to Gnome on
   my laptop explicity because of NetworkManager support.  I take my
   laptop all over town and my network only ever needs to be configured
   once.  It remembers what networks work, and if I plug in the wired
   ethernet, it doesn't worry about wireless.
  
   I'm not sure why you think this is more trouble than it's worth.
   It's easy, non-intrusive, and works in all cases I've encountered at
   work/home/coffee shop.
  
 
  I stand corrected... what I said was based on personal experience with
  it a while ago (around a year)... I tried to install it and it pulled in
  twenty to thirty dependencies... perhaps something was wrong with it in
  its early stages, or it was mistakingly pulling in something it did not
  actually need.
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 
Ross Vandegrift
[EMAIL PROTECTED]

The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell.
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread Ross Vandegrift
On Mon, Jul 16, 2007 at 10:55:36AM +0900, Carsten Haitzler wrote:
 networkmanager also handles ppp and pppoe? didn't know that. last i checked it
 just did ethernet and 802.11. well then making a front end to NM is probably a
 good way to go.

Actually, you're right.  I saw PPTP and figured it could also do ppp
since that uses pppd at some level.  So we still need the ppp app.

 (personally i believe that a file owned by the user and only
 readable by the user is enough - sure root can read it, but how many boxes
 where a user CAN select networks is there going to be an unfriendly root user
 who doesn't already know these things or can't find them out easily). there is
 the danger of trojans digging these files up - but once you have a
 trojan/virus running as that user - they can do a lot of damage in terms of
 finding out personal and sensitive info... is it worth the effort to try
 encrypt and then require decryption passphrases etc.

I'm glad you feel this way - I wasn't really looking forward to the
gnome-keychain model of constantly asking the user for passwords.  I
lasted less than a week with that before I modified my pam to shut it
the hell up...

Ross

-- 
Ross Vandegrift
[EMAIL PROTECTED]

The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell.
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] SDL engine and windows (cvs problem)

2007-07-16 Thread Vincent Torri

Hey

Windows is case insensitive and in the SDL engine, 2 files have the same 
name (regardless of the case).

May I rename evas_engine_sdl.h to evas_engine.h ? (and maybe 
evas_engine_sdl.c too, to be consistent)

Vincent

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] SDL engine and windows (cvs problem)

2007-07-16 Thread The Rasterman
On Mon, 16 Jul 2007 23:28:59 +0200 (CEST) Vincent Torri [EMAIL PROTECTED]
babbled:

 
 Hey
 
 Windows is case insensitive and in the SDL engine, 2 files have the same 
 name (regardless of the case).
 
 May I rename evas_engine_sdl.h to evas_engine.h ? (and maybe 
 evas_engine_sdl.c too, to be consistent)

sounds good to me. go for it.

 Vincent
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new project for e17

2007-07-16 Thread The Rasterman
On Mon, 16 Jul 2007 15:21:09 -0400 Ross Vandegrift [EMAIL PROTECTED] babbled:

 On Mon, Jul 16, 2007 at 10:55:36AM +0900, Carsten Haitzler wrote:
  networkmanager also handles ppp and pppoe? didn't know that. last i checked
  it just did ethernet and 802.11. well then making a front end to NM is
  probably a good way to go.
 
 Actually, you're right.  I saw PPTP and figured it could also do ppp
 since that uses pppd at some level.  So we still need the ppp app.

maybe NM will get ppp etc. support eventually. i think people are slowly, but
surely leaving ppp+modems behind and ignoring them. pppoe is here and will stay
for a while it seems though. this doesn't mean we should drop ppp - just that
it seems a low priority for developers (i haven't used an analogue/ppp modem
link for 9 years or so).

  (personally i believe that a file owned by the user and only
  readable by the user is enough - sure root can read it, but how many boxes
  where a user CAN select networks is there going to be an unfriendly root
  user who doesn't already know these things or can't find them out easily).
  there is the danger of trojans digging these files up - but once you have
  a trojan/virus running as that user - they can do a lot of damage in terms
  of finding out personal and sensitive info... is it worth the effort to try
  encrypt and then require decryption passphrases etc.
 
 I'm glad you feel this way - I wasn't really looking forward to the
 gnome-keychain model of constantly asking the user for passwords.  I
 lasted less than a week with that before I modified my pam to shut it
 the hell up...

i'm a fan of non-intrusive security. there is a point where security just goes
too far. imho if a break-in (trojan, virus etc.) attempt has managed to get to
the point where it can execute arbitrary code as your user id - game over man.
game over. hiding your ppp or pppoe or wireless network keys only
slightly mitigates the problem. your password is likely stored in your mail
client, web browser (where it saves your passwords - even if obfuscated they
can be found), and all your own personal data files (mail, porn, etc.) are
available to the hacker. one should stop the hacker getting into the front
door to begin with.

of course now the paranoid security people will jump up and down and say you
need multiple layers of security and that by encrypting really sensitive info
(like passwords for networks etc.) could avoid big problems if there was an
incursion (as now wireless network keys may need to be changed across your
workplace - maybe multiple offices across many countries need to change them
now as they have been compromised - for example).

the question here is - how many times do you really need to go enter a
password? i am not sure here, but gnome-keyring to me smells of just another
layer for a hacker to get into. hacker can just pretend to be gnome-keyring
and pop up a dialog - ask for your passphrase - you would be none-the-wiser and
then it can just use that to decrypt your stored info.

as i said - once its running as you... game-over boys.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Nightly builds - Was: Is this a community project?

2007-07-16 Thread David Seikel
On Tue, 17 Jul 2007 07:27:51 +0900 Carsten Haitzler (The Rasterman)
[EMAIL PROTECTED] wrote:

 On Tue, 17 Jul 2007 01:45:00 +1000 David Seikel [EMAIL PROTECTED]
 babbled:
 
  On Mon, 16 Jul 2007 10:28:07 -0500 Nathan Ingersoll
  [EMAIL PROTECTED] wrote:
  
   On 7/16/07, David Seikel [EMAIL PROTECTED] wrote:
   
 So you are you complaining about API changes breaking the CVS
 build and not getting fixed,
   
Yes.
   
   This is actually a series of problems, not just one person taking
   the time to fix CVS, though that is part of it. It also indicates
   we are lacking good review of changes, user feedback is not
   reaching the developers that will fix it, and maintainers are not
   updating their module as dependency changes occur.
   
   An automated nightly build could improve the build break
   detection.
  
  I do a mostly regular build of almost everything, which is why I
  notice these things.  I'll be happy to setup regular automated
  builds.
  
  Where would an automated nightly build best be run?  Where would the
  results be delivered?   Since we are scattered all over the planet,
  whose night should be used to define nightly?
 
 we have servers! e1.enlightenment.org and e2.enlightenment.org. we
 can install any locally required packages for builds and have them
 automated. build + install (into a specific prefix - eg /opt/e17).
 only a matter of scripting it up so it is automated and won't fail if
 not done as root (we need to do it as a user here for security
 reasons considering what a build can actually do). currently the
 builds should not fail if done as a user.

Still working on the automation script.  Should have a first cut result
available in an hour.

  Many other questions need to be answered to set this up.
  
  Off the top of my head.  sf.net has a compile farm that can be used
  for such things and I already use it for another project.  Then we
  can do builds on several platforms.  I have seen other projects get
  the results of the nightly build sent as a single email to their dev
  mailing list each night.
 
 aaah - other platforms - that is a problem. we can do a nightly build
 for at least x86 (and x86_64). that should be sufficient for us for
 now. other arches are good - but we only have so much in the way of
 resources. we could do ARM builds via scratchbox the same way we do
 x86/x86_64 easily. i assume ppc could be done in a similar way if
 someone wants to set up a scratchbox ppc env.

Think I can scare up some PPC build boxen.  B-)


signature.asc
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel