Fwd: Re: porting libburnia to kfreebsd
Thomas Schmitt writes:
> Hi,
Hi -bsd,
more concrete details about the tests follow:
> the missing files are contained in
> http://scdbackup.sourceforge.net/cdrskin-0.7.4.pl00.tar.gz
> as
> ./cdrskin-0.7.4/libburn/os-dummy.h
> ./cdrskin-0.7.4/libburn/sg-dummy.c
> That's why i did not notice their lack with my
> Solaris tests.
>
> If possible make a test build of that or
> copy the files into an unpacked tarball
> libburn-0.7.4.pl00.tar.gz
> as
> ./libburn-0.7.4/libburn/os-dummy.h
> ./libburn-0.7.4/libburn/sg-dummy.c
> pack it up again and submit it for build.
>
>
> This should yield a libburn that cannot directly
> act on MMC drives but enables at least xorriso
> as ISO 9660 generator program for disk files.
>
> As said in the last mail, porting the SCSI
> adapter is not trivial. One can boldly try the
> adapters
> ./libburn*/libburn/os-freebsd.h
> ./libburn*/libburn/sg-freebsd.c
> But if they don't work, then the next better
> attempt would be to augment libcdio's driver
> to the new MMC write transport capability,
> and to configure libburn with --enable-libcdio.
> (Available with next release of libburn.)
>
> If you want to try the FreeBSD adapter of
> libburn, edit
> ./libburn-0.7.4/libburn/os.h
> and
> ./libburn-0.7.4/libburn/sg.h
> before packing up libburn-0.7.4.pl00.tar.gz
> again.
> Search in both files for
> #ifdef __FreeBSD__
> and boldly change it to the macro you expect.
> (You may also copy the __FreeBSD__ case and
> create an additional case for your macro.)
>
>
> I will make appropriate changes to libburn
> as soon as i get a clue about CAM usability.
>
>
> Have a nice day :)
>
> Thomas
>
--
pub 4096R/0E4BD0AB <people.fccf.net/danchev/key pgp.mit.edu>
Reply to: