{"id":12,"date":"2005-12-05T10:48:56","date_gmt":"2005-12-05T10:07:11","guid":{"rendered":""},"modified":"2017-03-07T16:18:33","modified_gmt":"2017-03-07T16:18:33","slug":"status_update","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/ferdy\/2005\/12\/05\/status_update\/","title":{"rendered":"Status update (alpha,haskell,ctags,&#8230;)"},"content":{"rendered":"<p>So It&#8217;s been a long time since I wrote anything, not because I&#8217;ve done much for Gentoo but because Uni starts sucking once again.<\/p>\n<p>However I found some time to do a couple of (maybe) interesting things:<\/p>\n<p>I added some base-system binary packages for alpha. So if you screwed your alpha instalation doing something brave (or stupid) just take a look at http:\/\/dev.gentoo.org\/~ferdy\/bins\/alpha\/. You should be able to recover your system if you have a working busybox (which you SHOULD have).<\/p>\n<p>I also managed to build &#8216;The Glorious Glasgow Haskell Compiler&#8217; under alpha. Even if it is an <b>unregisterised<\/b> build, the result binaries are pretty usable (although they are HUGE). I built darcs with it and works perfectly. If you want to give it a try, get it from the url above, and put it in <i>\/usr\/portage\/packages\/<\/i>. You should be able to &#8217;emerge -k&#8217; it by just removing the <i>&lt;virtual\/ghc-6.5<\/i> dependency in <b>dev-lang\/ghc-6.4.1-r1<\/b>.<\/p>\n<p>I&#8217;ll work with the gentoo-haskell guys to get it into the portage tree soon. Since I&#8217;m learning haskell, expect more haskell-related alpha porting \ud83d\ude42<\/p>\n<p>I also hacked a portage atom parser in haskell for a script I&#8217;ve been meaning to do for a long time. Doesn&#8217;t do anything fancy yet since I&#8217;m still implementing the <tt>Ord<\/tt> class operators. However it is considerably fast, it parses ~71000 lines in less than 1.5 seconds. Get <a href=\"http:\/\/dev.gentoo.org\/~ferdy\/tmp\/AtomParser.hs\">AtomParser.hs<\/a> and see a proof of concept showing its use in <a href=\"http:\/\/dev.gentoo.org\/~ferdy\/tmp\/parser-test.hs\">parser-test.hs<\/a>. ( I&#8217;m still learning haskell so yes, it is really easy to improve my code ).<\/p>\n<p>Since ctags is almost unmaintained upstream I&#8217;ve been collecting some useful patches around the net and might consider give it a big bump in the near future. The patches series are (in order):<\/p>\n<ul>\n<li>Haskell support [by me]<\/li>\n<li>Very basic ObjC support (ObjC hackers are welcome to send me ideas and code to improve the regexes) [by me]<\/li>\n<li>Add patch to make Ruby class names in the form Foo::Bar work [by Ciaran McCreesh]<\/li>\n<li>Add patch to improve C handling [by vim hackers, pointed out by Ciaran McCreesh]<\/li>\n<li>Add support for Java 5 generics [found somewhere in the ctags forums]<\/li>\n<li>Ebuild syntax support [by Ciaran McCreesh]<\/li>\n<\/ul>\n<p>If you have an interesting and useful patch for ctags, please send it my way so I can integrate it in the next bump if I ever manage to do it. I&#8217;m maintaining all those patches in a stgit repository that I might share if anybody asks me to do it.<\/p>\n<p>Also the Alpha Arch Testers project is reaching its final stage. We&#8217;ve got a quiz and we are giving the final touches to a policy document describing how we should behave (i.e. herd and arch-testers) one to each other.<\/p>\n<p>Also I&#8217;m looking forward to <a href=\"http:\/\/dev.gentoo.org\/~spb\/\">Stephen Bennett<\/a>&#8216;s SELinux work under alpha. He kind of promised to test the hardened-sources; it&#8217;ll rock if he gets them work; because since the grsec-sources were removed we&#8217;ve got no &#8216;secure&#8217; sources in the tree.<\/p>\n<p>And last (and probably least) I wrote a dirty bash script some time ago and thought I might share. It simply lists the files that are no longer &#8216;claimed&#8217; by any package installed under \/usr\/portage\/distfiles. I know there are some nice python scripts around but I found this one to be way faster than those. WARNING: It is a hack, it won&#8217;t work without gnu-sed and will probably miss some files. However, it seems to work great here. If you want to give it a try, it is here (<a href=\"http:\/\/dev.gentoo.org\/~ferdy\/scripts\/distfiles-clean\">distfiles-clean<\/a>). ( More scripts in http:\/\/gentoo-es.org\/~ferdy\/git\/?p=gentoo-scripts.git;a=summary )<\/p>\n<p>Ok time to get back to the mips assembly University work&#8230;<\/p>\n<p>Cheers,<br \/>\nFerdy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So It&#8217;s been a long time since I wrote anything, not because I&#8217;ve done much for Gentoo but because Uni starts sucking once again. However I found some time to do a couple of (maybe) interesting things: I added some base-system binary packages for alpha. So if you screwed your alpha instalation doing something brave &hellip; <a href=\"https:\/\/blogs.gentoo.org\/ferdy\/2005\/12\/05\/status_update\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Status update (alpha,haskell,ctags,&#8230;)<\/span><\/a><\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/posts\/12"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/posts\/12\/revisions\/56"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ferdy\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}