Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| openbsd [2018/07/22 20:16] – beandog | openbsd [2019/05/24 18:09] (current) – [bluray_info] beandog | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== OpenBSD ====== | ====== OpenBSD ====== | ||
| + | |||
| + | * Tested with OpenBSD 6.5 | ||
| ==== Installation ==== | ==== Installation ==== | ||
| Line 6: | Line 8: | ||
| < | < | ||
| - | echo https:// | ||
| pkg_add git | pkg_add git | ||
| </ | </ | ||
| Line 13: | Line 14: | ||
| < | < | ||
| - | pkg_add autoconf-2.69p2 automake-1.15.1 | + | pkg_add autoconf-2.69p2 automake-1.16.1 |
| </ | </ | ||
| + | |||
| + | ==== dvd_info ==== | ||
| Install runtime dependencies: | Install runtime dependencies: | ||
| Line 21: | Line 24: | ||
| pkg_add libdvdread | pkg_add libdvdread | ||
| </ | </ | ||
| - | |||
| - | ==== dvd_info ==== | ||
| Clone repo: | Clone repo: | ||
| Line 33: | Line 34: | ||
| < | < | ||
| - | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 autoreconf -fi | + | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -fi |
| ./configure | ./configure | ||
| make | make | ||
| + | doas make install | ||
| </ | </ | ||
| Line 42: | Line 44: | ||
| ==== bluray_info ==== | ==== bluray_info ==== | ||
| - | Both libaacs and libbluray are in packages. Can't get bluray_info to compile. | + | Install libraries: |
| < | < | ||
| - | $ gcc -o bluray_info bluray_info.c bluray_video.c bluray_audio.c bluray_time.c -std=c99 -I/ | + | pkg_add libaacs |
| - | / | + | |
| - | bluray_info.c: | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | collect2: ld returned 1 exit status | + | |
| </ | </ | ||
| + | |||
| + | Clone repo: | ||
| + | |||
| + | < | ||
| + | git clone https:// | ||
| + | </ | ||
| + | |||
| + | Build with latest autoconf and automake versions: | ||
| + | |||
| + | < | ||
| + | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -fi | ||
| + | ./configure | ||
| + | make | ||
| + | doas make install | ||
| + | </ | ||
| + | |||
| + | Run as normal! | ||