Shaleh wrote: > > 1. Unpack the .tar.gz in a directory. > > 2. Copy in that directory the xxx.diff file. > > 3. Pacth the files with "patch -p1 < xxx.dif" > > > > Is this the right way to do the things ? In the .diff files were some > > lines that make me think some directory names should be changed, but, > > after the change, no directory name is changed. What am I missing here ? > > No actually it is not. The correct way is to use dpkg-source. The > command is 'dpkg-source -x <package>.dsc'. This will recreate the > maintainers build environ completely.
Netscape uncompress the .diff file after downloading; now I can't use it! -- $ ls gpstrans_0.31b-5.diff gpstrans_0.31b.orig.tar.gz gpstrans_0.31b-5.dsc $ dpkg-source -x gpstrans_0.31b-5.dsc dpkg-source: failure: cannot read ./gpstrans_0.31b-5.diff.gz: No such file or directory $ gzip gpstrans_0.31b-5.diff $ dpkg-source -x gpstrans_0.31b-5.dsc dpkg-source: error: file gpstrans_0.31b-5.diff.gz has size 12987 instead of expected 12881 $ gunzip gpstrans_0.31b-5.diff $ gzip -9 gpstrans_0.31b-5.diff $ dpkg-source -x gpstrans_0.31b-5.dsc dpkg-source: error: file gpstrans_0.31b-5.diff.gz has size 12903 instead of expected 12881 -- Peter Galbraith, research scientist <[EMAIL PROTECTED]> Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546 6623'rd Linux user at the Linux Counter -- http://counter.li.org/ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null