Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

kivy/kivy-berkelium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Berkelium extension for Kivy

Berkelium is a BSD licensed library for offscreen rendering via Chromium project. Check http://berkelium.org/ for more information about it. We are using a patched version of Berkelium, available at https://github.com/tito/berkelium (branch chromium8-alternate-bin)

Notes

  • This extension require Kivy 1.0.7 minimum !
  • This extension is under development. It's currently working and tested only for Linux 64 bits.
  • MacOSX can't be supported at the moment, since Kivy require Python 64bits, and Chromium can't be built under 64bits on MacOSX.

How to install

  1. Download .kex https://github.com/kivy/kivy-berkelium/archives/master
  2. Copy the .kex to ~/.kivy/extensions

How to test

  1. Download https://github.com/kivy/kivy-berkelium/raw/master/demo/main.py
  2. Run with "python main.py"

How to recompile

Note

This method have been tested only on Linux (Ubuntu 11.10 and 12.04) 64bits.

  1. sudo apt-get install binutils-gold chrpath git-core cython python-dev
  2. git clone git://github.com/sirikata/berkelium
  3. cd berkelium
  4. git checkout chromium11
  5. util/build-chromium.sh --deps --force
  6. cmake . -DCMAKE_BUILD_TYPE=Release
  7. git submodule update --init --recursive
  8. make
  9. git clone git://github.com/kivy/kivy-berkelium
  10. cd kivy-berkelium
  11. make
  12. mv dist/berkelium-1.3.linux-x86_64.zip dist/berkelium-1.3.linux-x86_64.kex

And you can copy the berkelium-1.3.linux-x86_64.kex into your ~/.kivy/extensions