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

Re: compiling debian source



"E.L. Meijer (Eric)" <tgakem@sg10.chem.tue.nl> writes:

> > 
> > Finally,
> > 	How do I compile up Debian source code safely so that it doesn't
> > upset dpkg?
> > 	Specifically, I want to recompile VIM to use the X version, but
> > I don't want to upgrade to Slink and have to do the job all over again.
> > There must be a safe 'Debian' way? I had a look at dpkg-source but that
> > didn't help much.
> 
> Two ways that I can think of.
> 
> 1) Compile the thing and install it in the /usr/local hierachy.  Debian
>    does never upgrade or remove anything herein.
> 2) Rename the package, e.g. to vim-private.  In an automatic upgrade I
>    would not expect this gets replaced by any vim package.

3) Use dpkg-source -x to extract the source. Bump the version to a
"non-maintainer upload" (i.e. xyz1.2.3-5 -> xyz1.2.3-5.1) by editing 
                                          this here --^^
  xyz1.2.3/debian/changelog
  Use dpkg-buildpackage -us -uc to build the package without signing
it. Install it with dpkg -i from "..". 

Jens
---
Jens.Ritter@weh.rwth-aachen.de   grimaldi@debian.org
Key ID: 2048/E451C639 Jens Ritter
Key fingerprint: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37 


Reply to: