Activity Team/Sweetener: Difference between revisions
| Line 10: | Line 10: | ||
* Start a repository on [http://git.sugarlabs.org/ Git] | * Start a repository on [http://git.sugarlabs.org/ Git] | ||
* Clone Sweetener | * Clone Sweetener | ||
git clone git://git.sugarlabs.org/sweetener/sweetener.git | $ git clone git://git.sugarlabs.org/sweetener/sweetener.git | ||
* Copy to your new activity directory the following files: | * Copy to your new activity directory the following files: | ||
Makefile | Makefile | ||
| Line 26: | Line 26: | ||
desktop/ # (Only if you want to run your activity on Linux desktops) | desktop/ # (Only if you want to run your activity on Linux desktops) | ||
* Clone sweetener submodules | * Clone sweetener submodules | ||
git submodule add git://git.sugarlabs.org/sweetener/makescripts | $ git submodule add git://git.sugarlabs.org/sweetener/makescripts | ||
git submodule add git://git.sugarlabs.org/sweetener/sugar sugar/sweetener | $ git submodule add git://git.sugarlabs.org/sweetener/sugar sugar/sweetener | ||
# This is only for other Linux desktops. | # This is only for other Linux desktops. | ||
git submodule add git://git.sugarlabs.org/sweetener/desktop desktop/sweetener | $ git submodule add git://git.sugarlabs.org/sweetener/desktop desktop/sweetener | ||
* Fill info.py with information about your activity. See [[Activity_Team/Sweetener#Activity_information|info.py fields]]. | * Fill info.py with information about your activity. See [[Activity_Team/Sweetener#Activity_information|info.py fields]]. | ||
* Create a sugarized icon on activity/activity-(lower-name).svg where lower-name must be the same as the variable on info.py | * Create a sugarized icon on activity/activity-(lower-name).svg where lower-name must be the same as the variable on info.py | ||
* Generate the activity.info file trough the command make. | * Generate the activity.info file trough the command make. | ||
make activity | $ make activity | ||
* Install it | * Install it | ||
python setup.py dev | $ python setup.py dev | ||
* Make a .xo bundle | * Make a .xo bundle | ||
make xo_bundle | $ make xo_bundle | ||
* Make a desktop tarball | |||
$ make dist_tarball | |||
== Activity information == | == Activity information == | ||