Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/vlc-0.8.6c not working with x11-libs/wxGTK
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Sep 30, 2007 12:10 pm    Post subject: media-video/vlc-0.8.6c not working with x11-libs/wxGTK Reply with quote

hi,
i'm emerging media-video/vlc-0.8.6c

i know VLC needs "sys-apps/pciutils" compiled without zlib, so i unmerged, and re-emerged it with out the zlib USE flag
Then i emerged media-video/vlc

... a lot of time later

200lines of warning: "element comment: error: reference to namespace not in scope"
(what does it mean ???)

Apparently it seems it has been emerged correctly, but invoking it in an X11 terms is showing the vxwindows interface is not working

about the X11 interface:
it should be correctly emerged as i set ""X gtk wxwindows x11 skins" in the /etc/make.conf's USE flags
... but it doesn't

also emerge --unmerge media-video/vlc is reporting a lot of errors
200lines of warning: "element comment: error: reference to namespace not in scope"




my USE flags

Code:

USE="X a52 aac aalib alsa altivec arts asterisk background bidi binfilter blas
     branding bzip2 cdaudio cdda cddb cdio cdparanoia cdr cdrom daap dbus
     debug dts dvb dvd encode esd fbcon fbdev ffmpeg firefox flac freetype gcj
     ggi gif gnome gnutls gtk gzip2 hal http httpd ieee1394 imlib jack java
     javascript jpeg jpeg2k lame libcaca libnotify live mad matroska mod mp2
     mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpi msn musepack nsplugin ogg old
     openssh pdf png rtsp ruby screen sdl sdl-image sdl-sound sdlaudio shout
     skins sox speex spell stream streamripper svg tcl theora tiff truetype
     upnp utils v4l v4l2 valgrind vcd vlm vorbis wxwindows x11 xml xpm xprint
     xterm xv -crypt -ipv6 -zlib"



about the USE flags related to VLC
(a full list if from http://gentoo-portage.com/media-video/vlc )

Code:

(*) Audio and video codecs
dts Enables libdts (DTS Coherent Acoustics decoder) support
live enables Live.com streaming media support
matroska adds support for playback of Matroska-container audio/video files
real uses RealPlayer codecs for audio/video playback
theora to play Ogg Theora video files
win32codecs installs the binary codecs **
Note: only (masked) newer vlc versions currently support win32codecs

(*) Audio and video output
aac adding this USE flag *should* add support for MP4/AAC audio (typically the audio stream used in H.264-encoded movies). By default, it will be ignored even if included as a USE flag. The solution is to first build ffmpeg with the aac flag (simply add it to /etc/make.conf if you like), and then build VLC with mpeg. See this Gentoo forum post for more details on this.
aalib adds support for ASCII output (see libcaca for color)
alsa adds support for ALSA (Advanced Linux Sound Architecture) audio output/recording
arts adds support for audio output through aRts
esd adds support for audio output through EsounD
fbcon adds framebuffer output option for video
ggi adds support for the LibGGI graphics card drivers
libcaca adds support for color ASCII output (see aalib for non-color ASCII)
opengl lets you use OpenGL for video output
oss adds OSS audio output/recording support
png snapshot support(?)
sdl adds SDL (Simple Direct Layer) as an audio and/or video output wrapper
speex Adds support for the speex audio codec
svga adds framebuffer support through SVGAlib
vorbis Adds support for the Ogg Vorbis audio codec
xinerama adds support for dual-screen output
xv direct video output format
x264 adding this USE flag adds support for H.264 MPEG4 which can be used to view encoded movies suitable for Playstation 3

(*) Hardware support
3dfx Adds support for 3dfx video cards
dvd will let you play DVDs
joystick enables joystick support
lirc uses LIRC library for remote controls
v4l to watch/record TV (see also dvb)

(*) Interface
ncurses a command-line interface
skins adds support for GUI skins
wxwindows will also install an VLC gui (using WxGTK)
xosd Sends display using the X On Screen Display library
lirc adds support for lirc
http Web frontend
telnet Telnet interface to vlm
rc TCP, socket, and pipe based interface to vlc and vlm

(*) Optional features
bidi adds support for FriBiDi libraries
ipv6 adds support for IPv6
samba enables Samba input support



ufed doen't report "WxGTK"

i compiled on apple aluminium 1.6Ghz machine
with gcc.4.1.2 binutils 2.17, kernel 2.6.21
CFLAGS optimized for G4 + altivec
the portage has been synched and the world has been updated



also: why vlc requires to read /src/linux/* ?


Last edited by ddc on Mon Oct 01, 2007 1:12 pm; edited 6 times in total
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Sep 30, 2007 12:15 pm    Post subject: Reply with quote

i'd like to run vlc as root
when i invoke it in an x11-xterm i only get a warning message without any x11 interface


i see this

Code:

[root@vittoria]# vlc
VLC media player 0.8.6c Janus
***************************************
* Running VLC as root is discouraged. *
***************************************

 It is potentially dangerous, and might not even work properly.


what is the meaning or "it might not work properly" ?

also, in the VLC guide it is reported to set "WxGTK" in the USE flages
but ufed is not reporting any "WxGTK" in his list

x11-libs/WxGTK uses "X, debug, gnome, sdl, unicode, doc, joystic, odbc, opengl"
in my environment: "X, debug, gnome, sdl, unicode, -doc, -joystic, -odbc, -opengl"
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 01, 2007 5:56 am    Post subject: Reply with quote

You should not run as root, exactly as the message says, it's insecure and strongly discouraged.

I don't know what VLC guide you're reading, but the correct use flag is wxwindows. WxGTK was renamed to wxwindows quite a while ago.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Mon Oct 01, 2007 7:44 am    Post subject: Reply with quote

JoseJX wrote:
You should not run as root, exactly as the message says, it's insecure and strongly discouraged.

I don't know what VLC guide you're reading, but the correct use flag is wxwindows. WxGTK was renamed to wxwindows quite a while ago.



well, i did

Code:

USER="toor"
useradd --home-dir /$USER --shell /bin/bash --create-home --groups users,audio,wheel --comment "$USER is not root" $USER


then i run X11, i opened an xterm, i login as toor, i export DISPLAY=myIP:0.0
xcalc is working

vlc is not, as i described before: no interface

what is not ok with this ?

also, in 2005.1, when i emerged VLC, i always use it as root without any problems
have you seen the warning message from emerging media-video/vlc ?


Code:

element comment: error: Reference to default namespace not in scope
element comment: error: Reference to default namespace not in scope
element comment: error: Reference to default namespace not in scope
element comment: error: Reference to default namespace not in scope
...
element comment: error: Reference to default namespace not in scope
element comment: error: Reference to default namespace not in scope
element comment: error: Reference to default namespace not in scope


What does it mean ?


if i emerge --unmerge x11-libs/wxGTK and i invoke VLC, i see the VLC X11 interface (i see it, but obviously it can't be working this way, but i see it: with the wxGTK correctly emerge i can't see nothing).

What does it mean ?
(i'm using x11-libs/wxGTK-2.6.3.3 ppc, and i tested the 2.6.4.0 ~ppc)


does somebody correctly emerge this VLC with an X11 interface (wxwindows) ?
if so, can tell me how to correctly emerge it ? thank you
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Mon Oct 01, 2007 8:45 am    Post subject: Reply with quote

inside the /usr/portage/media-video/vlc-0.8.6c.ebuild
about the USE flags

Code:

KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE="a52 3dfx debug altivec httpd vlm gnutls live v4l cdda ogg matroska
dvb dvd vcd dts flac mpeg vorbis theora X opengl truetype svg fbcon svga
oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc stream
mp3 xv bidi sdl sdl-image png xml samba daap corba mod speex shout rtsp
win32codecs skins hal avahi xinerama cddb directfb upnp nsplugin seamonkey
optimisememory libnotify jack musepack x264 dc1394"



about the interfaces

Code:

RDEPEND="
      wxwindows? ( >=x11-libs/wxGTK-2.6.2-r1 )
      skins? ( >=x11-libs/wxGTK-2.6.2-r1
         media-libs/freetype
         media-fonts/ttf-bitstream-vera )
      ncurses? ( sys-libs/ncurses )
      xosd? ( x11-libs/xosd )



and i'm including "wxwindows skins ncurses xosd" in my /etc/make.conf USE flag
so they should be correctly compiled: they should, but they aren't


Last edited by ddc on Mon Oct 01, 2007 9:40 am; edited 2 times in total
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Mon Oct 01, 2007 9:37 am    Post subject: Reply with quote

Launched VLC with the following command-line:

Code:

vlc -I skins2 myfilm.avi


not working: no video, no audio, no inteface


Code:

vlc -I ncurses myfilm.avi


100% working: video, audio, text interface

Code:

vlc -I xosd myfilm.avi


i see "init xosd interface", and suddenly the movie windows has appeared (without any interface)

ummm this means there are problems witk skins2 and wxwindows: both using the wxGTK library
i emerged other apps using this library: for example app-admin/gtkdiskfree, that is is well working
so i conclude the problem is related to the last version of VLC, not to the last version of x11-libs/wxGTK


... i don't know
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum