1 Attachment(s)
HOWTO: Gaim 2.0 beta cookbook
To build
gaim 2.0 beta
3 for Dapper, you also need to build newer version of one additional library,
libgadu-dev to satisfy the build-time requirements.
You could build gaim using Dappers libgadu-dev library too, by modifying build-time dependencies,
but newer library contains some
important security fixes
Initial setup
- Before starting I suggest you to install debfoster, run it once and answer yes for all asked questions.
- This way you set default state for installed packages and can easily uninstall all required build-time dependencies.
- You can later "reset" debfoster using -n parameter after build-time dependencies have been removed and
you have successfully completed the steps of this HOWTO.
Code:
sudo aptitude install debfoster
sudo debfoster
Setup build environment
- Install required tools for building process
Code:
sudo aptitude install build-essential cdbs devscripts dh-make fakeroot
libgadu-dev
- Add Debian unstable repository to /etc/apt/sources.list
Code:
deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free
- Update sources
Code:
sudo aptitude update
- Get the source package
Code:
mkdir -p ~/packages/ekg
cd ~/packages/ekg
apt-get source libgadu-dev
cd ekg-1.6+20060616
- Insert new changelog entry
Code:
ekg (1:1.6+20060616-2ubuntu1) dapper; urgency=low
* Adopted for Dapper
-- Firstname Lastname <youralias@yourhost.com> Tue, 27 Jun 2006 11:01:59 +0300
- Install required build-time dependencies
Code:
sudo aptitude install libncurses-dev libreadline5-dev zlib1g-dev python-dev libgsm1-dev libssl-dev libglib2.0-dev libjpeg62-dev libaspell-dev
- Build and install
Code:
dpkg-buildpackage -rfakeroot -us -uc
sudo dpkg -i ../libgadu*.deb
gaim
- Add Debian experimental repository to /etc/apt/sources.list
Code:
deb-src http://ftp.uk.debian.org/debian experimental main contrib non-free
- Update sources
Code:
sudo aptitude update
- Get the source package
Code:
mkdir -p ~/packages/gaim
cd ~/packages/gaim
apt-get source gaim
cd gaim-2.0.0+beta3
- Insert new changelog entry
Code:
gaim (1:2.0.0+beta3-5ubuntu1) dapper; urgency=low
* Adopted for Dapper
-- Firstname Lastname <youralias@yourhost.com> Tue, 27 Jun 2006 11:10:05 +0300
- Edit debian/control file and remove version requirement from cdbs which is on Build-Depends line
- Install required build-time dependencies
Code:
sudo aptitude install libgtk2.0-dev libxss-dev libmeanwhile-dev libgnutls11-dev tcl8.4-dev tk8.4-dev libao-dev libaudiofile-dev libgtkspell-dev libltdl3-dev libperl-dev libstartup-notification0-dev libzephyr-dev libxml2-dev libebook1.2-dev libedata-book1.2-dev libcamel1.2-dev libdbus-glib-1-dev libavahi-compat-howl-dev libxml-parser-perl
- Build and install
Code:
dpkg-buildpackage -rfakeroot -us -uc
sudo dpkg -i ../gaim_2.0.0+beta3-5ubuntu1_i386.deb ../gaim-data_2.0.0+beta3-5ubuntu1_all.deb
Removing the build dependencies
- If you installed debfoster as suggested in the beginning, you can now remove all build dependencies.
Answer p (as purge) for all questions regarding to applications and libraries installed on build process.
- Remove/comment Debian source repositories from /etc/apt/sources.list
[edit]
- Added libxml-parser-perl as build dependency, thanks bobpaul
Re: HOWTO: Gaim 2.0 beta cookbook
gaim-guifications
I noticed that atleast
gaim-guifications plugin needs to be upgraded to get it working
with new Gaim version, so here we go
- Apply same initial setup as on Gaim HOWTO previously, if you already removed those.
- You should use official Dapper source repository for this, so if you have Debian repositories still left on /etc/apt/sources.list, remove/comment those
- Update your package source list before continuing
Code:
sudo aptitude update
- Install the gaim development package that was built on Gaim HOWTO previously
Code:
sudo dpkg -i ~/packages/gaim/gaim-dev_2.0.0+beta3-5ubuntu1_i386.deb
- Get old source package (for template)
Code:
mkdir -p ~/package/gaim-guifications
cd ~/package/gaim-guifications
apt-get source gaim-guifications
- Get new sources. If download link doesn't work, use another mirror
Code:
wget http://heanet.dl.sourceforge.net/sourceforge/guifications/gaim-guifications-2.13beta3.tar.gz
- Apply package information for new sources (version needs to be specified in this case)
Code:
cd guifications-2.12
uupdate ../gaim-guifications-2.13beta3.tar.gz 2.13
cd ../guifications-2.13
- Insert new changelog entry
Code:
guifications (2.13-0ubuntu1) dapper; urgency=low
* New upstream release
-- Firstname Lastname <youralias@yourhost.com> Tue, 27 Jun 2006 13:18:46 +0300
- Install required build-time dependencies (if you already removed those previously)
Code:
sudo aptitude install libgtk2.0-dev
- Build and install
Code:
dpkg-buildpackage -rfakeroot -us -uc
sudo dpkg -i ../gaim-guifications_2.13-0ubuntu1_i386.deb
Removing the build dependencies
- Do as on Gaim HOWTO previously
Re: HOWTO: Gaim 2.0 beta cookbook
I uploaded .debs to temporary share that should stay up for 60 days
http://www.freefilehoster.com/upload...m2beta3.tar.gz
Before installing gaim2, install these dependencies
Code:
sudo aptitude install libavahi-compat-howl0 libgnutls11 libmeanwhile1
then install package contents
Code:
sudo dpkg -i gaim_2.0.0+beta3-5ubuntu1_i386.deb gaim-data_2.0.0+beta3-5ubuntu1_all.deb libgadu3_1.6+20060616-2ubuntu0_i386.deb
[edit]
Gaim beta3.1 for Dapper
http://www.freefilehoster.com/upload...-dapper.tar.gz
Re: HOWTO: Gaim 2.0 beta cookbook
nice! will try this soon!
Re: HOWTO: Gaim 2.0 beta cookbook
Another great how-to, I'm learning tons about how building debs works. I will try making instructions for building gaim-encryption later.
Re: HOWTO: Gaim 2.0 beta cookbook
Mike, feel free to share that plugin once you get it sorted ;)
Nautilus plugin needs to be re-compiled too it seems.
Re: HOWTO: Gaim 2.0 beta cookbook
Quote:
Originally Posted by mlind
I uploaded .debs to temporary share that should stay up for 60 days
http://www.freefilehoster.com/upload...m2beta3.tar.gz
Before installing gaim2, install these dependencies
Code:
sudo aptitude install libavahi-compat-howl0 libgnutls11 libmeanwhile1
then install package contents
Code:
sudo dpkg -i gaim_2.0.0+beta3-5ubuntu1_i386.deb gaim-data_2.0.0+beta3-5ubuntu1_all.deb libgadu3_1.6+20060616-2ubuntu0_i386.deb
Nice one, mlind! You saved me quite some time.
Re: HOWTO: Gaim 2.0 beta cookbook
1 Attachment(s)
Re: HOWTO: Gaim 2.0 beta cookbook
Quote:
Originally Posted by evilhomer
any luck with gaim-otr?
Try if this works.
Re: HOWTO: Gaim 2.0 beta cookbook
Make gaim-svn version maybe easy.