Building a Debian package for Ubuntu

Bill Moseley moseley at hank.org
Tue Oct 23 16:09:28 UTC 2007


On Tue, Oct 23, 2007 at 01:16:49PM +0300, Marius Gedminas wrote:
> That's easy.
> 
> 1. Install build-essential, fakeroot, dpkg-dev.
> 2. Fetch the package, unpack it with dpkg-source -x packagename.dsc.
> 3. Install all the build dependencies (listed in the debian/control file).
> 4. Run dpkg-buildpackage -rfakeroot -uc -us inside the unpacked package
>    directory.
> 
> If you add sid's source repository into your apt sources.list, you can
> do steps 2-4 with two commands:
> 
>   sudo apt-get build-dep packagename
>   sudo apt-get source -b packagename

Interesting -- I thought I'd have a problem with package name
difference between Debian and Ubuntu.


Sadly, this didn't resolve my issue with Mutt (all zeros for mailbox
counts) even though the changelog made me hopeful:

  * Fix the maildir-mtime patch change in 1.5.14+cvs20070403-1 that broke
    new mail message count in IMAP folders. (Closes: #421468, #428734, #433275)

Are the patches applied at build time?  Is there a way I can exclude
this patch when building.

What I was hoping is that I could download the source package and
exclude the maildir-mtime patch, build with a local --prefix and see
if that brings the counts back in the mailbox list.

Thanks,


-- 
Bill Moseley
moseley at hank.org





More information about the ubuntu-users mailing list