Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openbsd [2018/02/19 21:49] beandog |
openbsd [2019/05/24 12:09] (current) beandog [bluray_info] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenBSD ====== | ====== OpenBSD ====== | ||
+ | |||
+ | * Tested with OpenBSD 6.5 | ||
+ | |||
+ | ==== Installation ==== | ||
+ | |||
+ | Once the system is installed, install git: | ||
+ | |||
+ | <code> | ||
+ | pkg_add git | ||
+ | </code> | ||
+ | |||
+ | Install buildtime dependencies: | ||
+ | |||
+ | <code> | ||
+ | pkg_add autoconf-2.69p2 automake-1.16.1 | ||
+ | </code> | ||
==== dvd_info ==== | ==== dvd_info ==== | ||
+ | |||
+ | Install runtime dependencies: | ||
+ | |||
+ | <code> | ||
+ | pkg_add libdvdread | ||
+ | </code> | ||
+ | |||
+ | Clone repo: | ||
+ | |||
+ | <code> | ||
+ | git clone https://github.com/beandog/dvd_info | ||
+ | </code> | ||
Version 1.0 installs just fine once autotools, libdvdread, and libdvdcss are on the system. | Version 1.0 installs just fine once autotools, libdvdread, and libdvdcss are on the system. | ||
<code> | <code> | ||
- | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 autoreconf -fi | + | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -fi |
+ | ./configure | ||
+ | make | ||
+ | doas make install | ||
</code> | </code> | ||
Line 13: | Line 44: | ||
==== bluray_info ==== | ==== bluray_info ==== | ||
- | Both libaacs and libbluray are in packages. Can't get bluray_info to compile. | + | Install libraries: |
<code> | <code> | ||
- | $ gcc -o bluray_info bluray_info.c bluray_video.c bluray_audio.c bluray_time.c -lbluray -std=c99 -I/usr/local/include -L/usr/local/lib -lbluray | + | pkg_add libaacs libbluray |
- | /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 | + | |
</code> | </code> | ||
+ | |||
+ | Clone repo: | ||
+ | |||
+ | <code> | ||
+ | git clone https://github.com/beandog/bluray_info | ||
+ | </code> | ||
+ | |||
+ | Build with latest autoconf and automake versions: | ||
+ | |||
+ | <code> | ||
+ | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -fi | ||
+ | ./configure | ||
+ | make | ||
+ | doas make install | ||
+ | </code> | ||
+ | |||
+ | Run as normal! |