<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michal Sylwester &#187; Uncategorized</title>
	<atom:link href="http://arakilab.media.eng.hokudai.ac.jp/~msylw/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://arakilab.media.eng.hokudai.ac.jp/~msylw</link>
	<description></description>
	<lastBuildDate>Wed, 26 Feb 2014 02:34:18 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.1</generator>
	<item>
		<title>PPA: Create package with minor version upgrade</title>
		<link>http://arakilab.media.eng.hokudai.ac.jp/~msylw/2014/02/ppa-create-package-with-minor-version-upgrade/</link>
		<comments>http://arakilab.media.eng.hokudai.ac.jp/~msylw/2014/02/ppa-create-package-with-minor-version-upgrade/#comments</comments>
		<pubDate>Wed, 26 Feb 2014 02:30:39 +0000</pubDate>
		<dc:creator><![CDATA[Michal Sylwester]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arakilab.media.eng.hokudai.ac.jp/~msylw/?p=76</guid>
		<description><![CDATA[I used this before to remember all the necessary commands, without reading the whole guide again and again. As I don&#8217;t upload many packages, it&#8217;s easy to forget the details&#8230; This skips many one-time steps (like setting up launchpad access), &#8230; <a href="http://arakilab.media.eng.hokudai.ac.jp/~msylw/2014/02/ppa-create-package-with-minor-version-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I used this before to remember all the necessary commands, without reading the whole guide again and again. As I don&#8217;t upload many packages, it&#8217;s easy to forget the details&#8230;</p>
<p>This skips many one-time steps (like setting up launchpad access), error scenarios or even changed dependencies, but helps in trivial cases. For those more complex scenarios, check official docs.</p>
<ol>
<li>Go to some empty work directory<br />
<pre class="crayon-plain-tag">cd &lt;some dir&gt;</pre>
</li>
<li>Fetch previous version from repository. You will get some files and a directory &#8220;packagename-vesion&#8221;, called later &lt;old-version-dir&gt;<br />
<pre class="crayon-plain-tag">sudo apt-get source &lt;package-name&gt;</pre>
</li>
<li>Same place, download the new tarball.<br />
<pre class="crayon-plain-tag">wget &lt;url to new source&gt;</pre>
</li>
<li>Enter the old package directory<br />
<pre class="crayon-plain-tag">cd &lt;old-version-dir&gt;</pre>
</li>
<li>Use uupdate to prepare new version&#8217;s directory. You may need to specify the new version explicitly<br />
<pre class="crayon-plain-tag">uupdate -v &lt;new-version (just the upstream number)&gt; ../&lt;upstream-tarball&gt;</pre>
</li>
<li>Go there<br />
<pre class="crayon-plain-tag">cd ../&lt;new-version-dir&gt;</pre>
</li>
<li>Update the changelog. The version should be something like &lt;package-name&gt;-&lt;upstream-version&gt;-0ubuntu0ppa0 (increase last 0 for minor ppa upgrades). Remember to set target distro correctly<br />
<pre class="crayon-plain-tag">dch -i</pre>
</li>
<li>Check it builds fine<br />
<pre class="crayon-plain-tag">debuild</pre>
</li>
<li>Build source package<br />
<pre class="crayon-plain-tag">debuild -S</pre>
</li>
<li>Upload it to launchpad<br />
<pre class="crayon-plain-tag">dput ppa:&lt;username&gt;/&lt;ppaname&gt; &lt;long-new-version&gt;.changes</pre>
</li>
<li>You should get an email that the package was accepted. After a while check the build status to make sure there were no problems.</li>
</ol>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://arakilab.media.eng.hokudai.ac.jp/~msylw/2014/02/ppa-create-package-with-minor-version-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
