Re: [clutter] Reg: GNU C library used

2009-08-10 Thread Emmanuele Bassi
On Mon, 2009-08-10 at 15:20 +0530, Kuldeep wrote:

 I would like to know whether there is a way to port clutter libraries
 to any Platform that supports Bionic C but not GNU C.
  
 Will ther ebe any issues if we port the clutter libraries in boinic c
 supported platforms.

if you port, in order:

  - GLib
  - Cairo
  - Pango

and, optionally GTK+ (for GDK-Pixbuf, though you might use the internal
image loading code inside Clutter at the beginning) then I don't see why
Clutter would be more problematic to port.

as far as we're aware, currently there is no effort to port Clutter to
another C library or to the only platform that uses Bionic.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Reg: GNU C library used

2009-08-10 Thread Kuldeep
Hi Emmanuele,
Do you mean by like We can directly port clutter on any platform that
supports C?
As I am trying to port clutter on android, and it is said that-
in http://en.wikipedia.org/wiki/Android_(operating_system)

Android uses Linux http://en.wikipedia.org/wiki/Linux as its kernel
[105]http://en.wikipedia.org/wiki/Android_(operating_system)#cite_note-104,
but according to Google, it is not a conventional Linux distribution. It
does not have a native X Window
Systemhttp://en.wikipedia.org/wiki/X_Window_System,
nor does it support the full set of standard
GNUhttp://en.wikipedia.org/wiki/GNUlibraries like its system
libraries (GNU
C Library http://en.wikipedia.org/wiki/GNU_C_Library). This specific
modification makes it difficult to reuse existing Linux applications or
libraries on Android.

Can you give your inputs on this? so that it will be helpful for me...

Thanks,
Kuladeep

On Mon, Aug 10, 2009 at 4:18 PM, Emmanuele Bassi eba...@linux.intel.comwrote:

 On Mon, 2009-08-10 at 15:20 +0530, Kuldeep wrote:

  I would like to know whether there is a way to port clutter libraries
  to any Platform that supports Bionic C but not GNU C.
 
  Will ther ebe any issues if we port the clutter libraries in boinic c
  supported platforms.

 if you port, in order:

  - GLib
  - Cairo
  - Pango

 and, optionally GTK+ (for GDK-Pixbuf, though you might use the internal
 image loading code inside Clutter at the beginning) then I don't see why
 Clutter would be more problematic to port.

 as far as we're aware, currently there is no effort to port Clutter to
 another C library or to the only platform that uses Bionic.

 ciao,
  Emmanuele.

 --
 Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
 Intel Open Source Technology Center | http://oss.intel.com

 --
 To unsubscribe send a mail to 
 clutter+unsubscr...@o-hand.comclutter%2bunsubscr...@o-hand.com




Re: [clutter] Reg: GNU C library used

2009-08-10 Thread Veli Ogla Sungutay


 Android uses Linux http://en.wikipedia.org/wiki/Linux as its kernel [105
 ]http://en.wikipedia.org/wiki/Android_%28operating_system%29#cite_note-104,
 but according to Google, it is not a conventional Linux distribution. It
 does not have a native X Window 
 Systemhttp://en.wikipedia.org/wiki/X_Window_System,
 nor does it support the full set of standard 
 GNUhttp://en.wikipedia.org/wiki/GNUlibraries like its system libraries (GNU
 C Library http://en.wikipedia.org/wiki/GNU_C_Library). This specific
 modification makes it difficult to reuse existing Linux applications or
 libraries on Android.


On top of these, there is virtually no way in Android to develop in C. I
guess Dalvic wrappers have to be written for Clutter.


Re: [clutter] Reg: GNU C library used

2009-08-10 Thread Kuldeep
HI,
Actually if we can port clutter on android then we need to create java layer
to write our applications in java.
My intention is to make use of clutter libraries instead of android
libraries. So I think we dont need dalvik wrappers.

-Kuladeep.

On Mon, Aug 10, 2009 at 5:04 PM, Veli Ogla Sungutay
velisungu...@gmail.comwrote:




 Android uses Linux http://en.wikipedia.org/wiki/Linux as its kernel [
 105]http://en.wikipedia.org/wiki/Android_%28operating_system%29#cite_note-104,
 but according to Google, it is not a conventional Linux distribution. It
 does not have a native X Window 
 Systemhttp://en.wikipedia.org/wiki/X_Window_System,
 nor does it support the full set of standard 
 GNUhttp://en.wikipedia.org/wiki/GNUlibraries like its system libraries (GNU
 C Library http://en.wikipedia.org/wiki/GNU_C_Library). This specific
 modification makes it difficult to reuse existing Linux applications or
 libraries on Android.


 On top of these, there is virtually no way in Android to develop in C. I
 guess Dalvic wrappers have to be written for Clutter.



[clutter] ClutterTexture problems

2009-08-10 Thread Filipe Nepomuceno
Hey guys,

I'm trying to create a ClutterTexture but whenever I specify a valid
filename it segfaults but when I specify an invalid one it sets the
error up correctly. Any ideas?

I can show you my code if you want but I just took everything straight
from the API.

Regards,
Filipe
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



RE: [clutter] Reg: GNU C library used

2009-08-10 Thread Emmanuele Bassi
On Mon, 2009-08-10 at 21:52 +0700, Hieu Le Trung wrote:

 Is there any existing port of Clutter over Android and Java layer? As
 I know, there is no Clutter Java binding existing.

as I said already, there is currently no effort (as far as I know) to
port Clutter on Android.

the Java bindings can be obtained by using GObject-Introspection and
JGIR[0].

ciao,
 Emmanuele.

[0] http://live.gnome.org/JGIR

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Clutter 1.0 branched

2009-08-10 Thread Emmanuele Bassi
hi everyone;

after the 1.0 release, the Clutter repository has been branched. the
clutter-1.0 branch will be used for bugfix releases for Clutter 1.0; I
plan a 1.0.2 release by the end of the week.

development will continue in the master branch, under the 1.1 version;
this will lead to the 1.2 release by next January. unlike the 0.9
development cycle I plan on doing developers snapshots at regular
intervals, one each month, so the first one will be in September.

as a reminder: the 1.1 development cycle will be API compatible with
1.0, and only add or deprecate API.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Guide for updating from 0.8

2009-08-10 Thread Emmanuele Bassi
On Mon, 2009-08-10 at 16:46 +0100, Emmanuele Bassi wrote:

 obviously, if somebody comes up with other topics, then feel free to
 mention them on the mailing list or open a bug; patches, as always, are
 welcome.

by the way, the README file also lists the changes in the release notes,
and the deprecation defines should give a hint when the API has been
changed/replaced.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Guide for updating from 0.8

2009-08-10 Thread Karl Lattimer
On Mon, 2009-08-10 at 16:46 +0100, Emmanuele Bassi wrote:
 On Mon, 2009-08-10 at 16:42 +0100, Karl Lattimer wrote:
 
  Is there a guide available anywhere to assist in updating code from
  clutter-0.8 to clutter-1.0?

 I've been looking at the rest of the changes, and was planning to add a
 units-floats guide as well.

This is the bit I'm having a few issues with as it goes :/ ClutterUnit
to ClutterUnits seems a little more complicated than I first thought
although looking through the docs it probably isn't too difficult.

 
 obviously, if somebody comes up with other topics, then feel free to
 mention them on the mailing list or open a bug; patches, as always, are
 welcome.

ClutterFixed throws out a few errors but they're pretty self explanatory
maybe a few simple notes to help could be useful.

BR,
 K

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Guide for updating from 0.8

2009-08-10 Thread Emmanuele Bassi
On Mon, 2009-08-10 at 16:58 +0100, Karl Lattimer wrote:
 On Mon, 2009-08-10 at 16:46 +0100, Emmanuele Bassi wrote:
  On Mon, 2009-08-10 at 16:42 +0100, Karl Lattimer wrote:
  
   Is there a guide available anywhere to assist in updating code from
   clutter-0.8 to clutter-1.0?
 
  I've been looking at the rest of the changes, and was planning to add a
  units-floats guide as well.
 
 This is the bit I'm having a few issues with as it goes :/ ClutterUnit
 to ClutterUnits seems a little more complicated than I first thought
 although looking through the docs it probably isn't too difficult.

ClutterUnit has been replaced by float: ClutterUnits is now what it was
meant to be (an opaque container for logical distances and positions),
and not a pixels with a fractionary part.

all you used to do with CLUTTER_UNITS_* now you just need to replace
with operations on single precision floating point values.

the ClutterUnits struct is an opaque container that you should use to
store non-pixel values, e.g. a width in em, or a height in millimeters.
when Clutter will be able to use XSETTINGS it will queue a relayout when
the DPI of the display changes so that actors can recompute their size
using ClutterUnits.

  obviously, if somebody comes up with other topics, then feel free to
  mention them on the mailing list or open a bug; patches, as always, are
  welcome.
 
 ClutterFixed throws out a few errors but they're pretty self explanatory
 maybe a few simple notes to help could be useful.

all the ClutterFixed API suffered the same fate of the old ClutterUnit
API, with the exception that it's now part of COGL instead of having
been removed. you should only use fixed point if you measure a
difference between fixed point and floating point operations -- though
if your platform has a GPU and no FPU, then you're doing it wrong, as
the kids nowadays say.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



RE: [clutter] Clutter 1.0 branched

2009-08-10 Thread Emmanuele Bassi
On Mon, 2009-08-10 at 12:05 -0400, Ian Walberg wrote:

 Are the details of what is planned for 1.1 detailed anywhere?
 

Bugzilla has a list of bugs with a 1.2 milestone; we haven't committed
to any of them -- just a list of would be nice to have features and
fixes. we'll have a more definite list in about a month.

developers are also encouraged to file bugs (just *don't* touch the
target milestone or the priority fields: those are for the Clutter
team to use) and we'll see if we can target them for 1.2.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Reg: GNU C library used

2009-08-10 Thread Kuldeep
HI Emmanuele,
I didnt understand what you said. Do you mean by you are not working towards
porting of clutter on android?
Also My doubt is simple, clutter is developed in GNU C and android supports
Bionic C. Will there be any problem if we compile clutter with Bionic C
libraries or is it ok if we port GLib, Cairo, Pango and compile with Bionic
Libraries?

Thanks a lot for your time and response.

-Kuladeep.

On Mon, Aug 10, 2009 at 8:23 PM, Emmanuele Bassi eba...@linux.intel.comwrote:

 On Mon, 2009-08-10 at 21:52 +0700, Hieu Le Trung wrote:

  Is there any existing port of Clutter over Android and Java layer? As
  I know, there is no Clutter Java binding existing.

 as I said already, there is currently no effort (as far as I know) to
 port Clutter on Android.

 the Java bindings can be obtained by using GObject-Introspection and
 JGIR[0].

 ciao,
  Emmanuele.

 [0] http://live.gnome.org/JGIR

 --
  Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
 Intel Open Source Technology Center | http://oss.intel.com

 --
 To unsubscribe send a mail to 
 clutter+unsubscr...@o-hand.comclutter%2bunsubscr...@o-hand.com