Activities/Sugar Network: Difference between revisions
No edit summary |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 21: | Line 21: | ||
* '''M2Crypto'''<br>Corresponding package name might be ''m2crypto'' or ''python-m2crypto''; | * '''M2Crypto'''<br>Corresponding package name might be ''m2crypto'' or ''python-m2crypto''; | ||
* '''gevent-1.0'''<br>Version 1.0 is not yet released and not yet packaged. Activity bundles it but only for Fedora 14 (gevent contains binaries), for other systems, [https://github.com/SiteSupport/gevent/downloads install] gevent from [http://www.gevent.org/ upstream site]. | * '''gevent-1.0'''<br>Version 1.0 is not yet released and not yet packaged. Activity bundles it but only for Fedora 14 (gevent contains binaries), for other systems, [https://github.com/SiteSupport/gevent/downloads install] gevent from [http://www.gevent.org/ upstream site]. | ||
Gevent-1.0 build instructions for Fedora (make sure that {{Code|python-gevent}} and {{Code|python-greenlet}} packages are uninstalled): | |||
sudo yum install gcc cmake python-devel python-pip | sudo yum install gcc cmake python-devel python-pip | ||
Line 28: | Line 30: | ||
tar xpf gevent-1.0rc1.tar.gz | tar xpf gevent-1.0rc1.tar.gz | ||
cd gevent-1.0rc1 | cd gevent-1.0rc1 | ||
./setup.py build | ./setup.py build | ||
sudo ./setup.py install | |||
== Usage == | |||
Contributor Hub, one of bundled Sugar Network clients, is coded using [http://enyojs.com/ Enyo] Javascript framework. It is designed to be useful on all major platform including mobile ones. Current Contributor Hub is not optimized for touch screens (and XO-4's screen in particular) yet, but it might be a fun to enable touch scrolling for tables: | |||
--- app.js.orig | |||
+++ app.js | |||
@@ -4665,7 +4665,6 @@ | |||
enyo.kind({ | |||
name: "sugar_network.Table", | |||
kind: "Scroller", | |||
+touch: true, | |||
horizontal: "hidden", | |||
cell: {}, | |||
cellBounds: {}, | |||
== Sources == | == Sources == | ||
Line 43: | Line 61: | ||
{{:Sugar_Network/Feedback}} | {{:Sugar_Network/Feedback}} | ||
[[Category:Activities]] |