:: Re: [DNG] Debianising my uploaded v…
Página Inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
Para: dng
Assunto: Re: [DNG] Debianising my uploaded version of netman.
Hi Edward,

The following procedure is from the point of view of a package mantainer.

Once you cloned the git repository, the branch by default will be the
master branch (in the most of the cases). Don't change this branch.
Checkout the gbp-master branch, instead of the master branch. It
includes the debian folder.

You can get the tarball *.orig.tar.bz2 using the pristine-tar branch:

$ pristine-tar checkout ../netman_0.1.1~468c97d.orig.tar.bz2

This generates the tarball in the parent directory.

Now apply the patch suggested by Rainer. The master branch will not be
changed.

After appling the changes you can commit them:

$ git add .
$ git commit --all

You have to generate the patch for quilt, whenever you change the sources.

$ dpkg-source --commit

Now give a name for the patch, for example, makefile.patch.

Commit the new patch:

$ git add .
$ git commit --all

Now you can use git-buildpackage (don't use dpkg-buildpackage with git,
because git-buildpackage is a grap for dpkg-buildpackage):

$ git-buildpackage -tc --git-export-dir="../build-area"
--git-pristine-tar --git-ignore-branch

Note.- debian/rules doesn't use the Makefile file, and you need to add
'caller.c' to the compiler (my mistake), but you can change it if you want.

Aitor.

On 12/08/2015 06:32 AM, Edward Bartolo <edbarx@???> wrote:
> Hi Aitor,
> >
> >Thanks for granting me permission. I will now start editing some files
> >under netman/debian so that dpkg-buildpackage works.
> >
> >I am getting this error:
> >dpkg-source: error: can't build with source format '3.0 (quilt)': no
> >upstream tarball found at
> >../netman_0.1.1~468c97d.orig.tar.{bz2,gz,lzma,xz}
> >dpkg-buildpackage: error: dpkg-source -b netman gave error exit status 255
> >
> >I do not have any .tar.* files.
> >
> >What should I do?
> >
> >Edward
> >
> >
> >On 07/12/2015, aitor_czr<aitor_czr@???> wrote:
>> >>Of course !!
>> >>
>> >>On 12/07/2015 08:24 PM, Edward Bartolo wrote:
>>> >>>Hi Aitor,
>>> >>>
>>> >>>I know you already Debianised netman. However, it makes sense for me
>>> >>>to also Debianise my version of netman on git.devuan.org. I think, I
>>> >>>should be able to copy netman/Debian files from your branch, but
>>> >>>first, I am seeking your permission to authorise me to include those
>>> >>>files in my branch.
>>> >>>
>>> >>>I will undoubtedly need some more help from your part.
>>> >>>
>>> >>>Thanks, Edward.