<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Experience with cabal-debian</title>
	<atom:link href="http://therning.org/magnus/archives/476/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus/archives/476</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Fri, 09 Dec 2011 20:40:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: therning.org/ magnus &#187; Blog Archive &#187; More sensible comments on cabal-debian</title>
		<link>http://therning.org/magnus/archives/476/comment-page-1#comment-169073</link>
		<dc:creator>therning.org/ magnus &#187; Blog Archive &#187; More sensible comments on cabal-debian</dc:creator>
		<pubDate>Thu, 22 Jan 2009 22:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=476#comment-169073</guid>
		<description>&lt;p&gt;[...] Incoherent mumblings          &#171; Experience with cabal-debian [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Incoherent mumblings          &laquo; Experience with cabal-debian [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Shaw</title>
		<link>http://therning.org/magnus/archives/476/comment-page-1#comment-169068</link>
		<dc:creator>Jeremy Shaw</dc:creator>
		<pubDate>Thu, 22 Jan 2009 20:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=476#comment-169068</guid>
		<description>&lt;p&gt;The debian package on hackageDB is from seereason.com as far as I know? But I think I need to update it.&lt;/p&gt;

&lt;p&gt;haskell-devscripts-cdbs provides hlibrary.mk as well as some bug fixes to haskell-devscripts that fix various issues building documentation using haddock 2.x and other stuff.&lt;/p&gt;

&lt;p&gt;The build dependency on cabal-debian is there because the version of hlibrary.mk in haskell-devscripts-cdbs calls cabal-debian during the build to generate the correct install dependencies.&lt;/p&gt;

&lt;p&gt;I am not sure why you removed the &lt;em&gt;-doc.post&lt;/em&gt; files. If you apt-get remove the -doc package, then you will want to rebuild the haddock index and cross-references so that they no longer refer to non-existent documentation files. (the packages built by cabal-debian properly register so that they show up in /usr/share/doc/ghc6-doc/index.html and friends).&lt;/p&gt;

&lt;p&gt;So, in summary, none of the changes you made are normally required (or advised). Clearly, making cabal-debian easier to install correctly is the first step. It works fine when you apt-get it from the seereason.com repositories, but building from source leaves something to be desired. (Namely, knowing what to build and were to find it).&lt;/p&gt;

&lt;p&gt;I will make some time to ensure that everything is up-to-date on hackage, and to see if I we can get the required changes into haskell-devscripts. That way you can just get all the source from hackageDB and not have to fish around our darcs repo.&lt;/p&gt;

&lt;p&gt;David is currently in the process of making sure that everything works with GHC 6.10. One of the changes is to patch haskell-devscripts directly instead having the modifications in haskell-devscripts-cdbs (which replaced the files in haskell-devscripts).&lt;/p&gt;

&lt;p&gt;There is a quilt target for patching haskell-devscripts here:&lt;/p&gt;

&lt;p&gt;http://src.seereason.com/ghc610/quilt/haskell-devscripts-quilt/&lt;/p&gt;

&lt;p&gt;If you are interested, I can privately send you information on how to join our chatroom so you can ask us question directly instead of reverse engine what you need.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The debian package on hackageDB is from seereason.com as far as I know? But I think I need to update it.</p>

<p>haskell-devscripts-cdbs provides hlibrary.mk as well as some bug fixes to haskell-devscripts that fix various issues building documentation using haddock 2.x and other stuff.</p>

<p>The build dependency on cabal-debian is there because the version of hlibrary.mk in haskell-devscripts-cdbs calls cabal-debian during the build to generate the correct install dependencies.</p>

<p>I am not sure why you removed the <em>-doc.post</em> files. If you apt-get remove the -doc package, then you will want to rebuild the haddock index and cross-references so that they no longer refer to non-existent documentation files. (the packages built by cabal-debian properly register so that they show up in /usr/share/doc/ghc6-doc/index.html and friends).</p>

<p>So, in summary, none of the changes you made are normally required (or advised). Clearly, making cabal-debian easier to install correctly is the first step. It works fine when you apt-get it from the seereason.com repositories, but building from source leaves something to be desired. (Namely, knowing what to build and were to find it).</p>

<p>I will make some time to ensure that everything is up-to-date on hackage, and to see if I we can get the required changes into haskell-devscripts. That way you can just get all the source from hackageDB and not have to fish around our darcs repo.</p>

<p>David is currently in the process of making sure that everything works with GHC 6.10. One of the changes is to patch haskell-devscripts directly instead having the modifications in haskell-devscripts-cdbs (which replaced the files in haskell-devscripts).</p>

<p>There is a quilt target for patching haskell-devscripts here:</p>

<p><a href="http://src.seereason.com/ghc610/quilt/haskell-devscripts-quilt/" rel="nofollow">http://src.seereason.com/ghc610/quilt/haskell-devscripts-quilt/</a></p>

<p>If you are interested, I can privately send you information on how to join our chatroom so you can ask us question directly instead of reverse engine what you need.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: David Fox</title>
		<link>http://therning.org/magnus/archives/476/comment-page-1#comment-169067</link>
		<dc:creator>David Fox</dc:creator>
		<pubDate>Thu, 22 Jan 2009 20:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=476#comment-169067</guid>
		<description>&lt;p&gt;There are a few nice things about haskell-devscripts-cdbs that I should mention.  It contains a modified version of hlibrary.mk with a number of improvements, and it also has some related features outside of hlibrary.mk:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;First of all, having hlibrary.mk in a package means you don&#039;t have copies of it in every package you build, avoiding synchronization problems.&lt;/li&gt;
&lt;li&gt;It handles ^M characters which occur in some .cabal files, these can otherwise get captured in the version number.&lt;/li&gt;
&lt;li&gt;It integrates the documentation package into the shared tree in /usr/share/doc/ghc6-doc with postinst and prerm scripts to call gen_contents index.&lt;/li&gt;
&lt;li&gt;It augments the substvar support so that ${haskell:Depends} expands to the correct list of library packages for each binary package.&lt;/li&gt;
&lt;li&gt;If cabal-debian is installed during the build, hlibrary.mk will use it to verify that all the libraries mentioned in the cabal file are indeed installed, and if one isn&#039;t it will figure out which deb needs to be installed and throw an error.&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>There are a few nice things about haskell-devscripts-cdbs that I should mention.  It contains a modified version of hlibrary.mk with a number of improvements, and it also has some related features outside of hlibrary.mk:</p>

<ol>
<li>First of all, having hlibrary.mk in a package means you don&#8217;t have copies of it in every package you build, avoiding synchronization problems.</li>
<li>It handles ^M characters which occur in some .cabal files, these can otherwise get captured in the version number.</li>
<li>It integrates the documentation package into the shared tree in /usr/share/doc/ghc6-doc with postinst and prerm scripts to call gen_contents index.</li>
<li>It augments the substvar support so that ${haskell:Depends} expands to the correct list of library packages for each binary package.</li>
<li>If cabal-debian is installed during the build, hlibrary.mk will use it to verify that all the libraries mentioned in the cabal file are indeed installed, and if one isn&#8217;t it will figure out which deb needs to be installed and throw an error.</li>
</ol>]]></content:encoded>
	</item>
</channel>
</rss>

