<?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>Kernel Panic &#187; deb</title>
	<atom:link href="http://blog.epelaez.net/tag/deb/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.epelaez.net</link>
	<description>~Keep It Simple</description>
	<lastBuildDate>Wed, 30 Jun 2010 17:11:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Making .debs</title>
		<link>http://blog.epelaez.net/11/making-debs/</link>
		<comments>http://blog.epelaez.net/11/making-debs/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 05:44:43 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=636</guid>
		<description><![CDATA[This is a very small guide to create .deb packages for your apps. You&#8217;ll need a system with dpkg installed, I&#8217;m guessing you can do it on the iDevice, but I do it on Linux. First, create a folder called data, then make a folder inside called DEBIAN. Insided DEBIAN you&#8217;ll have to make a [...]]]></description>
			<content:encoded><![CDATA[<p>This is a very small guide to create .deb packages for your apps. You&#8217;ll need a system with dpkg installed, I&#8217;m guessing you can do it on the iDevice, but I do it on Linux.</p>
<p><span id="more-636"></span>First, create a folder called data, then make a folder inside called DEBIAN.</p>
<p>Insided DEBIAN you&#8217;ll have to make a text file called control, no extension, which will hold the info of your package. Here&#8217;s a small template for an iPhone OS package:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:400px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Package: Bundle Identifier<br />
Name: Name of Package<br />
Version: 1.2.6-1<br />
Architecture: iphoneos-arm<br />
Description: The Description.<br />
Maintainer: Name<br />
Section: Section<br />
Installed-Size: 100</div></div>
<p>The only field you should not change is Architecture.</p>
<p>Now, inside data, put the files to be installed in an absolute path.</p>
<p>For example, if your files go inside /Applications/YourApp.app, create a folder called Applications, inside it create a folder called YourApp.app and inside it put the files.</p>
<p>Another example, if your files go into /var/mobile/Library/App, create a folder called var, inside that one a folder called mobile, inside that one a folder called Library, inside that one called App and inside that one put your files.</p>
<p>Easy enough I think.</p>
<p>Now, open a terminal and point it to where your data folder is.</p>
<p>Then execute this command, replacing PackageName.deb with the name you want the package to have:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:400px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ dpkg -b data PackageName.deb</div></div>
<p>The result will be a deb file in the same folder you are standing in.</p>
<p><!--more--></p>
<p>That&#8217;s for a simple package. Another thing you can do is add bash scripts to be executed before/after the package is installed/removed.</p>
<p>This is as simple as adding a plain text file called preinst/postinst for pre and post install scripts and prerm/postrm for pre and post removal to the DEBIAN folder.</p>
<p>This can be used, for example to remove any settings saved by your app.</p>
<p>Another interesting field you can add to your control file is <code class="codecolorer text twitlight"><span class="text">Depends: anotherPackage (&gt;= 1.0)</span></code>, this tells dpkg that your package depends on anotherPackage, and that it should be at least version 1.0. If you are installing it via terminal, it will fail to install if the needed package is not installed. If you are using apt, like Cydia, it will try to install the required package.</p>
<p>If you are making a theme, for example, you might want your package to depend on Winterboard.</p>
<p>For more info about the control files: <a href="http://blog.epelaez.net/14n" target="_self">LINK</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/11/making-debs/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/11/making-debs/&amp;title=Making+.debs" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/11/making-debs/&amp;title=Making+.debs" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/11/making-debs/&amp;t=Making+.debs" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Making%20.debs%22&amp;body=Link: http://blog.epelaez.net/11/making-debs/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A This%20is%20a%20very%20small%20guide%20to%20create%20.deb%20packages%20for%20your%20apps.%20You%27ll%20need%20a%20system%20with%20dpkg%20installed%2C%20I%27m%20guessing%20you%20can%20do%20it%20on%20the%20iDevice%2C%20but%20I%20do%20it%20on%20Linux.%0D%0A%0D%0AFirst%2C%20create%20a%20folder%20called%20data%2C%20then%20make%20a%20folder%20inside%20called%20DEBIAN.%0D%0A%0D%0AInsided%20DEBIAN%20you%27ll%20have%20to%20make%20a%20text%20fi" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Making+.debs+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/11/making-debs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swipe Controls 1.2</title>
		<link>http://blog.epelaez.net/09/swipe-controls-12/</link>
		<comments>http://blog.epelaez.net/09/swipe-controls-12/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 12:42:53 +0000</pubDate>
		<dc:creator>Pelaez</dc:creator>
				<category><![CDATA[Release]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[ipa]]></category>
		<category><![CDATA[Swipe Controls]]></category>

		<guid isPermaLink="false">http://blog.epelaez.net/?p=385</guid>
		<description><![CDATA[Swipe Controls 1.2 is ready with settings! Here&#8217;s the changelog: Added Settings: Volume sensitivity settings. Depending on this value, the volume will go up faster/slower when you slide your finger up and down. Turn on/off volume and next/prev gestures. If you don&#8217;t use some of them, just disable them. Invert left/right. Hope it&#8217;s clear enough. [...]]]></description>
			<content:encoded><![CDATA[<p>Swipe Controls 1.2 is ready with settings!</p>
<p><span id="more-385"></span></p>
<h4>Here&#8217;s the changelog:</h4>
<ul>
<li>Added Settings:</li>
<li>Volume sensitivity settings. Depending on this value, the volume will go up faster/slower when you slide your finger up and down.</li>
<li>Turn on/off volume and next/prev gestures. If you don&#8217;t use some of them, just disable them.</li>
<li>Invert left/right. Hope it&#8217;s clear enough.</li>
</ul>
<h4>Here&#8217;s what I plan to add:</h4>
<ul>
<li>Invert up/down</li>
<li>Song info.</li>
<li>Next/Prev sensitivity.</li>
<li>and everything else I&#8217;ve said I wanted to add.</li>
</ul>
<h4>Download:</h4>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=16"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=16">Swipe Controls 1.2 Deb</a> <small>(35.69KB)</small><br />
      <b>added:</b> 01/09/2009 <br />
    </td>
  </tr>
</table></p>
<p><table style="border: 1px solid #CCC;" cellpadding="3" width="100%">
  <tr>
    <td width="35" style="vertical-align:top;">
      <a href="http://blog.epelaez.net/?file_id=17"><img src="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif" alt="http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif"></a>
    </td>
    <td>
      <b>File:</b> <a href="http://blog.epelaez.net/?file_id=17">Swipe Controls 1.2 IPA</a> <small>(18.24KB)</small><br />
      <b>added:</b> 01/09/2009 <br />
    </td>
  </tr>
</table></p>
<p>Check <a href="http://blog.epelaez.net/08/swipe-controls-10/" target="_self">THIS</a> if you don&#8217;t know what Swipe Controls is!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.epelaez.net/09/swipe-controls-12/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.epelaez.net/09/swipe-controls-12/&amp;title=Swipe+Controls+1.2" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.epelaez.net/09/swipe-controls-12/&amp;title=Swipe+Controls+1.2" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.epelaez.net/09/swipe-controls-12/&amp;t=Swipe+Controls+1.2" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Swipe%20Controls%201.2%22&amp;body=Link: http://blog.epelaez.net/09/swipe-controls-12/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Swipe%20Controls%201.2%20is%20ready%20with%20settings%21%0D%0A%0D%0A%0D%0AHere%27s%20the%20changelog%3A%0D%0A%0D%0A%09Added%20Settings%3A%0D%0A%09Volume%20sensitivity%20settings.%20Depending%20on%20this%20value%2C%20the%20volume%20will%20go%20up%20faster%2Fslower%20when%20you%20slide%20your%20finger%20up%20and%20down.%0D%0A%09Turn%20on%2Foff%20volume%20and%20next%2Fprev%20gestures.%20If%20you%20don%27t%20use%20some%20of%20them%2C%20ju" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Swipe+Controls+1.2+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.epelaez.net/09/swipe-controls-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
