Re: [E-devel] call for testing! eeze 1.1!
Mike Blumenkrantz m...@zentific.com - Fri, 4 Feb 2011 12:32:57 -0500 Hi, eeze 1.1 has been out for several months now, but I have received no test reports. This is not very motivating for writing an efm backend that does not require HAL/udisks! To help, try using any of the utils distributed: eeze_mount, eeze_umount, eeze_disk_ls. Note that eeze_mount is currently somewhat simple since it's just a demo. If you specify 1 argument, it will assume that the requested device is in your fstab and mount according to that. If you specify 2 arguments, it will attempt to mount the device (arg #1) at the location (arg #2), guessing some options along the way. Hello, I'm very interested in eeze because I'm searching for a smart and simple tool to manage mountable devices : once it'd get a nice GUI to mount/umount disk it'll be perfect (*). Since I'm very afraid :^) by hal, dbus, udisks, devicekit, ... I find eeze very exiting. Yes, all those strange pieces of software tend to make the Linux Desktop more complicated. Not to speak of the mess in between introduced by KDE and ConsoleKit ;).. Currently I have completely disabled hal and dbus on my desktop and only use a small automatic mount script in udev (included at the end). Anyway that's not what's you are interested in. You asked for some report/test. I can confirm that eeze_udev_test works nicely : - it lists devices - I can distinguish between not mounted usb drives and mounted one (even if the output is strange to understand, I think this is only polishing) - this is a small program ! and fast My test case : - insert an usb disk which has 2 partitions - look at mount : they are all mounted - unmount the first for testing purpose Thus I have: /dev/sdh sdh1 vfat not mounted sdh2 ext3 mounted Some problems (maybe not) : - I've a PS2 keyboard and strangely it lists a lot of keyboards ;) Found keyboard: /sys/devices/pci:00/:00:1d.7/usb2 Found keyboard: /sys/devices/pci:00/:00:1d.7 Found keyboard: /sys/devices/pci:00/:00:1d.2 Found keyboard: /sys/devices/pci:00/:00:1d.1/usb6 Found keyboard: /sys/devices/pci:00/:00:1d.1 Found keyboard: /sys/devices/pci:00/:00:1d.0 Found keyboard: /sys/devices/pci:00/:00:1a.7/usb1 Found keyboard: /sys/devices/pci:00/:00:1a.7 Found keyboard: /sys/devices/pci:00/:00:1a.1 Found keyboard: /sys/devices/pci:00/:00:1a.0 Found keyboard: /sys/devices/pci:00/:00:1d.2/usb7 Found keyboard: /sys/devices/pci:00/:00:1d.2/usb7/7-2/7-2:1.1/input/input3/event3 Found keyboard: /sys/devices/platform/i8042/serio0/input/input1/event1 - it lists 2 devices for my unmounted usb partition Now let's try something a little more difficult. Mountable filesystems! Found device: /sys/devices/pci:00/:00:1d.7/usb2 You probably know it better as /dev/bus/usb/002/001 Found device: /sys/devices/pci:00/:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdh/sdh1 You probably know it better as /dev/sdh1 It's formatted as vfat! Unfortunately I cannot test the mount features since you made it depends on mount = 2.18 and even with the latest Debian it's only 2.17 on the platform. Is this really necessary to use 2.18 ?? 2.17 would not suffice ? By the way, I'd say good work ! (*) Last but not the least : eeze could be usefull for all Desktop environments out there, not only for E ! This could save the Gnome, KDE, ... guys a lot of headaches (ahahah) with the mess of hal and devicekit.. Simpler and cleaner. Regards, Michel Script in /etc/udev/rules.d : KERNEL!=sd[a-z][0-9], GOTO=media_by_label_auto_mount_end # Import FS infos IMPORT{program}=/sbin/blkid -o udev -p %N # Get a label if present, otherwise specify one ENV{ID_FS_LABEL}!=, ENV{dir_name}=%E{ID_FS_LABEL} ENV{ID_FS_LABEL}==, ENV{dir_name}=usbhd-%k # Global mount options ACTION==add, ENV{mount_options}=noatime # Filesystem-specific mount options ACTION==add, ENV{ID_FS_TYPE}==vfat|ntfs, ENV{mount_options}=$env{mount_options},utf8,gid=1000,umask=002 # Mount the device ACTION==add, RUN+=/bin/mkdir -p /media/%E{dir_name}, RUN+=/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name} # Clean up after removal ACTION==remove, ENV{dir_name}!=, RUN+=/bin/umount -l /media/%E{dir_name}, RUN+=/bin/rmdir /media/%E{dir_name} # Exit LABEL=media_by_label_auto_mount_end -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net
Re: [E-devel] call for testing! eeze 1.1!
Mike Blumenkrantz m...@zentific.com - Sat, 5 Feb 2011 03:56:45 -0500 On Sat, 5 Feb 2011 01:59:02 +0100 Michel Briand michelbri...@free.fr wrote: Mike Blumenkrantz m...@zentific.com - Fri, 4 Feb 2011 12:32:57 -0500 Hi, eeze 1.1 has been out for several months now, but I have received no test reports. This is not very motivating for writing an efm backend that does not require HAL/udisks! Unfortunately I cannot test the mount features since you made it depends on mount = 2.18 and even with the latest Debian it's only 2.17 on the platform. Is this really necessary to use 2.18 ?? 2.17 would not suffice ? 2.18 is required. 2.17 will not suffice. Hello Albin, what's the plan for the mount package on Debian ? Do you have any release plan for E ? Regards, Michel -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Seg Faulting when installing Debian Packages
Jeff Hoogland jeffhoogl...@gmail.com - Sat, 5 Feb 2011 09:35:48 -0600 Howdy There, Anyone else running E on something debian based? In recent builds E has started segfaulting when installing most debian packages. Any ideas why that might be? ~Jeff Hoogland Where do you find those Debian packages ? -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] e16 bug with BBO
Hello I'm running BBO (Bridge Base Online) through Wine. Everything was ok with e16 previous version. With current version (Enlightenment 0.16.8.13 - $Date: 2008/05/01 11:33:44 $), when I click left button in the BBO window the event don't go to the application but moves the window 5 pixels toward bottom of screen. I tested a lot of things to no avail, until I found that when I change (in E's window menu) the style to BORDERLESS, the problem disappears. any idea? Best regards, Michel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Environnement de bureau - Wikipédia / Desktop environment
Hi all, shall E deserve a word in these pages : http://fr.wikipedia.org/wiki/Environnement_de_bureau http://en.wikipedia.org/wiki/Desktop_environment Cheers, Michel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [e-users] News from the E stables
Andrew Williams [EMAIL PROTECTED] - Tue, 27 Nov 2007 12:09:14 + If folk are wanting better revision control and client-side diffing etc. then SVN is a much wiser choice - not because it is better than GIT, but because it looks the same to CVS users, requires absolutely minimal re-learning (replace cvs with svn basically) and the conversion is automated and simple. just 2 cents, I know that SVN is not perfect, but it is a few classes above CVS. Andy Hi all, being involved in big developments with CVS and SVN in industry, I would like to add my comments on this topic. We also use ClearCase and Aegis (+ a similar tool of our own) and Starteam. Beware of SVN. In particular on two critical points : - performances - ability to know what you're doing with branches No space here to elaborate on theses very special points but my 2 cents : - SVN could criple performances when commiting / updating ... - branches are in a very early and naive state of implementation, you could be lost in revision numbers just to merge 2 poor little files CVS offers less features but has a big advantage : it's very simple and crystal clear ! I agree with people that say that's bad to change the source control software near release time. That's not the moment : why make things harder in that particular time? But for the future I would suggest : - all must agree on centralized model - given that proper usage of source control software could be agreed - you may choose good tools even they implement distributed repository : it's just a matter of implementing good pratices in the team - git, monotone and darcs are very good tools - Aegis is a more robust tool that enable you to define a unique branch of integration : thus ensuring a good centralized model with strong features like change sets... That's said, the most features of the source control software the team would use, better the tracability and control will be ;). I.e. tagging releases, using scripts to make integration (apply a patch, merge a source tree, check goodbad files in working directories, maximize synthetic information and minimize differences... Cheers, Michel - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] News from the E stables
[EMAIL PROTECTED] [EMAIL PROTECTED] - Tue, 27 Nov 2007 11:06:53 GMT Michael BRIAND wrote: LOL it's a sort of dangerous journey... being stuck into a words demonstation like this... Not at all. I know that KainX is just extremely rigorous and demands a lot from himself -- and others. He showed me that he did indeed know what he was talking about, and I'd been mistaken. He just didn't realize that I had no idea what HTH means, so I just started imagening what the hell it might be.. and given all the talk from the stables and all the hippocritters around, that's what came to mind. BTW, is there some area of E that you feel you might like to work on? Some area you have some experience in? jose. Ok, you're right. Just to explain : I was shocked by bluntness ;) (Michael teach me that word ; On my skills and above all my time available ;o) ... I'm skilled in -source control software -software engineering in industry (it's seems that's different from open source development) -basic C UNIX programming (system, network, ...) -X11, motif -3D scene graph and rendering with OpenGL - My time available ? - I'm working 45hours/week for a big industry (aircrafts) - I'm leading an off work project involving a specialized Linux distribution (packaging) with a lot of 3d softwares (code testing) for Archeology researchers and involving lobbying in the Research institutions to enable interoperability (politics, file formats, open source, ...) - my first child is to born around 25 of december ;^) Anyway I've looked into the E code a lot of time I've fixed some minor things in Imlib2. I've implemented new features in epeg. I like very much the E config scheme that Raster ask me to look into recently... Cheers, Michel - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] News from the E stables
[EMAIL PROTECTED] [EMAIL PROTECTED] - Mon, 26 Nov 2007 06:30:43 GMT Morten wrote: What does HTH, mean? Hope That Helps Ahh, thanks. I kept seeing things like Hitting The Hay, Higher Than High, Hotter Than Hot, Humping The Hippo, ... ? and was having problems visualizing Michael and the ... (just kidding MJ. :) ) LOL it's a sort of dangerous journey... being stuck into a words demonstation like this... you had the merit of keeping your calm, bravo ! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [e-users] News from the E stables
Brian 'morlenxus' Miculcy [EMAIL PROTECTED] - Sun, 11 Nov 2007 02:07:32 +0100 Never heard of that good script. Also we already have a nightly test build running: http://download.enlightenment.org/tests/ Precisely : the script running on this server. It could be improved to help complete secured builds in developer's working directory. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] copy/paste
Try to copy / paste from the Window properties dialog of E17 into vim ! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] 2 high level E bugs
Hello, 1/ when VLC goes full screen nothing happens, the main window stays in place and the fullscreen window is invisible... Restart E and the fullscreen window with the movie appears in the background this does happens randomly with kmplayer / gmplayer but everytime with VLC 2/ when quitting E fails to send a message to AMSN which block the session termination, finally E pop up a message to force quit... Best regards, Michel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] eet text file config...
Hi Raster, Very smart you are :) Was there so many crazy people like me ? As I were very busy (buried under a thousand of dully mails at work) I went home very tired theses days... But I used a few moment to think of your edc scheme and now it seems to me more powerfull that text files ;) Anyway I'll test your new implementation. Thank and bravo! Michel Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] - Sun, 9 Sep 2007 00:15:36 +0900 ok- for all the crazies out there who insist on text config files i added: 1. a little extra info to eet data blobs to also encode data type. 2. eet api to parse and dump text config files to and from eet config data blobs 3. a small eet util to extract, insert, encode and decode such blobs. you will need to wrap this up yourself in shell scripts as you see fit - the config format is very edc like (for edje files) and the parser is not forgiving - make a mistake and it won't be happy and not tell you much. you can extract e's config for example: eet -d ~/.e/e/config/default/e.cfg config out.txt vi out.txt eet -e ~/.e/e/config/default/e.cfg config out.txt 1 any eet file can have elements extracted - if they are eet config blobs it can decode. other blobs may be images or other data - the tool doesn't handle that. beware - config files will be LONG. my e.cfg is a 20kb binary blob - but as text expands to over 10,000 lines of config. parsing of these is slow compared to the binary blobs which is lightning fast. you have all u need to screw with files as you like - be warned that if you do so you are on your own. i implemented this just to keep the i must have this as text complainers happy. it doesn't buy you anything but a way of screwing your config up. i issue this warning now. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] (evfs build fails) libcurl dependency: Makefile need rework
evfs : When libcurl is not installed, configure, libtool Makefile do still want to compile with it, resulting in a failed build : gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../.. -I../../../src/include -I/opt/e17/include -I/opt/e17/include/efreet -I/opt/e17/include -g -O2 -D_FILE_OFFSET_BITS=64 -MT samba_la-evfs_filereference.lo -MD -MP -MF .deps/samba_la-evfs_filereference.Tpo -c ../../../src/common/evfs_filereference.c -o samba_la-evfs_filereference.o /dev/null 21 /bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -rdynamic -shared -o samba.la -rpath /opt/e17/lib/evfs/plugins/file -module -avoid-version -lsmbclient samba_la-evfs_fs_samba.lo samba_la-evfs_debug.lo samba_la-evfs_event_helper.lo samba_la-evfs_misc.lo samba_la-evfs_command.lo samba_la-evfs_filereference.lo -L/opt/e17/lib -lecore_desktop -lecore_file -lecore_ipc -lecore_con -lecore -lssl -lcrypto -L../../../src/lib -levfs gcc -shared .libs/samba_la-evfs_fs_samba.o .libs/samba_la-evfs_debug.o .libs/samba_la-evfs_event_helper.o .libs/samba_la-evfs_misc.o .libs/samba_la-evfs_command.o .libs/samba_la-evfs_filereference.o -lsmbclient -L/opt/e17/lib /opt/e17/lib/libecore_desktop.so /opt/e17/lib/libecore_file.so /opt/e17/lib/libecore_ipc.so /opt/e17/lib/libecore_con.so /opt/e17/lib/libecore.so -lssl -lcrypto -L/local/dl/build/e17/e17/apps/evfs/src/lib /opt/e17/lib/libevfs.so -Wl,-soname -Wl,samba.so -o .libs/samba.so ar cru .libs/samba.a samba_la-evfs_fs_samba.o samba_la-evfs_debug.o samba_la-evfs_event_helper.o samba_la-evfs_misc.o samba_la-evfs_command.o samba_la-evfs_filereference.o ranlib .libs/samba.a creating samba.la /bin/sed: can't read /usr/lib/libcurl.la: No such file or directory libtool: link: `/usr/lib/libcurl.la' is not a valid libtool archive make: *** [samba.la] Erreur 1 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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
Jerome Pinot [EMAIL PROTECTED] - Tue, 17 Jul 2007 00:17:52 +0900 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 :-) Request that error on Google, and you'll find links like this: http://www.cygwin.com/ml/automake/2000-11/msg00120.html where it's said that automake can't use this construct. Better say goodbye to this smart piece that seems not to work and replace it with a more brutal approach ;) Cheers, Michel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [ml] Re: [PATCH] Imlib2 loader_bmp fixes
Yes it works. Tested with imlib2_view, my own program and the great FEH ;) ! Thank you, Best regards, Michel Joel Klinghed [EMAIL PROTECTED] - Mon, 09 Jul 2007 11:49:32 +0200 Hi. You will have to apply my patch by hand as it has yet to be included in CVS. Something like `patch -Np1 -i ../imlib2-loader_bmp-fix.patch' in your imlib2 directory should do it. /JK Michel BRIAND wrote: Hello thanks for your time. Anyway I'm still stuck :). I have updated my CVS to the lastest version (cvs up -PACd), I've issue make (no file needed to be rebuilt). And I still have this behaviour : ltrace .libs/imlib2_view toto+x.bmp __libc_start_main(0x8048ee0, 2, 0xbf959df4, 0x8049e60, 0x8049e10 unfinished ... getenv(DISPLAY)= NULL XOpenDisplay(:0) = 0x804b008 XCreateSimpleWindow(0x804b008, 309, 0, 0, 10)= 0x381 XSelectInput(0x804b008, 0x381, 8268, 0, 10) = 1 imlib_context_set_display(0x804b008, 0x381, 8268, 0, 10) = 0xb7e81499 imlib_context_set_visual(0x8050008, 0x381, 8268, 0, 10) = 24 imlib_context_set_colormap(32, 0x381, 8268, 0, 10) = 0xb7e813b9 imlib_context_set_progress_function(0x8049a40, 0x381, 8268, 0, 10) = 0xb7e80849 imlib_context_set_progress_granularity(10, 0x381, 8268, 0, 10) = 0x804f930 imlib_context_set_drawable(0x381, 0x381, 8268, 0, 10) = 0xb7e81319 imlib_load_image(0xbf95bdab, 0x381, 8268, 0, 10) = 0 fwrite(Image format not available\n, 1, 27, 0xb7e70440Image format not available ) = 27 exit(0 unfinished ... +++ exited (status 0) +++ I'll try to investigate more. But can you help me find out this strange thing ? Best regards, Michel Joel Klinghed [EMAIL PROTECTED] - Sun, 08 Jul 2007 15:54:42 +0200 Hi. Your toto+x.bmp loads correctly with my patch applied to the BMP loader of Imlib2. /JK Michel BRIAND wrote: Hello I have some BMP files that won't be loaded by Imlib2. My program (3d engine that make use of Imlib2 to load images) and the great FEH don't work with them. But the Gimp manage to load them properly. I don't know if the files are malformed or if Imlib2 BMP loader is not happy with them... So I attach them. Since I don't know much of the BMP format, can I ask you to check my files or the BMP loader code to tell where the fault is ? Best regards, Michel ** Trace log from feh ** feh toto+x.bmp feh WARNING: toto+x.bmp - No Imlib2 loader for that file format feh - No loadable images specified. Use feh --help for detailed usage information ** Gdb helped me to find where this happens ** The problem is in the test (offset=size) at loader_bmp.c:194. Breakpoint 3, __imlib_LoadImage (file=0x81188f0 ./textures/toto+x.bmp, progress=0, progress_granularity=0 '\0', immediate_load=1 '\001', dont_cache=0 '\0', er=0xbff3b468) at image.c:1026 (gdb) n (gdb) n ... (gdb) p *best_loader $20 = {file = 0x8151b50 /home/michel/umichel/dev/3dparty/lib/imlib2/loaders/bmp.so, num_formats = 1, formats = 0x8151b30, handle = 0x81517a0, load = 0xb690ac10 load, save = 0xb690a940 save, next = 0x8151048} (gdb) s load (im=0x811d368, progress=0, progress_granularity=0 '\0', immediate_load=1 '\001') at loader_bmp.c:163 (gdb) n ... (gdb) p type $21 = BM (gdb) n (gdb) s ReadleLong (file=0x8152000, ret=0xbff3b3e0) at loader_bmp.c:54 (gdb) n ... (gdb) p *ret $22 = 905969664 (gdb) n load (im=0x811d368, progress=0, progress_granularity=0 '\0', immediate_load=1 '\001') at loader_bmp.c:193 (gdb) s ReadleLong (file=0x8152000, ret=0xbff3b3dc) at loader_bmp.c:54 (gdb) n ... (gdb) p *ret $23 = 671088640 (gdb) n load (im=0x811d368, progress=0, progress_granularity=0 '\0', immediate_load=1 '\001') at loader_bmp.c:194 (gdb) p offset $24 = value optimized out (gdb) p size No symbol size in current context. (gdb) n (gdb) n (gdb) c Continuing. Assertion failed in feed_skybox.c at line 85. Expr: texture Program exited normally. (gdb) Joel Klinghed [EMAIL PROTECTED] - Wed, 27 Jun 2007 03:08:46 +0200 Hi. Attached a patch to the bmp loader in Imlib2 that fixes a couple of mixups concerning endianess. /Joel Klinghed This body part will be downloaded on demand. This body part will be downloaded on demand. - 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] E17 installation report in new distro (fai debian etch)
Hello in my new company, with a friend of mine, we have started a Linux Master Server project: ie with FAI we install all new computers automaticaly. We have chosen Debian Etch as a starting point but with a few improvements. E17 is one of the most important ones. We ran into a few troubles with Entrance: 1/ The PIDFILE defined in /etc/init.d/entrance does not match the real one created by entranced. In the source tree I can see that it has been fixed. Is it the case in the trunk ? Is your .deb up to date ? 2/ Entrance does not run the Debian Xsession scheme. I've tried to change the /etc/entrance/Xsession file but to no avail. Does anyone have a solution or even a clue ? 3/ Enlightenment has its main menu broken. 3.1/ The Applications dialog is obviously broken (graphicaly): the left part of it is stucker in a rectangle in the left top corner, unusable 3.2/ In this dialog the regenerate menus button, which did not worked in the 12/03 .deb update, is no more visible. I can't say if it works now ;) 'cause I can't click on it. Is there a command line utility to create menus ? 3.3/ I can drag a application from the applications dialog to the Ibar : it works. But I would make a comment: the widget that is under the mouse is a big rectangle taken from the app dialog list, and it is not easy to drop it in the Ibar at the point one's want to... since the mouse pointer is no more visible... 4/ Enlightenment has still a problem with svg: going through the icon theme dialog, one would just dig into an svg directory and press the apply button... Bug reproducable since six months or so. 5/ The mixer applet (or module) is not usable: it simply does not work. It starts and show a nice ruler but: 5.1/ Each time the applet receive a mouse button it opens and activate the mute check box: that way you have always the mute checked... The ruler does not make the sound volume to change !?? 6/ We would like to discuss about the media mounting/unmounting... It would be nice to have a media menu in E to help new users to use linux... And E17 deserve a better design than kde for this... Is there anyone that wants to start a design discussion about this ? ** But the picture is not so bad, I would say that E17 is in a good shape and that it can be used by non-geek users (corporate users). 80% of functions are working well, and the window manager does its job perfectly. ** I would like to thanks everyone that has worked hard in the last year to make this real :) Best regards, Michel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] minor problem with azureus
Morten Nilsen a écrit : Morten Nilsen wrote: currently, azureus is the only application I use that gets into trouble when I restart e17.. the window becomes blank and unresponsive.. right-clicking close lets me cleanly start a new copy.. I'm guessing this is caused by some weird java behaviour.. I'm guessing the deafening silence means nobody cares about java? :) To be honest, I hate java. Window Managers don't fell hate :) they simple manage windows dedicatedly :P --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] XGL
Hi you certainly have noticed this link: http://linux.slashdot.org/article.pl?sid=06/02/08/0624253 and watch this movie: http://www.freedesktop.org/~davidr/xgl-demo1.xvid.avi What is the status of 3D in E17 ? Does the ever changing EFL would be stable enough one day to begin hack some nice features? No :p, I'm joking, sorry. Regards, Michel --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl on MinGw
Hi, and happy new year ;) I would add something on that topic, having tested and worked a long time with this configuration: Cygwin/X works very well as a good X server on your little sister's computer ;)... I use Cygwin/X for many month without trouble, I rebuild Imlib2 and a lot of Open Source applications (even OpenGL programs with the last Cygwin/X with GLX support)... So I would say that this combo is good enough for production use. E16 is running in Cygwin/X (http://cuco.pwp.blueyonder.co.uk/desktop/e-cygwin.png). Strickly speeking E17 have to be build tested on Windows before saying that you could use them but I don't see any major blocking issue. Raster: what's the status of Evas's win32 rendering engine ? I see empty files in the appropriate directory ;)... Since Evas is the heart of all things in E17 that the main focal point to investigate. Regarding MinGw I see it as a buddle offering an X server, a Window Manager and a widget API. So I would discourage a merge of EFL in it : it could be boring and not so productive. What do you think? Best regards, Michel Carsten Haitzler (The Rasterman) a écrit : On Tue, 3 Jan 2006 13:57:37 -0600 Benoit DECHERF [EMAIL PROTECTED] babbled: ups... software_qtopia doesn't work on windows ? err .. no? qtopia is the EMBEDDED GUI from trolltech based 99% on qt. there is no windows native display system for efl - you could install an xswerver abnd xlibs and use an xserver under windows though - in theory :) I still have a lot of problems for compiling the library. I'm not realy intersting on porting efl on windows. I just want to use EFL to develop cross platform aplications. Could you publish ths binary of EFL ? Or describe how to compile it ? (with all library you need to install first :) ). thank you. 2006/1/3, Tilman Sauerbeck [EMAIL PROTECTED]: Benoit DECHERF [2006-01-02 17:20]: Someone has compile efl on MinGw ? Yes. Mind there's no Evas engine for win32, so it's prolly a bit boring ;) I just compile eet, but I had to change fnmatch because i can't find this include for MinGw. Does it exist ? Where Can I find it ? http://claws.sylpheed.org/win32/sylpheed/fnmatch-dev-2003.8.25.0.zip Power of Google etc. Regards, Tilman -- GnuPG key available at http://code-monkey.de/files/tsauerbeck-public-key.asc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op$([EMAIL PROTECTED](Bk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Menu editor
Nice, but maybe you should malloc strings with a more secured way... [EMAIL PROTECTED] ~ $ ./eme Enlightenment Menu Editor v0.1 by Jason Kielpinski -- Menu Entries -- unknown action... *** glibc detected *** malloc(): memory corruption: 0x0804b258 *** Abandon [EMAIL PROTECTED] ~ $ gdb eme GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i686-pc-linux-gnu...Using host libthread_db library /lib/libthread_db.so.1. (gdb) r Starting program: /home/michel/eme Enlightenment Menu Editor v0.1 by Jason Kielpinski -- Menu Entries -- unknown action... *** glibc detected *** malloc(): memory corruption: 0x0804b258 *** Program received signal SIGABRT, Aborted. 0x40058671 in kill () at string2.h:1000 1000string2.h: Aucun fichier ou répertoire de ce type. in string2.h (gdb) bt #0 0x40058671 in kill () at string2.h:1000 #1 0x40058285 in *__GI_raise (sig=6) at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32 #2 0x40059a00 in *__GI_abort () at ../sysdeps/generic/abort.c:88 #3 0x4008c53e in __libc_message (do_abort=2, fmt=0x40141840 *** glibc detected *** %s: 0x%s ***\n) at ../sysdeps/unix/sysv/linux/libc_fatal.c:145 #4 0x400923d6 in malloc_printerr (action=2, str=0x4013eecb malloc(): memory corruption, ptr=0x0) at malloc.c:5525 #5 0x400933d2 in _int_malloc (av=0x4014c9e0, bytes=0) at malloc.c:3933 #6 0x40094b91 in *__GI___libc_malloc (bytes=256) at malloc.c:3339 #7 0x0804919f in getEntry ( contents=0x804b328 \e16 main menu\\n\console\\tNULL\texec\t\xterm -ls\\n\rox\\t\tNULL\texec\t\rox\\n\top\\t\tNULL\texec\t\ksysguard\\n\calculette\\tNULL\texec\t\xcalc\\n\Emacs\\t\tNULL\texec\t\emacs\\n\-\ NULL. .\n\Mozilla..., num=1) at eme.c:403 #8 0x08048ec3 in dispEntries ( contents=0x804b328 \e16 main menu\\n\console\\tNULL\texec\t\xterm -ls\\n\rox\\t\tNULL\texec\t\rox\\n\top\\t\tNULL\texec\t\ksysguard\\n\calculette\\tNULL\texec\t\xcalc\\n\Emacs\\t\tNULL\texec\t\emacs\\n\-\ NULL. .\n\Mozilla...) at eme.c:304 #9 0x0804882a in main (argc=1, argv=0xbfaab624) at eme.c:120 (gdb) Regards, Michel Jason Kielpinski a écrit : I hacked up this little menu editor. It's slightly more convenient than editing the config file.. feel free to spread it around if you want. Comments/suggestions/bug reports more than welcome. If there's enough interest I'll make a better one (and a GUI one maybe). -- Jason Kielpinski --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Re: [e-users] e16.8 pre1
It's amasing! E16 works for years, and even if I switched to Entranced one year ago, I still use E16 because it's a STABLE environment I can rely on. I use E16 on 4 computers, 2 at home and 2 at work, and I use the same customizations for more than 6 years: - all important features are keybinded (switch, maximize, shade, iconify, ...) - all my favorite programs are binded too (scrot, feh, rox, ... + a number of scripts of mine for start/pause/stop CD or XMMS) - my file menu and sub-menus are filled with all my fav applications too All that stuff I repeat DONT HAVE CHANGED FOR YEAR. Users that want to USE their computer to do some duty work, or even users that want to USE their computer to hack for other projects, need a STABLE environment. *** SO I WONDER WHY YOU HAVE CHANGED THE CONFIG FILE STRUCTURE AND SYNTAX RECENTLY *** IT'S A BIG, AN AMASING MISTAKE THAT CRIPLE THE RESPECT YOU OUGHT FOR THE WORK YOU'VE DONE Please pardon me, but many Open Source projects are suffering the same. It's not your fault. You intended to improve E and I thank you for that. But why change things that are working for years ? Please disregard this mail if you don't understand what I mean. ;) Best regards, Michel Mark R. Bowyer a écrit : On Fri, 2005-12-16 at 00:45 +0100, Kim Woelders wrote: It may be a bit late for this, e17 lurking just around the corner, but it looks like there still are a handful of e16 users out there. Given that e17 still only appears to work on Linux, and not the other Unixes out there (is that still true) there are indeed still a lot of us about =O) I've got this running on Solaris 11/Express builds on SPARC, SunRays and AMD64 laptops, and still love it. I can't thank you enough for the work you've put in here. But still I'll try - many, many thanks =O) Ta, Mark. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [new file] entrance init.d
I suggest a cleanup in startup /etc/init.d/entranced as would fit in Debian * no more use of @prefix@ : your distro should install only one entrance and must find entranced in /usr/bin * chkconfig for distro that use it regards, Michel #! /bin/sh # # Originally based on: # Version: @(#)skeleton 1.8 03-Mar-1998 [EMAIL PROTECTED] # # Modified for gdm, Steve Haslam [EMAIL PROTECTED] 14mar99 # modified to remove --exec, as it does not work on upgrades. 18jan2000 # modified to use --name, to detect stale PID files 18mar2000 # sleep until gdm dies, then restart it 16jul2000 # get along with other display managers (Branden Robinson, Ryan Murray) 05sep2001 # Modified for entrance, Michel Briand 06aug2005 # # support other distro that makes use of chkconfig: # # chkconfig: 5 90 10 # description: Entrance Display Manager set -e # To start entranced even if it is not the default display manager, change # HEED_DEFAULT_DISPLAY_MANAGER to false. HEED_DEFAULT_DISPLAY_MANAGER=true DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/entranced PIDFILE=/var/run/entranced.pid UPGRADEFILE=/var/run/entrance.upgrade if [ -e $UPGRADEFILE -a $1 != restart -a $1 != force-reload ]; then SSD_ARG=--startas $DAEMON rm -f $UPGRADEFILE else SSD_ARG=--exec $DAEMON fi test -x $DAEMON || exit 0 if [ -r /etc/default/entrance ]; then . /etc/default/entrance if [ -z $LANG ]; then : else export LANG fi fi case $1 in start) if [ -e $DEFAULT_DISPLAY_MANAGER_FILE -a $HEED_DEFAULT_DISPLAY_MANAGER = true -a $(cat $DEFAULT_DISPLAY_MANAGER_FILE) != $DAEMON ]; then echo Not starting Entrance Display Manager (entranced); it is not the default display manager. else echo -n Starting Entrance Display Manager: gdm start-stop-daemon --start --quiet --pidfile $PIDFILE --name entranced $SSD_ARG || echo -n already running echo . fi ;; stop) echo -n Stopping Entrance Display Manager: entranced start-stop-daemon --stop --quiet --pidfile $PIDFILE --name entranced $SSD_ARG --retry 30 || echo -n not running echo . ;; reload) echo Reloading Entrance Display Manager configuration. Changes will take effect echo when all current X sessions have ended. start-stop-daemon --stop --signal USR1 --quiet --pidfile \ $PIDFILE --name entranced $SSD_ARG ;; restart|force-reload) $0 stop $0 start ;; *) echo Usage: /etc/init.d/entranced {start|stop|restart|reload|force-reload} exit 1 ;; esac exit 0
[E-devel] EFL configure.in patch
Hello when you use AC_CHECK_HEADER to test for Ecore.h or another header that is located in a non standard location (through the use of --prefix) you must include CPPFLAGS=-I/my/e17/location and LDFLAGS=-L/my/e17/location or use this simple patch (example is for entrance): Index: configure.in === RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v retrieving revision 1.41 diff -r1.41 configure.in 79a80,89 AC_PATH_GENERIC(ecore, 1.0.0, [ AC_SUBST(ecore_libs) AC_SUBST(ecore_cflags) ], AC_MSG_ERROR(Cannot find ecore: Is ecore-config in path?)) ecore_libs=`ecore-config --libs` ecore_cflags=`ecore-config --cflags` AC_SUBST(ecore_libs) AC_SUBST(ecore_cflags) 80a91,93 old_CPPFLAGS=$CPPFLAGS CPPFLAGS=$ecore_cflags 82a96,99 old_LDFLAGS=$LDFLAGS LDFLAGS=$ecore_libs 86a104,114 have_ecore_ipc=no AC_CHECK_HEADER(Ecore_Ipc.h,, AC_MSG_ERROR([Ecore_Ipc.h not found! Did you compile Ecore with IPC support?])) AC_CHECK_LIB(ecore_ipc, ecore_ipc_init, [ have_ecore_ipc=yes], AC_MSG_ERROR([Cannot find Ecore_Ipc!])) CPPFLAGS=$CPPFLAGS $evas_cflags LDFLAGS=$LDFLAGS $evas_libs 105,111c133,134 have_ecore_ipc=no AC_CHECK_HEADER(Ecore_Ipc.h,, AC_MSG_ERROR([Ecore_Ipc.h not found! Did you compile Ecore with IPC support?])) AC_CHECK_LIB(ecore_ipc, ecore_ipc_init, [ have_ecore_ipc=yes], AC_MSG_ERROR([Cannot find Ecore_Ipc!])) --- CPPFLAGS=$old_CPPFLAGS LDFLAGS=$old_LDFLAGS I hope this would help Reference readings: - https://trac.prelude-ids.org/file/trunk/libprelude/configure.in?rev=3950 for example (at line below Check for GnuTLS) - autoconf manual says nowhere where to add an include path to AC_CHECK_HEADER, whereas it recommends to use CPPFLAGS... Best regards, Michel --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Ecore: configure still fails
With : ./configure CFLAGS=-Ipath_to_my_Evas.h [ i.e.: ./configure CFLAGS=-I/opt/lunar/enlightenment/include ] checking for evas-config... /opt/lunar/enlightenment/bin/evas-config checking whether ecore_evas module is to be built... yes checking whether ecore_evas gl support is to be built... yes checking for Evas_Engine_GL_X11.h... *yes* With : ./configure checking for evas-config... /opt/lunar/enlightenment/bin/evas-config checking whether ecore_evas module is to be built... yes checking whether ecore_evas gl support is to be built... yes checking for Evas_Engine_GL_X11.h... *no* Excerpt from config.log: configure:23672: checking for evas-config configure:23690: found /opt/lunar/enlightenment/bin/evas-config configure:23703: result: /opt/lunar/enlightenment/bin/evas-config configure:23716: checking whether ecore_evas module is to be built configure:23733: result: yes configure:23787: checking whether ecore_evas gl support is to be built configure:23805: result: yes configure:23813: checking for Evas_Engine_GL_X11.h configure:23832: gcc -c -g -O2 -Wall conftest.c 5 conftest.c:42:24: Evas.h: No such file or directory conftest.c:46:32: Evas_Engine_GL_X11.h: No such file or directory configure:23838: $? = 1 Result from `evas-config --cflags` is not added to gcc command line. What's wrong ?? I'm waiting for your comments ;) ! Best regards, Michel --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] entrance configure.in fails @ AC_CHECK_HEADER(Ecore.h....
Hi Ibukun, I've updated entrance this week and I look into configure.in. There are 2 tests: one that is generic and clean : AC_ARG_WITH(ecore, [ --with-ecore=DIR use ecore in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) And one that doesn't help much than the first and that fails: have_ecore=no AC_CHECK_HEADER(Ecore.h,, AC_MSG_ERROR([Ecore.h not found! Have you installed Ecore?])) AC_CHECK_LIB(ecore, ecore_list_new, [have_ecore=yes], AC_MSG_ERROR([Ecore check failed! Make sure you have the latest version of Ecore installed.])) Is this really needed ? If you zap this test entrance could be built with a very simple scheme (ecore-config in PATH). Whereas with this test I must insert in my generic scripts for Lunar Linux a workaround line : export CPPFLAGS=$CPPFLAGS -I$MODULE_PREFIX/include Best regards, Michel --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Best way to create an OpenGL texture from an imlib2 image?
Carsten Haitzler (The Rasterman) a écrit : On Tue, 19 Apr 2005 22:23:29 -0400 Jay Summet [EMAIL PROTECTED] babbled: imlib2 appears to store image data internally in ARGB format, which you can get a pointer to with a call such as: unsigned int *pImageData = imlib_image_get_data(); take a look at: evas/src/lib/engines/gl_common/evas_gl_texture.c evas uses the same pix format as imlib2 - and that converts the image to a texture :) (handles nv_rect extensions, power of 2 padding etc.) ie without alpha: glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB8, w, h, 0, GL_BGRA, GL_UNSIGNED_BYTE, pixels); with alpha: glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, w, h, 0, GL_BGRA, GL_UNSIGNED_BYTE, pixels); check that code to see it handling power of 2 problems properly (it doesnt handle texture meshes when max text size image size though). it requires no copy/transform before copying the pixels to the texture. OpenGL glTexImage2D() function wants data in RGBA format. You can do a manual conversion of each and every pixel with a double for loop enclosing the following: ~GLdata[offset] = (pImageData[img_offset] 16) 0xff; ~GLdata[offset + 1] = (pImageData[img_offset] 8) 0xff; ~GLdata[offset + 2] = pImageData[img_offset] 0xff; ~GLdata[offset + 3] = (pImageData[img_offset] 24) 0xff; But this is slow. Is there a better (faster) way to convert an imlib2 image to an OpenGL texture? Thanks, Jay I'm basically looking to load lots of images in various formats and render them as OpenGL textures, I don't think I'll need all of imlib2's image compositing/blending functionality, so perhaps another library would be a better choice? Suggestions? take a look at my tlib.c file best regards Michel /* * $Id: eana_tlib.c,v 1.4 2005/01/29 14:29:30 michel Exp $ * * description: Textures images routines. * */ #include eana_tlib.h static const GLenum t_quality_tab[] = { GL_NEAREST, GL_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR }; GLenum t_quality(e_quality_t quality) { ASSERTE(quality=0 quality=q_linear_mipmap_linear); return t_quality_tab[quality]; } s_image_t* t_image_load(const char *path, float gamma) { Imlib_Image imlib_image; Imlib_Load_Error imlib_error; s_image_t *image; size_t sz_transfert; DATA32 *transfert; imlib_image = imlib_load_image_with_error_return(path, imlib_error); if ((imlib_error != IMLIB_LOAD_ERROR_NONE) || !imlib_image) { TR(trError, Imlib2 Error: %d\n, imlib_error); return NULL; } image = xalloc(s_image_t); image-name = strdup(path); imlib_context_set_image(imlib_image); image-width = imlib_image_get_width(); image-height = imlib_image_get_height(); image-alpha = imlib_image_has_alpha(); //imlib_image_flip_vertical(); sz_transfert = image-width * image-height * 4; // Imlib2 gives always 4 bytes / pixel image-align = 4; image-pixels = calloc(1, sz_transfert); memset(image-pixels, 1, sz_transfert); transfert = imlib_image_get_data_for_reading_only(); memcpy(image-pixels, transfert, sz_transfert); t_image_gamma_adjust(image-align, image-width, image-height, image-pixels, gamma); imlib_free_image(); return image; } void t_image_gamma_adjust(int align, int width, int height, void *pixels, float gamma) { float scale, temp; float r, g, b; uchar_t *pix; uint_t i, npix; npix = width * height; pix = (uchar_t *) pixels; for (i = 0; i npix; i++, pix += align) { scale = 1.0f; temp = 0.0f; r = g = b = 0; r = (float) pix[0]; g = (float) pix[1]; b = (float) pix[2]; r = r * gamma / 255.0f; g = g * gamma / 255.0f; b = b * gamma / 255.0f; if (r 1.0f (temp = (1.0f/r)) scale) scale = temp; if (g 1.0f (temp = (1.0f/g)) scale) scale = temp; if (b 1.0f (temp = (1.0f/b)) scale) scale = temp; scale *= 255.0f; r *= scale; g *= scale; b *= scale; pix[0] = (uchar_t) r; pix[1] = (uchar_t) g; pix[2] = (uchar_t) b; } } bool_t t_image_write(s_image_t *image, const char *path) { Imlib_Image imlib_image; imlib_image = imlib_create_image_using_data(image-width, image-height, (DATA32 *) image-pixels); imlib_context_set_image(imlib_image); imlib_save_image(path); imlib_free_image(); return TRUE; } void t_image_destroy(s_image_t *image) { if (image-name) free(image-name); if (image-pixels) free(image-pixels); free(image); } int t_tex_create_mipmaps(int align, int width, int height, bool_t alpha, void *pixels, uint_t mipmaps, e_quality_t quality) { int tex; GLenum gluError; GLint internal_format; GLenum format; if (alpha) { internal_format = GL_RGBA; } else { internal_format = GL_RGB; } if (align == 3) {
Re: [E-devel] How to get a CVS acces
eclair is very interesting! it works well and if it remains simple it will replace xine/mplayer for me at least ! Great application Simon ! Simon TRENY a crit : So, my sf username is: moom16 If you want to try eclair before giving me a cvs access, you can download a recent release here: http://www.lan16.com/moom/eclair-0.0.1.tar.gz You will need the TagLib ( http://developer.kde.org/~wheeler/taglib.html )to compile it (I'll make it optionnal later). Here is a screenshot: http://www.lan16.com/moom/eclair_screen.png Thank You MoOm Le samedi 16 avril 2005 14:26 -0400, Kevin Brosius a crit : Simon TRENY wrote: Since eclair, the project I'm currently working on, based on the EFL, is near to be usable, I'd like to have access on the e17 cvs to send it. Can someone (raster?) contact me to tell me how to create an account? Thank you MoOm You'll first need a sf account. You can create that yourself at sf.net. After that, post up your sf username and raster will add you if he wants. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Wheee!
Hello I don't know if it's E16 that creates this Wheee! (RRScreenChangeNotify) dialog but it's (at least for me) USELESS and a PAIN (in the ...). Please, pleeease disable this awfull dialog that makes all full screen *games* clutter with the WM :'(. Maybe the best thing would be that this feature be optional and enabled only if one wants to in .enlightenment/user_theme.cfg for example. With kind regards, Michel --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] winter gtk2
Hello I decided to use Winter with E16 (perfect theme!!!) and recently with gtk2 also. But with gtk2 menu item are displayed black when active :'(... Here is a screenshot: oh dude!! I can't take a screenshot on a menu while it's pulled down And E16 won't react to my keybindings also :'(!! (I've set up my E to call scrot with this: __NEXT_ACTION __MODIFIER_KEY __WINDOWS_KEY __KEY F12 __EVENT __KEY_PRESS __ACTION __A_EXEC scrot -q 100 '/home/michel/tmp/shot_%Y-%m-%d_$wx$h.png' -e 'feh $f' BTW I wanted to know if it was normal that E16 crash when I hit CTRL+ALT+DEL ? I have : __NEXT_ACTION __KEY Delete __EVENT __KEY_PRESS __MODIFIER_KEY __CTRL_ALT __ACTION __A_EXIT xclock /* xscreensaver-command -activate */ Best regards, Michel --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] winter gtk2
Tilman Sauerbeck a écrit : Michel Briand [EMAIL PROTECTED] [2005-03-29 21:58]: I decided to use Winter with E16 (perfect theme!!!) and recently with gtk2 also. But with gtk2 menu item are displayed black when active :'(... IIRC David Barr's GTK2 theme doesn't have that problem. His website is gone, but xcomputerman.com is mirroring it: http://xcomputerman.com/files/winter-gtk2.tar.gz Sorry but David's version produces the same annoying black menu :'( my gtkrc-2.0: gtk-can-change-accels = 1 gtk-font-name = Bitstream Vera Sans 8 gtk-theme-name = winter gtk-icon-theme-name = gant --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Building E17 : some remarks
Hello building complete e17 CVS tree with a modified get_e.sh (got on raster's site) script, I got some errors and mistakes : - evas/src/lib/imaging Makefile.am doesn't use @eet_cflags@ whereas @freetype_cflags@ @x_cflags@ @qt_cflags@ @DIRECTFB_CFLAGS@ @gl_cflags@ are added to INCLUDES. One can't build evas OOTB if Makefile.am doesn't properly select eet and/or edb - e17 modules are installing pkgconfig files ! Does this is needed/wanted ??? (raster: remenber our previous discussion about pkgconfig on #e) BTW: all compile/install OOTB with a small fix in the Makefile.am cited. Regards, Michel attached: cvs diff -u 2/dev/null #!/bin/sh # get_e.sh modified by Michel - efl.build ### # this is a convenience script for getting/updating e17 from cvs. # (this is what you need to build e17 and entrance). ### ### # settings - feel free to change these... ### # the directory to install into (a full path to where on the system to install) PREFIX=/home/michel/ebuild # install as root (yes or no) - note. you CAN install as a user too, but # only into directories you have permission to install into. also you will # need to modify your LD_LIBRARY_PATH shell variable to access things ROOT_INSTALL=no # build enlightenment - the window manager (yes or no) BUILD_E=yes # build entrance - the login manager (yes or no) BUILD_ENTRANCE=yes ### # end config ### UPDATE=no export SHORT_CIRCUIT=no while getopts us option; do case $option in u) UPDATE=yes ;; s) export SHORT_CIRCUIT=yes ;; *) echo unknown option $option !; exit 1;; esac done shift $(($OPTIND - 1)) if [ ! -z $1 ] ; then MODULES=$* else # modules CORE_MODULES=e17/libs/imlib2 e17/libs/edb e17/libs/eet e17/libs/evas e17/libs/ecore e17/libs/epeg e17/libs/epsilon e17/libs/embryo e17/libs/edje e17/libs/esmart e17/libs/emotion e17/libs/etox e17/libs/ewl E_MODULES=e17/apps/e ENTRANCE_MODULES=e17/libs/epeg e17/libs/epsilon e17/libs/esmart e17/apps/entrance MODULES=$CORE_MODULES if [ $BUILD_ENTRANCE == yes ]; then MODULES=$MODULES $ENTRANCE_MODULES fi if [ $BUILD_E == yes ]; then MODULES=$MODULES $E_MODULES fi fi # actual working parts of the script (no need to really touch this) if [ $ROOT_INSTALL == yes ]; then echo - echo # test sudo echo Check sudo access NOSUDO=no sudo ls /root || NOSUDO=yes if [ $NOSUDO == yes ]; then echo You have no sudo access. You need this to install on the system. echo Try add this line to your /etc/sudoers file: echo echo $USER ALL=(ALL) NOPASSWD: ALL exit -1 fi # check ldo.so.conf echo Check /etc/ld.so.conf sanity LDCONF=`grep $PREFIX/lib /etc/ld.so.conf` if [ -z $LDCONF ]; then echo Add $PREFIX/lib to /etc/ld.so.conf please. exit -1 fi fi # enable error abort from now on set -e # create PREFIX if it doesn't exist if [ ! -d $PREFIX ] ; then mkdir -p $PREFIX/bin mkdir -p $PREFIX/lib fi # make sure we have the prefix in the PATH for now # export PATH=$PREFIX/bin:$PATH export PATH=$PREFIX/bin:/home/michel/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11/bin:/usr/bin/db4 export LD_LIBRARY_PATH=$PREFIX/lib alias make='make -j2' CLEAN=no # check if we have a cvs tree already if [ -r ./e17/CVS/Root ]; then echo CVS tree exists if [ $UPDATE == yes ] ; then echo - echo echo Updating CVS CLEAN=yes cd ./e17 cvs -z3 update -dP cd .. fi else # get cvs echo - echo echo Just hit enter for the cvs password! cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/enlightenment login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/enlightenment co e17 fi # build and install it all echo - echo for I in $MODULES; do L=$(echo $I|sed -e 's:/:-:g') echo Building $I - log: $L echo ( pushd $I echo - echo echo Building: $I echo if [ ! $SHORT_CIRCUIT == yes ] ; then if [ $CLEAN == yes ]; then make clean distclean || true fi echo echo Autofoo: $I echo ./autogen.sh --prefix=$PREFIX fi echo echo Compiling: $I echo make echo echo Installing: $I echo if [ $ROOT_INSTALL == yes ]; then sudo make install sudo ldconfig else make install fi popd ) | tee $L 21 done echo
[E-devel] New entrance configure.in and small fixes in src/client/
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Ibukun please chech these files: configure.in: correct EFL check against *-config files main.c: correct evas check for GL renderer entrance_session.c: fix a segfault when DISPLAY=(null) With kind regards, Michel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCKENWMSWL0LSvaHgRAiDiAJ9v0wdUOvJXsSFQgd6f7kqk3L/gMwCgr6nS 8ymbLCMQTON1VzU0aDrv1O0= =y+GK -END PGP SIGNATURE- ? configure.in.pc ? patch Index: configure.in === RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v retrieving revision 1.39 diff -r1.39 configure.in 44,67c44,51 AC_ARG_WITH(edb, [ --with-edb=DIRuse edb in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(evas, [ --with-evas=DIR use evas in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(ecore, [ --with-ecore=DIR use ecore in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(edje, [ --with-edje=DIR use edje in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_PATH_GENERIC(edb, 1.0.3, [ AC_SUBST(edb_libs) AC_SUBST(edb_cflags) ], AC_MSG_ERROR(Cannot find edb: Is edb-config in path?)) edb_libs=`edb-config --libs` edb_cflags=`edb-config --cflags` AC_SUBST(edb_libs) --- # EFL configuration AC_ARG_WITH(edb-config, [ --with-edb-config=EDB_CONFIG use edb-config specified ], [ EDB_CONFIG=$withval; echo using $EDB_CONFIG for edb-config; ], [ PROG=edb-config; AC_PATH_PROG(EDB_CONFIG, $PROG, , $PATH)] ) edb_cflags=`$EDB_CONFIG --cflags` edb_libs=`$EDB_CONFIG --libs` 69,77c53,69 AC_PATH_GENERIC(evas, 1.0.0, [ AC_SUBST(evas_libs) AC_SUBST(evas_cflags) ], AC_MSG_ERROR(Cannot find evas: Is evas-config in path?)) evas_libs=`evas-config --libs` evas_cflags=`evas-config --cflags` AC_SUBST(evas_libs) --- AC_SUBST(edb_libs) AC_ARG_WITH(eet-config, [ --with-eet-config=EET_CONFIG use eet-config specified ], [ EET_CONFIG=$withval; echo using $EET_CONFIG for eet-config; ], [ PROG=eet-config; AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)] ) eet_cflags=`$EET_CONFIG --cflags` eet_libs=`$EET_CONFIG --libs` AC_SUBST(eet_cflags) AC_SUBST(eet_libs) AC_ARG_WITH(evas-config, [ --with-evas-config=EVAS_CONFIG use evas-config specified ], [ EVAS_CONFIG=$withval; echo using $EVAS_CONFIG for evas-config;], [ PROG=evas-config; AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH) ] ) evas_cflags=`$EVAS_CONFIG --cflags` evas_libs=`$EVAS_CONFIG --libs` 79,115c71,78 have_ecore=no AC_CHECK_HEADER(Ecore.h,, AC_MSG_ERROR([Ecore.h not found! Have you installed Ecore?])) AC_CHECK_LIB(ecore, ecore_list_new, [have_ecore=yes], AC_MSG_ERROR([Ecore check failed! Make sure you have the latest version of Ecore installed.])) have_ecore_evas=no AC_CHECK_HEADER(Ecore_Evas.h,, AC_MSG_ERROR([Ecore_Evas.h not found! Did you compile Ecore with Evas support?])) AC_CHECK_LIB(ecore_evas, ecore_evas_init, [ have_ecore_evas=yes], AC_MSG_ERROR([Cannot find Ecore_Evas!])) have_ecore_software_x11=no AC_CHECK_LIB(ecore_evas, ecore_evas_software_x11_new, [ have_ecore_software_x11=yes], AC_MSG_ERROR([Ecore_Evas does not have Software/X11 support!])) have_ecore_gl_x11=no AC_CHECK_LIB(ecore_evas, ecore_evas_gl_x11_new, [ have_ecore_gl_x11=yes AC_DEFINE(HAVE_ECORE_GL_X11, 1, [OpenGL support])]) have_ecore_ipc=no AC_CHECK_HEADER(Ecore_Ipc.h,, AC_MSG_ERROR([Ecore_Ipc.h not found! Did you compile Ecore with IPC support?])) AC_CHECK_LIB(ecore_ipc, ecore_ipc_init, [ have_ecore_ipc=yes], AC_MSG_ERROR([Cannot find Ecore_Ipc!])) ecore_cflags=`ecore-config --cflags` ecore_libs=`ecore-config --libs` AC_SUBST(ecore_libs) --- AC_SUBST(evas_libs) AC_ARG_WITH(ecore-config, [ --with-ecore-config=ECORE_CONFIG use ecore-config specified ], [ ECORE_CONFIG=$withval; echo using $ECORE_CONFIG for ecore-config; ], [ PROG=ecore-config; AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH) ] ) ecore_cflags=`$ECORE_CONFIG --cflags` ecore_libs=`$ECORE_CONFIG --libs` 117,124c80,87 AC_PATH_GENERIC(edje, 0.5.0, [ AC_SUBST(edje_libs) AC_SUBST(edje_cflags) ], AC_MSG_ERROR(Cannot find edje: Is edje-config in path?)) edje_libs=`edje-config --libs` edje_cflags=`edje-config --cflags` AC_SUBST(edje_libs) --- AC_SUBST(ecore_libs) AC_ARG_WITH(edje-config, [ --with-edje-config=EDJE_CONFIG use edje-config specified ], [ EDJE_CONFIG=$withval; echo using $EDJE_CONFIG for edje-config;], [ PROG=edje-config; AC_PATH_PROG(EDJE_CONFIG, $PROG, , $PATH)
Re: [E-devel] Imlib2 opening a file from memory
Hello maybe you can use int mkfifo (const char *FILENAME, mode_t MODE) to create a FIFO in your application. You can then invoke imlib2 with this filename. You must feed this FIFO with you data. Anyway if you explain why you must have your jpeg in memory I can help more. You probably want to decompress your jpeg. You can rip the loader code if it quicken your app however. Regards Michel Carsten Haitzler (The Rasterman) a écrit : On Wed, 23 Feb 2005 13:14:25 +0100 Antonio Larrosa Jim__nez [EMAIL PROTECTED] babbled: Hello, I have the contents of a jpeg file in memory and I'd like to do some operations on it before writing it to disk, so I'd like to open the file without having to save it to disk, then use imlib_load_image( filename ) and then removing the temporary file. The kernel is of course caching the disk, but if I use imlib2 for its speed, then I'd prefer not to introduce a temporary file when the file contents are already loaded in memory. The problem is tht I didn't find how to do it in the docs. Is there any way to open an image from a memory buffer ? unfortunately (for you) we never provided an api to do that. though possible via a loader - no loaders support it :( sorry. epeg does support this, BUT it will only give you RGB data... :) --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] entice cvs won't build
Yes when I removed -malign-double from CFLAGS of eet build, edje_cc started to work normaly, fine. I've suspected that it was in interaction with libjpeg. Perhaps, try to debug jpeg compression in eet write functions? Regards Michel Carsten Haitzler (The Rasterman) wrote: On Sun, 23 May 2004 07:06:33 +0200 (MEST) Vincent Torri [EMAIL PROTECTED] babbled: I have had the same problem. Raster told me that's because eet had some problems when it is compiled with some flags. The flags -ffast-math -malign-double -march=pentium seem causing trouble for eet. Hope this helps -malign-double was the problem i think from memory Vincent TORRI On Sat, 22 May 2004, Corey Donohoe wrote: * Michel Briand ([EMAIL PROTECTED]) wrote: Hello some issue on entice from CVS (22-05-2004) : make[4]: Entering directory `/usr/src/entice/data/themes/default' edje_cc -v -id ../../images -fd ../../fonts default.edc default.eet edje_cc: Error. unable to write image part bg.png as images/0 part entry to default.eet This line looks fishy. Maybe your imlib2 is borked and edje_cc can't read/write images. Last I checked it compiled fine. __ Corey Donohoe http://www.atmos.org/ --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] entice cvs won't build
Hello some issue on entice from CVS (22-05-2004) : make[4]: Entering directory `/usr/src/entice/data/themes/default' edje_cc -v -id ../../images -fd ../../fonts default.edc default.eet edje_cc: Error. unable to write image part bg.png as images/0 part entry to default.eet edje_cc: Opening /tmp/edje_cc.edc-tmp-yc9p9I for input edje_cc: Parsing input file edje_cc: Parsing done edje_cc: Wrote 724 bytes ( 1Kb) for edje_file header edje_cc: Wrote 39910 bytes ( 39Kb) for fonts/Edje.Vera font entry Vera.ttf compress: [real: 39.5%] edje_cc: Wrote 38501 bytes ( 38Kb) for fonts/Edje.VeraI font entry VeraIt.ttf compress: [real: 39.5%] edje_cc: Error. unable to write image part bg.png as images/0 part entry to default.eet edje_cc: Opening /tmp/edje_cc.edc-tmp-Dfqq9I for input edje_cc: Parsing input file edje_cc: Parsing done edje_cc: Wrote 724 bytes ( 1Kb) for edje_file header edje_cc: Wrote 39910 bytes ( 39Kb) for fonts/Edje.Vera font entry Vera.ttf compress: [real: 39.5%] edje_cc: Wrote 38501 bytes ( 38Kb) for fonts/Edje.VeraI font entry VeraIt.ttf compress: [real: 39.5%] make[4]: *** [default.eet] Error 255 make[4]: Leaving directory `/usr/src/entice/data/themes/default' Does anyone have a clue ? Michel --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Dbus and Ecore
Hello, I studied DBUS and it seems to be somewhat interesting. A few years ago I worked on a big software using COM/DCOM and I discovered CORBA also. But those days I prefer very simple and slim sofware solutions ;-). The GNOME and KDE overweighted systems are a very PAIN in the ### as you used to say. Thus if you think there is a clever need for Ecore to exchange messages/activations with remote processes I would like to help you implement DBUS support in Ecore. But: we have to make things very clear at the beginning. What are the goals ? Copy/paste involving processes running on the same display but on different hosts ? I don't know if there is an existent solution. Communication between base level - script or daemon world to hight level - well integrated gui world ? (I've seen Hal specs too...). BTW is there an EDGE user manual around ? Best regards, Michel / Couannette --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Imlib2 load error 14 (IMLIB_LOAD_ERROR_UNKNOWN)
Hi, I get this strange error with some TGA files that have ALPHA channel... I use the imlib_load_image_with_error_return function and my Imlib2 version is 1.0.5. anyone has a clue or reports a similar behaviour with this image (attached) ? Thank you in advance, Michel inline: default_tex.tga
Re: [E-devel] Entrance with Opengl engine
I'll dig into ASAP :-) Carsten Haitzler (The Rasterman) wrote: On Mon, 9 Feb 2004 21:13:40 -0600 Corey Donohoe [EMAIL PROTECTED] babbled: Keep in mind the opengl engine currently isn't supported. I've used it in the past with no problems, but haven't tried it with gl recently. If it doesn't work, you're likely going to be stuck with it not working, unless some one else has some fixup they've been keeping to themselves. (nb evas's gl engine is a bit more solid now)... the gl engine has only a few major problems 1. multihead. i doubt it will work properly on anything other than screen 0 2. max texture size. if any image is greater than your opengl's max texture size limit it will simply end up a big white box. the texture upload will fail. i have no fallback code for this at all yet. doing texture meshes is a PITA. if anyone is keen to do it for me! please do! :) (ie divide image up into multiple texture rectangles then when drawing the image draw a mesh/grid of rectangles with the separate textures applied - keeping all the calculations so they match to proper software engine calculations 1:1) :) now it COULD be that the gl engine is using up all the system resources and since its DRI is bypassing x, meaning your xserver is basically locked out of getting events due to massive resource use by the GL code. this might be the case - but it'd need testing on your box by you to see... --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] ECore: Evas_GL support (inc)
Hi, building E17 CVS as off 2004-02-10 I can't figure out why ./configure in ecore don't want to enable for me Ecore Evas GL ... It can't see my Evas_Engine_GL_X11.h though I specified a correct PREFIX on command line ... :( :( :( Any advice ? Thanks Michel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] e16 and Xft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I tried to hack a small program that creates a transparent window over my desktop. I use some Xlib and Xft functions. When I run my app with Window Maker all works. But when I run my app with e16 nothing appears : no window at all !!! Any idea ? Thanks in advance. Michel -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/Oli4M8s0XkSvDWARAiLEAJ9UVviSqRyjWRTUmiRLiyAz1YHC0QCeNe7N Pod8mlevaObnAnB2jw94fPk= =0Y28 -END PGP SIGNATURE- /* HelloX.C (c) Copyright Paul Griffiths 1999 Email: [EMAIL PROTECTED] Hello, World!, X Window System style. */ #include X11/Xlib.h #include X11/Xutil.h #include X11/Xos.h #include X11/Xatom.h #include stdlib.h #include string.h #include stdio.h /**/ /*# BEGIN: TT/AA message */ #include freetype2/freetype/freetype.h #include X11/Xft/Xft.h /*# END : TT/AA message */ /**/ /* Global variables */ Display * display; int screen_num; static char * appname; /* main() function */ int main( int argc, char * argv[] ) { /* Window variables */ Window win; int x, y; unsigned int width, height; unsigned int border_width; char * window_name = Hello, X Window System!; char * icon_name = HelloX; /* Display variables */ char * display_name = NULL; unsigned int display_width, display_height; /* Miscellaneous X variables */ XSizeHints * size_hints; XWMHints * wm_hints; XClassHint * class_hints; XTextProperty windowName, iconName; XEventreport; XFontStruct * font_info; XGCValues values; GCgc; /**/ /*# BEGIN: TT/AA message */ /* XRENDER */ static char * msg = Hello, X FreeType AA!; XftDraw *xftdraw; XftFont *xftfont; XftColor color_bg,color_fg,colortwo; XRenderColor colortmp; /*# END : TT/AA message */ /**/ appname = argv[0]; /* Allocate memory for our structures */ if ( !( size_hints = XAllocSizeHints() ) || !( wm_hints= XAllocWMHints() ) || !( class_hints = XAllocClassHint() )) { fprintf(stderr, %s: couldn't allocate memory.\n, appname); exit(EXIT_FAILURE); } /* Connect to X server */ if ( (display = XOpenDisplay(display_name)) == NULL ) { fprintf(stderr, %s: couldn't connect to X server %s\n, appname, display_name); exit(EXIT_FAILURE); } /* Get screen size from display structure macro */ screen_num = DefaultScreen(display); display_width = DisplayWidth(display, screen_num); display_height = DisplayHeight(display, screen_num); /* Set initial window size and position, and create it */ x = y = 0; width = display_width / 3; height = display_width / 3; /* win = XCreateSimpleWindow(display, RootWindow(display, screen_num), x, y, width, height, border_width, BlackPixel(display, screen_num), WhitePixel(display, screen_num)); */ win = XCreateWindow(display,RootWindow(display,screen_num), x,y,width,height,border_width, CopyFromParent, // depth CopyFromParent, // class CopyFromParent, // visual 0, // valuemask 0);// attributes /* Set hints for window manager before mapping window */ if ( XStringListToTextProperty(window_name, 1, windowName) == 0 ) { fprintf(stderr, %s: structure allocation for windowName failed.\n, appname); exit(EXIT_FAILURE); } if ( XStringListToTextProperty(icon_name, 1, iconName) == 0 ) { fprintf(stderr, %s: structure allocation for iconName failed.\n, appname); exit(EXIT_FAILURE); } size_hints-flags = PPosition | PSize | PMinSize; size_hints-min_width = 200; size_hints-min_height = 100; wm_hints-flags = StateHint | InputHint; wm_hints-initial_state = NormalState; wm_hints-input = True; class_hints-res_name = appname; class_hints-res_class = hellox; XSetWMProperties(display, win, windowName, iconName, argv, argc, size_hints, wm_hints, class_hints); /* Choose which events we want to handle */ XSelectInput(display, win, ExposureMask | KeyPressMask | ButtonPressMask | StructureNotifyMask); /* Load a font called 9x15 */ if ( (font_info =