Re: [vdr] vdr-sxfe open hug OSD

2011-02-02 Thread prelude

Hello

You can also use  git repo:
git://projects.vdr-developer.org/xineliboutput.git

I attach my own git version ebuild to xinelibout if it help you.

Tommi


On 02/01/2011 11:37 PM, Marco Göbenich wrote:

Hi!

There is also - version, the problem is that it uses CVS at 
sourceforge, and this does not work at the moment.


Regards

Marco


Am 01.02.2011 21:40, schrieb Oliver Schinagl:

*  media-plugins/vdr-xineliboutput
   Latest version available: 1.0.5-r1
   Latest version installed: 1.0.5-r1

is the version i'm havinga vailable to me on gentoo :)


On 02/01/11 20:54, Niko Mikkilä wrote:

On 2011-02-01 19:48 +0100, Oliver Schinagl wrote:

And the reason why I hadn't tried those:

vdr-sxfe: option '--hud' doesn't allow an argument
vdr-sxfe: unrecognized option '--opengl'
Then you have an old version of Xineliboutput. What does vdr-sxfe -h 
say

about the options? For example, I'm using the yaVDR-packaged version,
which is probably two or three weeks older than rofa's CVS build, 
and it

has these switches:

-D, --hudHead Up Display OSD mode using compositing
-Q, --opengl-always  Always use OpenGL for video and Head Up Display 
OSD

-O, --opengl-hud Head Up Display OSD mode using OpenGL

Since SourceForge's CVS servers are still down, it may be a bit tricky
to get the latest and greatest version.

--
Niko


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# git repository

inherit vdr-plugin eutils multilib versionator git

EGIT_REPO_URI=git://projects.vdr-developer.org/xineliboutput.git

#inherit vdr-plugin eutils multilib versionator cvs

#ECVS_SERVER=xineliboutput.cvs.sourceforge.net:/cvsroot/xineliboutput
#ECVS_MODULE=vdr-xineliboutput
#ECVS_AUTH=pserver
#ECVS_UP_OPTS=-dPA -D20090801

S=${WORKDIR}/${PN}

MY_PV=${PV/_/}
MY_P=${PN}-${MY_PV}

SO_VERSION=${PV%_p*}
SO_VERSION=${SO_VERSION/_/}

DESCRIPTION=Video Disk Recorder Xinelib PlugIn
HOMEPAGE=http://sourceforge.net/projects/xineliboutput/;
#SRC_URI=mirror://sourceforge/${PN#vdr-}/${MY_P}.tgz

SLOT=0
LICENSE=GPL-2
KEYWORDS=~amd64 ~x86
IUSE=fbcon X libextractor

RDEPEND==media-video/vdr-1.4.0
=media-libs/xine-lib-1.1.1
media-libs/jpeg
libextractor? ( =media-libs/libextractor-0.5.20 )
X? (
x11-proto/xextproto
x11-proto/xf86vidmodeproto
x11-proto/xproto
x11-proto/renderproto
)

DEPEND=${RDEPEND}
sys-kernel/linux-headers
X? (
x11-libs/libX11
x11-libs/libXv
x11-libs/libXext
x11-libs/libXrender
)

#S=${WORKDIR}/${MY_P#vdr-}

VDR_CONFD_FILE=${FILESDIR}/confd-1.0.0_pre6

use_onoff() {
if use $1; then
echo 1
else
echo 0
fi
}

src_unpack() {
git_src_unpack
#   cvs_src_unpack

vdr-plugin_src_unpack all_but_unpack

cd ${S}

XINE_PLUGIN_DIR=$(xine-config --plugindir)
if [[ ${XINE_PLUGIN_DIR} =  ]]; then
eerror Could not find xine plugin dir
die Could not find xine plugin dir
fi
# stop some automagic overwriting the stuff we set
sed -e '/XINELIBOUTPUT_VDRPLUGIN = 1/s/^/#/' \
-e '/HAVE_EXTRACTOR_H = 1/s/^/#/' \
-i Makefile

cat Make.config -EOF
XINELIBOUTPUT_XINEPLUGIN = 1
XINELIBOUTPUT_VDRPLUGIN = 1

XINELIBOUTPUT_FB = $(use_onoff fbcon)
XINELIBOUTPUT_X11 = $(use_onoff X)

HAVE_XRENDER = 1
HAVE_XDPMS = 1
HAVE_EXTRACTOR_H = $(use_onoff libextractor)
EOF

# patching makefile to work with this
# $ rm ${outdir}/file; cp file ${outdir}/file
# work in the sandbox
sed -i Makefile \
-e 's:XINEPLUGINDIR.*=.*:XINEPLUGINDIR = '${WORKDIR}/lib: \
-e 's:VDRINCDIR.*=.*:VDRINCDIR ?= /usr/include:'
mkdir -p ${WORKDIR}/lib
}

src_install() {
vdr-plugin_src_install

use fbcon  dobin vdr-fbfe
use X  dobin vdr-sxfe

# There may be no sub-plugin, depending on use-flags
insinto ${VDR_PLUGIN_DIR}
local f
for f in libxineliboutput*.so.${SO_VERSION}; do
[[ -f $f ]] || continue
doins ${f} || die could not 

Re: [vdr] vdr-sxfe open hug OSD

2011-02-01 Thread Oliver Schinagl
And the reason why I hadn't tried those:

vdr-sxfe: option '--hud' doesn't allow an argument
vdr-sxfe: unrecognized option '--opengl'

So I come back to the fact, that I can get -hud (guessing on opengl)
working when starting everything from a termina, X; wm; vdr, but when i
start it from .xinitrc, VDR just goes black, and nothing works.


On 02/01/11 08:38, Oliver Schinagl wrote:
 --hud=opengl --opengl

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-sxfe open hug OSD

2011-02-01 Thread Niko Mikkilä
On 2011-02-01 19:48 +0100, Oliver Schinagl wrote:
 And the reason why I hadn't tried those:
 
 vdr-sxfe: option '--hud' doesn't allow an argument
 vdr-sxfe: unrecognized option '--opengl'

Then you have an old version of Xineliboutput. What does vdr-sxfe -h say
about the options? For example, I'm using the yaVDR-packaged version,
which is probably two or three weeks older than rofa's CVS build, and it
has these switches:

-D, --hudHead Up Display OSD mode using compositing
-Q, --opengl-always  Always use OpenGL for video and Head Up Display OSD
-O, --opengl-hud Head Up Display OSD mode using OpenGL

Since SourceForge's CVS servers are still down, it may be a bit tricky
to get the latest and greatest version.

--
Niko


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-sxfe open hug OSD

2011-02-01 Thread Rolf Ahrenberg

On Tue, 1 Feb 2011, Niko Mikkilä wrote:


Since SourceForge's CVS servers are still down, it may be a bit tricky
to get the latest and greatest version.


The GIT mirror is still up and always pretty up-to-date:
http://projects.vdr-developer.org/git/?p=xineliboutput.git

BR,
--
rofa

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-sxfe open hug OSD

2011-02-01 Thread Oliver Schinagl

*  media-plugins/vdr-xineliboutput
  Latest version available: 1.0.5-r1
  Latest version installed: 1.0.5-r1

is the version i'm havinga vailable to me on gentoo :)


On 02/01/11 20:54, Niko Mikkilä wrote:
 On 2011-02-01 19:48 +0100, Oliver Schinagl wrote:
 And the reason why I hadn't tried those:

 vdr-sxfe: option '--hud' doesn't allow an argument
 vdr-sxfe: unrecognized option '--opengl'
 Then you have an old version of Xineliboutput. What does vdr-sxfe -h say
 about the options? For example, I'm using the yaVDR-packaged version,
 which is probably two or three weeks older than rofa's CVS build, and it
 has these switches:

 -D, --hudHead Up Display OSD mode using compositing
 -Q, --opengl-always  Always use OpenGL for video and Head Up Display OSD
 -O, --opengl-hud Head Up Display OSD mode using OpenGL

 Since SourceForge's CVS servers are still down, it may be a bit tricky
 to get the latest and greatest version.

 --
 Niko


 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-sxfe open hug OSD

2011-02-01 Thread Marco Göbenich

Hi!

There is also - version, the problem is that it uses CVS at 
sourceforge, and this does not work at the moment.


Regards

Marco


Am 01.02.2011 21:40, schrieb Oliver Schinagl:

*  media-plugins/vdr-xineliboutput
   Latest version available: 1.0.5-r1
   Latest version installed: 1.0.5-r1

is the version i'm havinga vailable to me on gentoo :)


On 02/01/11 20:54, Niko Mikkilä wrote:

On 2011-02-01 19:48 +0100, Oliver Schinagl wrote:

And the reason why I hadn't tried those:

vdr-sxfe: option '--hud' doesn't allow an argument
vdr-sxfe: unrecognized option '--opengl'

Then you have an old version of Xineliboutput. What does vdr-sxfe -h say
about the options? For example, I'm using the yaVDR-packaged version,
which is probably two or three weeks older than rofa's CVS build, and it
has these switches:

-D, --hudHead Up Display OSD mode using compositing
-Q, --opengl-always  Always use OpenGL for video and Head Up Display OSD
-O, --opengl-hud Head Up Display OSD mode using OpenGL

Since SourceForge's CVS servers are still down, it may be a bit tricky
to get the latest and greatest version.

--
Niko


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



--
Needful GbR  Rheinstraße 60a  Telefon +49 (0) 26 24 / 95 29 301
 56203 Höhr-Grenzhausen   Telefax +49 (0) 26 24 / 95 29 303
 http://www.needful.deE-Mail  m...@needful.de

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-.ebuild,v
 1.6 2010/12/07 19:54:10 idl0r Exp $

GENTOO_VDR_CONDITIONAL=yes

EAPI=3

inherit vdr-plugin git toolchain-funcs eutils

MY_PV=${PV#*_p}
MY_P=${PN}

DESCRIPTION=Video Disk Recorder Xinelib PlugIn
HOMEPAGE=http://sourceforge.net/projects/xineliboutput/;

EGIT_REPO_URI=git://projects.vdr-developer.org/xineliboutput.git
EGIT_BRANCH=master

SLOT=0
LICENSE=GPL-2
KEYWORDS=
IUSE=dbus fbcon jpeg libextractor nls +vdr vdpau +X +xine xinerama

COMMON_DEPEND=
vdr? (
=media-video/vdr-1.6.0
libextractor? ( =media-libs/libextractor-0.5.20 )
)

xine? (
|| ( media-libs/xine-lib-1.2 ( =media-libs/xine-lib-1.2 
media-video/ffmpeg ) )
fbcon? ( jpeg? ( media-libs/jpeg ) )
X? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXrender
xinerama? ( x11-libs/libXinerama )
dbus? ( dev-libs/dbus-glib dev-libs/glib:2 )
vdpau? ( x11-libs/libvdpau =media-libs/xine-lib-1.2 )
jpeg? ( media-libs/jpeg )
)
)

DEPEND=${COMMON_DEPEND}
dev-util/pkgconfig
sys-kernel/linux-headers
nls? ( sys-devel/gettext )
xine? (
X? (
x11-proto/xproto
x11-libs/libXxf86vm
)
)
RDEPEND=${COMMON_DEPEND}

S=${WORKDIR}/${MY_P}

VDR_CONFD_FILE=${FILESDIR}/confd-1.0.0_pre6

pkg_setup() {
if ! use vdr  ! use xine; then
die You either need at least one of these flags: vdr xine
fi

vdr-plugin_pkg_setup

if use xine; then
XINE_PLUGIN_DIR=$(xine-config --plugindir)
[ -z ${XINE_PLUGIN_DIR} ]  die Could not find xine plugin 
dir
fi
}

src_prepare() {
#epatch ${FILESDIR}/${P}-build-system.patch

vdr-plugin_src_prepare

sed -i -e 's:^\(LOCALEDIR\) .*:\1 = $(DESTDIR)/usr/share/vdr/locale:' \
-e s:LIBDIR .*:LIBDIR = ${VDR_PLUGIN_DIR}: \
Makefile || die
}

src_configure() {
local myconf

if has_version =media-libs/xine-lib-1.2; then
myconf=${myconf} --enable-libavutil
else
myconf=${myconf} --disable-libavutil
fi

# No autotools based configure script
# There is no real opengl support, just the switch and some help text is
# left...
./configure \
--cc=$(tc-getCC) \
--cxx=$(tc-getCXX) \
$(use_enable X x11) \
$(use_enable X xshm) \
$(use_enable X xdpms) \
$(use_enable X xshape) \
$(use_enable X xrender) \
$(use_enable fbcon fb) \
$(use_enable vdr) \
$(use_enable xine libxine) \
$(use_enable libextractor) \
$(use_enable jpeg libjpeg) \
$(use_enable xinerama) \
$(use_enable vdpau) \
$(use_enable dbus 

[vdr] vdr-sxfe open hug OSD

2011-01-31 Thread Oliver Schinagl
I'm still having trouble getting this all working. I used
http://www.vdr-portal.de/board/thread.php?postid=818661 to get me
through the setup, without avail. --opengl-all doesn't seem to be a
valid option? Or I can't find anything about it. --hud works however.

Firstly, what I did manage to get working.

Starting from a bare terminal:
X 
DISPLAY=:0.0 matchbox-window-manager  (matchbox has a built in
composite manager, making xcompmgr redundant)
DISPLAY=:0.0 xsetroot -cursor emptycursor emptycursor 
vdr-sxfe --verbose xvdr://127.0.0.1 --video=xv --audio=alsa
--aspect=16:9 --lirc --fullscreen --hud 2 ~/output.log

This works, with the only exception that the OSD is a small and only in
the left quarter of the screen. Acceptable even I suppose, though
ideally a centered OSD would be nice. I read on the forum topic that
others had the same problem, but never clearly found a solution.

So I then decided to move this to my .xinitrc;

matchbox-window-manager 
vdr-sxfe --verbose xvdr://127.0.0.1 --video=xv --audio=alsa
--aspect=16:9 --lirc --fullscreen --hud 2 ~/output.log

(I have tried it with and without xcompmgr inbetween/before there too,
doesn't matter)

Now, the X server starts, matchbox starts, vdr-sxfe seems to start
without error, but I only get a black screen. No sound, no response to
input.

adding aterm -e infront of vdr-sxfe makes vdr-sxfe start normally again,
but not in an opengl window.

changing my .bashrc to load as from the bare terminal (e.g. just start X ).

I tried several plenty of other combinations, but I just can't get it to
work :S

would have been loads easier if vdr-sxfe would simply act as the most
minimalistic window manager by itself and create the hud window itself.

Anybody got any idea's where to take it from here?

On 01/13/11 18:09, Oliver Schinagl wrote:

 On 01/13/11 15:46, Gerald Dachs wrote:
 On 01/13/11 13:31, Rolf Ahrenberg wrote:
 On Wed, 12 Jan 2011, VDR User wrote:

 And you get VDR's full osd doing this?
 FYI, xineliboutput provides three different OSD implementations:
 xinelib, composite HUD, and opengl HUD. For example the composite HUD
 OSD is drawn directly onto transparent window located exactly over the
 (xine-lib powered) video window and therefore is completely
 independent from the actual video decoding library.
 I'm curious as to how you got the composite and opengl HUD's working, I
 have been far from successful. It appears to just not work at all :S

 Both are working. You need a compositing manager like xcompmgr or compiz
 for the first possibility, or the option --opengl-all (not sure about
 correct typing for the second possibility.
 i'll try --opengl-all then; i have xcompmgr installed, i do have a very
 bare install however, i use aterm -e to launch the client, with aterm
 being my 'window manager'.
 Gerald




 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-sxfe open hug OSD

2011-01-31 Thread Rolf Ahrenberg

On Mon, 31 Jan 2011, Oliver Schinagl wrote:


I'm still having trouble getting this all working. I used
http://www.vdr-portal.de/board/thread.php?postid=818661 to get me
through the setup, without avail. --opengl-all doesn't seem to be a
valid option? Or I can't find anything about it. --hud works however.


$ vdr-sxfe --help
vdr-sxfe 1.0.90-cvs  (build with xine-lib 1.1.90, using xine-lib 1.1.90)
snip
-D, --hud[=flag[,flag]] Head Up Display OSD mode using compositing flags:
xshape  Use XShape instead of compositing
opengl  Use OpenGL instead of compositing
-O, --openglUse OpenGL for video and Head Up Display OSD
snip

--

vdr-sxfe --hud
vdr-sxfe --hud=xshape
vdr-sxfe --hud=opengl
vdr-sxfe --hud=opengl --opengl


would have been loads easier if vdr-sxfe would simply act as the most
minimalistic window manager by itself and create the hud window itself.


Patches are always welcome.

BR,
--
rofa

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-sxfe open hug OSD

2011-01-31 Thread Oliver Schinagl


On 01/31/11 20:45, Rolf Ahrenberg wrote:
 On Mon, 31 Jan 2011, Oliver Schinagl wrote:

 I'm still having trouble getting this all working. I used
 http://www.vdr-portal.de/board/thread.php?postid=818661 to get me
 through the setup, without avail. --opengl-all doesn't seem to be a
 valid option? Or I can't find anything about it. --hud works however.

 $ vdr-sxfe --help
 vdr-sxfe 1.0.90-cvs  (build with xine-lib 1.1.90, using xine-lib 1.1.90)
 snip
 -D, --hud[=flag[,flag]] Head Up Display OSD mode using compositing flags:
 xshape  Use XShape instead of compositing
 opengl  Use OpenGL instead of compositing
 -O, --openglUse OpenGL for video and Head Up Display OSD
 snip

 --

 vdr-sxfe --hud
 vdr-sxfe --hud=xshape
 vdr-sxfe --hud=opengl
 vdr-sxfe --hud=opengl --opengl
but no --opengl-all

I will shamefully admit that I forgot to revisit those options and check
those out.

 would have been loads easier if vdr-sxfe would simply act as the most
 minimalistic window manager by itself and create the hud window itself.

 Patches are always welcome.
I'm still using an older 1.6 package, once I'll get a 1.7 snapshot
going, i'll work on it


 BR,
 -- 
 rofa

 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr