Helping out with packaging the next version of GNOME for openSUSE

GNOME:Factory:Next is where we build the latest version of GNOME for
both Factory and openSUSE 11.1.

Here are some quick instruction on how to setup your environment if you
want to help out with package updates;

I will assume that you already have osc installed. All instances of
$USER below should be replaced with your OBS login id. All instances of
$PACKAGE below should be replaced with the package you are/want to work
on.

1. Pull down the osc gnome plugins

git clone http://www.vuntz.net/git/osc-plugins.git/

2. Copy the osc gnome plugin to your osc plugin directory

mkdir -p ~/.osc-plugins/ && cp osc-plugins/obs-dissector/osc-gnome.py ~/.osc-plugins/

3. Create a project in your home called “branches:GNOME:Factory:Next”
and add some repositories to build against;

osc meta prj -e home:$USER:branches:GNOME:Factory:Next

3.1 Make sure your repositories looks like this (also, that it’s not
commented out with the <!– and –> tags)


<repository name="openSUSE_11.1">
<path project="GNOME:Factory:Next" repository="openSUSE_11.1"/>
<path project="openSUSE:11.1" repository="standard"/>
<arch>x86_64</arch>
<arch>i586</arch>
</repository>
<repository name="openSUSE_Factory">
<path project="GNOME:Factory:Next" repository="openSUSE_Factory"/>
<path project="openSUSE:Factory" repository="standard"/>
<arch>x86_64</arch>
<arch>i586</arch>
</repository>

You should now be able to start updating packages in G:F:N.

The following command will list all packages in need of an update;

osc gnome t --xr --xs --project=GNOME:Factory:Next

To start updating a package from the list, use;

osc linkpac GNOME:Factory:Next $PACKAGE home:$USER:branches:GNOME:Factory:Next && osc gnome up $PACKAGE --project=GNOME:Factory:Next

Make changes as required, then commit to your branch (osc co). Once it
builds successfully, use the following to create a request for inclusion
in G:F:N;

osc submitreq create -m "Description of the changes you made" --nodevelproject

Don’t forget to explore other capabilities of ‘osc gnome’ as well :-)

Note; If you don’t want to specify “–project=GNOME:Factory:Next” all the time, add this to ~/.oscrc in the general section;

gnome_projects = GNOME:Factory:Next

If you have any issues, ask us on IRC. We’re on FreeNode/#opensuse-gnome

Happy updating!!

One Response to “Helping out with packaging the next version of GNOME for openSUSE”

  1. Serg Says:

    Прикольно написано. Мне нравится

Leave a Reply