Re: [clutter] mx repository

2010-03-16 Thread Peter Robinson
Its because its being mirgrated over to the MeeGo repositories. It
will be available again by the end of the month according to various
announcements. If you want to make a start in the mean time there's
recent releases of mx in at least Fedora 13 (and on its way to F-12)
you can use there for app development.

Peter

On Tue, Mar 16, 2010 at 1:33 AM, Kenny Forest kenny.th...@gmail.com wrote:
 Yes, I'm facing the same problem, someone knows the reason why could not
 access it? Thanks in advance.

 Regards,
 Kenny

 On Mon, Mar 15, 2010 at 2:43 AM, Uday Verma uday.ka...@gmail.com wrote:

 Hello all,
 I am not sure if this is the appropriate place to ask this questions, but
 I cannot seem to find the repository for mx source-code.  I've been looking
 for a higher level UI kit on top of Clutter.  I was first looking at nbtk,
 but it seems its been deprecated and mx is what we should be using(?).
 I've tried here: http://git.moblin.org/cgit.cgi/mx/
 But it just says No repositories found
 Thanks,
 Uday

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



Re: [clutter] mx repository

2010-03-16 Thread Veli Ogla Sungutay
This is my opinion. Technically there is no need for another UI toolkit (Mx)
where Qt is already existing.
At best, in my opinion, a clutter widget will be squeezed into an all Qt
environment.



On Tue, Mar 16, 2010 at 12:21 PM, Peter Robinson pbrobin...@gmail.comwrote:

 2010/3/16 Veli Ogla Sungutay velisungu...@gmail.com:
  I see the MeeGo merger as the end of Clutter and Mx era. This move has
 been
  a proof of that.
  Hopefully at least Clutter will stay around outside of MeeGo.

 Really? Where do you get that information from? On the Meego site and
 all the annoucements I've seen is that mx is going to be supported
 going forward as one of the options to develop with, along with QT and
 the others.

 Peter




-- 
Veli Sungutay
http://www.lyciasoft.com


[clutter] Re: Question about pyclutter: clutter.Texture.get_data()

2010-03-16 Thread Julien Pauty
Hello,

Here is a small snippet that creates a copy of a texture using
cogl_texture.get_data. I'm not sure this is the best way to achieve what
you're trying to do, but it shows how to use this method.

# texture is a Texture where you have drawn, possibly a Cairo texture
cogl_t = texture.get_cogl_texture()
if cogl_t:
# there you get the graphical data of the texture
data = cogl_t.get_data(texture.get_pixel_format(),
   cogl_t.get_rowstride())

width = texture.get_width()
height = texture.get_height()
pixel_format = texture.get_pixel_format()
rowstride = cogl_t.get_rowstride()
flags = texture.get_flags()

# create a new cogl texture
new_cogl_t = clutter.cogl.texture_new_from_data(
 width,height, pixel_format,rowstride,
 data, flags, pixel_format)

if new_cogl_t:
new_texture.set_cogl_texture(new_cogl_t)

This supposes that you are using the git version of pyclutter.

Cheers,

Julien

2010/3/16 Jesse Dhillon je...@deva0.net

  Hi Julien,

 I saw that you had checked in some substantive changes to
 cogl-texture.overrides. I have been trying to figure out how to render to an
 offscreen buffer and then get the data from that buffer and tracking down
 even informal docs has been very hard. What I've tried doing is listed
 below, could you take a look and get me pointed in the right direction?

 import clutter
 import clutter.cogl as cogl

 target = cogl.BufferTarget(cogl.OFFSCREEN_BUFFER)
 rgba = cogl.PixelFormat(cogl.PIXEL_FORMAT_RGBA_)
 noneflags = cogl.TextureFlags(cogl.TEXTURE_NONE)

 texture = cogl.texture_with_new_size(800, 600, noneflags, rgba)
 handle = cogl.Offscreen(texture)
 cogl.set_draw_buffer(target, handle)

 stage = clutter.Stage()
 stage.show()

 rect = clutter.Rectangle()
 rect.set_color(clutter.color_from_string(red))
 rect.set_size(100, 100)
 rect.set_position(150, 150)

 stage.add(rect)
 stage.show_all()

 data = texture.get_data(texture.get_format(), texture.get_rowstride())

 At this point I would expect 'data' to contain image data that I can write
 out, but it contains nothing. Texture.get_data is not returning anything. Am
 I using clutter/cogl correctly or am I missing something? Anything you can
 suggest would be helpful, thanks in advance

  --

 Jesse Dhillon

 916.501.8642

 www.devazero.com/portfolio http://devazero.com/portfolio

 je...@devazero.com



[clutter] [ANNOUNCE] Clutter Core 1.2.2 - Stable release

2010-03-16 Thread Emmanuele Bassi
hi everyone;

Clutter 1.2.2 is now available for download at:

  http://www.clutter-project.org/sources/clutter/1.2/

A mirror is also available here:

  http://download.gnome.org/sources/clutter/1.2/

MD5 Checksums:

  101cd6a03e4061b51ad6df6f6f7022bf  clutter-1.2.2.tar.bz2
  cb9008d29b822e015667ece74917fb67  clutter-1.2.2.tar.gz

SHA256 Checksums:

  57debf025ca8e576328fcbb4bd897e5a6889921132f2ebfd7e035f7e8975982c  
clutter-1.2.2.tar.bz2
  6195c2560ca43d29ee737a72e7e8e68dbdba49af5c3ea5ca9f913507578090b2  
clutter-1.2.2.tar.gz

Clutter is an open source software library for creating fast, visually
rich, portable and animated graphical user interfaces. Clutter is
licensed under the terms of the GNU Lesser General Public License
version 2.1.

Clutter currently requires:

  • GLib = 2.16.0
  • Cairo = 1.6
  • Pango = 1.20
  • OpenGL = 1.3 (or 1.2+multitexturing), OpenGL|ES 1.1 or OpenGL|ES 2.0
  • GLX, SDL, WGL, Quartz or an EGL Implementation

Depending on the platform and the configuration options Clutter also
depends on:

  • GDK-Pixbuf = 2.0
  • JSON-GLib = 0.8

Notes: 

  • This is the second stable release of the 1.2 cycle 
  • This version is API and ABI compatible with the previous
stable release of Clutter
  • Installing the contents of this release will overwrite the 
files from the installation of the current stable release 
of Clutter
  • Bugs should be reported to: http://bugzilla.o-hand.com 

What's new in Clutter 1.2.2:

  • Since 1.2.0:

» Fix introspection annotations for ClutterBox

» Compilation fixes for the EGL native backend

» Fix ClutterX11TexturePixmap ::queue-damage-redraw default handler
  registration to avoid a run-time warning

» Handle TEXTURE_RECTANGLE_ARB in the 2D sliced textures, and add
  a test case for that extension to avoid regressions

» Improve the strictness of the JSON parser in the internal copy
  of JSON-GLib to which we fall back in the absence of the system
  one

» Fix a crasher on NVidia drivers when enabling the ARGB visuals
  by default on GLX.

Many thanks to:

  José Dapena Paz
  Neil Roberts
  Owen W. Taylor
  Øyvind Kolås

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

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



Re: [clutter] mx repository

2010-03-16 Thread Veli Ogla Sungutay
Thanks Emmanuele. I truly hope that Intel will continue investing in
Clutter. I myself won't be using or developing for Meego.


On Tue, Mar 16, 2010 at 12:54 PM, Emmanuele Bassi eba...@linux.intel.comwrote:

 On Tue, 2010-03-16 at 12:05 +0200, Veli Ogla Sungutay wrote:
  I see the MeeGo merger as the end of Clutter and Mx era. This move has
  been a proof of that.
  Hopefully at least Clutter will stay around outside of MeeGo.

 this is *completely* false.

 the Meego 1.0 netbook user experience currently is, and will still be
 based on Clutter and Mx.

 there has been some reshuffling for the repositories; this is beyond the
 control of us engineers, but I can assure you:

  • Mx is still developed and used
  • the repositories will be back for Meego 1.0 for netbooks

 ciao,
  Emmanuele.

  2010/3/16 José Dapena Paz jdap...@igalia.com
  El mar, 16-03-2010 a las 08:20 +, Peter Robinson escribió:
   Its because its being mirgrated over to the MeeGo
  repositories. It
   will be available again by the end of the month according to
  various
   announcements. If you want to make a start in the mean time
  there's
   recent releases of mx in at least Fedora 13 (and on its way
  to F-12)
   you can use there for app development.
 
 
 For me it's really surprising, and, at least, a bad
  idea, to behave
  that way.
 
 Removing mx from the repositories for more than one
  month is, at least,
  damaging the project. Unless the real purpose is just letting
  mx die, I
  don't understand why mx isn't still available in moblin
  repositories,
  and move once meego repository is finally available.
 
  --
  José Dapena Paz jdap...@igalia.com
  Igalia
 
 
  --
  To unsubscribe send a mail to 
  clutter+unsubscr...@o-hand.comclutter%2bunsubscr...@o-hand.com
 
 
 
 
 
  --
  Veli Sungutay
  http://www.lyciasoft.com

 --
 Emmanuele Bassi, Open Source Software Engineer
 Intel Open Source Technology Center

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




-- 
Veli Sungutay
http://www.lyciasoft.com


[clutter] Problem with Box Layout

2010-03-16 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I think I have a problem with the box layout, but am unsure.

I have a cairo texture and then horizontal box layout (which works fine)
and I pack them into a vertical box layout.

The clutter_cairo_texture I am defaulting to 10,10 but I would like it
to reallocated based on the size given to it by the box layout.

I'm doing this

tracker-vlayout = clutter_box_layout_new();
tracker-vcontainer = clutter_box_new(tracker-vlayout);
clutter_box_layout_set_pack_start(CLUTTER_BOX_LAYOUT(tracker-vlayout),
TRUE);
clutter_box_layout_set_vertical(CLUTTER_BOX_LAYOUT(tracker-vlayout), TRUE);

tracker-progress = clutter_cairo_texture_new(10,10);
clutter_box_layout_pack(CLUTTER_BOX_LAYOUT(tracker-vlayout),tracker-progress,TRUE,TRUE,TRUE,CLUTTER_BOX_ALIGNMENT_START,CLUTTER_BOX_ALIGNMENT_START);
clutter_box_layout_pack(CLUTTER_BOX_LAYOUT(tracker-vlayout),tracker-hcontainer,FALSE,TRUE,FALSE,CLUTTER_BOX_ALIGNMENT_START,CLUTTER_BOX_ALIGNMENT_START);

But the tracker-progress is never given all the extra space. Do I need
to put in another container in there or is there a better way to
initialize the texture.

Thanks,

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuf/sAACgkQ6w2kMH0L1dGq/QCdFoJVvlp/Rpt9T9UakMYS9YN5
kPgAnA9Nogk/ZZr0PG5+nLSL7z+Lv68P
=+eeW
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com