Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-09-11 Thread The Rasterman
On Mon, 11 Sep 2006 23:40:33 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
babbled:

> 
>Carsten writes:
> 
> > > 
> > > 1. add api to evas itself to provide  size "hints" to loaders
> > > (load at size XxY at maximum and retain aspect) as well as dpi
> > > hints (you will want both eventually).
> > > 2. add api to loaders to be able to do this.
> > > 3. actually use this api in the svg loader
> > > 4. for shits & giggles try it in the jpeg loader too   :)  
> > 
> > all of this done  :)  works. rsvg/cairo do have bugs with inkscape
> > svg's that use clipping - they don't transform the clipped objects.
> > :(  so it only works at 90dpi (no scaling by rsvg/cairo) for those
> > files i have. anyway - rscg/cairo bug
> 
>   Maybe do 4. for all image loaders (using the scaling funcs)?

well right now the only loaders than can get a scale-down "for free" on load
are svg and jpeg - the others wouldn't get it "for free" (they would need to do
a full decode and then scale). so i haven't bothered. i have it on e17's
optimization todo to maybe add a scale cache.

try cross-fading 2 1600x1200 bg's that are scaled up from 1280x1024 - and do it
smoothly where every frame you upscale and interpolate as well as blend :) if u
pre-scale to 1600x1200 the crossfade is smooth. anyway - a scale cache should
pick this up runtime irrespective of usage so handle that anyway :)

>   As to the rsvg/cairo bugs... Well, let's give them a break -
> they're trying to do some complex, messy stuff. No doubt they'll
> get whatever clipping issues worked out soon.

sure! i'm not really complaining. this is the first i i mentioned it - it's a
new feature of inskcape to do clipped objects so likely not heavily tested.
i'll leave them to it :) even inkscape seems to have issues with it! :(

>   Then maybe see if these svg files can be used as 'external'
> edje theme sources... :)

or even inlined into the .edj :) maybe eventually. right now they CAN be
used in edje - but they get converted to bitmaps at 90dpi... :)

>   I saw your mention of a vector renderer "antigrain" and
> looked it up.. Seems very complete, and very nice pictures.

try the demos!  :)

>   But it looks very large and complex - it may be larger than
> rsvg + glib + cairo. It also doesn't seem to be installed by default
> on most systems (wasn't on my SuSE 10). As to "fast"... well, that's
> a very relative term. It doesn't look like it was made with real-time
> gui-rendering in mind.. but who knows.

try the demos and see... yes you are right - it's not default. it's a big
fat c++ monster. to use it we'd need to bridge it with a c wrapper. i would be
hesitant to use it - but the demos were really fast. it was impressive -
considering what it does and can do and its completeness.

>   NB - Update on the premul stuff: I've finished nearly all
> of it, but as grads were the objs most affected and required a
> considerable amount of reworking, I've taken the opportunity to
> address some grad things that came up during Brian's work on grads
> for edje.
>   It may take me a couple more days to finish that up as well.

ok- excellent. btw - i have a tonne of your mails to get back to and all those
threads on evoak level stuff that turran is doing etc. i'm not ignoring it - i
think i am just going to compress it into 1 big massive uber-mail :)

and the "shaped gradients" i need to get back to you on - maybe we can re-visit
that post-premul? anyway - not ignoring - trying to wade through a massive
backlog :)

> 
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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 (東京 日本)

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-09-11 Thread [EMAIL PROTECTED]

   Carsten writes:

> > 
> > 1. add api to evas itself to provide  size "hints" to loaders
> > (load at size XxY at maximum and retain aspect) as well as dpi
> > hints (you will want both eventually).
> > 2. add api to loaders to be able to do this.
> > 3. actually use this api in the svg loader
> > 4. for shits & giggles try it in the jpeg loader too   :)  
> 
> all of this done  :)  works. rsvg/cairo do have bugs with inkscape
> svg's that use clipping - they don't transform the clipped objects.
> :(  so it only works at 90dpi (no scaling by rsvg/cairo) for those
> files i have. anyway - rscg/cairo bug

Maybe do 4. for all image loaders (using the scaling funcs)?

As to the rsvg/cairo bugs... Well, let's give them a break -
they're trying to do some complex, messy stuff. No doubt they'll
get whatever clipping issues worked out soon.
Then maybe see if these svg files can be used as 'external'
edje theme sources... :)

I saw your mention of a vector renderer "antigrain" and
looked it up.. Seems very complete, and very nice pictures.
But it looks very large and complex - it may be larger than
rsvg + glib + cairo. It also doesn't seem to be installed by default
on most systems (wasn't on my SuSE 10). As to "fast"... well, that's
a very relative term. It doesn't look like it was made with real-time
gui-rendering in mind.. but who knows.

NB - Update on the premul stuff: I've finished nearly all
of it, but as grads were the objs most affected and required a
considerable amount of reworking, I've taken the opportunity to
address some grad things that came up during Brian's work on grads
for edje.
It may take me a couple more days to finish that up as well.



-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-09-11 Thread The Rasterman
On Fri, 18 Aug 2006 04:36:02 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
babbled:

> 
> > beware. this is relatively inefficient for icons. the resulting
> > evas images are generally big (1000x1000 or bigger). i need to:
> > 
>   Ha! They're hard to miss that way :)
> 
>   Rendering them at any given pixel size is fairly easy:
> if their default size is w0xh0 say, and you want them at w1xh1,
> then allocate your suface at w1xh1 size, and before the call to
> the rsvg-render function, add the cairo call
>   cairo_scale(cr, w1 / (double)w0, h1 / (double)h0);
> or 
>   cairo_scale(cr, w1 / dim.em, h1 / dim.ex);
> 
>   Actually, just for testing purposes, as things stand,
> see if adding the call
>   cairo_scale(cr, dim.width / dim.em, dim.height / dim.ex);
> does anything differently than what it does now (it shouldn't,
> but...).
> 
> > 1. add api to evas itself to provide  size "hints" to loaders
> > (load at size XxY at maximum and retain aspect) as well as dpi
> > hints (you will want both eventually).
> > 2. add api to loaders to be able to do this.
> > 3. actually use this api in the svg loader
> > 4. for shits & giggles try it in the jpeg loader too  :) 

all of this done :) works. rsvg/cairo do have bugs with inkscape svg's that use
clipping - they don't transform the clipped objects. :( so it only works at
90dpi (no scaling by rsvg/cairo) for those files i have. anyway - rscg/cairo
bug :)

> 
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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 (東京 日本)

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-17 Thread [EMAIL PROTECTED]

> beware. this is relatively inefficient for icons. the resulting
> evas images are generally big (1000x1000 or bigger). i need to:
> 
Ha! They're hard to miss that way :)

Rendering them at any given pixel size is fairly easy:
if their default size is w0xh0 say, and you want them at w1xh1,
then allocate your suface at w1xh1 size, and before the call to
the rsvg-render function, add the cairo call
cairo_scale(cr, w1 / (double)w0, h1 / (double)h0);
or 
cairo_scale(cr, w1 / dim.em, h1 / dim.ex);

Actually, just for testing purposes, as things stand,
see if adding the call
cairo_scale(cr, dim.width / dim.em, dim.height / dim.ex);
does anything differently than what it does now (it shouldn't,
but...).

> 1. add api to evas itself to provide  size "hints" to loaders
> (load at size XxY at maximum and retain aspect) as well as dpi
> hints (you will want both eventually).
> 2. add api to loaders to be able to do this.
> 3. actually use this api in the svg loader
> 4. for shits & giggles try it in the jpeg loader too  :) 



-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-17 Thread David Seikel
On Fri, 18 Aug 2006 08:27:11 +0900 Carsten Haitzler (The Rasterman)
<[EMAIL PROTECTED]> wrote:

> On Fri, 18 Aug 2006 03:43:38 +1000 David Seikel <[EMAIL PROTECTED]>
> babbled:
> 
> > On Wed, 16 Aug 2006 12:20:02 GMT "[EMAIL PROTECTED]"
> > <[EMAIL PROTECTED]> wrote:
> > 
> > >   I've attached a librsvg based svg loader for evas in case
> > > you might find it useful.. it uses a scale of 90 dpi for
> > > rendering, and needs librsvg >= 2.13.
> > > 
> > >   If you want to give this a try, you will have to add it to
> > > evas... then test it, and possibly debug it.. :(   I've not had,
> > > and likely won't have, a chance to do so anytime soon.
> > 
> > Looks like raster committed this before I got a chance to look it
> > over.  I'm updating right now, and I'll give it a try.  The fdo icon
> > code had already had svg added to it's searching, so everything
> > should be in place now.
> 
> beware. this is relatively inefficient for icons. the resulting evas
> images are generally big (1000x1000 or bigger). i need to:

Ouch.



signature.asc
Description: PGP signature
-
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=lnk&kid=120709&bid=263057&dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-17 Thread The Rasterman
On Wed, 16 Aug 2006 12:20:02 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
babbled:

in cvs - needs  work - as per my reply to david - but it does work - thanks! :)

>David:
> 
>   I've attached a librsvg based svg loader for evas in case
> you might find it useful.. it uses a scale of 90 dpi for rendering,
> and needs librsvg >= 2.13.
> 
>   If you want to give this a try, you will have to add it to
> evas... then test it, and possibly debug it.. :(   I've not had, and
> likely won't have, a chance to do so anytime soon.
> 
>jose.
> 
> 


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

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-17 Thread The Rasterman
On Fri, 18 Aug 2006 03:43:38 +1000 David Seikel <[EMAIL PROTECTED]> babbled:

> On Wed, 16 Aug 2006 12:20:02 GMT "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> 
> > I've attached a librsvg based svg loader for evas in case
> > you might find it useful.. it uses a scale of 90 dpi for rendering,
> > and needs librsvg >= 2.13.
> > 
> > If you want to give this a try, you will have to add it to
> > evas... then test it, and possibly debug it.. :(   I've not had, and
> > likely won't have, a chance to do so anytime soon.
> 
> Looks like raster committed this before I got a chance to look it
> over.  I'm updating right now, and I'll give it a try.  The fdo icon
> code had already had svg added to it's searching, so everything should
> be in place now.

beware. this is relatively inefficient for icons. the resulting evas images are
generally big (1000x1000 or bigger). i need to:

1. add api to evas itself to provide  size "hints" to loaders (load at size XxY
at maximum and retain aspect) as well as dpi hints (you will want both
eventually).
2. add api to loaders to be able to do this.
3. actually use this api in the svg loader
4. for shits & giggles try it in the jpeg loader too :)


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

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-17 Thread David Seikel
On Wed, 16 Aug 2006 12:20:02 GMT "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

>   I've attached a librsvg based svg loader for evas in case
> you might find it useful.. it uses a scale of 90 dpi for rendering,
> and needs librsvg >= 2.13.
> 
>   If you want to give this a try, you will have to add it to
> evas... then test it, and possibly debug it.. :(   I've not had, and
> likely won't have, a chance to do so anytime soon.

Looks like raster committed this before I got a chance to look it
over.  I'm updating right now, and I'll give it a try.  The fdo icon
code had already had svg added to it's searching, so everything should
be in place now.


signature.asc
Description: PGP signature
-
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=lnk&kid=120709&bid=263057&dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-16 Thread [EMAIL PROTECTED]

   David:

I've attached a librsvg based svg loader for evas in case
you might find it useful.. it uses a scale of 90 dpi for rendering,
and needs librsvg >= 2.13.

If you want to give this a try, you will have to add it to
evas... then test it, and possibly debug it.. :(   I've not had, and
likely won't have, a chance to do so anytime soon.

   jose.

#include "evas_common.h"
#include "evas_private.h"
#include 
#include 


int evas_image_load_file_head_svg(RGBA_Image *im, const char *file, const char *key);
int evas_image_load_file_data_svg(RGBA_Image *im, const char *file, const char *key);

Evas_Image_Load_Func evas_image_load_svg_func =
{
  evas_image_load_file_head_svg,
  evas_image_load_file_data_svg
};


static int  rsvg_initialized = 0;
static void svg_loader_unpremul_data(DATA32 *data, unsigned int len);


static void svg_loader_unpremul_data(DATA32 *data, unsigned int len)
{
   DATA32  *de = data + len;

   while (data < de)
 {
	DATA32   a = A_VAL(data);

	if (a && (a < 255))
	  {
	R_VAL(data) = (R_VAL(data) * 255) / a;
	G_VAL(data) = (G_VAL(data) * 255) / a;
	B_VAL(data) = (B_VAL(data) * 255) / a;
	  }
	data++;
 }
}

int
evas_image_load_file_head_svg(RGBA_Image *im, const char *file, const char *key)
{
   DATA32 *ptr, *end;
   FILE   *f;

   RsvgHandle *rsvg;
   RsvgDimensionData   dim;

   if (!file) return 0;

   rsvg = rsvg_handle_new_from_file(file, NULL);
   if (!rsvg)
  return 0;
   if (!im->image)
 {
	im->image = evas_common_image_surface_new(im);
	if (!im->image)
	  {
	rsvg_handle_free(rsvg);
	return 0;
	  }
 }

   rsvg_handle_set_dpi_x_y(rsvg, 90, 90);
   rsvg_handle_get_dimensions(rsvg, &dim);
   im->image->w = dim.width;
   im->image->h = dim.height;
   im->flags |= RGBA_IMAGE_HAS_ALPHA;
   rsvg_handle_free(rsvg);
   return 1;
}

/** FIXME: All evas loaders need to be tightened up **/
int
evas_image_load_file_head_svg(RGBA_Image *im, const char *file, const char *key)
{
   DATA32 *ptr, *end;
   FILE   *f;

   RsvgHandle *rsvg;
   RsvgDimensionData   dim;
   int w, h;

   cairo_surface_t*surface;
   cairo_t*cr;

   if (!file) return 0;
   if (!im->image) return 0;

   rsvg = rsvg_handle_new_from_file(file, NULL);
   if (!rsvg)
 {
	evas_common_image_surface_free(im->image);
	im->image = NULL;
	return 0;
 }

   rsvg_handle_set_dpi_x_y(rsvg, 90, 90);
   rsvg_handle_get_dimensions(rsvg, &dim);
   w = dim.width;
   h = dim.height;
   im->image->w = w;
   im->image->h = h;
   im->flags |= RGBA_IMAGE_HAS_ALPHA;
   evas_common_image_surface_alloc(im->image);
   if (!im->image->data)
 {
	evas_common_image_surface_free(im->image);
	im->image = NULL;
	rsvg_handle_free(rsvg);
	return 0;
 }

   surface = cairo_image_surface_create_for_data((unsigned char *)im->image->data, CAIRO_FORMAT_ARGB32,
  w, h, w * sizeof(DATA32));
   if (!surface)
 {
	evas_common_image_surface_free(im->image);
	im->image = NULL;
	rsvg_handle_free(rsvg);
	return 0;
 }
   cr = cairo_create(surface);
   if (!cr)
 {
	cairo_surface_destroy(surface);
	evas_common_image_surface_free(im->image);
	im->image = NULL;
	rsvg_handle_free(rsvg);
	return 0;
 }

   rsvg_handle_render_cairo(rsvg, cr);
   cairo_surface_destroy(surface);
   /* need to check if this is required... */
   cairo_destroy(cr);
   rsvg_handle_free(rsvg);
   /* un-premul the im data */
   svg_loader_unpremul_data(im->image->data, w * h);
   return 1;
}


int module_open(Evas_Module *em)
{
   if (!em) return 0;
   em->functions = (void *)(&evas_image_load_svg_func);
   if (!rsvg_initialized)
	rsvg_init();
   rsvg_initialized = 1;
   return 1;
}

void module_close(void)
{
   rsvg_term();
   rsvg_initialized = 0;
}

Evas_Module_Api evas_modapi =
{
   EVAS_MODULE_API_VERSION,
 EVAS_MODULE_TYPE_IMAGE_LOADER,
 "svg",
 "none"
};
-
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=lnk&kid=120709&bid=263057&dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-12 Thread The Rasterman
On Fri, 11 Aug 2006 14:04:50 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
babbled:

> > > Well, the xpm loader is ready.. I see a few other imlib2
> > 
> > Cool, thanks.  I'm looking forward to seeing that committed.
> 
>   Ok, in case you want to try the xpm loader, I'm attaching
> a tgz file with the mininmum stuff it requires :)
>   The loader itself needs some more cleaning up.. it also had
> a bug which I haven't had a chance to adequately fix and instead
> had to go around it -- but it 'should' work (note: untested!).
>   I've only made the minimal changes to the config stuff
> to get it to build.. someone more capable may want to do a better
> job there..

ok - xpm patch in :)

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

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-12 Thread [EMAIL PROTECTED]

> > >   In essence, I know absolutely nothing about using
> > > glib, gdk, etc...
> > 
> > the header files directory can be found with pkg-config. Then,
> > you usually have to include glib.h, or gtk/gtk.h, or gdk/gdk.h,
> > etc...
> 
> thanks vince  :) 

Yes, thanks.. how strange to have forgotten that eh?

   jose.



-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-12 Thread The Rasterman
On Sat, 12 Aug 2006 08:53:02 +0200 (CEST) Vincent Torri <[EMAIL PROTECTED]>
babbled:

> 
> > I tried to quickly setup a stand-alone test program
> > for this and found that I have no idea where the "g" related
> > headers are. After some searching, they seem to be installed
> > (on my system) in /opt/gnome/include/...  But any attempts to
> > use these led to multitudes of error messages about undefined
> > types and such..
> >
> > In essence, I know absolutely nothing about using
> > glib, gdk, etc...
> 
> the header files directory can be found with pkg-config. Then, you usually 
> have to include glib.h, or gtk/gtk.h, or gdk/gdk.h, etc...

thanks vince :)

> Vincent
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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 (東京 日本)

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-11 Thread Vincent Torri

>   I tried to quickly setup a stand-alone test program
> for this and found that I have no idea where the "g" related
> headers are. After some searching, they seem to be installed
> (on my system) in /opt/gnome/include/...  But any attempts to
> use these led to multitudes of error messages about undefined
> types and such..
>
>   In essence, I know absolutely nothing about using
> glib, gdk, etc...

the header files directory can be found with pkg-config. Then, you usually 
have to include glib.h, or gtk/gtk.h, or gdk/gdk.h, etc...

Vincent

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-11 Thread [EMAIL PROTECTED]

Just to get back to the desired evas xpm and svg image
loaders:

I had a chance to test the xpm loader and it seems to
work fine (it's actually difficult to find xpm files these days).
It can do with some cleaning up and some refining but it seems ok
for use as is.

I've also 'finished' a librsvg based svg loader... but
I'm *very* hesitant to send what I have as is.

The librsvg api varies in its abilities depending on
versions.. with later versions being far better. But this means
a more complex config setup. Also, I have no way to test this
loader.
I tried to quickly setup a stand-alone test program
for this and found that I have no idea where the "g" related
headers are. After some searching, they seem to be installed
(on my system) in /opt/gnome/include/...  But any attempts to
use these led to multitudes of error messages about undefined
types and such..

In essence, I know absolutely nothing about using
glib, gdk, etc...

Maybe that raster fella can lend a hand here :)

   jose.



-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-11 Thread David Seikel
On Fri, 11 Aug 2006 14:04:50 GMT "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> > > Well, the xpm loader is ready.. I see a few other imlib2
> > 
> > Cool, thanks.  I'm looking forward to seeing that committed.
> 
>   Ok, in case you want to try the xpm loader, I'm attaching
> a tgz file with the mininmum stuff it requires :)
>   The loader itself needs some more cleaning up.. it also had
> a bug which I haven't had a chance to adequately fix and instead
> had to go around it -- but it 'should' work (note: untested!).
>   I've only made the minimal changes to the config stuff
> to get it to build.. someone more capable may want to do a better
> job there..

I've finished coding for the day, and I'll be busy all day tomorrow, so
you have plenty of time.

On the other hand, the ecore_desktop stuff now attempts to load xpm
and svg files as per the FDO spec, which will fail for those particular
icons until your changes get committed.  Just jumping the gun a little,
and not a problem since it was likely to fail to find image files for
those icons anyway.

Ecore_desktop needs a clean up itself.  So we will likely both get
these bits completed sometime in the near future.


signature.asc
Description: PGP signature
-
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=lnk&kid=120709&bid=263057&dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-11 Thread [EMAIL PROTECTED]

> >   Well, the xpm loader is ready.. I see a few other imlib2
> > loaders that may be desirable (eg. an xcf one), if anyone would
> > like to have any others ported now while I'm at it, do speak up
> > before I move on and start digging into librsvg.
> 
> Just a couple quick notes on the porting. Some of the imlib2_loaders
> (xcf in particular) are GPL and won't be able to go into evas
> directly, so you may need to create a separate loaders branch for
> evas too.

Well, I'll send the xpm one with only the min to get it
working.. I don't really see anything in there about licensing at
all.. but if there is something with that one in particular, someone
else who knows about such (and about config stuff) may want to look
at it.

> Also, if you're working on the XCF loader, keep an eye out for
> an endianess bug, I believe I ran into one a while back, but put
> off fixing it and forgot about it.

A.. Ok, thanks for the heads-up on it. It does look a bit
involved.. I may leave it for later, though it would be nice to be
able to load gimp image files (somehow).

   jose.



-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-11 Thread [EMAIL PROTECTED]
> > Well, the xpm loader is ready.. I see a few other imlib2
> 
> Cool, thanks.  I'm looking forward to seeing that committed.

Ok, in case you want to try the xpm loader, I'm attaching
a tgz file with the mininmum stuff it requires :)
The loader itself needs some more cleaning up.. it also had
a bug which I haven't had a chance to adequately fix and instead
had to go around it -- but it 'should' work (note: untested!).
I've only made the minimal changes to the config stuff
to get it to build.. someone more capable may want to do a better
job there..

   jose.


xpm_loader.tgz
Description: xpm_loader.tgz
-
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=lnk&kid=120709&bid=263057&dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-10 Thread Nathan Ingersoll
On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Ahhh... I see. Ok, I'm convinced, thanks.. and well done :)
>
> Well, the xpm loader is ready.. I see a few other imlib2
> loaders that may be desirable (eg. an xcf one), if anyone would like
> to have any others ported now while I'm at it, do speak up before
> I move on and start digging into librsvg.

Just a couple quick notes on the porting. Some of the imlib2_loaders
(xcf in particular) are GPL and won't be able to go into evas
directly, so you may need to create a separate loaders branch for evas
too.

Also, if you're working on the XCF loader, keep an eye out for an
endianess bug, I believe I ran into one a while back, but put off
fixing it and forgot about it.

-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e: Using freedesktop.org .desktop files.

2006-08-10 Thread David Seikel
On Fri, 11 Aug 2006 04:52:18 GMT "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

>   Well, the xpm loader is ready.. I see a few other imlib2

Cool, thanks.  I'm looking forward to seeing that committed.


signature.asc
Description: PGP signature
-
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=lnk&kid=120709&bid=263057&dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] e: Using freedesktop.org .desktop files.

2006-08-10 Thread [EMAIL PROTECTED]

David writes:

> The user is the logged in user that will be seeing the icons.
> There is a default size of 48x48 if the user doesn't use some
> method of selecting other sizes.  There is an fdo specified
> algorithm for searching amongst any installed icon sets for an
> icon that closely matches that size.  In the case of SVG, the
> code is simply expected to render to the user chosen (or default)
> size.
> 
> Also part of the fdo algo is fallback options, default themes,
> inherited icons amongst themes, it's quite complex.  I have not
> only studied the spec, but implemented it.
> 

Ahhh... I see. Ok, I'm convinced, thanks.. and well done :)

Well, the xpm loader is ready.. I see a few other imlib2
loaders that may be desirable (eg. an xcf one), if anyone would like
to have any others ported now while I'm at it, do speak up before
I move on and start digging into librsvg.



-
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=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel