Page 1 of 9 123 ... LastLast
Results 1 to 10 of 85

Thread: HOWTO: Gaim 2.0 beta cookbook

  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.

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

    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:
      dch -iDdapper
      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
    Last edited by mlind; June 27th, 2006 at 02:42 PM.

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

    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
    Last edited by mlind; August 21st, 2006 at 04:44 AM.

  4. #4
    Join Date
    Dec 2005
    Location
    Italy
    Beans
    216
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Gaim 2.0 beta cookbook

    nice! will try this soon!

  5. #5
    Join Date
    Dec 2004
    Location
    Utah, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    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.
    Mike: "The hardest questions in life are the ones worth answering"
    E-Mail | Blog | Gmail | technoviking on irc.freenode.net, identi.ca , and Twitter

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

    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.

  7. #7
    Join Date
    Jun 2006
    Location
    Norway
    Beans
    27
    Distro
    Ubuntu 8.10 Intrepid Ibex

    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.

  8. #8
    Join Date
    May 2006
    Beans
    50

    Re: HOWTO: Gaim 2.0 beta cookbook

    any luck with gaim-otr?

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

    Re: HOWTO: Gaim 2.0 beta cookbook

    Quote Originally Posted by evilhomer
    any luck with gaim-otr?
    Try if this works.
    Attached Files Attached Files
    Last edited by mlind; July 9th, 2006 at 06:36 PM.
    Building on Ubuntu using [pbuilder]
    Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]

  10. #10
    Join Date
    Jun 2006
    Beans
    2

    Re: HOWTO: Gaim 2.0 beta cookbook

    Make gaim-svn version maybe easy.

Page 1 of 9 123 ... LastLast

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
  •