[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add "quilt" to an existing package?



Hello Goswin,

Am 2011-04-03 13:36:00, hacktest Du folgendes herunter:
> > http://www.debian.org/doc/maint-guide/ch-modify.en.html#s-quiltrc
> > http://www.debian.org/doc/maint-guide/ch-modify.en.html#s-fixupstream
> > http://www.debian.org/doc/maint-guide/ch-dother.en.html#s-sourcef
> > http://www.debian.org/doc/maint-guide/ch-dother.en.html#s-patches
> 
> Those give a 404.

Oops, for 2 days it was working...

> Looking up the maint-guide the hard way I see that the quilt part is
> also outdated.

Maybe someone has encountered this problem and removed the "maint-guide"

> No mention of 3.0 (quilt) format and outdated use of
> QUILT_PATCHES.
> 
> 
> So here is a quickstart for switching to 3.0 (quilt):
> 
> # Switch to 3.0 (quilt format)
> mkdir debian/source
> echo '3.0 (quilt)' >debian/source/format
> 
> # Initialize quilt setup (avoids having to specify QUILT_PATCHES)
> dpkg-buildpackage -S
> 
> Now you can simply use quilt. It is that easy.
> 
> If your source already has changes compared to upstream then you will
> get a line like:
> 
> dpkg-source: info: local changes stored in hello-2.6/debian/patches/debian-changes-2.6-1, the modified files are:
>  hello-2.6/src/hello.c
> 
> You should rename the patch to something more suitable and if it
> contains multiple changes consider spliting it up.

OK, done.  Was easier then I was thinking

Note:   The "maint-guide" should add a note, on HOW-TO-ADD  quilt
        to debian/rules.  I have  done  all  steps  mentioned  on
        http://wiki.debian.org/UsingQuilt and it was not working.
        I found the hint in another package which was using quilt

        include /usr/share/quilt/quilt.make

        build-stamp: patch
                     ^^^^^
        clean: unpatch
               ^^^^^^^
        because without patch/unpatch it wont work.  :-/

> Enjoy,
>         Goswin

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL       itsystems@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle@jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature


Reply to: