Line 1: |
Line 1: |
| == Summary == | | == Summary == |
| | | |
− | Sugar activity to distribute Sugar Network client and demonstrate Sugar Network functionality. | + | Sugar activity to distribute [[Sugar Network]] clients and demonstrate Sugar Network functionality. |
| | | |
| Sugar activity way to use Sugar Network has limitations: | | Sugar activity way to use Sugar Network has limitations: |
Line 15: |
Line 15: |
| Most of activity dependencies are pure Python based and bundled. The rest of activities should be installed manually to users' system: | | Most of activity dependencies are pure Python based and bundled. The rest of activities should be installed manually to users' system: |
| | | |
− | * '''PackageKit'''<br>Install PackageKit and make sure it runs properly in current Sugar session; | + | * '''PackageKit'''<br>To launch activities from the Sugar Network, install PackageKit and make sure it runs properly in current Sugar session; |
| | | |
| * '''PyWebKitGtk'''<br>Corresponding package name might be ''pywebkitgtk'', ''python-webkit'' or ''python-webkitgtk''; | | * '''PyWebKitGtk'''<br>Corresponding package name might be ''pywebkitgtk'', ''python-webkit'' or ''python-webkitgtk''; |
Line 22: |
Line 22: |
| | | |
| * '''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 pip-python install greenlet |
| + | wget https://github.com/downloads/SiteSupport/gevent/gevent-1.0rc1.tar.gz |
| + | tar xpf gevent-1.0rc1.tar.gz |
| + | cd gevent-1.0rc1 |
| + | ./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 28: |
Line 53: |
| | | |
| git clone git://git.sugarlabs.org/network/activity.git --recurse-submodules | | git clone git://git.sugarlabs.org/network/activity.git --recurse-submodules |
| + | |
| + | == Download == |
| + | |
| + | * From Activity Library [http://activities.sugarlabs.org/addon/4619/]. |
| | | |
| == Getting involved == | | == Getting involved == |
| | | |
| {{:Sugar_Network/Feedback}} | | {{:Sugar_Network/Feedback}} |
| + | |
| + | |
| + | |
| + | [[Category:Activities]] |