First stage of the mass move

This commit is contained in:
Ross Burton 2006-06-23 10:42:11 +00:00
parent c38bbd2708
commit 7dcf899480
14 changed files with 0 additions and 2771 deletions

View File

@ -1,24 +0,0 @@
SUBDIRS=clutter bindings doc examples
if ENABLE_GTK
SUBDIRS += gtk
endif
pcfiles = clutter-@CLUTTER_MAJORMINOR@.pc
%-@CLUTTER_MAJORMINOR@.pc: %.pc
cp $< $@
pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig
EXTRA_DIST = clutter.pc.in
CLEANFILES = $(pcfiles)
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-python --enable-gtk
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
configure depcomp install-sh ltmain.sh \
Makefile.in missing config.h.in

View File

@ -1,99 +0,0 @@
2006-06-23 Ross Burton <ross@openedhand.com>
* python/Makefile.am:
Fix -avoid-version so we don't install clutter.so.0.0.0.
2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
* python/Makefile.am:
* python/clutter.override:
* python/clutter-base.defs:
* python/clutter-base-types.defs: Bind updated clutter.Timeline API;
bind clutter.Media interface and clutter.VideoTexture.
2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
* python/Makefile.am:
* python/pyclutter.pc.in: Add a pkgconfig file in order to
check for bindings existence.
2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
* python/clutter-base-types.defs: Remove ClutterActorTransform.
2006-06-13 Matthew Allum <mallum@openedhand.com>
* ChangeLog:
* python/Makefile.am:
* python/clutter-base-types.defs:
* python/clutter-base.defs:
* python/clutter.override:
Rename element -> actor.
Disable video texture bindings as to build again.
2006-06-06 Matthew Allum <mallum@openedhand.com>
* python/clutter-base.defs:
Add support for set/get_depth. Fix timeline declaration.
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* python/clutter-base-types.defs:
* python/clutter-base.defs:
* python/clutter.override: Wrap new API and objects.
2006-05-27 Emmanuele Bassi <ebassi@openedhand.com>
* python/clutter-base.defs: Make static functions appear like
package methods, e.g.: clutter_main() is clutter.main() and
not clutter.clutter_main(). Changed functions are:
C name Python name
- clutter_main - clutter.main
- clutter_stage - clutter.stage
- clutter_want_debug - clutter.want_debug
- clutter_redraw - clutter.redraw
- clutter_threads_enter - clutter.threads_enter
- clutter_threads_leave - clutter.threads_leave
* python/clutter.override: Ignore all X11 and GL related
functions, as we don't have type definitions for them; fix typos
and cut-and-paste errors; make the threads_enter and main static
function use the pygobject threading facilities.
* Makefile.am: Rework the build system. The defs files have been
split in two: clutter-base-types.def for the type declarations
and clutter-base.defs for the methods and functions. The python
glue code depends on two auto-generated files: clutter.defs and
clutter-types.defs; these two files includes the clutter-base
files. If the API changes, run "make update-defs": it will
create a "clutter-api.defs" which should be hand-edited and
the new sections added to the clutter-base files. This is needed
because we do some mangling of the namespace and static functions
names, so we can't rely on the h2defs generator.
2006-05-27 Emmanuele Bassi <ebassi@openedhand.com>
API coverage:
- global functions: 71.43% (10/14)
- methods: 95.40% (83/87)
* python/clutter.override: Implement bindings for the missing
ClutterTexture methods:
- get_base_size
- get_n_tiles
- get_x_tile_detail
- get_y_tile_detail
* python/clutter.override: Implement the ClutterGroup.add_many
method.
2006-05-26 Emmanuele Bassi <ebassi@openedhand.com>
* python/clutter-base.defs:
* python/clutter-base-types.defs:
* python/clutter.override: Fix ClutterGeometry bindings;
implement ClutterElementBox bindings.
* python/Makefile.am: Use variables instead of hard-coded
file names.

View File

@ -1,5 +0,0 @@
SUBDIRS =
if ENABLE_PYTHON
SUBDIRS += python
endif

View File

@ -1,100 +0,0 @@
AUTOMAKE_OPTIONS = 1.7
CLEANFILES =
CLUTTER_DEFS = clutter-base.defs
CLUTTER_TYPES_DEFS = clutter-base-types.defs
CLUTTER_OVERRIDES = clutter.override
CLEANFILES += \
clutter.defs \
clutter-types.defs
EXTRA_DIST = \
clutter-base.defs \
clutter-base-types.defs \
clutter.override
clutter.defs: Makefile stamp-clutter.defs
@true
stamp-clutter.defs: $(CLUTTER_DEFS)
@echo "*** Creating clutter.defs" && \
echo ";; -*- scheme -*-" > gen-cdefs && \
echo ";; THIS FILE IS AUTOGENERATED" >> gen-cdefs && \
for p in $(CLUTTER_DEFS); do \
echo "(include \"$(top_srcdir)/bindings/python/$$p\")" >> gen-cdefs; \
done && \
(cmp -s gen-cdefs clutter.defs || cp gen-cdefs clutter.defs) && \
rm -f gen-cdefs && \
echo "timestamp" > $(@F)
clutter-types.defs: Makefile stamp-clutter-types.defs
@true
stamp-clutter-types.defs: $(CLUTTER_TYPES_DEFS)
@echo "*** Creating clutter-types.defs" && \
echo ";; -*- scheme -*-" > gen-ctdefs && \
echo ";; THIS FILE IS AUTOGENERATED" >> gen-ctdefs && \
for p in $(CLUTTER_TYPES_DEFS); do \
echo "(include \"$(top_srcdir)/bindings/python/$$p\")" >> gen-ctdefs; \
done && \
(cmp -s gen-ctdefs clutter-types.defs || cp gen-ctdefs clutter-types.defs) && \
rm -f gen-ctdefs && \
echo "timestamp" > $(@F)
CLEANFILES += stamp-clutter.defs stamp-clutter-types.defs
clutter-pyglue.c: clutter.defs clutter-types.defs $(CLUTTER_OVERRIDES)
$(PYGTK_CODEGEN) \
--register $(PYGTK_DEFSDIR)/gdk-types.defs \
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
--register $(PYGTK_DEFSDIR)/pango-types.defs \
--register clutter-types.defs \
--override $(top_srcdir)/bindings/python/$(CLUTTER_OVERRIDES) \
--prefix clutter \
clutter.defs > gen-$@ && \
(cmp -s $@ gen-$@ || cp gen-$@ $@) && \
rm -f gen-$@
CLEANFILES += clutter-pyglue.c
pythondir = $(libdir)/python${PY_VER}/site-packages
python_LTLIBRARIES = clutter.la
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pyclutter.pc
EXTRA_DIST += pyclutter.pc.in
INCLUDES = $(PYTHON_CFLAGS) $(PYGTK_CFLAGS) -I$(top_srcdir) $(GST_CFLAGS) $(CLUTTER_CFLAGS)
clutter_la_SOURCES = clutter-pyglue.c cluttermodule.c
clutter_la_LIBADD = $(PYTHON_LIBS) $(PYGTK_LIBS) \
$(GST_LIBS) \
$(CLUTTER_LIBS) \
$(top_builddir)/clutter/libclutter-@CLUTTER_MAJORMINOR@.la
clutter_la_LDFLAGS = -module -avoid-version -export-symbols-regex initclutter
# Run this to update the API and then copy then newly generated
# definitions into clutter-base.defs and clutter-base-types.defs;
# it's manual, as my might do some name mangling for static
# methods.
update-defs:
$(PYTHON) $(PYGTK_CODEGENDIR)/h2def.py -v \
$(top_srcdir)/clutter/clutter-keysyms.h \
$(top_srcdir)/clutter/clutter-timeline.h \
$(top_srcdir)/clutter/clutter-media.h \
$(top_srcdir)/clutter/clutter-main.h \
$(top_srcdir)/clutter/clutter-event.h \
$(top_srcdir)/clutter/clutter-actor.h \
$(top_srcdir)/clutter/clutter-rectangle.h \
$(top_srcdir)/clutter/clutter-texture.h \
$(top_srcdir)/clutter/clutter-video-texture.h \
$(top_srcdir)/clutter/clutter-color.h \
$(top_srcdir)/clutter/clutter-clone-texture.h \
$(top_srcdir)/clutter/clutter-label.h \
$(top_srcdir)/clutter/clutter-group.h \
$(top_srcdir)/clutter/clutter-stage.h \
$(top_srcdir)/clutter/clutter-enum-types.h \
> gen-cdefs && \
(cmp -s gen-cdefs clutter-api.def || cp gen-cdefs clutter-api.def) && \
rm -f gen-cdefs

View File

@ -1,163 +0,0 @@
;; -*- scheme -*-
;;
;; Try and keep everything sorted
;;
;; Boxed types
(define-boxed Color
(in-module "Clutter")
(c-name "ClutterColor")
(gtype-id "CLUTTER_TYPE_COLOR")
(fields
'("guint8" "red")
'("guint8" "green")
'("guint8" "blue")
'("guint8" "alpha")
)
)
(define-boxed ActorBox
(in-module "Clutter")
(c-name "ClutterActorBox")
(gtype-id "CLUTTER_TYPE_ACTOR_BOX")
(fields
'("gint" "x1")
'("gint" "y1")
'("gint" "x2")
'("gint" "y2")
)
)
(define-boxed Event
(in-module "Clutter")
(c-name "ClutterEvent")
(gtype-id "CLUTTER_TYPE_EVENT")
(fields
'("ClutterEventType" "type")
)
)
(define-boxed Geometry
(in-module "Clutter")
(c-name "ClutterGeometry")
(gtype-id "CLUTTER_TYPE_GEOMETRY")
(fields
'("gint" "x")
'("gint" "y")
'("gint" "width")
'("gint" "height")
)
)
;; Enumerations and flags ...
(define-flags ActorFlags
(in-module "Clutter")
(c-name "ClutterActorFlags")
(gtype-id "CLUTTER_TYPE_ACTOR_FLAGS")
(values
'("mapped" "CLUTTER_ACTOR_MAPPED")
'("realized" "CLUTTER_ACTOR_REALIZED")
)
)
(define-enum EventType
(in-module "Clutter")
(c-name "ClutterEventType")
(gtype-id "CLUTTER_TYPE_EVENT_TYPE")
(values
'("nothing" "CLUTTER_NOTHING")
'("key-press" "CLUTTER_KEY_PRESS")
'("key-release" "CLUTTER_KEY_RELEASE")
'("motion" "CLUTTER_MOTION")
'("button-press" "CLUTTER_BUTTON_PRESS")
'("2button-press" "CLUTTER_2BUTTON_PRESS")
'("button-release" "CLUTTER_BUTTON_RELEASE")
)
)
;; Interfaces
(define-interface Media
(in-module "Clutter")
(c-name "ClutterMedia")
(gtype-id "CLUTTER_TYPE_MEDIA")
(vtable "ClutterMediaInterface")
)
;; Objects
(define-object CloneTexture
(in-module "Clutter")
(parent "ClutterActor")
(c-name "ClutterCloneTexture")
(gtype-id "CLUTTER_TYPE_CLONE_TEXTURE")
)
(define-object Actor
(in-module "Clutter")
(parent "GObject")
(c-name "ClutterActor")
(gtype-id "CLUTTER_TYPE_ACTOR")
)
(define-object Group
(in-module "Clutter")
(parent "ClutterActor")
(c-name "ClutterGroup")
(gtype-id "CLUTTER_TYPE_GROUP")
)
(define-object Label
(in-module "Clutter")
(parent "ClutterTexture")
(c-name "ClutterLabel")
(gtype-id "CLUTTER_TYPE_LABEL")
)
(define-object Rectangle
(in-module "Clutter")
(parent "ClutterActor")
(c-name "ClutterRectangle")
(gtype-id "CLUTTER_TYPE_RECTANGLE")
)
(define-object Stage
(in-module "Clutter")
(parent "ClutterGroup")
(c-name "ClutterStage")
(gtype-id "CLUTTER_TYPE_STAGE")
)
(define-object Texture
(in-module "Clutter")
(parent "ClutterActor")
(c-name "ClutterTexture")
(gtype-id "CLUTTER_TYPE_TEXTURE")
)
(define-object Timeline
(in-module "Clutter")
(parent "GObject")
(c-name "ClutterTimeline")
(gtype-id "CLUTTER_TYPE_TIMELINE")
)
(define-object VideoTexture
(in-module "Clutter")
(parent "ClutterTexture")
(implements "ClutterMedia")
(c-name "ClutterVideoTexture")
(gtype-id "CLUTTER_TYPE_VIDEO_TEXTURE")
)
;; Pointers
;; Unsupported

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,26 +0,0 @@
#include <pygobject.h>
/* #include <pygtk/pygtk.h> */
void clutter_register_classes (PyObject *d);
extern PyMethodDef clutter_functions[];
DL_EXPORT (void)
initclutter (void)
{
PyObject *m, *d;
init_pygobject ();
/* init_pygtk(); */
m = Py_InitModule ("clutter", clutter_functions);
d = PyModule_GetDict (m);
clutter_register_classes (d);
if (PyErr_Occurred ())
{
Py_FatalError ("can't initialise module clutter");
}
else
clutter_init(NULL, NULL);
}

View File

@ -1,8 +0,0 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
datadir=@datadir@
Name: PyClutter
Description: Python bindings for Clutter
Version: @VERSION@

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

View File

@ -1,104 +0,0 @@
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="VERSION" content="$Id$" />
<meta http-equiv="keywords" content=""/><meta http-equiv="description" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css"></style>
<link href="style.css" rel="stylesheet"/>
<title>Clutter Toolkit</title>
</head>
<body>
<div id="container">
<div id="logo">
<img src="clutter-header.png" border="0" alt="Clutter"/>
</div>
<div id="content">
<h3>#About</h3>
<p>
Clutter is a GObject based library for creating fast, visually
rich graphical user interfaces. It is intended for creating single
window heavily stylised applications such as media box ui's, presentations
or kiosk style programs in preference to regular 'desktop' style
applications.
</p>
<p>
Clutter's underlying graphics rendering is <a href="http://opengl.org">OpenGL</a> (version 1.2+)
based. The clutter API is intended to be easy to use, attempting
to hide many of the GL complexities. It targets mainly 2D based
graphics and is definetly not intended to be a general interface
for all OpenGL functionality.
</p>
<p>
As well as OpenGL Clutter depends on and uses <a href="http://developer.gnome.org/doc/API/glib/">GLib</a>, <a href="http://developer.gnome.org/doc/API/2.0/gobject/index.html">GObject</a>, <a href="http://www.pango.org">Pango</a>,
<a href="http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/index.html">GDKPixbuf</a> and <a href="http://gstreamer.freedesktop.org">GStreamer</a>. Clutter is free software released under the GNU LGPL.
</p>
<h3>#News</h3>
<h4>0.1 Release 22/06/2006</h4>
<p>
<ul>
<li>First 'official' release, expect bugs aplenty.
<li>Contains:
<ul>
<li>Hopefully enough functionality to build things.</li>
<li>Basic gstreamer 0.10 video playback support.
<li>Fairly stable API, though in no way totally stable.
Expect CHANGES in future versions.</li>
<li>Some simple examples ( also see OPT ).</li>
<li>An experimental GTK-Clutter widget.</li>
<li>Fairly complete Python bindings.</li>
<li>Non complete but hopefully useful API documentation.</li>
</ul>
<li> If you want to help out see the <a href="http://svn.o-hand.com/repos/clutter/trunk/TODO">TODO</a> file.</li>
</ul>
<h3>#Screenshots</h3>
<p><a href="screenshots/video-playback.png"><img src="screenshots/video-playback-thumb.png"></a> <br/><small>obligatory simple video player shot.</small></p>
<h3>#Download</h3>
<p>
See <a href="http://projects.o-hand.com/clutter/sources">http://projects.o-hand.com/clutter/sources</a> for sources.
</p>
<p>
Prebuilt Debian packages available via <a href="http://debian.o-hand.com">http://debian.o-hand.com</a>
</p>
<h3>#Documentation</h3>
<p>
<a href="docs/">API reference</a>.
</p>
<h3>#Participate</h3>
<p>
<strong>Subversion Repo</strong></br>
<code>
svn co http://svn.o-hand.com/repos/clutter/trunk clutter
</code>
<br/>
Browseable <a href="http://svn.o-hand.com/view/clutter/">here</a>.
</p>
<p>
<strong>Bugs</strong></br>
Use the <a href="http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter">OpenedHand Bugzilla</a>
</p>
<p>
<strong>Mailing List</strong></br>
Send a blank message to <code> clutter+subscribe &lt;at&gt; o-hand.com </code>. Then follow instructions in resulting reply.
</p>
<h3>#Authors</h3>
<p>
Clutter is an OHand Gang production featuring the coding of Matthew Allum, Emmanuele Bassi, Iain Holmes, Ross Burton and Jorn Baayen.
</p>
</div>
</div>
<div id="footer">
<center>&copy; <a href="http://o-hand.com">OpenedHand</a> 2006</center>
</div>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 KiB

View File

@ -1,45 +0,0 @@
body {
margin:0px 0px 0px 0px;
background:#eee;
}
A { color: #111; text-decoration: underline; }
A:link { color: #111; text-decoration: none; }
A:visited { color: #111; text-decoration: none; }
A:active { color: #111; }
A:hover { color: #111; text-decoration: underline; }
h1, h2, h3, h4 {
margin: 3px 0px;
padding: 0px;
color: #594051;
}
#logo {
border-bottom: 4px solid #000;
}
#container {
width: 546px;
max-width: 546px;
margin: 20px auto;
border: 4px solid #000;
font-family:verdana, arial, sans-serif;
color:#555;
font-size:12px;
font-weight:normal;
line-height:200%;
background:#fff;
}
#content {
padding: 20px;
}
#footer {
font-family:verdana, arial, sans-serif;
color:#777;
font-size:9px;
}