Andrew Starr-Bochicchio has proposed merging lp:~andrewsomething/ubuntu-packaging-guide/lp1248353 into lp:ubuntu-packaging-guide.
Requested reviews: Ubuntu Packaging Guide Team (ubuntu-packaging-guide-team) Related bugs: Bug #1248353 in Ubuntu Packaging Guide: "Probem in Packaging New Software Article" https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/1248353 For more details, see: https://code.launchpad.net/~andrewsomething/ubuntu-packaging-guide/lp1248353/+merge/197975 I wanted to get to the root of this, but this really shouldn't wait. We have a broken tutorial on the web site. Besides the bug report, I just came across a question about this on AskUbuntu. So let's just revert the version bump for now. -- https://code.launchpad.net/~andrewsomething/ubuntu-packaging-guide/lp1248353/+merge/197975 Your team Ubuntu Packaging Guide Team is requested to review the proposed merge of lp:~andrewsomething/ubuntu-packaging-guide/lp1248353 into lp:ubuntu-packaging-guide.
=== modified file 'ubuntu-packaging-guide/packaging-new-software.rst' --- ubuntu-packaging-guide/packaging-new-software.rst 2013-10-15 14:07:44 +0000 +++ ubuntu-packaging-guide/packaging-new-software.rst 2013-12-06 00:18:46 +0000 @@ -29,12 +29,12 @@ Download main package:: - $ wget -O hello-2.9.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.9.tar.gz" + $ wget -O hello-2.7.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.7.tar.gz" Now uncompress main package:: - $ tar xf hello-2.9.tar.gz - $ cd hello-2.9 + $ tar xf hello-2.7.tar.gz + $ cd hello-2.7 This application uses the autoconf build system so we want to run ``./configure`` to prepare for compilation. @@ -66,7 +66,7 @@ $ sudo apt-get install dh-make $ cd .. - $ bzr dh-make hello 2.9 hello-2.9.tar.gz + $ bzr dh-make hello 2.7 hello-2.7.tar.gz When it asks what type of package type ``s`` for single binary. This will import the code into a branch and add the ``debian/`` packaging directory. Have a look @@ -80,7 +80,7 @@ You should now customise each of the files. In ``debian/changelog`` change the -version number to an Ubuntu version: ``2.9-0ubuntu1`` (upstream version 2.9, +version number to an Ubuntu version: ``2.7-0ubuntu1`` (upstream version 2.7, Debian version 0, Ubuntu version 1). Also change ``unstable`` to the current development Ubuntu release such as ``saucy``. @@ -140,11 +140,11 @@ You can view the contents of the package with:: - $ lesspipe hello_2.9-0ubuntu1_amd64.deb + $ lesspipe hello_2.7-0ubuntu1_amd64.deb Install the package and check it works:: - $ sudo dpkg --install hello_2.9-0ubuntu1_amd64.deb + $ sudo dpkg --install hello_2.7-0ubuntu1_amd64.deb Next Steps ---------- @@ -154,8 +154,8 @@ ``lintian`` which can be run on both the source .dsc metadata file and the .deb binary package:: - $ lintian hello_2.9-0ubuntu1.dsc - $ lintian hello_2.9-0ubuntu1_amd64.deb + $ lintian hello_2.7-0ubuntu1.dsc + $ lintian hello_2.7-0ubuntu1_amd64.deb A description of each of the problems it reports can be found on the `lintian website`_. @@ -176,7 +176,7 @@ $ bzr builddeb -S $ cd ../build-area - $ pbuilder-dist precise build hello_2.9-0ubuntu1.dsc + $ pbuilder-dist precise build hello_2.7-0ubuntu1.dsc When you are happy with your package you will want others to review it. You can upload the branch to Launchpad for review:: @@ -187,7 +187,7 @@ others to test the binary packages. You will need to set up a PPA in Launchpad and then upload with ``dput``:: - $ dput ppa:<lp-username> hello_2.9-0ubuntu1.changes + $ dput ppa:<lp-username> hello_2.7-0ubuntu1.changes See :doc:`uploading<./udd-uploading>` for more information.
_______________________________________________ Mailing list: https://launchpad.net/~ubuntu-packaging-guide-team Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-packaging-guide-team More help : https://help.launchpad.net/ListHelp

