Difference between revisions of "Debian Packaging"

From Sirikata Wiki
Jump to: navigation, search
(Created page with "==Debian Packaging== Create a directory to be used for packaging. The rest of the commands assume you are in that directory. mkdir packaging cd packaging Clone the repositor...")
 
(Debian Packaging)
Line 4: Line 4:
 
   cd packaging
 
   cd packaging
  
Clone the repository and switch to the release tag:
+
Clone the repository, switch to the release tag, and check out submodules:
 
   git clone git://github.com/sirikata/sirikata.git sirikata-0.0.18
 
   git clone git://github.com/sirikata/sirikata.git sirikata-0.0.18
 
   cd sirikata-0.0.18
 
   cd sirikata-0.0.18
 
   git checkout v0.0.18
 
   git checkout v0.0.18
 +
  git submodule update --init --recursive
  
Now edit the changelog file to add a new section:
+
Now edit the changelog file to add a new section (you might do this step *before* the tag so it can be part of the "original" tgz):
 
   dch --newversion 0.0.18-0ubuntu1
 
   dch --newversion 0.0.18-0ubuntu1
  
 
Now go back up a directory and create the "orig" tar file that debian requires (note _ instead of -, it matters):
 
Now go back up a directory and create the "orig" tar file that debian requires (note _ instead of -, it matters):
 
   tar -cvzf sirikata_0.0.18.orig.tar.gz sirikata-0.0.18
 
   tar -cvzf sirikata_0.0.18.orig.tar.gz sirikata-0.0.18

Revision as of 21:11, 4 January 2012

Debian Packaging

Create a directory to be used for packaging. The rest of the commands assume you are in that directory.

 mkdir packaging
 cd packaging

Clone the repository, switch to the release tag, and check out submodules:

 git clone git://github.com/sirikata/sirikata.git sirikata-0.0.18
 cd sirikata-0.0.18
 git checkout v0.0.18
 git submodule update --init --recursive

Now edit the changelog file to add a new section (you might do this step *before* the tag so it can be part of the "original" tgz):

 dch --newversion 0.0.18-0ubuntu1

Now go back up a directory and create the "orig" tar file that debian requires (note _ instead of -, it matters):

 tar -cvzf sirikata_0.0.18.orig.tar.gz sirikata-0.0.18