Date: Sun, 20 Jan 2002 21:11:50 +0100 From: Miguel Mendez <flynn@energyhq.homeip.net> To: ports@freebsd.org Subject: Port in progress... Message-ID: <20020120201209.E12D23FC1F@energyhq.homeip.net>
next in thread | raw e-mail | index | archive | help
--------------Boundary-00=_QR69JYZIK9P69BBIMZQ6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi porters, I'm currently working on the port of disc-cover (http://www.liacs.nl/~jvhemert/disc-cover/) , which happens to depend on FreeDB.pm which I've alreayd ported, well, almost. This perl module has some hardcoded ioctls for cdrom access which I'm replacing with FreeBSD equivalents. Of course, there are no comments are all in the code, but I think I got it pretty clear. Has anyone experience in this kind of ports and/or would like to help here? The port still doesn't work but I'm confident I'll get it to do so in a few days. I only have SCSI cdrom's so I can only test it on that. Any suggestion/ideas/feedback? I attach the two .shar files if anyone wants to play around with it. p5-FreeDB goes to audio and so does disc-cover. Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net EnergyHQ :: http://energyhq.homeip.net FreeBSD - The power to serve! --------------Boundary-00=_QR69JYZIK9P69BBIMZQ6 Content-Type: text/plain; charset="iso-8859-1"; name="p5-FreeDB.shar" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="p5-FreeDB.shar" IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUgYW55 dGhpbmcgYmVmb3JlCiMgdGhpcyBsaW5lLCBhbmQgdGhlbiB1bnBhY2sgaXQgYnkgZW50ZXJpbmcg InNoIGZpbGUiLiAgTm90ZSwgaXQgbWF5CiMgY3JlYXRlIGRpcmVjdG9yaWVzOyBmaWxlcyBhbmQg ZGlyZWN0b3JpZXMgd2lsbCBiZSBvd25lZCBieSB5b3UgYW5kCiMgaGF2ZSBkZWZhdWx0IHBlcm1p c3Npb25zLgojCiMgVGhpcyBhcmNoaXZlIGNvbnRhaW5zOgojCiMJcDUtRnJlZURCCiMJcDUtRnJl ZUR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pYIAkJfQpYIAkJKCR0 cmFjaywgJGFkcl9jdHJsLCAkZm9ybWF0LCAkZnJhbWUsICRtaW51dGUsICRzZWNvbmQpID0gdW5w YWNrKCdDKicsICR0b2NlbnRyeSk7ClhAQCAtNjUxLDcgKzY1NCw3IEBAClggClggCSMgR2V0IGlu Zm8gZm9yIGxlYWRvdXQKWCAJbXkgJHRvY2VudHJ5ID0gcGFjaygnQzgnLCAweEFBLCAwLCAyLCAw LCAwLCAwLCAwICwwKTsKWC0JaWYoIGlvY3RsKGNkcm9tX2ZkLCAweDUzMDYsICR0b2NlbnRyeSkg PCAwICkKWCsJaWYoIGlvY3RsKGNkcm9tX2ZkLCAweGMwMDg2MzA1LCAkdG9jZW50cnkpIDwgMCAp ClggCXsKWCAJCWNyb2FrICJFcnJvcjogcHJvYmxlbXMgZHVyaW5nIGNkcm9tIHRyYWNrcyByZWFk IGluXG5cblNvbHV0aW9uOiBzb3JyeSBubyBzb2x1dGlvblxuIjsKWCAJfQpFTkQtb2YtcDUtRnJl ZURCL2ZpbGVzL3BhdGNoLUZyZWVEQi5wbQpleGl0Cgo= --------------Boundary-00=_QR69JYZIK9P69BBIMZQ6 Content-Type: text/plain; charset="iso-8859-1"; name="disc-cover.shar" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="disc-cover.shar" IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUgYW55 dGhpbmcgYmVmb3JlCiMgdGhpcyBsaW5lLCBhbmQgdGhlbiB1bnBhY2sgaXQgYnkgZW50ZXJpbmcg InNoIGZpbGUiLiAgTm90ZSwgaXQgbWF5CiMgY3JlYXRlIGRpcmVjdG9yaWVzOyBmaWxlcyBhbmQg ZGlyZWN0b3JpZXMgd2lsbCBiZSBvd25lZCBieSB5b3UgYW5kCiMgaGF2ZSBkZWZhdWx0IHBlcm1p c3Npb25zLgojCiMgVGhpcyBhcmNoaXZlIGNvbnRhaW5zOg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Yy1jb3Zlci9wa2ctcGxpc3QKZXhpdAoK --------------Boundary-00=_QR69JYZIK9P69BBIMZQ6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020120201209.E12D23FC1F>