[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What to do with source package?



Hendrik Boom wrote:

>I'm consideeing adding functinoality to a Debian package.
>But I have no experience with source packages and the like.
>It seems to be distributed in two parts: a .tar.gz file,
>and a set of diffs applied to that.
>What's the proper way to make the source for the current version?
>  
>

apt-get source <package_name>
... make a copy of the directory, like dir.old...

apt-get source will apply the debian patch. Some packages have more
patches internally. You should ask the maintainer how to unpack his/her
sources if apt-get source doesn't do it.

Packages are built with `fakeroot dpkg-buildpackage`.

>And, if I should succeed, what's the proper way to send the changes
>upstream?
>  
>
As a patch. In many cases the maintainer of a package will forward your
patches upstream, if appropriate. Again, ask the maintainer of the
package in question.

- Adam




Reply to: