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

Re: How to patch files in a package's debian directory



Am 14.01.2014 00:32, schrieb Gregory Nowak:
> There may be a better way, but I've used apt-build in the past to do
> something similar. I ran
> 
> apt-build source pkg-name
> 
> to download the sources. Then I modified them how I wanted, and then
> ran
> 
> apt-build install pkg-name
> 
> This is from memory, but I'm 98% sure that's how it went. HTH.
> 
Thanks for your suggestion. I have not used apt-build yet, but from what
I read, it too probably uses dpkg-source internally to build the source
package. So I'd run into the same problem.

My current workaround is to delete the patch that modifies files in the
debian directory from the quilt series and apply it manually before I
build the package (using pbuilder). While that works, it's not as easy
to maintain (apply, unapply, modify) the patch as I would like. I'm
still hoping someone comes up with a better scheme.

Malte



Reply to: