Generic procedure to add patches to existing packages.

Raúl Sánchez Siles rasasi78 at gmail.com
Wed Dec 26 22:43:14 UTC 2007


  Hello All:

  This thread is supposed to be a generalisation for a specific problem. I 
wanted to try the patches that are supposed to fix Adobe intention to avoid 
non-gtk browser users use their flash player plugin.

  From now on I'll focus on kdebase and kdebase patch since, kdelibs patch 
worked for me.

  I got the kdebase patch from here: 
https://bugzilla.novell.com/attachment.cgi?id=188532 you can see the whole 
bug report here: https://bugzilla.novell.com/show_bug.cgi?id=348088 yet I 
think there another one in the kde BTS.

 My intention was to add the patch in the debian/patches dir as 
80_fix-flash-nsplugin.diff and then build the package, but the patch modifies 
some Makefile.am files, exactly nsplugins/viewer/Makefile.am.

  I then discovered that I needed to recreate the 98_buildprep.diff patch 
using the script create-buildprep in the pkg-kde subversion repository: 
svn://svn.debian.org/pkg-kde/scripts

  I then unpacked the source package available in Debian using dpkg-source -x 
and did create-buildprep kdebase-3.5.8.dfsg.1. The output is attached.

  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. The clean target doesn't work, hence I think something 
went wrong.

  I would appreciate some pointer as how to proceed in this situation, and 
this information could hopefully help any other in the future.

  Note: please CC me

  Thanks,

-- 
Raúl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create-buildprep.log.zip
Type: application/x-zip
Size: 5537 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20071226/47918787/attachment.bin 


More information about the pkg-kde-talk mailing list