(→Installing packages into your MeeGo system: Reformat and add other systems) |
|||
| Line 59: | Line 59: | ||
* 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 == | ||
| + | {{main|Zypper#Adding_a_repository}} | ||
* Once packages are built, You can include them in your MeeGo installation. | * Once packages are built, You can include them in your MeeGo installation. | ||
* The general method is: | * The general method is: | ||
| - | zypper ar -f http://repo.pub.meego.com/home:/username/repository/ title | + | zypper ar -f <nowiki>http://repo.pub.meego.com/home:/username/repository/</nowiki> title |
| - | zypper in | + | zypper in <package> |
** Where: | ** Where: | ||
| - | ** | + | ** ''username'' is your user |
| - | ** | + | ** ''repository'' is the repository branch name |
| - | ** | + | ** ''title'' is the name zypper will use for the repository |
| - | + | ||
| + | == Into Harmattan == | ||
| + | TBC | ||
| + | |||
| + | == Into Maemo 5 == | ||
| + | Enable Extras-devel. | ||
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
Main article: Zypper#Adding_a_repository
zypper ar -f http://repo.pub.meego.com/home:/username/repository/ title zypper in <package>
TBC
Enable Extras-devel.