1. Manual method

Portage overlay. Download, unpack the tarball in your portage overlay directory, emerge cwiid.  More info on portage overlays, gensync.

2. Layman method

Emerge layman, edit /etc/layman/layman.cfg and add cwiid overlay spec:

overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
            http://abstrakraft.org/cwiid/attachment/wiki/Gentoo/cwiid.xml?format=raw

If you are using layman for the first time you should also tell portage about new overlays:

echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

Fetch overlay lists:

layman -f

Add cwiid overlay:

layman -a cwiid

Unmask cwiid:

echo "app-misc/cwiid ~x86" >> /etc/portage/package.keywords

Finally emerge cwiid:

emerge -a cwiid

From now on, you can update the overlay (as long as cwiid-portage.tgz is updated) with :

layman -s cwiid

3. Paludis Method

1. Using  Paludis, create a new repository file named cwiid.conf inside your /etc/paludis/repositories directory and insert this:

location = ${ROOT}/var/db/paludis/repositories/cwiid
master_repository = gentoo
sync = tar+http://abstrakraft.org/cwiid/downloads/cwiid-portage.tgz
distdir = /usr/portage/distfiles
format = ebuild
names_cache = ${location}/.cache/names
write_cache = /var/empty

of course you'll have to edit this to suit your setup. The important thing here is the sync part.

2. sync all of your repositories or only this one by specifying:

gentoo # paludis -s x-cwiid

3. add cwiid to your unstable arch

gentoo # echo "app-misc/cwiid ~x86" >> /etc/paludis/keywords.conf

4. install

gentoo # paludis -i cwiid

4. Notes

Version 0.6.0 of cwiid will not compile if LDFLAGS="-Wl,--as-needed" is set in /etc/make.conf. This has been fixed in the source repository and later versions.

The compile fails because wmgui relies on libcwiid linking to the bluetooth libraries.

Changes

  • 2007-04-14 Added bluez-libs dependency, ppc and ppc64 keywords

Attachments