Hi everyone, Almost a year ago, I made Debian/Ubuntu packaging scripts for Freenet(fred) & Co.(fms, jsite, etc.)[1]. Since I've been quite busy(and my Debian-running laptop crashed), I largely abandoned them for a while. However, recently I could find some time (and saw some interesting discussion here about Debian/FHS compliance), I managed to update fred package to the current revision 1263. I think the users of this package can use Freenet really out of the box. My packaging is as much faithful to Debian/FHS as I could, so you may use this as a test bed(of course, there are still many problem such as putting freenet.ini in /var/lib/fred instead of more proper /etc/fred or somewhere, etc).
You may get pre-built(on Debian amd64) debs from under http://people.debian.org/~mhatta/debian, and of course you may rebuild them if you want(Build-Deps are carefully set). Also, this time I pushed files into Freenet GitHub repo(debian-staging). See debian-staging/README for building instructions. BTW, I noticed a few problem: 1. Currently, so-called headless build (without setting DISPLAY) fails. This is a serious problem since the automated build daemon is quite common not only in Debian but also other distros in general these days. Seems the culprit is AWT, but I can't figure out why. I attached the log from failed build session using by pbuilder[2]. 2. The build system around GWT is not so sophisticated, IMHO. Seems it requires to put some needed .jar's into generator/js/lib, and the file name in build.xml is wrong(GWT.lib.dev should be gwt-dev-linux.jar on GNU/Linux), etc. 3. The home-brew build of freenet-ext.jar still fails. Is there anyone who could actually do that? 4. Still not using Java wrapper(thus automated update doesn't work). I did begin to work on this a year ago, but I need to refresh my memory now...also, as toad puts it, it can be debatable whether it should be allowed to modify the installed binary(in this case /usr/share/java/freenet-cvs-snapshot.jar or such) by means other than installing updated .deb., at least FHS-wise. Maybe more, I'll let you know when I encountered it... As always, help/comments/suggestions/hacks are highly welcomed. Also, if it's okay I'll add some information about this packaging into Wiki. Best regards, MH [1] http://www.mail-archive.com/devl at freenetproject.org/msg23430.html [2] http://www.netfort.gr.jp/~dancer/software/pbuilder.html.en -- Masayuki Hatta <mhatta at gmail.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: pbuilderr_fred.log.gz Type: application/x-gzip Size: 8962 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20100802/5789ca6d/attachment.bin>
