<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Michael's Tech Blog</title>
	
	<link>http://stepanoff.org/wordpress</link>
	<description>Sketches about gadgets, Perl, Linux and lifestyle</description>
	<lastBuildDate>Fri, 30 Jul 2010 08:57:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MichaelsTechBlog" /><feedburner:info uri="michaelstechblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>MichaelsTechBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Rakudo Star is the first usable Perl 6 distribution</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/pcXLTBwZk58/1622</link>
		<comments>http://stepanoff.org/wordpress/archives/1622#comments</comments>
		<pubDate>Fri, 30 Jul 2010 08:57:40 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Perl Stuff]]></category>
		<category><![CDATA[Perl 6]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1622</guid>
		<description><![CDATA[Yesterday the first Perl 6 distribution was released. It&#8217;s named Rakudo Star: Rakudo Star is aimed at &#8220;early adopters&#8221; of Perl 6. We know that it still has some bugs, it is far slower than it ought to be, and there are some advanced pieces of the Perl 6 language specification that aren&#8217;t implemented yet. [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday the first <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 distribution was released. It&#8217;s named <a href="http://rakudo.org/node/75">Rakudo Star</a>:</p>
<blockquote><p>Rakudo Star is aimed at &#8220;early adopters&#8221; of <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6. We know that it still has some bugs, it is far slower than it ought to be, and there are some advanced pieces of the <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 language specification that aren&#8217;t implemented yet. But Rakudo <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 in its current form is also proving to be viable (and fun) for developing applications and exploring a great new language. These &#8220;Star&#8221; releases are intended to make <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 more widely available to programmers, grow the <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 codebase, and gain additional end-user feedback about the <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 language and Rakudo&#8217;s implementation of it.</p></blockquote>
<p>If you&#8217;re interested to play with <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 practically you may download the Rakudo Star <a href="http://github.com/rakudo/star/downloads">here</a>. Sure it isn&#8217;t stable and cannot be used in the real projects. But as the first step to <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 6 it looks perfect.</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/pcXLTBwZk58" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1622/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1622</feedburner:origLink></item>
		<item>
		<title>Free nature sounds</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/Tquk6mZK4sg/1618</link>
		<comments>http://stepanoff.org/wordpress/archives/1618#comments</comments>
		<pubDate>Wed, 28 Jul 2010 10:26:31 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Digital Life]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[nature]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1618</guid>
		<description><![CDATA[If you like nature sound that service might be interesting for you. It offers a possibility mix four different tracks &#8211; sounds of beach, fire, rain or something else (not vuvusella, thanks God!) and save the result as a link to share with fiends or store it into file. [via Unplggd]]]></description>
			<content:encoded><![CDATA[<p align="center">
<img src="http://www.unplggd.com/uimages/unplggd/072810_naturesounds.jpg" alt="Image" />
</p>
<p>If you like nature sound that <a href="http://naturesoundsfor.me/">service</a> might be interesting for you. It offers a possibility mix four different tracks &#8211; sounds of beach, fire, rain or something else (not vuvusella, thanks God!) and save the result as a link to share with fiends or store it into file.</p>
<p>[via <a href="http://www.unplggd.com/unplggd/final-frame/final-frame-nature-sounds-123026?utm_source=feedburner&#038;utm_medium=feed&#038;utm_campaign=Feed%3A+apartmenttherapy%2Funplggd+%28Unplggd%29">Unplggd</a>]</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/Tquk6mZK4sg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1618/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1618</feedburner:origLink></item>
		<item>
		<title>Song about my favourite football club Zenit</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/KZpZ4pM0TQM/1616</link>
		<comments>http://stepanoff.org/wordpress/archives/1616#comments</comments>
		<pubDate>Tue, 13 Jul 2010 12:17:26 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[Zenit]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1616</guid>
		<description><![CDATA[Today will be the St Petersburg derby for last 10 years. Zenit will play with Dinamo Spb in 1/16 stage of Russian Cup. Should amazing game!]]></description>
			<content:encoded><![CDATA[<p align="center">
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/l5OBymXL3Uw&amp;hl=en_US&amp;fs=1?color1=0x3a3a3a&amp;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/l5OBymXL3Uw&amp;hl=en_US&amp;fs=1?color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
</p>
<p>Today will be the St Petersburg derby for last 10 years. Zenit will play with Dinamo Spb in 1/16 stage of Russian Cup. Should amazing game!</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/KZpZ4pM0TQM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1616/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1616</feedburner:origLink></item>
		<item>
		<title>New Aston Villa shirts with FxPro logo on the front</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/Y35w4_fLtGM/1614</link>
		<comments>http://stepanoff.org/wordpress/archives/1614#comments</comments>
		<pubDate>Tue, 13 Jul 2010 12:13:09 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Aston Villa]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[FxPro]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1614</guid>
		<description><![CDATA[Aston Villa players started coaching in the new blackcurrant training kit with FxPro logo on the front. I like it as a FxPro employee and fan of English Premier League Waiting for the possibility to get a new Aston Villa shirt. [via Aston Villa site]]]></description>
			<content:encoded><![CDATA[<p align="center">
<img src="http://www.avfc.co.uk/javaImages/bc/8f/0,,10265~8884156,00.jpg" alt="Aston Willa and FxPro" />
</p>
<p>Aston Villa players started coaching in the new blackcurrant training kit with FxPro logo on the front. I like it as a FxPro employee and fan of English Premier League <img src='http://stepanoff.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Waiting for the possibility to get a new Aston Villa shirt.</p>
<p>[via <a href="http://www.avfc.co.uk/page/FootballNewsDetail/0,,10265~2087218,00.html">Aston Villa site</a>]</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/Y35w4_fLtGM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1614/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1614</feedburner:origLink></item>
		<item>
		<title>World Cup 2010 is finished</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/7x27LBtLvHk/1607</link>
		<comments>http://stepanoff.org/wordpress/archives/1607#comments</comments>
		<pubDate>Tue, 13 Jul 2010 12:01:05 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[world cup]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1607</guid>
		<description><![CDATA[World Cup 2010 in the South Africa is finished. I watched and enjoyed almost all games. It was a great occasion for all football fans around the world! one month of hight quality football! I&#8217;ll miss it. At least till the middle of August when new European competitions will start &#8211; English Premier League, Bundesliga [...]]]></description>
			<content:encoded><![CDATA[<p align="center">
<a href="http://fotki.yandex.ru/users/frezza/view/403622/"><img src="http://img-fotki.yandex.ru/get/0/frezza.8/0_628a6_1eac8817_L.jpg" width="500" height="285" title="World Cup 2010" alt="World Cup 2010" border="0"/></a>
</p>
<p>World Cup 2010 in the South Africa is finished. I watched and enjoyed almost all games. It was a great occasion for all football fans around the world! one month of hight quality football! I&#8217;ll miss it. At least till the middle of August when new European competitions will start &#8211;  English Premier League, Bundesliga and Champions League.  </p>
<p>If you&#8217;d like to refresh World Cup 2010 events in your memory have a look that fabulous photo <a href="http://www.boston.com/bigpicture/2010/07/2010_world_cup_comes_to_a_clos.html">set</a>.</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/7x27LBtLvHk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1607/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1607</feedburner:origLink></item>
		<item>
		<title>Installation of Oracle client to Ubuntu 10.04 Lucid</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/onyo1k6f1ms/1603</link>
		<comments>http://stepanoff.org/wordpress/archives/1603#comments</comments>
		<pubDate>Wed, 02 Jun 2010 14:35:38 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Lucid]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1603</guid>
		<description><![CDATA[Recently I moved from Fedora 13 to Ubuntu 10.04 on my work laptop. So, I faced again with problem to setup Oracle PHP interface. Oracle provides RPMs only and not DEBs. So, to install the client RPMs should be converted to the DEBs. It can be done easily using utility alien: sudo alien oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm sudo [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I moved from Fedora 13 to Ubuntu 10.04 on my work laptop. So, I faced again with problem to setup Oracle <acronym title="Hypertext PreProcessing">PHP</acronym> interface. Oracle provides RPMs only and not DEBs. So, to install the client RPMs should be converted to the DEBs. It can be done easily using utility <em>alien</em>:</p>
<div class="codesnip-container" >sudo alien oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm<br />
 sudo alien oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm<br />
 sudo alien oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.i386.rpm</div>
<p>They can be installed then with <em>sudo dpkg -i</em>.<br />
Don&#8217;t forget to install <acronym title="Hypertext PreProcessing">PHP</acronym> interface to Oracle:</p>
<div class="codesnip-container" >sudo pear install pecl/oci8</div>
<p>That&#8217;s it. I spent no more 15 minutes to setup <acronym title="Hypertext PreProcessing">PHP</acronym> Oracle interface under Ubuntu. Thanks to that <a href="http://www.gena01.com/forum/gena01-blog/oracle-instant-client-11g-on-ubuntu/">post</a>!</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/onyo1k6f1ms" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1603/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1603</feedburner:origLink></item>
		<item>
		<title>Export result of query from mysql console to CSV file</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/7s27zWOyY7s/1597</link>
		<comments>http://stepanoff.org/wordpress/archives/1597#comments</comments>
		<pubDate>Tue, 13 Apr 2010 15:45:45 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Quick Hacks]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1597</guid>
		<description><![CDATA[Sure all GUI DB tools can do export of result of query into CSV file. But what if you have to do this from command line? There is a simple way perform that task. Here is an example: SELECT * INTO OUTFILE &#8216;/tmp/products.csv&#8217; FIELDS TERMINATED BY &#8216;,&#8217; ENCLOSED BY &#8216;&#8221;&#8216; ESCAPED BY &#8216;\&#8217; LINES TERMINATED [...]]]></description>
			<content:encoded><![CDATA[<p>Sure all <acronym title="Graphical User Interface">GUI</acronym> DB tools can do export of result of query into CSV file. But what if you have to do this from command line? There is a simple way perform that task. Here is an example:</p>
<div class="codesnip-container" >SELECT *<br />
INTO OUTFILE &#8216;/tmp/products.csv&#8217;<br />
FIELDS TERMINATED BY &#8216;,&#8217;<br />
ENCLOSED BY &#8216;&#8221;&#8216;<br />
ESCAPED BY &#8216;\&#8217;<br />
LINES TERMINATED BY &#8216;\n&#8217;<br />
FROM products</div>
<p>When you run that query all records from the table <em>products</em> will be dumped into file <em>/tmp/products.csv</em>. All fields of that dump will be delimited by comma, enclosed by double quotes and escaped by two slashes. Each row will be ended by end of the line character. </p>
<p>Sure you can change delimiter, enclose, escape symbols as well as add any others <acronym title="Structured Query Language (a database standard)">SQL</acronym> statements such JOIN, WHERE, LIMIT ORDER etc. Enjoy!</p>
<p><strong>UPDATED:</strong> Don&#8217;t forget to drop the export file before re-export data. Otherwise you&#8217;ll get the error:</p>
<div class="codesnip-container" >ERROR 1086 (HY000): File &#8216;/tmp/products.csv&#8217; already exists</div>
<p>[via <a href="http://www.electrictoolbox.com/mysql-export-data-csv/">Electrictoolbox</a>]</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/7s27zWOyY7s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1597/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1597</feedburner:origLink></item>
		<item>
		<title>Trick with variable name transformation in CakePHP</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/JNf4iWqDDzI/1588</link>
		<comments>http://stepanoff.org/wordpress/archives/1588#comments</comments>
		<pubDate>Fri, 26 Feb 2010 09:19:56 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[cakePHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1588</guid>
		<description><![CDATA[CakePHP is a good PHP MVC framework. You can study it easily and start developing web sites very fast. But it has some disadvantages, of course. One of them is strange rules for transformation variable name when it set in the controller. Statement $my_var = 'Hello world!'; $this->set('my_var', $my_var); will make the variable $my_var accessible [...]]]></description>
			<content:encoded><![CDATA[<p>CakePHP is a good <acronym title="Hypertext PreProcessing">PHP</acronym> MVC framework. You can study it easily and start developing web sites very fast. But it has some disadvantages, of course. One of them is strange rules for transformation variable name when it set in the controller. Statement<br />
<code lang='php'><br />
$my_var = 'Hello world!';<br />
$this->set('my_var', $my_var);<br />
</code><br />
will make the variable $my_var accessible in your view:<br />
<code lang='html'>&lt;?php echo $my_var; ?&gt;</code><br />
The phrase <em>&#8216;Hello world!&#8217;</em> should appear on the web page. But if the same operation is done using function <strong>compact</strong>, the result is not predictable:<br />
<code lang='php'>$my_var = 'Hello world!';<br />
$this->set(compact('my_var'));</code><br />
Instead of <em>&#8216;Hello world!&#8217;</em> you&#8217;ll see the warning about undefined variable on your web page. It happens because cakePHP removes underscore and makes letter, followed by it, capital. So, instead of $my_var you should use $myVar in the view:<br />
<code lang='html'>&lt;?php echo $myVar; ?&gt;</code></p>
<p>Note that this bug appears in the cakePHP version 1.2. It&#8217;s already fixed in the 1.3.</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/JNf4iWqDDzI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1588/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1588</feedburner:origLink></item>
		<item>
		<title>Cyprus Winter</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/5vM4h1w_HHA/1584</link>
		<comments>http://stepanoff.org/wordpress/archives/1584#comments</comments>
		<pubDate>Fri, 22 Jan 2010 13:10:57 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Cyprus Life]]></category>
		<category><![CDATA[cyprus]]></category>
		<category><![CDATA[rain]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[winter]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1584</guid>
		<description><![CDATA[It was rainy on Cyprus this week. That&#8217;s really good for island in general because we&#8217;ll have enough water on Summer. But it&#8217;s terrible for drivers.]]></description>
			<content:encoded><![CDATA[<p align="center">
<a href="http://stepanoff.org/wordpress/wp-content/uploads/cyprus_winter.jpg"><img src="http://stepanoff.org/wordpress/wp-content/uploads/cyprus_winter.jpg" alt="Cyprus Winter" title="Cyprus Winter" width="510" height="340" class="alignnone size-full wp-image-1585" /></a>
</p>
<p>It was rainy on Cyprus this week. That&#8217;s really good for island in general because we&#8217;ll have enough water on Summer. But it&#8217;s terrible for drivers.</p><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/5vM4h1w_HHA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1584/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1584</feedburner:origLink></item>
		<item>
		<title>How to rebuild Ubuntu package from the sources</title>
		<link>http://feedproxy.google.com/~r/MichaelsTechBlog/~3/uVatpmLzexM/1578</link>
		<comments>http://stepanoff.org/wordpress/archives/1578#comments</comments>
		<pubDate>Thu, 07 Jan 2010 09:39:53 +0000</pubDate>
		<dc:creator>Michael Stepanov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://stepanoff.org/wordpress/?p=1578</guid>
		<description><![CDATA[There are two ways (at least) to rebuild Ubuntu package from the source. Using Ubuntu diff file and dpkg-buildpackage Download source from Ubuntu repository. Download Ubuntu diff file and apply it: patch -p1 &#60; ubuntu.diff Build package: dpkg-buildpackage -rfakeroot Using .dsc file and debuild Download .dsc file Run following command: dpkg-source -x file.dsc Note, sometimes [...]]]></description>
			<content:encoded><![CDATA[<p>There are two ways (at least) to rebuild Ubuntu package from the source.<br />
<strong>Using Ubuntu diff file and dpkg-buildpackage</strong></p>
<ul>
<li>Download source from Ubuntu repository.</li>
<li>Download Ubuntu diff file and apply it:
<div class="codesnip-container" >patch -p1 &lt; ubuntu.diff</div>
</li>
<li>Build package:
<div class="codesnip-container" >dpkg-buildpackage -rfakeroot</div>
</li>
</ul>
<p><strong>Using .dsc file and debuild</strong></p>
<ul>
<li>Download .dsc file</li>
<li>Run following command:
<div class="codesnip-container" >dpkg-source -x file.dsc</div>
<p><em>Note, sometimes the archive with sources should be presented in the same directory!</em>
</li>
<li>Go to source directory and start building:
<div class="codesnip-container" >debuild</div>
</li>
</ul>
<p>In both cases the development packages should be installed first:</p>
<div class="codesnip-container" >sudo apt-get install build-essential devscripts</div><img src="http://feeds.feedburner.com/~r/MichaelsTechBlog/~4/uVatpmLzexM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stepanoff.org/wordpress/archives/1578/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stepanoff.org/wordpress/archives/1578</feedburner:origLink></item>
	</channel>
</rss>
