rilpoint_mw113

Packaging

(Created page with ''''Using quilt with Debian source packages''' '''Making A Package Use Quilt''' Modern packages use Quilt by default, it is built into the packaging format. Check in debian/sour…')
 
Line 3: Line 3:
'''Making A Package Use Quilt'''
'''Making A Package Use Quilt'''
-
Modern packages use Quilt by default, it is built into the packaging format. Check in debian/source/format to ensure it says 3.0 (quilt).  
+
Modern packages use Quilt by default, it is built into the packaging format.
 +
 
 +
Check in debian/source/format to ensure it says 3.0 (quilt).  
'''Using .quiltrc configuration file'''
'''Using .quiltrc configuration file'''
-
Place a .quiltrc configuration file in your home directory with the following lines.
+
Place a .quiltrc configuration file in your home directory with the following  
 +
lines.
   QUILT_PATCHES=debian/patches
   QUILT_PATCHES=debian/patches
Line 17: Line 20:
'''Environment variables'''
'''Environment variables'''
-
Alternatively, you can add these lines to .bashrc. Otherwise, run them in your shell or terminal before using quilt.
+
Alternatively, you can add these lines to .bashrc. Otherwise, run them in your  
 +
shell or terminal before using quilt.
   export QUILT_PATCHES=debian/patches
   export QUILT_PATCHES=debian/patches
Line 33: Line 37:
   quilt push -a
   quilt push -a
-
to "push" all existing patches onto the source tree (when you build a package, this is done by the build scripts)
+
to "push" all existing patches onto the source tree (when you build a package,  
 +
this is done by the build scripts)
'''Creating a new patch'''
'''Creating a new patch'''
Line 39: Line 44:
   quilt new 01_boss.patch # this is the patch name
   quilt new 01_boss.patch # this is the patch name
-
   quilt add README # Where 'README' is the name of file you want to modify. You have to do that for all files you modify before you change them; one quilt patch can change multiple files.
+
   quilt add README # Where 'README' is the name of file you want to modify. You  
 +
have to do that for all files you modify before you change them; one quilt patch  
 +
can change multiple files.
'''Now make changes to the source'''
'''Now make changes to the source'''
-
   Now, make your changes to the files added to the patch: edit it, or replace it with an already modified file stored in a different directory.
+
   Now, make your changes to the files added to the patch: edit it, or replace it  
 +
with an already modified file stored in a different directory.
'''Updating a patch with changes made to its files'''
'''Updating a patch with changes made to its files'''

Current revision as of 05:37, 23 October 2013