I am successfully able to build today's theora_cvs_snapshot under
NetBSD/i386 1.6 with SDL disabled. (I haven't tested yet.)
I was unable to build with SDL:
player_example.c:52: sys/soundcard.h: No such file or directory
I see the source says it is OSS-specific for now.
This is what I did to make it build:
--- work.rainier/theora/examples/player_example.c.orig Mon May 19 12:31:37 2003
+++ work.rainier/theora/examples/player_example.c
@@ -49,7 +49,13 @@
give us any way to determine hardware timing, and since the
hard/kernel buffer is going to be most of or > a second, that's
just a little bit important */
+#if defined(__FreeBSD__)
+#include <machine/soundcard.h>
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
+#include <soundcard.h>
+#else
#include <sys/soundcard.h>
+#endif
#include <sys/ioctl.h>
/* Helper; just grab some more compressed bitstream and sync it for
<p>This built, but this is not tested yet. I need to make some data to
test.
I found a Micro-HOWTO at
http://www.dogphilosophy.net/SECTION-Technical_Stuff/ogg-theora-microhowto.html
which I will follow. Unless is there is easier ways or a download site to
fetch Ogg Theora files.
By the way, I created a package of "theora-nightly" for NetBSD (and
also
created new packages for CVS snapshots of libogg and libvorbis because
theora README said newer versions of these were needed).
Jeremy C. Reed
http://bsd.reedmedia.net/
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'theora-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
On Wednesday, May 21, 2003, at 07:18 am, Jeremy C. Reed wrote:> I am successfully able to build today's theora_cvs_snapshot under > NetBSD/i386 1.6 with SDL disabled. (I haven't tested yet.)Yay!> This is what I did to make it build:So this patch lets it build and use OSS on *BSD?> This built, but this is not tested yet. I need to make some data to > test. > I found a Micro-HOWTO at > http://www.dogphilosophy.net/SECTION-Technical_Stuff/ogg-theora- > microhowto.html > which I will follow. Unless is there is easier ways or a download site > to > fetch Ogg Theora files.There's a test clip http://www.theora.org/test/test.zip you can use to verify decoding and encoding (only the first 5 seconds on uncompressed data are included)> By the way, I created a package of "theora-nightly" for NetBSD (and > also > created new packages for CVS snapshots of libogg and libvorbis because > theora README said newer versions of these were needed).Thanks, it's great to have distribution support (and testing!) at such an early stage. -r --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'theora-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.