Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7000 - transcode needs X at all cost
Summary: transcode needs X at all cost
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-25 03:24 UTC by Markus Bertheau (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Bertheau (RETIRED) gentoo-dev 2002-08-25 03:24:34 UTC
It shouldn't :)
Comment 1 SpanKY gentoo-dev 2002-08-25 15:28:49 UTC
i think the problem is that it requires GTK which in turn requires X

so, can transcode build w/out GTK ?
Comment 2 phoen][x 2002-08-28 09:26:26 UTC
Transcode can be built without gtk+ (Thats the result of a live 1.4 test).
Anyways, libdv WILL merge gtk+ if you dont have "-gtk" in USE.

I'm deleting the gtk dependency now, you might want to give it a try and tell me
if it works.

-phoen][x-
Comment 3 Markus Bertheau (RETIRED) gentoo-dev 2002-08-28 16:10:52 UTC
transcode still needs X because of the libsdl dependency:

amethyst transcode # pwd    
/usr/portage/media-video/transcode
amethyst transcode # ls -l
total 16
-rw-r--r--    1 root     root         2292 Aug 28 16:50 ChangeLog
drwxr-xr-x    2 root     root         4096 Aug 27 00:56 files
-rw-r--r--    1 root     root         2847 Aug 28 16:50 transcode-0.6.0.ebuild
-rw-r--r--    1 root     root         2565 Aug 11 16:20
transcode-0.6.0_pre5-r2.ebuild
amethyst transcode # emerge -p transcode

These are the packages that I would merge, in order.

Calculating dependencies ...done!
[ebuild  N   ] media-libs/svgalib-1.4.3-r1 to /
[ebuild  N   ] x11-base/opengl-update-1.3 to /
[ebuild  N   ] x11-base/xfree-4.2.0-r12 to /
[ebuild  N   ] media-libs/audiofile-0.2.3-r1 to /
[ebuild  N   ] media-libs/libsdl-1.2.4.20020601 to /
[ebuild  N   ] media-libs/libdv-0.98 to /
[ebuild   R  ] media-video/transcode-0.6.0 to /

amethyst transcode # 
Comment 4 phoen][x 2002-08-29 02:53:07 UTC
Hey Markus,

whats in your USE?

-phoen][x-
Comment 5 Markus Bertheau (RETIRED) gentoo-dev 2002-08-29 16:41:56 UTC
USE="pam tcpd ssl -gnome -gtk postgres mmx -X -kde -qt -arts -qtmt -bonobo -evo
-gb -gtkhtml -aalib readline -sdl -gif png jpeg tiff avi mpeg quicktime encode
crypt imap -mozilla -spell truetype xml2 xml -tetex libg++ nls"

And libsdl is a non-optional dependency:

/usr/portage/media-video/transcode/transcode-0.6.0.ebuild:

<snip>
DEPEND=">=media-libs/a52dec-0.7.3
        >=media-libs/libdv-0.9.5
        media-libs/libsdl
        dev-lang/nasm
        X? ( virtual/x11 )
        avi? ( >=media-video/avifile-0.7.4 )
        dvd? ( media-libs/libdvdread )
        mpeg? ( media-libs/libmpeg3 )
        encode? ( >=media-sound/lame-3.89 )
        quicktime? ( media-libs/quicktime4linux )
        >=media-video/avifile-0.7.4
        media-libs/libdvdread"
<snip>
Comment 6 phoen][x 2002-08-30 11:36:38 UTC
I made sdl an optional dependency.

Still bugs around? 

-phoen][x-
Comment 7 Markus Bertheau (RETIRED) gentoo-dev 2002-08-30 20:06:20 UTC
Let's just say:

amethyst root # emerge -p transcode

These are the packages that I would merge, in order.

Calculating dependencies ...done!
[ebuild  N   ] media-libs/quicktime4linux-1.5.5-r1 to /
[ebuild  N   ] x11-base/opengl-update-1.3 to /
[ebuild  N   ] x11-base/xfree-4.2.0-r12 to /
[ebuild  N   ] media-libs/libdv-0.98 to /
[ebuild   R  ] media-video/transcode-0.6.0 to /

amethyst root # 
Comment 8 phoen][x 2002-08-31 08:57:43 UTC
Maybe you should set "-xv", no?

-phoen][x-
Comment 9 Markus Bertheau (RETIRED) gentoo-dev 2002-08-31 09:20:48 UTC
Indeed, that works. Not sure where that information is best placed, I don't find
it especially obvious. Thanks.
Comment 10 phoen][x 2002-08-31 10:05:15 UTC
Well /usr/portage/profiles/use.desc says:

xv - Adds in optional support for the Xvideo extension (an X API for video playback)

If you have a better solution, post it here - i would love to discuss about it.

-phoen][x-
Comment 11 Markus Bertheau (RETIRED) gentoo-dev 2002-08-31 10:28:04 UTC
Maybe there can be use dependencies. Like, if you have -X, every use variable
that depends on X is also unset.
Comment 12 phoen][x 2002-08-31 11:16:07 UTC
Hey markus.

We use the USEflags to add certain features to a package. Ie.: "-X" doesn't mean
that you dont want X but it means that you don't want special X-features (fex a
gui) in packets who support this. In that case, it doesn't make sense to add USE
dependencies to portage (because USE="xv" doesn't say that X is not installed)

-phoen][x-