Thursday, 19 February 2015

Re: Help with debdiff generation of soundconverter package


On Feb 19, 2015 11:06 PM, "Michele Giacomoli" <[email protected]> wrote:
>
> Hi developers,
>
> The package soundconverter (2.0.4-0ubuntu1) in trusty repo has some bugs, so the developer created a branch (https://github.com/kassoulet/soundconverter/tree/2.0) with some highly recommended fixes for this version.
>
>  I filled an SRU request for this (https://bugs.launchpad.net/ubuntu/+source/soundconverter/+bug/1423709). I managed to build from source and everything seems to work fine, but I would need to attach a debdiff to the request, and I feel insecure with packaging stuff.
>
> So I ask you for help, if someone could try to build and generate a debdiff, or explain me the procedure to solve this problem, or who can ask for this.

I'm just on my phone right now so i can't do this myself, but to generate a debdiff I'd follow these steps:

1. Get the package from trusty. If you're running trusty, it's as easy as:

apt-get source soundconverter

If you're not on trusty, you can grab the package from launchpad. Just make sure you get all the files, including the dsc and orig.tar.

2. Get the new package and download it to the same directory. Make sure the new package has the debian directory in it already. If it doesn't, copy the one from the trusty package and run "dch -i" to make a new changelog entry.

3. Build the new package by running "debuild"

4. You should now have two dsc files, one for the trusty version, one for the new version. Run debdiff:

debdiff trusty.dsc new.dsc >soundconverter.diff

Hope that helps, let me know if you have any trouble.

Oh, and make sure that the diff doesn't contain anything that's not already in vivid. SRU policy is that fixes must land in the development series before being backported