This is an old revision of the document!


OpenBSD

Installation

Once the system is installed, install git:

pkg_add git

Install buildtime dependencies:

pkg_add autoconf-2.69p2 automake-1.16.1

Install runtime dependencies:

pkg_add libdvdread

dvd_info

Install libraries:

pkg_add libaacs libbluray

Clone repo:

git clone https://github.com/beandog/dvd_info

Version 1.0 installs just fine once autotools, libdvdread, and libdvdcss are on the system.

AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -fi
./configure
make

Default device is /dev/rcd0c

bluray_info

Both libaacs and libbluray are in packages. Can't get bluray_info to compile.

$ gcc -o bluray_info bluray_info.c bluray_video.c bluray_audio.c bluray_time.c -std=c99 -I/usr/local/include -L/usr/local/lib -lbluray
/tmp//cczZG3K2.o: In function `main':
bluray_info.c:(.text+0x5a2): warning: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libbluray.so.3.0: warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libbluray.so.3.0: warning: warning: rand() may return deterministic values, is that what you want?
/usr/local/lib/libxml2.so.15.2: warning: warning: strcat() is almost always misused, please use strlcat()
/usr/bin/ld: warning: libfreetype.so.28.1, needed by /usr/local/lib/libbluray.so.3.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libfontconfig.so.11.0, needed by /usr/local/lib/libbluray.so.3.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpthread-stubs.so.2.0, needed by /usr/local/lib/libbluray.so.3.0, not found (try using -rpath or -rpath-link)
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Init_FreeType'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Done_Face'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_GlyphSlot_Embolden'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_GlyphSlot_Oblique'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_New_Memory_Face'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Load_Char'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Done_FreeType'
/usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Set_Char_Size'
collect2: ld returned 1 exit status

I can install libbluray from git, but it still doesn't work:

git clone https://git.videolan.org/git/libbluray.git
git submodule update --init

Navigation