[PATCH] Porting to NetBSD

Raphael Langerhorst raphael at raphael.g-system.at
Sat Dec 2 14:06:05 CET 2006


Hi all,

as discussed with Daniel Seuffert on Linuxday (2006-11-18 in Dornbirn) it 
would be great to have desktopbsd-tools (in particular) on NetBSD.

So... I finally got started.

On a related note I want to say that I did not yet contact the ecBSD guy, but 
I plan to.

So far I just did everything with #ifdef and so on, so it's not very clean.
I see the porting work in two stages (or three):

1) Get things to compile, with plain #ifdefs
  -> this is what I've started now and the attached patch already makes 
libdbsddisk and libdesktopbsd compile on NetBSD.

2) Make things work properly (there are also ### TODO items in this patch)

3) Proper design for OS specific settings (mostly includes and some system 
specific functions and maybe #define abstractions)
This makes things cleaner and does not clutter the source with hundreds of 
#ifdefs (especially with more BSDs).


Depending on time frame (especially with the 1.6 release) I would even like to 
do this in trunk (instead of a branch), I think there are no major changes 
(it's all BSD after all).

Feel free to comment (if any). I want to make sure that the changes are ok 
before they get committed.

Best Regards,
Raphael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbsd_libs_netbsd_01.diff
Type: text/x-diff
Size: 22646 bytes
Desc: not available
Url : http://desktopbsd.net/pipermail/devel/attachments/20061202/57192279/attachment.bin 


More information about the Devel mailing list