Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111330 - x11-libs/wxGTK: Even with USE=unicode, the --enable-unicode option is never set
Summary: x11-libs/wxGTK: Even with USE=unicode, the --enable-unicode option is never set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 01:36 UTC by Frédéric COIFFIER
Modified: 2005-11-07 11:01 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 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.