aboutsummaryrefslogtreecommitdiffstats
path: root/README.Python
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-05-21 21:58:23 +0800
committerChristian Persch <chpe@src.gnome.org>2005-05-21 21:58:23 +0800
commit37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e (patch)
tree65541b23b2e74375140408522ca87ff022cb8ef6 /README.Python
parent97c1cd51ff1384591c7f137cb3075bc9fcb56dba (diff)
downloadgsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.tar
gsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.tar.gz
gsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.tar.bz2
gsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.tar.lz
gsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.tar.xz
gsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.tar.zst
gsoc2013-epiphany-37e4cc15c39af9a10c7d0aaf46210c0d31db9e8e.zip
A README.Python A m4/.cvsignore: A m4/python.m4:
2005-05-21 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * configure.ac: A README.Python A m4/.cvsignore: A m4/python.m4: * src/Makefile.am: * src/ephy-extensions-manager.c: (get_loader_for_type): A src/ephy-python-extension.c: A src/ephy-python-extension.h: A src/ephy-python-loader.c: A src/ephy-python-loader.h: A src/ephy-python.c: A src/ephy-python.h: A src/epiphany.defs: A src/epiphany.override: Merge Pyphany.
Diffstat (limited to 'README.Python')
-rw-r--r--README.Python26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.Python b/README.Python
new file mode 100644
index 000000000..47ee9e13f
--- /dev/null
+++ b/README.Python
@@ -0,0 +1,26 @@
+Updating the epiphany.defs file
+-------------------------------
+
+Pygtk wraps most functions itself automatically, it uses the
+epiphany.defs file, this must be kept in-sync with the epiphany includes.
+To update the file:
+
+ - Install gnome-python so that you have the "h2def.py" script
+
+ - Ensure that the installed epiphany include directory is uptodate
+ (i.e. it doesn't contain any stale ephy header)
+
+ - Run "python /path/to/h2def.py /path/to/include/epiphany-1.5/epiphany/* > epiphany.defs
+
+ - You MUST now compare to see what has changed, e.g. the above command has the
+ following problems:
+ - It misses boxed types
+ - It doesn't mark interfaces correctly
+ - You need to ensure that no is-constructor-of lines have been lost
+
+ - Basically, just do a cvs diff and fix things up as appropriate.
+
+ - Finally ensure it compiles, but that's obvious, right? :-)
+
+You could also make all the changes manually, but it's easier to use
+the above process.