<?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>Milton Soares Filho</title>
	<atom:link href="http://blog.msoares.pro.br/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.msoares.pro.br</link>
	<description>Random rants and SW developers' stuff</description>
	<lastBuildDate>Fri, 28 May 2010 14:42:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>gource: OpenGL-based 3D visualisation tool for source control repositories</title>
		<link>http://blog.msoares.pro.br/archives/gource-opengl-based-3d-visualisation-tool-for-source-control-repositories</link>
		<comments>http://blog.msoares.pro.br/archives/gource-opengl-based-3d-visualisation-tool-for-source-control-repositories#comments</comments>
		<pubDate>Fri, 28 May 2010 14:42:04 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Planet INdT]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gource]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[VCS]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=211</guid>
		<description><![CDATA[Too much fun the tool I&#8217;ve came to know through my friend Adenilson&#8217;s blog. In a glance one can explore effort put into a project in a way much better than any other command-line or graphical application known.
The only boring thing is to use it in my machine, a hp pavilion dv4-2167sb, which, AFAIK, still [...]]]></description>
			<content:encoded><![CDATA[<p>Too much fun the tool I&#8217;ve came to know through my friend Adenilson&#8217;s <a href="http://savago.wordpress.com/2010/05/21/6-months-of-plasma-in-10-minutes">blog</a>. In a glance one can explore effort put into a project in a way much better than any other command-line or graphical application known.</p>
<p>The only boring thing is to use it in my machine, a hp pavilion dv4-2167sb, which, AFAIK, still lacks a good graphical acceleration support.</p>
<p>I&#8217;ve made a very basic debian package (using <a href="http://checkinstall.izto.org/">checkinstall</a>) for people too lazy to compile/install by themselves.</p>
<p><a href="wp-content/uploads/2010/01/gource_0.26b-1_i386.deb">Enjoy it</a> and have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/gource-opengl-based-3d-visualisation-tool-for-source-control-repositories/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vendo Minha Moto</title>
		<link>http://blog.msoares.pro.br/archives/vendo-minha-moto</link>
		<comments>http://blog.msoares.pro.br/archives/vendo-minha-moto#comments</comments>
		<pubDate>Sun, 21 Mar 2010 04:47:25 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[classificados]]></category>
		<category><![CDATA[moto]]></category>
		<category><![CDATA[vendo]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=204</guid>
		<description><![CDATA[Sorry, available only in pt_BR.
Num esforço de desapego, decidi passar pra frente minha fiel companheira&#8230; de estrada. É isso, pra quem se acostumou a me ver junto da minha máquina atravessando o Brasil e registrando no site do RockPesado, saiba que não faço isso por desgosto, mas simplesmente por adequação, já que não pretendo trazê-la [...]]]></description>
			<content:encoded><![CDATA[<p><em>Sorry, available only in <a href="http://blog.msoares.pro.br/archives/vendo-minha-moto?lang=pt">pt_BR</a>.</em></p>
<p>Num esforço de desapego, decidi passar pra frente minha fiel companheira&#8230; de estrada. É isso, pra quem se acostumou a me ver junto da minha máquina atravessando o Brasil e registrando no site do <a href="http://www.rockpesado.com.br">RockPesado</a>, saiba que não faço isso por desgosto, mas simplesmente por adequação, já que não pretendo trazê-la novamente para Manaus-AM para negar-lhe os prazeres que uma moto estradeira merece (asfalto bom, várias opções de destino, peças a pronta entrega, enfim, tudo que alguém morando no Sul ou Sudeste tem de sobra).</p>
<p>Minha moto é uma Honda Shadow e foi apelidada de Uákti, em homenagem a lenda do belo e encantador índio que, após ressucitar de uma morte com várias flechadas, emitia um som de flauta quando o vento transpassava seu corpo, atraindo ainda mais as mulheres das tribos e provocando mais inveja dos homens. Abaixo uma breve ficha técnica:</p>
<p><code><br />
Marca: Honda Shadow VT600C<br />
Ano: 2002<br />
Cor: cinza<br />
Quilometragem: 63.000 km<br />
Últimas trocas:<br />
  - Corrente, coroa e pinhão (CoCoPi): 55.000 km<br />
  - Pneu traseiro: ~55.000 km<br />
  - Pneu dianteiro: ~57.000 km<br />
  - Filtro de ar: ~60.000 km<br />
</code></p>
<p>Como toda moto custom que se preze, traz vários acessórios estendendo suas configurações originais.</p>
<ul>
<li>Sissy-bar com bagageiro</li>
<li>Banco remodelado (feito pelo lendário Peninha, artesão de estofamentos de Curitiba-PR)</li>
<li>Comando avançado</li>
<li>Plataforma para os pés do piloto e carona</li>
<li>Protetor de cárter (peito de aço)</li>
<li>Protetor do reservatório de água (ponto fraco das Shadow)</li>
<li>Mata-cachorro</li>
<li>Faróis de milha com lanterna</li>
<li>Alforges laterais (surrados, mas ainda bem usáveis)</li>
<li>e mais alguns detalhes mais estéticos que funcionais (saia reduzida na placa traseira, tampão cromado do retificador, suporte extra na grade da refrigeração, etc)</li>
</ul>
<p>Pela tabela <a href="http://www.fipe.org.br">FIPE</a> ela custaria até R$16 mil reais, mas estou disposto a vendê-la por um preço menor que este.</p>
<p>E tem mais, quem ligar agora leva também um conjunto de câmeras (dianteira e traseira) dos pneus de brinde! Totalmente grátis! &#8211; momento polishop <img src='http://blog.msoares.pro.br/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Pra quem estiver interessado, ela se encontra em Curitiba na casa do meu pai. Pra apreciação, mande-me um e-mail que arranjo a visita.</p>
<p>Essa moto é guerreira, já me levou em segurança por todo o litoral do Brasil e do Uruguai, sobreviveu a hostilidade da polícia Argentina e cortou tranquilamente todo o Centro-Oeste brasileiro, inclusive passando pela capital federal. Portanto não estranhe se ela reclamar quando tirá-la de casa pra andar menos de 200km!</p>
<p><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com.br/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com.br&#038;captions=1&#038;noautoplay=1&#038;hl=en_US&#038;feat=flashalbum&#038;RGB=0x000000&#038;feed=http%3A%2F%2Fpicasaweb.google.com.br%2Fdata%2Ffeed%2Fapi%2Fuser%2Fmilton.soares.filho%2Falbumid%2F5450938077202584769%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/vendo-minha-moto/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sale</title>
		<link>http://blog.msoares.pro.br/archives/salesaldao</link>
		<comments>http://blog.msoares.pro.br/archives/salesaldao#comments</comments>
		<pubDate>Thu, 08 Oct 2009 14:59:51 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[classificados]]></category>
		<category><![CDATA[God of War]]></category>
		<category><![CDATA[notebook]]></category>
		<category><![CDATA[ps2]]></category>
		<category><![CDATA[vendo]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=172</guid>
		<description><![CDATA[Sorry, this entry is only available in Português Brasil.
]]></description>
			<content:encoded><![CDATA[<p>Sorry, this entry is only available in <a href="http://blog.msoares.pro.br/feed?lang=pt">Português Brasil</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/salesaldao/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt/openBossa Challenge</title>
		<link>http://blog.msoares.pro.br/archives/qtopenbossa-challenge</link>
		<comments>http://blog.msoares.pro.br/archives/qtopenbossa-challenge#comments</comments>
		<pubDate>Wed, 17 Jun 2009 15:04:51 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Planet INdT]]></category>
		<category><![CDATA[FISL]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=143</guid>
		<description><![CDATA[Nice opportunity to win a Nokia N810 tablet at the FISL. (Free translation from pt_BR)

Do you have a good idea? Do you know the Qt library? Would you like to be awarded for that?
The INdT (Nokia Technology Institute), nowadays one of the main development excellence centers in Brazil, promotes the first Qt/openBossa challenge.
We look for [...]]]></description>
			<content:encoded><![CDATA[<p>Nice opportunity to win a <a href="http://www.forum.nokia.com/devices/N810">Nokia N810</a> tablet at the <a href="http://fisl.softwarelivre.org/10/www/">FISL</a>. (Free translation from pt_BR)</p>
<blockquote><p>
Do you have a good idea? Do you know the Qt library? Would you like to be awarded for that?</p>
<p>The INdT (Nokia Technology Institute), nowadays one of the main development excellence centers in Brazil, promotes the first Qt/openBossa challenge.</p>
<p>We look for developers capable of putting your ideas into practice and build Qt applications designed to Nokia&#8217;s mobile devices. Participants will create innovations which will be evaluated and awarded during the 10th International Free Software Forum (FISL).
</p></blockquote>
<p>More at <a href="http://openbossa.org/fisl/index.html">http://openbossa.org/fisl/index.html</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/qtopenbossa-challenge/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt Codestyle Automatic Check</title>
		<link>http://blog.msoares.pro.br/archives/qt-codestyle-automatic-check</link>
		<comments>http://blog.msoares.pro.br/archives/qt-codestyle-automatic-check#comments</comments>
		<pubDate>Sun, 14 Jun 2009 05:38:45 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Planet INdT]]></category>
		<category><![CDATA[astyle]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[code style]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[testcase]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=133</guid>
		<description><![CDATA[Code style carries many benefits, such as improved maintainability and support for a rich Coding Standard. However it&#8217;s not safe to rely on developers to always comply to style rules along the source code, that&#8217;s why automatic code style verification should be an initial concern for professional-level works.
For the sake of coding-style-importance-aware people, there are [...]]]></description>
			<content:encoded><![CDATA[<p>Code style carries many <a href="http://www.articlesbase.com/programming-articles/10-benefits-of-using-coding-standards-to-software-development-team-312610.html">benefits</a>, such as improved maintainability and support for a rich <a href="http://www.ademar.org/texts/coding.html">Coding Standard</a>. However it&#8217;s not safe to rely on developers to always comply to style rules along the source code, that&#8217;s why automatic code style verification should be an initial concern for professional-level works.</p>
<p>For the sake of <em>coding-style-importance-aware people</em>, there are many great projects such as <a href="http://www.gnu.org/software/indent">GNU indent</a>, <a href="http://svn.browsershots.org/trunk/devtools/pep8/pep8.py">pep8</a> and <a href="http://astyle.sourceforge.net">astyle</a> that perform all the work for you, whose only need the appropriate setup <a href="http://techbase.kde.org/Policies/Kdelibs_Coding_Style">flags</a>.</p>
<p>For Qt projects, astyle is the recommended tool. But there are a few drawbacks on using it.</p>
<ul>
<li>it&#8217;s too intrusive. astyle performs code modification in-line, disturbing the repository sources instead of serving as a verification tool only</li>
<li>weak didactic factor. Unlike pep8 script, which tells the developer exactly what the problem is and contributes to avoid it at the future (as a <em>lesson learned</em> effect)</li>
<li>it&#8217;s output can not be <strong>easily</strong> integrated with another tools</li>
</ul>
<p>I&#8217;ve created a shell script in order to overcome some of the previous issues. It&#8217;s available <a href="http://gitorious.org/qt-codecheck">here</a>. Some relevant features.</p>
<ul>
<li><a href="http://www.vim.org/htmldoc/quickfix.html">quickfix</a>-style list output
</li>
<li><a href="http://doc.qtsoftware.com/4.5/qtestlib-manual.html">QTest</a> style output at the end
</li>
<li>Ignore moc created files</li>
<li>All suggested modifications can be applied as one patch, directly available to the user</li>
<li>Can be run inside a testsuite (make test) or as a standalone program
</li>
</ul>
<p>TODO</p>
<ul>
<li>try to <a href="http://astyle.sourceforge.net/develop">extend</a> astyle classes</li>
<li>allow alternative code styles</li>
<li>better source selection schema (integrated with qmake, maybe?)</li>
<li>fix-up improper indentation on some important macros (foreach, .e.g.)</li>
<li>test and make it work on MacOS</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/qt-codestyle-automatic-check/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(Português Brasil) Teste Nerds</title>
		<link>http://blog.msoares.pro.br/archives/teste-nerds</link>
		<comments>http://blog.msoares.pro.br/archives/teste-nerds#comments</comments>
		<pubDate>Mon, 25 May 2009 21:59:13 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nerd test]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=119</guid>
		<description><![CDATA[Sorry, this entry is only available in Português Brasil.
]]></description>
			<content:encoded><![CDATA[<p>Sorry, this entry is only available in <a href="http://blog.msoares.pro.br/feed?lang=pt">Português Brasil</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/teste-nerds/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Git Empty Branches</title>
		<link>http://blog.msoares.pro.br/archives/git-empty-branches</link>
		<comments>http://blog.msoares.pro.br/archives/git-empty-branches#comments</comments>
		<pubDate>Thu, 14 May 2009 18:38:15 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Planet INdT]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[VCS]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=85</guid>
		<description><![CDATA[Found out some interesting Git Hints presented as webcasts at the site below. The most interesting part was to learn how to create empty branches on it, so a project can be functionally separated without having to kludge your working dir with several directories.
GitCasts: Empty Branches
Summarizing the lesson:

$ git-symbolic-ref HEAD refs/heads/emptybranch
$ git-rm --cached -r .
$ [...]]]></description>
			<content:encoded><![CDATA[<p>Found out some interesting Git Hints presented as webcasts at the site below. The most interesting part was to learn how to create empty branches on it, so a project can be functionally separated without having to kludge your working dir with several directories.</p>
<p><a href="http://gitcasts.com/posts/empty-branches">GitCasts: Empty Branches</a></p>
<p>Summarizing the lesson:</p>
<pre>
$ git-symbolic-ref HEAD refs/heads/emptybranch
$ git-rm --cached -r .
$ git-commit --allow-empty -m "Initial commit for empty branch"
</pre>
<p>The library versus website example was perfect, but one can think about other relevant situations, like sub-projects inside a bigger project, management documentation or even meta-files configuring the repository itself (description and <a href="http://en.wikipedia.org/wiki/Access_control_list">ACL</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/git-empty-branches/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Português Brasil) Festa do Cartão Corporativo na Câmara Municipal de Manaus</title>
		<link>http://blog.msoares.pro.br/archives/festa-do-cartao-corporativo-na-camara-municipal-de-manaus</link>
		<comments>http://blog.msoares.pro.br/archives/festa-do-cartao-corporativo-na-camara-municipal-de-manaus#comments</comments>
		<pubDate>Fri, 08 May 2009 01:54:56 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[manaus]]></category>
		<category><![CDATA[política]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=91</guid>
		<description><![CDATA[Sorry, this entry is only available in Português Brasil.
]]></description>
			<content:encoded><![CDATA[<p>Sorry, this entry is only available in <a href="http://blog.msoares.pro.br/feed?lang=pt">Português Brasil</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/festa-do-cartao-corporativo-na-camara-municipal-de-manaus/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Old School Techniques</title>
		<link>http://blog.msoares.pro.br/archives/old-school-techniques</link>
		<comments>http://blog.msoares.pro.br/archives/old-school-techniques#comments</comments>
		<pubDate>Tue, 05 May 2009 22:24:52 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Planet INdT]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[past]]></category>

		<guid isPermaLink="false">http://blog.msoares.pro.br/?p=92</guid>
		<description><![CDATA[  <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;articleId=9132061">Old-school programming techniques you probably don't miss</a>

I'm not a <em>punch card time</em> guy, but concerns like memory footprint size, code running faster and thread limitations still go around my mind nowadays.]]></description>
			<content:encoded><![CDATA[<p>Talking about old times stuff at the breakfast, it was so fortunate that I&#8217;ve already read a post about this issue earlier today.</p>
<p>  <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;articleId=9132061">Old-school programming techniques you probably don&#8217;t miss</a></p>
<p>I&#8217;m not a <em>punch card time</em> guy, but concerns like memory footprint size, code running faster and thread limitations still go around my mind nowadays.</p>
<p>Don&#8217;t forget to take a look at the comments section for more funny and informative stories.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/old-school-techniques/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python-Debian Packaging for Maemo</title>
		<link>http://blog.msoares.pro.br/archives/python-debian-packaging-for-maemo</link>
		<comments>http://blog.msoares.pro.br/archives/python-debian-packaging-for-maemo#comments</comments>
		<pubDate>Tue, 28 Apr 2009 23:23:05 +0000</pubDate>
		<dc:creator>milton</dc:creator>
				<category><![CDATA[Planet INdT]]></category>
		<category><![CDATA[CDBS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://msoares.dreamhosters.com/?p=41</guid>
		<description><![CDATA[Packaging a software component made using python to a Maemo device could be easier, if CDBS cared about hand-held devices and their limitations.
Knowing that using setup.py was the Right Way of Doing It&#8482; for python applications I tried to push myself into making CDBS work together, but not without a little harassment.
First of all, such [...]]]></description>
			<content:encoded><![CDATA[<p>Packaging a software component made using python to a <a href="http://maemo.org/">Maemo</a> device could be easier, if <a href="http://build-common.alioth.debian.org/cdbs-doc.html">CDBS</a> cared about hand-held devices and their limitations.</p>
<p>Knowing that using <strong>setup.py</strong> was the <em>Right Way of Doing It</em>&trade; for python applications I tried to push myself into making CDBS work together, but not without a little harassment.</p>
<p>First of all, such scope-limited distributions tend to gather components in customized places as to promote integration between them or just in sake of a plain different organization. This difficulty can be overcome by using <code>pycentral</code> and including the following line at <code>debian/rules</code> file.</p>
<pre name="code" class="xml">
export DH_PYCENTRAL=nomove</pre>
<p>Just as the manpage says, this will prevent the build-system from moving the files from the selected install prefix to a central place (like <code>/usr/share/pycentral</code>).</p>
<p>Secondly, because of limited storage capacity and speed-up necessities, usually python components install just their <code>.pyo</code> files. This requirement made me struggle trough CDBS&#8217; <strong>python-distutils.mk</strong> source code in hope for a simple fix. The answer I&#8217;ve found was to overrule the python-install target with the following commands (look <a href="http://blog.msoares.pro.br/wp-content/uploads/2009/04/python-distutils.diff">here</a> for the diff).</p>
<pre name="code" class="xml">
define FIXUP_DIST
    -find $(DEB_DESTDIR) -name '*.py' -exec rm -f {} \;
    -find $(DEB_DESTDIR) -name '*.pyc' -exec rm -f {} \;
    -find $(DEB_DESTDIR) -name '*.egg-info' -type d -exec rm -rf {} \;
endef

ifeq (all, $(cdbs_python_module_arch))
common-install-arch common-install-indep:: python-install-py
python-install-py:
    cd $(DEB_SRCDIR) &#038;&#038; $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
    $(call FIXUP_DIST)
else
common-install-arch common-install-indep:: $(addprefix python-install-, $(cdbs_python_build_versions))
python-install-%:
    cd $(DEB_SRCDIR) &#038;&#038; $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
    $(call FIXUP_DIST)
endif # archall detection</pre>
<p>Let&#8217;s say it&#8217;s inside a file named <strong>debian/fixup.mk</strong>, then my complete <strong>debian/rules</strong> file would be like this.</p>
<pre name="code" class="xml">
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM=pycentral

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include debian/fixup.mk

export DH_PYCENTRAL=nomove</pre>
<p>And this is the beauty of CDBS, a file which would be several lines long gets resumed to a few lines.</p>
<p>I&#8217;m still trying to find a way to make this code available for all my components without installing it to a globally reachable path, but did not find a thing such as a MAKEFILEPATH variable untill now. I guess a package like <strong>cdbs-maemo-dev.deb</strong> would be an appropriate place for stuff like this, but pushing it there is for another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.msoares.pro.br/archives/python-debian-packaging-for-maemo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
