m (Open ;)) |
|||
| Line 58: | Line 58: | ||
===Using the webinterface=== | ===Using the webinterface=== | ||
* Add the correct files as listed above and they will be automatically built for you | * Add the correct files as listed above and they will be automatically built for you | ||
| + | |||
| + | ==Installing packages into your MeeGo system== | ||
| + | * Once packages are built, You can include them in your MeeGo installation. | ||
| + | * The general method is: | ||
| + | zypper ar -f http://repo.pub.meego.com/home:/username/repository/ title | ||
| + | zypper in [package] | ||
| + | ** Where: | ||
| + | ** [username] is your user | ||
| + | ** [repository] is the repository branch name | ||
| + | ** [title] is the name zypper will use for the repository | ||
| + | * For more information, please see: http://wiki.meego.com/Zypper#Adding_a_repository | ||
The MeeGo Open Build System (OBS) seems rather complicated, this page will attempt to make it nice and easy to get started. See also the Mer project's documentation on application building with OBS.
It's a work in progress, feel free to add and modify!
Contents |
apt-get install osc may work out-of-the-box on recent versions of Ubuntu & Debian, other repositories are available on openSUSE tools)
Your home project is like a home directory in which you can create sub-projects, repositories, etc.
OBS is based around projects, packages and repositories. Packages have a set of files (source code, packaging meta-data, etc.) which are compiled by build servers against particular distributions. Each distribution results in your code being available in a repository.
A sub-project allows you to group related activities together.
A project is required before anything can be built.
osc -A https://api.pub.meego.com co home:[username]
.dsc file, source tarball and debian.tar.gz (this allows one to keep the debian directory out of the source)
osc add [filename]
osc commit
At this point the OBS will try to build your project remotely. You can also build locally by doing osc build
zypper ar -f http://repo.pub.meego.com/home:/username/repository/ title zypper in [package]