Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10339 - em8300-libraries don't require gtk+
Summary: em8300-libraries don't require gtk+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-06 14:22 UTC by Andrew Walters
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Andrew Walters 2002-11-06 14:22:27 UTC
I realize the em8300 configure script checks for gtk, but why does the ebuild
list it as needed? It ought to check the USE flags for gtk. I use the em8300
modules on a headless machine, no XFree or gtk to be found.

To get around it having to compile XFree and gtk, I removed gtk from the depend
and had to manually symlink the microcode upload script to /usr/bin/em8300init.
Works great now.
Comment 1 tarty 2002-11-11 11:59:48 UTC
As you can read in the FAQ at the dxr3 drivers page, with the drivers come an
utility called dhc, that let you change the aspect ratio of the output, or the
TV norm.
This utility is very usefull because em8300 compiles directly and without asking
with NTSC support, an i you use PAL you are f$%&?
Comment 2 tarty 2002-11-11 11:59:48 UTC
As you can read in the FAQ at the dxr3 drivers page, with the drivers come an
utility called dhc, that let you change the aspect ratio of the output, or the
TV norm.
This utility is very usefull because em8300 compiles directly and without asking
with NTSC support, an i you use PAL you are f$%&?ยก.
Should be so dificult to add a propmt asking to select the tvt norm compiled in
the driver while emergen? (with a countdown and ntsc as default for batch emerge).

P.S: lastest version is 0.13.0
P.S2: lastest mplayer supports dxr3 overlay.(pre10)
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2003-01-05 21:58:57 UTC
For the record, below is a patch I received in email from Steven Brookes
<stevenjb@mda.co.uk>.

--- /usr/portage/media-video/em8300-libraries/em8300-libraries-0.13.0.ebuild
2002-12-15 09:05:07.000000000 +0000
+++ em8300-libraries-0.13.0.ebuild      2002-12-30 21:49:00.000000000 +0000
@@ -8,13 +8,13 @@
 SRC_URI="mirror://sourceforge/dxr3/${P/-libraries/}.tar.gz"

 DEPEND="media-video/em8300-modules
-       x11-libs/gtk+"
+       gtk? (x11-libs/gtk+)"

 SLOT="0"
 LICENSE="GPL-2"
+IUSE="gtk"
 KEYWORDS="x86"

-
 src_unpack () {

        unpack ${A}
@@ -49,6 +49,13 @@
        rm microcode_upload.pl.old
        cd ${S}

+       cd ${S}/em8300setup
+       mv em8300setup.c em8300setup.c.old
+       sed -e "s:/usr/share/misc/em8300.uc:/usr/share/em8300/em8300.uc:g" \
+               < em8300setup.c.old > em8300setup.c
+       rm em8300setup.c.old
+       cd ${S}
+
        make em8300incdir=${D}/usr/include/linux/ \
                prefix=${D}/usr \
                datadir=${D}/usr/share \
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2003-01-05 22:07:03 UTC
Should be fixed in 0.13.0-r1.  Thanks for the report.  The ebuild is masked as
~x86 because I cannot test it for the lack of hardware.  Please test and report
here, so that I could mark the package stable...

As for comment #1, I'm afraid that portage does not support interaction.  In the
future, the above should be possible when the USE flags mechanism is improved.
Comment 5 Arcady Genkin (RETIRED) gentoo-dev 2003-01-05 22:07:29 UTC
Closing this one.