DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st July 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default OpenBSD + mpv or mplayer + libcaca

Hi all,
I was trying to open videos with the -vo plugin "caca" from libcaca library, but it doesn't work on OpenBSD.

When I have a look on the video output drivers (-vo) of mpv I have:
Code:
x250$ mpv -vo=help
Available video outputs:
  libmpv           render API for libmpv
  gpu              Shader-based GPU Renderer
  xv               X11/Xv
  sdl              SDL 2.0 Renderer
  x11              X11 (slow, old crap)
  null             Null video output
  image            Write video frames to image files
  tct              true-color terminals
I tried to install mpv as a package (pkg_add -vi) and as a port (make install clean) but I never see the caca driver. Same problem in mplayer.

Is somebody here using mpv/mplayer with libcaca?

thanks in advance.
Reply With Quote
  #2   (View Single Post)  
Old 1st July 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Unlikely.

x11/mplayer/Makefile

libcaca is disabled:
Code:
# CONFIGURE_ARGS that disable external stuff
CONFIGURE_ARGS+=--disable-caca \
There are $FLAVORS for mplayer which add aalib and jack, but none have been written to add caca.
Code:
FLAVORS=	debug aa jack
FLAVOR?=

.if ${FLAVOR:Mdebug}
CONFIGURE_ARGS+=--enable-debug=3 \
		--disable-sighandler
.endif

.if ${FLAVOR:Maa}
LIB_DEPENDS+=	graphics/aalib
WANTLIB+=	aa
.else
CONFIGURE_ARGS+=--disable-aa
.endif

.if ${FLAVOR:Mjack}
LIB_DEPENDS+=	audio/jack
WANTLIB+=	jack
.else
CONFIGURE_ARGS+=--disable-jack
.endif
multimedia/mpv/Makefile

It's disabled in mpv also:
Code:
CONFIGURE_ARGS =	--confloaddir=${SYSCONFDIR}/mpv \
.
.
.
			--disable-caca \
mpv has no $FLAVORS. The adventerous admin could add them.

Summary

At this time, both of these ports lack assigned $MAINTAINERs. So if you are interested in adding caca $FLAVORs to one or both ports, feel free to develop them. If you are successful, please submit your unified diff(1) patches (against -current) to the ports@ mailing list.
Reply With Quote
  #3   (View Single Post)  
Old 2nd July 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default

Thanks for the information, jggimi.
I will try. And I will inform if I find some solution or improvements.
Reply With Quote
  #4   (View Single Post)  
Old 2nd July 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Consider researching the plugin first. The project is not adverse to adding features but is opposed to insecure or buggy code.

You also have the option to enable the option in ports for your own personal use. Be aware that OpenBSD has built in security features that do not tolerate buggy code.
Reply With Quote
  #5   (View Single Post)  
Old 2nd July 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I do not know the history of the mplayer / mpv libcaca plugin. Only that graphics/libcaca has been in the ports tree for 15 years,
Reply With Quote
  #6   (View Single Post)  
Old 3rd July 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

I checked the builds for FreeBSD, NetBSD, Slackware and Crux linux. All have active maintainers. Libcaca is not listed as a dependency for any. Community wide, there does not seem to be much interest.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer & mplayer-share-1.1.1 not available on the repository Martillo NetBSD Package System (pkgsrc) 5 5th November 2013 11:37 AM
Issues WIth Mplayer and Vlc sepuku OpenBSD Packages and Ports 21 29th August 2011 03:31 AM
Other New better MPlayer, the MPlayer 2, fork of original MPlayer vermaden News 5 26th March 2011 03:37 PM
Problem with x11/gnome+libcaca in ports Kilo1 OpenBSD Packages and Ports 3 2nd August 2008 12:58 AM
mplayer-1.0rc2p2-sdl.tgz and mplayer-1.0rc2p2.tgz bsdnewbie999 OpenBSD General 1 21st June 2008 06:34 AM


All times are GMT. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick