Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55846 - mplayerplug-in should have gtk and gtk2 USE flags
Summary: mplayerplug-in should have gtk and gtk2 USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-01 21:10 UTC by Paul Varner (RETIRED)
Modified: 2004-11-09 07:23 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 Paul Varner (RETIRED) gentoo-dev 2004-07-01 21:10:57 UTC
I have Firefox emerged with the -gtk2 USE flag, because I can't stand the look and feel of Firefox when compiled with GTK2.  Anyhow, I also have mplayerplug-in emerged.  When configure is run for mplayerplug-in, it detects which GTK library is installed and uses it.  You have the options of using GTK1, GTK2, X, or none of the above.  In my case, mplayerplug-in compiled against the GTK2 library because of this.  When I try to use the plugin on certain sites, I get the following error message: "Toolkit mismatch mozilla(GTK1), plug-in (GTK2)"

I can currently work around the issue using EXTRA_ECONF="--enable-gtk1"

Reproducible: Always
Steps to Reproduce:
1. env USE="-gtk2" emerge mozilla-firefox
2. emerge mplayerplug-in


Actual Results:  
mplayerplug-in fails with a Toolkit Mismatch error message

Expected Results:  
The choice of libraries should be decided through USE flags

Portage 2.0.51_pre12 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.4.20040619-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts artswrappersuid audiofile avi berkdb cdr crypt cups dvd
encode fam fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib java javascript jpeg kde
libg++ libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail
mpeg ncurses nls nptl oggvorbis opengl pam pda pdflib perl png ppds python qt
quicktime readline sasl sdl slang spell sse ssl svga tcltk tcpd tiff truetype
usb x86 xml2 xmms xv zlib linguas_en"
Comment 1 Rafael Lukas Moe 2004-09-27 06:07:18 UTC
If I'm not completely mistaking there should also be an X option for the following compile option:

--enable-x
Comment 2 Chris White (RETIRED) gentoo-dev 2004-11-09 07:23:03 UTC
Fixed in the latest mplayerplug-in "gtk2" enables gtk2 and "-gtk2" enables gtk1.