Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

wxGTK and unicode mode

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Japher
n00b
n00b
Posts: 18
Joined: Sat Jul 12, 2003 9:43 pm

wxGTK and unicode mode

  • Quote

Post by Japher » Sat Dec 31, 2005 2:32 pm

Trying to build wxGTK with unicode support.

emerge -pv wxGTK reports
[ebuild N ] x11-libs/wxGTK-2.6.1 -debug -doc +gnome +gtk2 -joystick -odbc +opengl +sdl +unicode -wxgtk1 0 kB

which implies that both gtk2 and unicode will be used.

Yet, while the emerge is running I see this:

Configured wxWidgets 2.6.1 for `i686-pc-linux-gnu'

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
[b]Should wxWidgets be compiled in Unicode mode? no[/b] <-- note it says no unicode
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.2 no
wxWidgets 2.4 yes

and of course the resulting build has no unicode.

Additionally, I have tried adding to package.use and on the command line... something, somewhere is
overriding the directives and I'm just not seeing it.

Any suggestions?
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Sat Dec 31, 2005 3:22 pm

doesn't 'equery uses wxGTK' show

Code: Select all

+ + unicode : Adds support for Unicode
"I am not bound to please thee with my answers" W.S.
Top
Japher
n00b
n00b
Posts: 18
Joined: Sat Jul 12, 2003 9:43 pm

  • Quote

Post by Japher » Sat Dec 31, 2005 7:29 pm

[quote]doesn't 'equery uses wxGTK' show [/quote]

equery doesn't exist on my current install .. any idea what ebuild contains it ?
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Sat Dec 31, 2005 7:36 pm

Japher wrote:
doesn't 'equery uses wxGTK' show
equery doesn't exist on my current install .. any idea what ebuild contains it ?

Code: Select all

# equery belongs equery
[ Searching for file(s) equery in *... ]
app-portage/gentoolkit-0.2.2_pre1 (/usr/bin/equery)
"I am not bound to please thee with my answers" W.S.
Top
Japher
n00b
n00b
Posts: 18
Joined: Sat Jul 12, 2003 9:43 pm

  • Quote

Post by Japher » Sat Dec 31, 2005 8:32 pm

equery uses wxGTK
[code][ Searching for packages matching wxGTK... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-libs/wxGTK-2.4.2-r3 ]
U I
- - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
- - wxgtk1 : <unknown>
+ + gtk2 : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
- - odbc : Adds ODBC Support (Open DataBase Connectivity)
+ + opengl : Adds support for OpenGL
- - unicode : Adds support for Unicode
[ Found these USE variables for x11-libs/wxGTK-2.6.1 ]
U I
+ + gnome : Adds GNOME support
+ + gtk2 : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
- - joystick : Add support for joysticks in all packages
- - odbc : Adds ODBC Support (Open DataBase Connectivity)
+ + opengl : Adds support for OpenGL
+ + sdl : Adds support for Simple Direct Layer (media library)
- - wxgtk1 : <unknown>
- - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
- - doc : Adds extra documentation (API, Javadoc, etc)
- - odbc : Adds ODBC Support (Open DataBase Connectivity)
- - unicode : Adds support for Unicode
[/code]
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Sun Jan 01, 2006 6:08 am

and do you have unicode in your make.conf USE flags? Here are mine..

Code: Select all

USE="a52 aac cddb cdparanoia dvd dvdr dvdread faad javascript live lm_sensors
     mmx network nptl ppds real rtc sse sse2 theora unicode win32codecs -avi
     -fortran -gnome -gtk"
"I am not bound to please thee with my answers" W.S.
Top
zolxd
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Feb 14, 2003 2:08 am

  • Quote

Post by zolxd » Sun Jan 01, 2006 12:50 pm

Rats. I thought this would have some bearing on my problem.

(Oddly, USE="-unicode" emerge wxGTK appeared to leave unicode set according to equery uses wxGTK, so I ended up putting it in /etc/make.conf even though I generally want unicode support... )
core i7 + ati 5400 on GA-P55
Top
MmmmJoel
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Fri Jan 24, 2003 5:16 am

  • Quote

Post by MmmmJoel » Sun Jan 15, 2006 6:53 pm

http://bugs.gentoo.org/show_bug.cgi?id=112073

wxGTK-2.6.* with unicode USE do not compile as unicode
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

  • Quote

Post by rhill » Mon Jan 16, 2006 2:17 am

it builds two versions. one with and one without unicode. if you watch the compile, you should see it go through the configure twice.
by design, by neglect
for a fact or just for effect
Top
Orific
n00b
n00b
Posts: 67
Joined: Fri Oct 14, 2005 2:41 pm

  • Quote

Post by Orific » Thu Jun 08, 2006 7:43 am

dirtyepic wrote:it builds two versions. one with and one without unicode. if you watch the compile, you should see it go through the configure twice.
OK. And I was just wondering: wouldn't it be possible to make it compile once only ? It would help saving a lot of time, since this compile is really long.
Or is it absolutely necessary ? Do some applications need the no unicode version ?
Top
squeegee
n00b
n00b
Posts: 10
Joined: Fri Nov 04, 2005 9:06 am

  • Quote

Post by squeegee » Sun Mar 09, 2008 3:21 pm

Since an app I wanted required 2.6* of wxGTK and I also had 2.8.7, using only a plain

x11-libs/wxGTK X unicode

line in package.use did not add unicode support to 2.6.4.

/usr/lib/wx/config contained

gtk2-ansi-release-2.6
gtk2-unicode-release-2.8


What did work was having a line for 2.6.4 and another line for 2.8.7 in package.use:

=x11-libs/wxGTK-2.6.4.0-r3 X unicode
>=x11-libs/wxGTK-2.8.7.1-r1 X unicode

and then

emerge -av =x11-libs/wxGTK-2.6.4.0-r3

did add unicode to 2.6.4.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic