PatchingNetworkManagerPackage
In order to submit patches for the ubuntu network-manager patches follow the following instructions.
branch the package from bzr and cd into it
bzr branch https://code.launchpad.net/~ubuntu-core-dev/network-manager/ubuntu.0.6.x network-manager.debian cd network-manager.debian
apply all currently existing patches:
ln -s debian/patches quilt push -a
create a new patch:
quilt new XX_your_new_patch_name.patch
register the files you want to modify before actually modifying them, e.g.
quilt add src/NetworkManagerUtils.h quilt add src/NetworkManagerUtils.c quilt add src/nm-ap-security.c
then edit the files and refresh the patch after you have applied your changes
quilt refresh --diffstat -U8 --no-timestamps
you can then build the package and if you find your modifications could be improved, just edit the files or register new ones (using quilt add like above); after your modifications are finished, refresh your patch again
quilt refresh --diffstat -U8 --no-timestamps
After you finished the patch just open a launchpad bug to track the inclusion of this bug.
You can either attach the debian/patches/XX_your_new_patch_name.patch patch or create a bzr branch in launchpad where you push your ready-to-be-merged package (with the new patch) to. Remember to post your bzr branch url to the bug when submitting your fix through bzr.
PatchingNetworkManagerPackage (last edited 2008-08-06 16:33:02 by localhost)