Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86156 - mupen64 gtk2 use flags doesn't work without gtk1 installed
Summary: mupen64 gtk2 use flags doesn't work without gtk1 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 10:39 UTC by Arnaud Lech
Modified: 2005-03-24 21:43 UTC (History)
0 users

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


Attachments
gtk2 patch (mupen64-gtk2-makefile.patch,4.77 KB, patch)
2005-03-21 10:42 UTC, Arnaud Lech
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Lech 2005-03-21 10:39:30 UTC
When I try to emerge mupen64 without gtk+-1.2 installed it failed compiling hack_azi_rsp_hle, mupen64_input and mupen64_sound, complaining about a missing gtk-config (which is gtk 1 only).

Reproducible: Always
Steps to Reproduce:
1. Make sure gtk+-1.2 is not installed
2. do : USE="gtk2" emerge mupen64
3.

Actual Results:  
emerge failed

Expected Results:  
emerge should have worked

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-ck2 i686)
=================================================================
System uname: 2.6.11-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  7 2005, 20:30:03)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ffast-math
-fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ffast-math
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aalib acl alsa apm arts avi bash-completion berkdb bitmap-fonts
cdparanoia cdr crypt cups curl dv dvd dvdread emboss encode fam ffmpeg flac
foomaticdb fortran gif glut gpm gstreamer gtk2 hal icc imagemagick ipv6 java
jikes jpeg junit kde kdeenablefinal lcms libcaca libg++ libwww lirc mad mikmod
mmx motif mp3 mpeg mysql ncurses nls nptl odbc oggvorbis opengl pam pdflib perl
pic png python qt quicktime readline samba sdl slang speex spell sqlite sse ssl
stroke svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts
type1-fonts unicode v4l2 wxwindows xine xinerama xml2 xosd xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Arnaud Lech 2005-03-21 10:42:53 UTC
Created attachment 54071 [details, diff]
gtk2 patch

here is a modified mupen64-gtk2-makefile.patch that modify the 3 others
Makefiles to use pkg-config and do the stuff with gtk2
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-03-21 10:47:53 UTC
This bug may be valid.  However, your use flags are not valid.  Having the gtk2 use flag set without having the gtk use flag set isn't a valid setting.
Comment 3 Arnaud Lech 2005-03-21 11:22:51 UTC
thanks for the remark on use flags, so I added -gtk2 in make.conf and specify "gtk gtk2" for the few packages that needed it.
But that doesn't mean that gtk+-1.2 is going to be installed, so the bug remains valid (and the gtk flag doesn't mean gtk+-1.2).
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-03-24 21:43:55 UTC
Added to portage.  Thanks for the patch and bug report.