<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://bugs.maemo.org/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>User:Microjo - Revision history</title>
		<link>http://bugs.maemo.org/index.php?title=User:Microjo&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-7</generator>
		<lastBuildDate>Mon, 24 Aug 2026 18:50:57 GMT</lastBuildDate>
		<item>
			<title>microjo:&amp;#32;/* Debhelper 7 */</title>
			<link>http://bugs.maemo.org/index.php?title=User:Microjo&amp;diff=45584&amp;oldid=prev</link>
			<guid>http://bugs.maemo.org/index.php?title=User:Microjo&amp;diff=45584&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Debhelper 7&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:38, 19 October 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $ fakeroot apt-get install debhelper7 &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $ fakeroot apt-get install debhelper7 &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;命令行使用的话，设置如下PATH&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; export PATH=/usr/bin/dh7:$PATH&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It works transparently and can coexist with debhelper 5 in the SDK. It even works on the autobuilder, if the package specifies the correct build-dependency of &amp;lt;code&amp;gt;debhelper7&amp;lt;/code&amp;gt;. The following lines in &amp;lt;code&amp;gt;debian/rules&amp;lt;/code&amp;gt; are necessary to use the new debhelper:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It works transparently and can coexist with debhelper 5 in the SDK. It even works on the autobuilder, if the package specifies the correct build-dependency of &amp;lt;code&amp;gt;debhelper7&amp;lt;/code&amp;gt;. The following lines in &amp;lt;code&amp;gt;debian/rules&amp;lt;/code&amp;gt; are necessary to use the new debhelper:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-08-24 18:50:57 --&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 19 Oct 2011 09:38:03 GMT</pubDate>			<dc:creator>microjo</dc:creator>			<comments>http://bugs.maemo.org/User_talk:Microjo</comments>		</item>
		<item>
			<title>microjo:&amp;#32;debhelper7</title>
			<link>http://bugs.maemo.org/index.php?title=User:Microjo&amp;diff=45583&amp;oldid=prev</link>
			<guid>http://bugs.maemo.org/index.php?title=User:Microjo&amp;diff=45583&amp;oldid=prev</guid>
			<description>&lt;p&gt;debhelper7&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Debhelper 7 ===&lt;br /&gt;
&lt;br /&gt;
Since the Autobuilder's [http://www.gossamer-threads.com/lists/maemo/developers/60704 use] of the Squeeze devkit, debhelper 7 is supported natively by it.&lt;br /&gt;
&lt;br /&gt;
Follow the steps on that link to also make your FREMANTLE_* target use the Squeeze devkit.&lt;br /&gt;
&lt;br /&gt;
Note: dh_make doesn't seem to be provided by the Squeeze devkit, so you'll have to run it outside of Scratchbox to get a debian/ folder based on debhelper 7.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A backport of Debhelper 7 for Fremantle is available in extras-devel. &lt;br /&gt;
&lt;br /&gt;
 $ fakeroot apt-get install debhelper7 &lt;br /&gt;
&lt;br /&gt;
It works transparently and can coexist with debhelper 5 in the SDK. It even works on the autobuilder, if the package specifies the correct build-dependency of &amp;lt;code&amp;gt;debhelper7&amp;lt;/code&amp;gt;. The following lines in &amp;lt;code&amp;gt;debian/rules&amp;lt;/code&amp;gt; are necessary to use the new debhelper:&lt;br /&gt;
&lt;br /&gt;
 PATH:=/usr/bin/dh7:/usr/bin:$(PATH)&lt;br /&gt;
 export PATH&lt;br /&gt;
 SBOX_REDIRECT_IGNORE=/usr/bin/perl&lt;br /&gt;
 export SBOX_REDIRECT_IGNORE&lt;br /&gt;
&lt;br /&gt;
In debian/control change:&lt;br /&gt;
&lt;br /&gt;
 Build-Depends: debhelper (&amp;gt;= 7) [...]&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 Build-Depends: debhelper'''7''' (&amp;gt;= 7) [...]&lt;br /&gt;
&lt;br /&gt;
Further information about the updated debhelper is available at [[User:Tanner#debhelper7]].&lt;br /&gt;
&lt;br /&gt;
If you also need a more recent [http://build-common.alioth.debian.org/ CDBS], then use the package [http://maemo.org/packages/view/cdbs-dh7/ cdbs-dh7], which conflicts with the standard CDBS and does not work on autobuilder yet.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can try to use debhelper 5. Debian packages that require level 7 need some changes, for example:&lt;br /&gt;
* debian/compat: 7 -&amp;gt; 5&lt;br /&gt;
* debian/control: Build-Depends: debhelper (&amp;gt;= 7) -&amp;gt; debhelper (&amp;gt;= 5)&lt;br /&gt;
* Possibly, comment out a few dh_* calls from debian/rules, which might not exist on level 5&lt;br /&gt;
&lt;br /&gt;
Things might get complex if the packaging already uses some new features of level 7, like CDBS-style helper rules. In such cases, looking at versions of packages written prior to the compatibility level upgrade might help doing the downgrade (and most Debian packages are kept in public SCMs like svn.debian.org).&lt;/div&gt;</description>
			<pubDate>Wed, 19 Oct 2011 09:34:31 GMT</pubDate>			<dc:creator>microjo</dc:creator>			<comments>http://bugs.maemo.org/User_talk:Microjo</comments>		</item>
	</channel>
</rss>