Results 1 to 10 of 85

Thread: HOWTO: Gaim 2.0 beta cookbook

Threaded View

  1. #1
    Join Date
    Nov 2005
    Beans
    2,322
    Distro
    Ubuntu Intrepid Ibex (testing)

    HOWTO: Gaim 2.0 beta cookbook

    To build gaim 2.0 beta3 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:
      dch -iDdapper
      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:
      dch -iDdapper
      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.
      Code:
      sudo debfoster
    • Remove/comment Debian source repositories from /etc/apt/sources.list




    [edit]
    • Added libxml-parser-perl as build dependency, thanks bobpaul
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	about_gaim.png 
Views:	629 
Size:	45.9 KB 
ID:	11820  
    Last edited by mlind; July 17th, 2006 at 02:54 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •