Want to install new version of Sylpheed on Etch [resolved]

If none of the more specific forums is the right place to ask

Why didn't I think of this before?

Postby powertron » 2008-04-30 22:11

Ok, so after a bunch of screwing around and not being able to build this into a deb, someone gave me an awesome suggestion.

To preface this: the reason I didn't install the lenny (testing) deb was that apt flagged a large number of core packages to upgrade to testing.

Ricardo Mones (Debian Sylpheed maintainer) wrote:To the OP, there's several other methods, but basically:

You need a build environment to build some package:

$ apt-get install build-essential devscripts fakeroot

You need the source package too (the unstable version can do the job,
you may try other):

$ dget -x http://ftp.de.debian.org/debian/pool/ma ... eta3-1.dsc

Now you need the libraries to build the package, look at the
Build-Depends: line in the sylpheed-2.5.0~beta3/debian/control file
and install them:

$ apt-get install libcompfaceg1-dev libglib2.0-dev libgtk2.0-dev
libpng12-dev libgpgme11-dev libssl-dev libpisock-dev flex bison
libreadline5-dev cdbs libgtkspell-dev libonig-dev

Now you only need to build the package:

$ cd sylpheed-2.5.0~beta3
$ dpkg-buildpackage -rfakeroot -us -uc

I don't know why I didn't do this before...it's SO simple!

If the testing deb has a bunch of dependencies that you don't really need, download the debian source and compile on your own system.

This would work on any package, provided there is a deb in unstable. The process is:
Code: Select all
apt-get source -t unstable sylpheed
cd sylpheed-2.5.0~beta3/
dpkg-buildpackage -rfakeroot -us -uc

And that's it. It is much easier than compiling from original source, especially because there is a file in the debian subdirectory called control and this file lists all the dependencies you need to build! That's half the work right there.

I'm seriously loving debian right now :)
Posts: 36
Joined: 2007-06-17 21:08


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests