Generic procedure to add patches to existing packages.

Raúl Sánchez Siles rasasi78 at gmail.com
Fri Dec 28 22:22:19 UTC 2007


  Hello All, Fathi:

  Thanks a lot for answering this possibly nitpicking e-mail ;)

El Viernes, 28 de Diciembre de 2007, escribió:
> Hi Raúl,
>
> >   I then unpacked the source package available in Debian using
> > dpkg-source -x and did create-buildprep kdebase-3.5.8.dfsg.1.
>
> this is correct.
>
> > After this I have a lot of stamp-patch* files in the debian dir and some
> > more *.log in the debian/patches. The 98_buildlog.diff file takes about
> > 15MB which seemed a lot.
>
> I can reproduce the issue.
> Something goes wrong or changed with the create-buildprep script.
>
> for kdelibs, it seems fine compared to kdebase, but the patch is x3 larger.
> previous size was around 2 Mb and an updated patch is now around 6 Mb.

  As I mentioned before, kdelibs build correctly, so far no worries about 
that.

>
> for kdebase, I have the same crappy  stamp-patch* and patches/*.log.
> the patch is x2.5 larger, passed from 7.5 Mb to 17.5 Mb.
>
> I use automake1.9 and same behavior under i386 or amd64.

  I've only tested on amd64 where I'm currently on sid and also automake1.9. 
With your experience now I know I'm not totally wrong :) , so I guess next 
step would review the create-builddep script and check out wether it's doing 
its job correctly, maybe I don't fix anything from there, but I may get some 
new tracks.

  To sum up, I got kdebase to build, this means exactly build, I applied the 
patches and before running the build target, I manually did make -f 
admin/Makefile.common. I then build and it did, the problem then was that 
kcontrol/ebrowsing/plugins/shorturi/kshorturifilterrc was installed on 
usr/share/apps instead of etc/kde3/kshorturifilterrc where the build system 
expects it.

  Mind that this latter paragraph may possibly represent useless comments, but 
I thought it could be of any help. After having exhausted that path, I went 
into the create-builddep thingie, where I'm trapped right now. I think this 
latter is the right one and hence, the one to explore.

>
> my 2c. atm.
>
> cheers,
>
> Fathi

  Very appreciated, actually ;)


-- 
     Raúl Sánchez Siles
----->Proud Debian user<-----
Linux registered user #416098
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20071228/ae95affd/attachment.pgp 


More information about the pkg-kde-talk mailing list