Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111330

Summary: x11-libs/wxGTK: Even with USE=unicode, the --enable-unicode option is never set
Product: Gentoo Linux Reporter: Frédéric COIFFIER <fcoiffie>
Component: New packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED INVALID    
Severity: normal CC: radek
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frédéric COIFFIER 2005-11-03 01:36:58 UTC
In my USE, I have 'unicode' but when I compile wxGTK-2.6.1, I have the 
following output : 
 
/var/tmp/portage/wxGTK-2.6.1/work/wxWidgets-2.6.1/configure --prefix=/usr 
--host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--build=i686-pc-linux-gnu --disable-debugreport --with-zlib --disable-debug 
--disable-debug_gdb --with-png --with-jpeg --with-tiff --enable-opengl 
--with-opengl --without-gnomeprint --with-sdl --disable-joystick --with-gtk=2 
--without-odbc 
 
... 
 
checking for --enable-unicode... no 
 
... 
 
  Which GUI toolkit should wxWidgets use?                 GTK+ 2 
  Should wxWidgets be compiled into single library?       no 
  Should wxWidgets be compiled in debug mode?             no 
  Should wxWidgets be linked as a shared library?         yes 
  Should wxWidgets be compiled in Unicode mode?           no 
  What level of wxWidgets compatibility should be enabled? 
                                       wxWidgets 2.2      no 
                                       wxWidgets 2.4      yes 
 
 
If 'unicode' is in USE flags, I think unicode should be enabled during wxGTK 
compilation. 

Reproducible: Always
Steps to Reproduce:
1. emerge =x11-libs/wxGTK-2.6.1 
2. 
3. 
 


Expected Results:  
--enable-unicode added when USE=unicode 

A solution could be to replace in wxGTK-2.6.1.ebuild : 
 
        use gtk2 && \ 
                configure_build gtk2 unicode "${myconf} --with-gtk=2" 
 
 
by 
 
        use gtk2 && \ 
                configure_build gtk2 unicode "${myconf} --with-gtk=2 
--enable-unicode"
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-11-07 11:01:00 UTC
It does install the unicode version but also the ansi version because several
packages are broken and don't work with unicode yet (audacity, bochs etc.)

So until all packages are fixed upstream to work with unicode, we're stuck with
having both libs.