Tag Archives: ArchLinux

Building Gnome with Arch Linux

So this post describes how I built the latest Gnome under ArchLinux.I pretty much followed the Guide by the gnome-love team and just write here what’s different.

The first thing you need to do is installing python2 and set it as default python library as described here. And of course you need to install other missing dependencies. jhbuild will still say that python2 is not found, so any build needs to be done with the –nodeps flag.
In addition to all the information you got from the official guide, I also added these lines to .jhbuildrc,

os.environ['PYTHON'] = '/usr/bin/python2'
addpath('PYTHONPATH', '/usr/lib/python2.7/site-packages')
addpath('PYTHONPATH', os.path.join(prefix, 'lib/python2.7/site-packages'))

but I’m not sure if these solved the errors I got before. At least they don’t seem to hurt 🙂
Several other errors could be solved with installing missing dependencies or via distclean.

In some modules I had to edit the configure.ac file and replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS, but aclocal or autoconf is telling you that. Arch seems to have a newer version than the one used by most developers.

What was left was a vala compile error in the module dconf (atm I added this to ignore in .jhbuildrc). Here is the build log: http://pastebin.com/fxMk2wAg

A last tip. If you get an error look for the first error message. Fixing it often fixes the following ones.
If you have any questions don’t hestitate to ask. But better go to #gnome-love IRC. They are probably smarter than me.

Starting Gnome Development

After finishing my studies, I hopefully have more time to do various things I already wanted to start for some time. One of those is contributing to some Open Source Software. Since I like Gnome (for the most part) and see the dynamics of the project I chose that big piece of free software.

Installing Arch Linux

The first thing we need to be able to start hacking is a linux distribution including some up-to-date development libraries. Since I didn’t have luck wih Ubuntu and it screws up anyway in anything that has something to do with Gnome lately, I decided to give Arch Linux a try. It got a good reputation lately by Gnome people and linux humans in general and being a rolling release distribution makes upgrades to the latest versions easier.

I have to admit that I was a bit afraid cause people say arch is hard to install and configure but in the end it was pretty easy and straight forward. The hardest thing was to configure Gnomes NetworkManager. Here is what I did:

  1. Follow the Beginner’s Guide to install the basic System. (Tip print it or write down the important commands).
  2. After restarting and the creation of a new user and installing X-Server (as described in the guide above and linked references) you need to install Gnome.
    I followed this guide. Make sure to also install GDM and enable it in systemd.
    After a restart you should be able to use the gnome desktop.
  3. Within Gnome you can configure you wifi connection with the appropiate commands from the beginners guide but it’s of course nicer to use Gnomes NetworkManager.
    Follow this guide. I also needed some tries cause I mixed up all the enabling and disabling of systemd services and network adapters. So better read twice.

In the end that was it. After the installation of packagekit I had a GUI to install any Software I needed. The next big thing is to understand those AUR stuff which seems pretty nice.

At the moment I try to install the latest Gnome. A next post will show its success hopefully.