Re: Review of pev
Hello again,
On Tuesday 11 January 2011 22:50:45 Fernando Mercês wrote:
> Scott, thank you. It's very clear for me now.
>
> I have just uploaded my package.
I don't know where you get the instructions, but I think that you got some
things wrong (somebody will correct me if it's me who is wrong, hopefully).
I had to follow these steps to get the right files:
$ dget http://mentors.debian.net/debian/pool/main/p/pev/pev_0.22-1.dsc
[...]
$ tar xavf pev_0.22.orig.tar.gz
AUTHORS
LICENSE
Makefile
pe.h
pev.1
pev.c
README
VERSION
This is wrong, the .orig. has to contain the files in "pev-0.22" directory,
so:
$ mkdir pev-0.22
$ tar xavf pev_0.22.orig.tar.gz -C pev-0.22/
AUTHORS
LICENSE
Makefile
pe.h
pev.1
pev.c
README
VERSION
$ tar cavf pev_0.22.orig.tar.gz pev-0.22/
pev-0.22/
pev-0.22/LICENSE
pev-0.22/Makefile
pev-0.22/pe.h
pev-0.22/AUTHORS
pev-0.22/VERSION
pev-0.22/README
pev-0.22/pev.c
pev-0.22/pev.1
Now .orig contains the same files but inside "pev-0.22". Patching worked
all right:
$ gunzip -c pev_0.22-1.diff.gz | patch -p0
patching file pev-0.22/debian/control
patching file pev-0.22/debian/compat
patching file pev-0.22/debian/copyright
patching file pev-0.22/debian/watch
patching file pev-0.22/debian/pev.dirs
patching file pev-0.22/debian/changelog
patching file pev-0.22/debian/rules
patching file pev-0.22/debian/source/format
By the way, maybe you should use the format "3.0 (quilt)" [1], it seems to
be preferred now and it requires very few changes.
[1] http://wiki.debian.org/Projects/DebSrc3.0
So what I did is to put "3.0 (quilt)" in debian/source/format, then, inside
the directory "pev-0.22", debuild without signing:
$ debuild -us -uc
And everything worked perfectly. The important resulting files are:
- pev_0.22.orig.tar.gz (as before)
- pev_0.22-1.debian.tar.gz (substituted your initial pev_0.22-1.diff.gz, it
has the same contents but in tar format)
- pev_0.22-1.dsc
- pev_0.22-1_i386.changes
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
Reply to: