Archive for the ‘gentoo’ Category

Thunderbird Dictionaries (for Gentoo)

Thursday, June 21st, 2007

After struggling every time I want to install new dictionaries in thunderbird, I think its time to write it down. Once and for all. It is as simple as that: Take a dictionary in the appropriate format (*.{dic,aff}, for exmple from the thunderbird homepage or openoffice myspell packages) and drop it into /usr/lib/mozilla-thunderbird/dictionaries. Done. The xpi packages do not work for me, neither installing into either /opt/thunderbird/components/myspell/, nor /usr/lib/mozilla-thunderbird/components/myspell.

New Portage Features

Monday, June 26th, 2006

Finally, portage supports hooks for executing abirtray functions during an emerge process. This is done through /etc/portage/bashrc and some knowledge about ebulid(1). I have created this little sample that finally frees me from making a backup of every going-to-be-unmerged package.

# file /etc/portage/bashrc
if [[ ${EBUILD_PHASE} == "setup" ]]; then
einfo “Running quickpkg…”
/usr/sbin/quickpkg `echo ${EBUILD} | rev | cut -f2 -d/ | rev`
fi