:: Re: [DNG] Debianising my uploaded v…
Forside
Slet denne besked
Besvar denne besked
Skribent: aitor_czr
Dato:  
Til: Edward Bartolo, dng
Emne: Re: [DNG] Debianising my uploaded version of netman.
I forgot to add the changes to debian/changelog, increasing
automatically from jessie2 to jessie3 (the upstream branch hasn't
changed, we only added a quilt patch to the debian branch):

$ git-dch --ignore-branch --auto --full

After that, you can do some minor refinements handly to debian/changelog.

The changes in debian/changelog are allways the latest commit done in
the repository.

Hope this help,

    Aitor.


On 12/08/2015 09:59 AM, aitor_czr wrote:
> 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.