Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
openbsd [2019/05/24 11:46]
beandog [dvd_info]
openbsd [2019/05/24 12:09] (current)
beandog [bluray_info]
Line 1: Line 1:
 ====== OpenBSD ====== ====== OpenBSD ======
 +
 +  * Tested with OpenBSD 6.5
  
 ==== Installation ==== ==== Installation ====
Line 14: Line 16:
 pkg_add autoconf-2.69p2 automake-1.16.1 pkg_add autoconf-2.69p2 automake-1.16.1
 </​code>​ </​code>​
 +
 +==== dvd_info ====
  
 Install runtime dependencies:​ Install runtime dependencies:​
Line 19: Line 23:
 <​code>​ <​code>​
 pkg_add libdvdread pkg_add libdvdread
-</​code>​ 
- 
-==== dvd_info ==== 
- 
-Install libbluray: 
- 
-<​code>​ 
-pkg_add libbluray 
 </​code>​ </​code>​
  
Line 41: Line 37:
 ./configure ./configure
 make make
 +doas make install
 </​code>​ </​code>​
  
Line 47: 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 -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>​
  
-I can install libbluray from git, but it still doesn'​t work:+Clone repo:
  
 <​code>​ <​code>​
-git clone https://git.videolan.org/git/libbluray.git+git clone https://github.com/beandog/bluray_info
 </​code>​ </​code>​
 +
 +Build with latest autoconf and automake versions:
  
 <​code>​ <​code>​
-git submodule update ​--init+AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf ​-fi 
 +./​configure 
 +make 
 +doas make install
 </​code>​ </​code>​
 +
 +Run as normal!

Navigation