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

Re: pristine sources?



On 9 Oct 1997, Guy Maor wrote:

> Dale Scheetz <dwarf@polaris.net> writes:
> 
> > How is the Debianized tree named?
> 
> After unpacking, the souce tree is always named <package>-<version>.
> 
> dpkg-source supports a single upstream tar.gz which unpacks into a
> single directory, which covers the great majority of packages.
> Packages which have multiple tar.gz, or a tar.gz and diffs, or unpack
> into the current directory can't yet use pristine sources.
> 
I'm not sure you understood my question.

Currently, when I build a package, I first unpack the upstream source into
<package>-<version>. Then I rename the directory to
<package>-<version>.orig. Next, I unpack the tarball again (into
<package>-<version>), add the debian directories with its various files
and do a dpkg-buildpackage, which tarballs the .orig tree into
<package>-<version>.orig.tar.gz and blows the .orig tree away.

As I understand the "pristine source" proceedure, dpkg-source (any special
options?) can now directly unpack the tarball (such as
<package>-<version>.tar.gz) into the <package>-<version> directory. My
question was, "Is this directory the one that gets the debian
subdirectory, and recognizes the "pristine source" as what used to be the
<package>-<version>.orig.tar.gz?" Also, do I have to do anything special
during source unpacking or package build to get dpkg to recognize the
setup properly?

Thanks,

Dwarf
-- 
_-_-_-_-_-_-                                          _-_-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (904) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: