[gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Stefano Guglia

hello!

I need to emerge mplayer and mythtv without x, framebuffer only. How can I 
pass --without-x and other options to ./configure during emerge process?
(-x in USE flag does not work: 'emerge mplayer' still needs xorg...)

thanks..
Stefano.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread azz
CMIIW, i think it's USE=-gtk emerge -av mplayer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Holly Bostick
Stefano Guglia schreef:
 hello!
 
 I need to emerge mplayer and mythtv without x, framebuffer only. How can I 
 pass --without-x and other options to ./configure during emerge process?
 (-x in USE flag does not work: 'emerge mplayer' still needs xorg...)
 
 thanks..
 Stefano.

Just to get the obvious out of the way, the USE flag is X (uppercase),
not x (lower case).

Was that a typo? It should work with -X set in either /etc/make.conf or
/etc/portage/package.use (for mPlayer only).

You'd probably also want +fbcon--

 useflag fbcon
/usr/portage/profiles/use.desc:fbcon - Adds framebuffer support for the
console, via the kernel

... and of course you'd want an appropriate framebuffer driver compiled
into your kernel, and the modules for said framebuffer device loaded.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Stefano Guglia
 Just to get the obvious out of the way, the USE flag is X (uppercase),
 not x (lower case).
 
 Was that a typo? It should work with -X set in either /etc/make.conf or
 /etc/portage/package.use (for mPlayer only).

yes: I use ufed so no way to get a wrong make.conf..
 
 You'd probably also want +fbcon--

here is my USE:

bluetooth bootsplash cdrom divx4linux dv dvb dvd dvdr dvdread fb fbcon
ffmpeg freetype ieee1394 image imlib2 irda matrox mixer mjpeg mod
mplayer mythtv network nfs rar real reiserfs subp subtitles usb v4l
v4l2 vcd win32codecs -X -arts -berkdb -bitmap-fonts -emboss
-foomaticdb -gnome -gpm -gtk -gtk2 -imlib -ipv6 -kde -libg++ -motif
-nls -oggvorbis -opengl -oss -pdflib -perl -qt -spell -truetype
-truetype-fonts -type1-fonts -xml2 -xmms -xv

 
  useflag fbcon
 /usr/portage/profiles/use.desc:fbcon - Adds framebuffer support for the
 console, via the kernel
 
 ... and of course you'd want an appropriate framebuffer driver compiled
 into your kernel, and the modules for said framebuffer device loaded.

fb side looks ok

 
 Hope this helps,
 Holly

thanks...
stefano
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Stefano Guglia
Alle 11:56, giovedì 23 giugno 2005, azz ha scritto:
 CMIIW, i think it's USE=-gtk emerge -av mplayer

hereis the result on my side:

-

Calculating dependencies ...done!
[ebuild  N] x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow -bitmap-fonts -cjk 
-debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers -ipv6 
-minimal -mmx -nls -opengl +pam -sdk -sse -static -truetype-fonts 
-type1-fonts (-uclibc) -xprint -xv 0 kB
[ebuild  N] app-arch/rpm2targz-9.0-r2  2 kB
[ebuild  N] sys-apps/utempter-0.5.5.5-r1  -debug 20 kB
[ebuild  N] x11-terms/xterm-200-r3  -Xaw3d -debug -toolbar -truetype 
-unicode 681 kB
[ebuild  NS   ] dev-libs/glib-2.6.4  -debug -doc -hardened -static 2,321 kB
[ebuild  N] x11-libs/pango-1.8.1  -debug -doc -static 973 kB
[ebuild  N] dev-libs/atk-1.9.1  -debug -doc -static 472 kB
[ebuild  N] dev-perl/XML-Parser-2.34  224 kB
[ebuild  N] dev-util/intltool-0.31.2  121 kB
[ebuild  N] dev-libs/libxml2-2.6.17  -debug -ipv6 +python +readline 2,995 
kB
[ebuild  N] x11-misc/shared-mime-info-0.16  735 kB
[ebuild  N] x11-libs/gtk+-2.6.7  -debug -doc +jpeg -static -tiff 11,174 kB
[ebuild  N] media-video/realplayer-10.0.4  -mozilla 6,486 kB
[ebuild  N] sys-libs/lib-compat-1.4  +sdl 3,090 kB
[ebuild  N] media-libs/divx4linux-20030428-r1  405 kB
[ebuild  N] media-video/mplayer-1.0_pre6-r4  -3dfx -3dnow -3dnowext -X 
-aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug -dga -directfb 
+divx4linux -doc -dts +dv +dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi 
+gif -gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad 
-matroska+matrox -mmx -mmxext +mpeg +mythtv -nas -nls -nvidia -oggvorbis 
-opengl -oss +png +real -rtc -samba +sdl -sse -sse2 +svga -tga -theora 
-truetype +v4l +v4l2 -xanim -xinerama -xmms -xv -xvid -xvmc 6,927 kB

---
xorg still there... still cannot understand how to merge compile options and 
USE flag in an emerge statement...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Neil Bothwick
On Thu, 23 Jun 2005 12:46:53 +0200, Stefano Guglia wrote:

 xorg still there... still cannot understand how to merge compile
 options and USE flag in an emerge statement...

EXTRA_ECONF=--disable-some-option emerge package

often works, depending on the ebuild.


-- 
Neil Bothwick

If you only have a hammer, you tend to see every problem as a nail. *
Maslow


pgpI6aU68Jrmh.pgp
Description: PGP signature


Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Holly Bostick
Stefano Guglia schreef:
 Alle 11:56, giovedì 23 giugno 2005, azz ha scritto:
 
CMIIW, i think it's USE=-gtk emerge -av mplayer
 
 
 hereis the result on my side:
 
 -
 

 [ebuild  N] media-video/realplayer-10.0.4  -mozilla 6,486 kB
 [ebuild  N] media-video/mplayer-1.0_pre6-r4  -3dfx -3dnow -3dnowext -X 
 -aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug -dga -directfb 
 +divx4linux -doc -dts +dv +dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi 
 +gif -gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad 
 -matroska+matrox -mmx -mmxext +mpeg +mythtv -nas -nls -nvidia -oggvorbis 
 -opengl -oss +png +real -rtc -samba +sdl -sse -sse2 +svga -tga -theora 
 -truetype +v4l +v4l2 -xanim -xinerama -xmms -xv -xvid -xvmc 6,927 kB
 


I could be wrong-- and an emerge --tree would be more helpful here, but
is it possible to compile realplayer -X? I don't think so; I think
realplayer is what depends on X, and so it's the +real in the mplayer
USE flags that's bringing it in.

Just a second, let me check... the realplayer ebuild depends on

MY_PN=RealPlayer
DESCRIPTION=Real Media Player
HOMEPAGE=https://player.helixcommunity.org/2004/downloads/;
SRC_URI=https://helixcommunity.org/download.php/1145/${MY_PN}-${PV}.750-20050401.i586.rpm;
LICENSE=HBRL
SLOT=0
KEYWORDS=-* x86 ~amd64
IUSE=mozilla

# take this out until I get the realplayer source
# build sorted out. - ChrisWhite
# RDEPEND=!media-video/realplayer
RDEPEND==dev-libs/glib-2
=x11-libs/pango-1.2
=x11-libs/gtk+-2.2
amd64? ( app-emulation/emul-linux-x86-gtklibs )

and the GTK  (2.6.8) ebuild depends on
RDEPEND=virtual/x11
=dev-libs/glib-2.6
=dev-libs/atk-1.0.1
=x11-libs/pango-1.8
x11-misc/shared-mime-info
=media-libs/libpng-1.2.1
jpeg? ( =media-libs/jpeg-6b-r2 )
tiff? ( =media-libs/tiff-3.5.7 )

So, yes, the realplayer cannot be built without gtk, which in turn
depends on X.

So maybe try taking the real out of the mplayer USE flags, and it
should work fine. You would then be giving up the capability of playing
Real files, but there might be codecs available that would give you this
without needing to install RealPlayer (and therefore X). Check the
mPlayer site.

HTH,
Holly


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Niklas Herder
Stefano Guglia wrote:
 [ebuild  N] media-video/mplayer-1.0_pre6-r4  -3dfx -3dnow -3dnowext -X 
 -aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug -dga -directfb 
 +divx4linux -doc -dts +dv +dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi 
 +gif -gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad 
 -matroska+matrox -mmx -mmxext +mpeg +mythtv -nas -nls -nvidia -oggvorbis 
 -opengl -oss +png +real -rtc -samba +sdl -sse -sse2 +svga -tga -theora 
 -truetype +v4l +v4l2 -xanim -xinerama -xmms -xv -xvid -xvmc 6,927 kB
 
 ---
 xorg still there... still cannot understand how to merge compile options and 
 USE flag in an emerge statement...
 

Isn't sdl dependent on X?
Try removing that.

/N
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerging mplayer with compile option --without-x

2005-06-23 Thread Stefano Guglia
 I could be wrong-- and an emerge --tree would be more helpful here, but
 is it possible to compile realplayer -X? I don't think so; I think
 realplayer is what depends on X, and so it's the +real in the mplayer
 USE flags that's bringing it in.
 
 Just a second, let me check... the realplayer ebuild depends on
 
 MY_PN=RealPlayer
 DESCRIPTION=Real Media Player
 HOMEPAGE=https://player.helixcommunity.org/2004/downloads/;
 
SRC_URI=https://helixcommunity.org/download.php/1145/${MY_PN}-${PV}.750-20050401.i586.rpm;
 LICENSE=HBRL
 SLOT=0
 KEYWORDS=-* x86 ~amd64
 IUSE=mozilla
 
 # take this out until I get the realplayer source
 # build sorted out. - ChrisWhite
 # RDEPEND=!media-video/realplayer
 RDEPEND==dev-libs/glib-2
 =x11-libs/pango-1.2
 =x11-libs/gtk+-2.2
 amd64? ( app-emulation/emul-linux-x86-gtklibs )
 
 and the GTK  (2.6.8) ebuild depends on
 RDEPEND=virtual/x11
 =dev-libs/glib-2.6
 =dev-libs/atk-1.0.1
 =x11-libs/pango-1.8
 x11-misc/shared-mime-info
 =media-libs/libpng-1.2.1
 jpeg? ( =media-libs/jpeg-6b-r2 )
 tiff? ( =media-libs/tiff-3.5.7 )
 
 So, yes, the realplayer cannot be built without gtk, which in turn
 depends on X.
 
 So maybe try taking the real out of the mplayer USE flags, and it
 should work fine. You would then be giving up the capability of playing
 Real files, but there might be codecs available that would give you this
 without needing to install RealPlayer (and therefore X). Check the
 mPlayer site.
 
 HTH,
 Holly

right! I reassigned USE values from scratch and now works. It helped also 
reading the script 
(/usr/portage/media-video/mplayer/mplayer-1.0_pre6-r4.ebuild):

...
if use !gtk  use !X  use !xv  use !xinerama; then
myconf=${myconf} --disable-gui --disable-x11 --disable-xv
--disable-xmga --disable-xinerama --disable-vm --disable-xvmc
else
...

thank you all..!
-- 
gentoo-user@gentoo.org mailing list