Yes, you need to keep the *.orig directory until you have built the
package once. THis is what it uses to make the diff file.
Carlo
On Fri, 5 Aug 2005, Bastian Venthur wrote:
Bas Wijnen wrote:
On Thu, Aug 04, 2005 at 11:32:01PM +0200, Bastian Venthur wrote:
Ok but one question remains: When I unpacked the original sources, I had
to rename the resulting dir to calm dh_make down -- when I now unpack the
.zip in order to make an .orig.tar.gz out of it, do I have to rename the
dir too or has the .orig.tar.bz an exact copy of the .zip?
Usually, it is a good idea to keep the original tarball as it is, so the
directory it unpacks to should not be changed. dpkg-buildpackage will
handle
it if it doesn't unpack to the "correct" name. The reason for keeping the
original is as far as I understood it that the md5 checksum is the same as
the distributed version.
However, since your distribution is a zip file, and not a tar.gz, that
doesn't
work anyway. So you can make it the renamed directory I guess. But
there's
not really any reason to do so, as dpkg-buildpackage doesn't need it. So
I would just unzip, then tar -czf, and name it .orig.tar.gz.
Hmm now I am a bit surprised:
I've observed, that after running dh_make in dir "foo-1.0", it creates a dir
named "foo-1.0.orig" right besides "foo-1.0". And after debuild, I have
"foo_1.0.orig.tar.gz" too -- so I guess dbuild cares about everything and
there is no need to create an *.orig.tar.gz by yourself.
And so I guess my original question was only foundet in the fact, that I
removed the foo-1.0.orig dir a bit too fast (I thought I would not need it,
since I keep my orignal .zip).
Can anybody confirm my thoughts on this?
Kind regards
Bastian
--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498 Fax: 312.567.3494
[EMAIL PROTECTED] http://www.iit.edu/~segre
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]