How to rebuild package from source to enable mp3 support
Paul Dwerryhouse
paul at dwerryhouse.com.au
Thu Feb 23 02:52:50 UTC 2006
On Wed, Feb 22, 2006 at 02:42:48PM -0500, Carthik Sharma wrote:
> I want to use the musicbrainz features in Amarok. The libtunepimp
> package shipped with Ubuntu does not support mp3 files. I want to
> rebuild the package from source enabling mp3 support.
> I got as far as figuring out that I have to $sudo apt-get source
> libtunepimp2c2 and then edit the /debian/rules files.
You don't need root privileges to download the source...
"apt-get source libtunepimp2c2" will suffice.
You can then build it with the fakeroot command (see below).
> However, i don't find any --configure statements in that file. So how
> do I add/edit the configure statements.
It may be that the package just looks for the presence of libmad and
then builds in mp3 support automatically if it's there. Try installing
libmad0 and libmad0-dev before compiling.
> Also when I did a $sudo apt-get build-dep libtunepimp2c2, I get an
> error message:
> E: Build-Depends dependency for libtunepimp cannot be satisfied
> because no available versions of package libflac-dev can satisfy
> version requirements
Looks like there's a bug in the source package, in Breezy. Look in the
debian/control file and change:
libflac-dev (1.1.2-1ubuntu1)
to
libflac-dev (>= 1.1.2-1ubuntu1)
...then rebuild the package with:
dpkg-buildpackage -rfakeroot
Cheers,
Paul.
--
Paul Dwerryhouse | PGP Key ID: 0x6B91B584
========================================================================
Installing Debian Sarge with software RAID:
http://nepotismia.com/debian/raidinstall/
More information about the ubuntu-users
mailing list