Changes

Jump to: navigation, search

GEPS 029: GTK3-GObject introspection Conversion

463 bytes added, 10:44, 18 December 2012
Spell Check Install
=== Spell Check Install ===
For working spell check, we you need a patched gtkspell version that supports gobject introspection. A working version is the '''changes''' branch at [https://github.com/manisandro/gtkspell3/tree/changes httpshttp://github.com/manisandro/gtkspell3/tree/changes]. So one needs to install this version of gtkspell. The python-gtkspell code is then no longer needed, and can be removed. Source of this code is a sourceforge bug entry [https://sourceforge.net/tracker/indexgtkspell 3.3.php?func=detail&aid=3298132&group_id=7896&atid=1078960] and a redhat bug entry: [https://bugzilla.redhat.com/show_bug.cgi?id=675504]
Gramps supports In Ubuntu 12.10, this version since revision 20130: [http://grampsis available in your distribution as libgtkspell-3-0 package.  If the package is not in your distributions packages, you need to compile the spell check.svnFor this, obtain the GtkSpell 3.sourceforge3.net/viewvc/gramps/trunk/src/gui/spell0 or later source code, and extract the code to a directory, eg gtkspell3, and go into this directory using the terminal.py?r1=20057&r2=20130] Before continuing, remove any old version of gtkspell v3 you might have installed before!
==== Installation of spell check in Ubuntu 12.04 ====
First we install the git package to obtain the code:
sudo apt-get install git
Obtain the source code, and change to the version with gtk3 and gobject introspection support:
git clone git://github.com/manisandro/gtkspell3.git
cd gtkspell3/
git checkout -b changes origin/changes
Now obtain the packages needed to compile this code. In my case I had most code (see above installation introspection for other packages that might be needed). I still needed to install the following:
sudo apt-get install gtk-doc-tools libenchant-dev
sudo apt-get install gtk+-3.0-dev
Now compile and install the code
./autogen.shconfigure
make
sudo make install
If you followed the guide above and compiled your own pygobject module, you need to start Gramps with the command
PYTHONPATH=/usr/local/lib/python2.7/site-packages/ LD_LIBRARY_PATH=/usr/local/lib python src/gramps.py
 
 
==== Old install method ====
we need a patched gtkspell version that supports gobject introspection. A working version is the '''changes''' branch at [https://github.com/manisandro/gtkspell3/tree/changes https://github.com/manisandro/gtkspell3/tree/changes]. So one needs to install this version of gtkspell. The python-gtkspell code is then no longer needed, and can be removed. Source of this code is a sourceforge bug entry [https://sourceforge.net/tracker/index.php?func=detail&aid=3298132&group_id=7896&atid=107896] and a redhat bug entry: [https://bugzilla.redhat.com/show_bug.cgi?id=675504]
 
Gramps supports this version since revision 20130: [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/gui/spell.py?r1=20057&r2=20130]
 
First we install the git package to obtain the code:
sudo apt-get install git
Obtain the source code, and change to the version with gtk3 and gobject introspection support:
git clone git://github.com/manisandro/gtkspell3.git
cd gtkspell3/
git checkout -b changes origin/changes
=== WebKit for Htmlrenderer ===

Navigation menu