diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-07-09 00:59:07 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-07-09 00:59:07 +0000 |
commit | e9bf35712269ce8b10019694ac042490d86f5995 (patch) | |
tree | 4881386e794a288ab00f56186ec84b3847124e0a /x11-libs/wxGTK | |
parent | new wxGTK and various wxwindows apps (diff) | |
download | historical-e9bf35712269ce8b10019694ac042490d86f5995.tar.gz historical-e9bf35712269ce8b10019694ac042490d86f5995.tar.bz2 historical-e9bf35712269ce8b10019694ac042490d86f5995.zip |
new wxGTK and various wxwindows apps
Diffstat (limited to 'x11-libs/wxGTK')
-rw-r--r-- | x11-libs/wxGTK/Manifest | 7 | ||||
-rw-r--r-- | x11-libs/wxGTK/files/digest-wxGTK-2.4.1 | 1 | ||||
-rw-r--r-- | x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython1.patch | 50 | ||||
-rw-r--r-- | x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython2.patch | 280 | ||||
-rw-r--r-- | x11-libs/wxGTK/metadata.xml | 5 | ||||
-rw-r--r-- | x11-libs/wxGTK/wxGTK-2.4.1.ebuild | 90 |
6 files changed, 431 insertions, 2 deletions
diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest index 7d120a422102..ccca2ea55c07 100644 --- a/x11-libs/wxGTK/Manifest +++ b/x11-libs/wxGTK/Manifest @@ -1,5 +1,8 @@ -MD5 af4e8ec4249b982a11c0e2986d06cac7 ChangeLog 5231 -MD5 c5768551a4285dcb691008cb909d8e91 wxGTK-2.4.1.ebuild 2505 +MD5 6a179cf78d3a99e15994bbb83bb56e56 ChangeLog 5532 +MD5 e9aa40b24030dcbe39c8a7eb909fc7a5 wxGTK-2.4.1.ebuild 2504 MD5 7b6cbaf39f7346190040182c8c0bf5c8 wxGTK-2.4.0.ebuild 2705 +MD5 4fca175f747a090fd2b7b8ce22fbc06d metadata.xml 162 MD5 16ea0622454512339b2c613af61a9aa4 files/digest-wxGTK-2.4.0 65 MD5 86ee1d94ec752953d445a824f643fef5 files/digest-wxGTK-2.4.1 65 +MD5 3b31bf6114fd932a2843725064d25caf files/wxGTK-2.4.1-wxpython1.patch 1933 +MD5 780bae884c651040c4b9833d82f88d9a files/wxGTK-2.4.1-wxpython2.patch 12054 diff --git a/x11-libs/wxGTK/files/digest-wxGTK-2.4.1 b/x11-libs/wxGTK/files/digest-wxGTK-2.4.1 new file mode 100644 index 000000000000..742d7c0028e9 --- /dev/null +++ b/x11-libs/wxGTK/files/digest-wxGTK-2.4.1 @@ -0,0 +1 @@ +MD5 937c299de177990908770989206b7d8c wxGTK-2.4.1.tar.bz2 5348194 diff --git a/x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython1.patch b/x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython1.patch new file mode 100644 index 000000000000..d391754d302c --- /dev/null +++ b/x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython1.patch @@ -0,0 +1,50 @@ +diff -ur wx/chkconf.h ../../wxPythonSrc-2.4.1.2/include/wx/chkconf.h +--- wxGTK-2.4.1/include/wx/chkconf.h 2003-06-08 09:13:10.000000000 +0100 ++++ wxGTK-2.4.1/include/wx/chkconf.h 2003-06-16 21:46:45.000000000 +0100 +@@ -4,7 +4,7 @@ + * Author: Vadim Zeitlin + * Modified by: + * Created: 09.08.00 +- * RCS-ID: $Id: wxGTK-2.4.1-wxpython1.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++ * RCS-ID: $Id: wxGTK-2.4.1-wxpython1.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + * Copyright: (c) 2000 Vadim Zeitlin <vadim@wxwindows.org> + * Licence: wxWindows license + */ +@@ -772,6 +772,17 @@ + # endif + #endif /* wxUSE_FILESYSTEM */ + ++#if wxUSE_FS_INET ++# if !wxUSE_PROTOCOL ++# ifdef wxABORT_ON_CONFIG_ERROR ++# error "wxUSE_FS_INET requires wxUSE_PROTOCOL" ++# else ++# undef wxUSE_PROTOCOL ++# define wxUSE_PROTOCOL 1 ++# endif ++# endif ++#endif /* wxUSE_FS_INET */ ++ + #if wxUSE_STOPWATCH || wxUSE_DATETIME + # if !wxUSE_LONGLONG + # ifdef wxABORT_ON_CONFIG_ERROR +diff -ur wx/menuitem.h ../../wxPythonSrc-2.4.1.2/include/wx/menuitem.h +--- wxGTK-2.4.1/include/wx/menuitem.h 2003-06-08 09:13:11.000000000 +0100 ++++ wxGTK-2.4.1/include/wx/menuitem.h 2003-06-11 00:48:45.000000000 +0100 +@@ -4,7 +4,7 @@ + // Author: Vadim Zeitlin + // Modified by: + // Created: 25.10.99 +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython1.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython1.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr> + // Licence: wxWindows license + /////////////////////////////////////////////////////////////////////////////// +@@ -49,6 +49,7 @@ + + // the menu we're in + wxMenu *GetMenu() const { return m_parentMenu; } ++ void SetMenu(wxMenu* menu) { m_parentMenu = menu; } + + // get/set id + void SetId(int id) { m_id = id; } diff --git a/x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython2.patch b/x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython2.patch new file mode 100644 index 000000000000..1bebae8e3f78 --- /dev/null +++ b/x11-libs/wxGTK/files/wxGTK-2.4.1-wxpython2.patch @@ -0,0 +1,280 @@ +diff -ru ./common/filefn.cpp ../../wxPythonSrc-2.4.1.2/src/common/filefn.cpp +--- wxGTK-2.4.1/src/common/filefn.cpp 2003-06-08 09:13:13.000000000 +0100 ++++ wxGTK-2.4.1/src/common/filefn.cpp 2003-06-11 21:20:15.000000000 +0100 +@@ -4,7 +4,7 @@ + // Author: Julian Smart + // Modified by: + // Created: 29/01/98 +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1998 Julian Smart + // Licence: wxWindows license + ///////////////////////////////////////////////////////////////////////////// +@@ -1595,6 +1595,8 @@ + wxChar buf[256]; + GetWindowsDirectory(buf, 256); + return wxString(buf); ++#elif defined(__WXMAC__) ++ return wxMacFindFolder(kOnSystemDisk, 'macs', false); + #else + return wxEmptyString; + #endif +diff -ru ./common/log.cpp ../../wxPythonSrc-2.4.1.2/src/common/log.cpp +--- wxGTK-2.4.1/src/common/log.cpp 2003-06-08 09:13:14.000000000 +0100 ++++ wxGTK-2.4.1/src/common/log.cpp 2003-06-16 21:46:45.000000000 +0100 +@@ -4,7 +4,7 @@ + // Author: Vadim Zeitlin + // Modified by: + // Created: 29/01/98 +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr> + // Licence: wxWindows license + ///////////////////////////////////////////////////////////////////////////// +@@ -114,13 +114,24 @@ + // macros and not all compilers inline vararg functions. + // ---------------------------------------------------------------------------- + ++// wrapper for wxVsnprintf(s_szBuf) which always NULL-terminates it ++static inline void PrintfInLogBug(const wxChar *szFormat, va_list argptr) ++{ ++ if ( wxVsnprintf(s_szBuf, s_szBufSize, szFormat, argptr) < 0 ) ++ { ++ // must NUL-terminate it manually ++ s_szBuf[s_szBufSize - 1] = _T('\0'); ++ } ++ //else: NUL-terminated by vsnprintf() ++} ++ + // generic log function + void wxVLogGeneric(wxLogLevel level, const wxChar *szFormat, va_list argptr) + { + if ( IsLoggingEnabled() ) { + wxCRIT_SECT_LOCKER(locker, gs_csLogBuf); + +- wxVsnprintf(s_szBuf, s_szBufSize, szFormat, argptr); ++ PrintfInLogBug(szFormat, argptr); + + wxLog::OnLog(level, s_szBuf, time(NULL)); + } +@@ -140,11 +151,12 @@ + if ( IsLoggingEnabled() ) { \ + wxCRIT_SECT_LOCKER(locker, gs_csLogBuf); \ + \ +- wxVsnprintf(s_szBuf, s_szBufSize, szFormat, argptr); \ ++ PrintfInLogBug(szFormat, argptr); \ + \ + wxLog::OnLog(wxLOG_##level, s_szBuf, time(NULL)); \ + } \ + } \ ++ \ + void wxLog##level(const wxChar *szFormat, ...) \ + { \ + va_list argptr; \ +diff -ru ./common/menucmn.cpp ../../wxPythonSrc-2.4.1.2/src/common/menucmn.cpp +--- wxGTK-2.4.1/src/common/menucmn.cpp 2003-06-08 09:13:14.000000000 +0100 ++++ wxGTK-2.4.1/src/common/menucmn.cpp 2003-06-11 00:48:46.000000000 +0100 +@@ -4,7 +4,7 @@ + // Author: Vadim Zeitlin + // Modified by: + // Created: 26.10.99 +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) wxWindows team + // Licence: wxWindows license + /////////////////////////////////////////////////////////////////////////////// +@@ -332,6 +332,7 @@ + wxCHECK_MSG( item, FALSE, wxT("invalid item in wxMenu::Append()") ); + + m_items.Append(item); ++ item->SetMenu((wxMenu*)this); + if ( item->IsSubMenu() ) + { + AddSubMenu(item->GetSubMenu()); +@@ -365,6 +366,7 @@ + wxCHECK_MSG( node, FALSE, wxT("invalid index in wxMenu::Insert()") ); + + m_items.Insert(node, item); ++ item->SetMenu((wxMenu*)this); + if ( item->IsSubMenu() ) + { + AddSubMenu(item->GetSubMenu()); +@@ -393,6 +395,7 @@ + m_items.DeleteNode(node); + + // item isn't attached to anything any more ++ item->SetMenu((wxMenu *)NULL); + wxMenu *submenu = item->GetSubMenu(); + if ( submenu ) + { +diff -ru ./common/regex.cpp ../../wxPythonSrc-2.4.1.2/src/common/regex.cpp +--- wxGTK-2.4.1/src/common/regex.cpp 2003-06-08 09:13:14.000000000 +0100 ++++ wxGTK-2.4.1/src/common/regex.cpp 2003-06-16 21:46:45.000000000 +0100 +@@ -4,7 +4,7 @@ + // Author: Karsten Ball�der and Vadim Zeitlin + // Modified by: + // Created: 13.07.01 +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 2000 Karsten Ball�der <ballueder@gmx.net> + // 2001 Vadim Zeitlin <vadim@wxwindows.org> + // Licence: wxWindows licence +@@ -204,21 +204,24 @@ + m_nMatches = 1; + + // and some more for bracketed subexperessions +- const wxChar *cptr = expr.c_str(); +- wxChar prev = _T('\0'); +- while ( *cptr != _T('\0') ) ++ for ( const wxChar *cptr = expr.c_str(); *cptr; cptr++ ) + { +- // is this a subexpr start, i.e. "(" for extended regex or +- // "\(" for a basic one? +- if ( *cptr == _T('(') && +- (flags & wxRE_BASIC ? prev == _T('\\') +- : prev != _T('\\')) ) ++ if ( *cptr == _T('\\') ) + { ++ // in basic RE syntax groups are inside \(...\) ++ if ( *++cptr == _T('(') && (flags & wxRE_BASIC) ) ++ { ++ m_nMatches++; ++ } ++ } ++ else if ( *cptr == _T('(') && !(flags & wxRE_BASIC) ) ++ { ++ // we know that the previous character is not an unquoted ++ // backslash because it would have been eaten above, so we ++ // have a bar '(' and this indicates a group start for the ++ // extended syntax + m_nMatches++; + } +- +- prev = *cptr; +- cptr++; + } + } + +diff -ru ./gtk/timer.cpp ../../wxPythonSrc-2.4.1.2/src/gtk/timer.cpp +--- wxGTK-2.4.1/src/gtk/timer.cpp 2003-06-08 09:13:21.000000000 +0100 ++++ wxGTK-2.4.1/src/gtk/timer.cpp 2003-06-17 18:23:24.000000000 +0100 +@@ -2,7 +2,7 @@ + // Name: gtk/timer.cpp + // Purpose: wxTimer implementation + // Author: Robert Roebling +-// Id: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// Id: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1998 Robert Roebling + // Licence: wxWindows licence + ///////////////////////////////////////////////////////////////////////////// +@@ -41,12 +41,7 @@ + gdk_threads_leave(); + + if ( timer->IsOneShot() ) +- { +- // This sets m_tag to -1 +- timer->Stop(); +- + return FALSE; +- } + + return TRUE; + } +diff -ru ./gtk/window.cpp ../../wxPythonSrc-2.4.1.2/src/gtk/window.cpp +--- wxGTK-2.4.1/src/gtk/window.cpp 2003-06-08 09:13:22.000000000 +0100 ++++ wxGTK-2.4.1/src/gtk/window.cpp 2003-06-19 20:14:52.000000000 +0100 +@@ -2,7 +2,7 @@ + // Name: gtk/window.cpp + // Purpose: + // Author: Robert Roebling +-// Id: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// Id: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1998 Robert Roebling, Julian Smart + // Licence: wxWindows licence + ///////////////////////////////////////////////////////////////////////////// +@@ -3629,12 +3629,10 @@ + wxapp_install_idle_handler(); + + wxRect myRect(0,0,0,0); +- if (m_wxwindow) ++ if (m_wxwindow && rect) ++ { + myRect.SetSize(wxSize( m_wxwindow->allocation.width, + m_wxwindow->allocation.height)); +- +- if (rect) +- { + myRect.Intersect(*rect); + if (!myRect.width || !myRect.height) + // nothing to do, rectangle is empty +@@ -4072,7 +4070,7 @@ + { + #ifdef __WXGTK20__ + pango_font_description_free( style->font_desc ); +- pango_font_description_copy( m_font.GetNativeFontInfo()->description ); ++ style->font_desc = pango_font_description_copy( m_font.GetNativeFontInfo()->description ); + #else + gdk_font_unref( style->font ); + style->font = gdk_font_ref( m_font.GetInternalFont( 1.0 ) ); +diff -ru ./html/htmlpars.cpp ../../wxPythonSrc-2.4.1.2/src/html/htmlpars.cpp +--- wxGTK-2.4.1/src/html/htmlpars.cpp 2003-06-08 09:13:16.000000000 +0100 ++++ wxGTK-2.4.1/src/html/htmlpars.cpp 2003-06-11 00:34:25.000000000 +0100 +@@ -2,7 +2,7 @@ + // Name: htmlpars.cpp + // Purpose: wxHtmlParser class (generic parser) + // Author: Vaclav Slavik +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1999 Vaclav Slavik + // Licence: wxWindows Licence + ///////////////////////////////////////////////////////////////////////////// +@@ -872,7 +872,7 @@ + } + + if (tag.HasParam(_T("HTTP-EQUIV")) && +- tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") && ++ tag.GetParam(_T("HTTP-EQUIV")).IsSameAs(_T("Content-Type"), FALSE) && + tag.HasParam(_T("CONTENT"))) + { + wxString content = tag.GetParam(_T("CONTENT")); +diff -ru ./html/m_layout.cpp ../../wxPythonSrc-2.4.1.2/src/html/m_layout.cpp +--- wxGTK-2.4.1/src/html/m_layout.cpp 2003-06-08 09:13:16.000000000 +0100 ++++ wxGTK-2.4.1/src/html/m_layout.cpp 2003-06-09 23:25:08.000000000 +0100 +@@ -2,7 +2,7 @@ + // Name: m_layout.cpp + // Purpose: wxHtml module for basic paragraphs/layout handling + // Author: Vaclav Slavik +-// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ ++// RCS-ID: $Id: wxGTK-2.4.1-wxpython2.patch,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + // Copyright: (c) 1999 Vaclav Slavik + // Licence: wxWindows Licence + ///////////////////////////////////////////////////////////////////////////// +@@ -80,7 +80,7 @@ + }; + + // Comparison routine for bsearch into an int* array of pagebreaks. +-static int integer_compare(void const* i0, void const* i1) ++extern "C" int wxCMPFUNC_CONV wxInteger_compare(void const* i0, void const* i1) + { + return *(int*)i0 - *(int*)i1; + } +@@ -130,7 +130,7 @@ + // zero plus one element for each page. + int* where = (int*) bsearch(&total_height, known_pagebreaks, + 1 + number_of_pages, sizeof(int), +- integer_compare); ++ wxInteger_compare); + // Add a pagebreak only if there isn't one already set here. + if(NULL != where) + { +diff -ru ./make.env.in ../../wxPythonSrc-2.4.1.2/src/make.env.in +--- wxGTK-2.4.1/src/make.env.in 2003-06-08 09:13:13.000000000 +0100 ++++ wxGTK-2.4.1/src/make.env.in 2003-06-17 00:47:18.000000000 +0100 +@@ -14,6 +14,7 @@ + # see comment near LDFLAGS at the end of file + EXTRALIBS = @LDFLAGS@ @LDFLAGS_VERSIONING@ @LIBS@ @DMALLOC_LIBS@ + OPENGLLIBS = @OPENGL_LIBS@ ++LDFLAGS_GL = @LDFLAGS_GL@ + LDLIBS = ${APPEXTRALIBS} ${top_builddir}/lib/@WX_TARGET_LIBRARY@ ${EXTRALIBS} + + TOOLKIT = @TOOLKIT@ diff --git a/x11-libs/wxGTK/metadata.xml b/x11-libs/wxGTK/metadata.xml new file mode 100644 index 000000000000..f1dd0cd20500 --- /dev/null +++ b/x11-libs/wxGTK/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>wxwindows</herd> +</pkgmetadata> diff --git a/x11-libs/wxGTK/wxGTK-2.4.1.ebuild b/x11-libs/wxGTK/wxGTK-2.4.1.ebuild new file mode 100644 index 000000000000..fbbe8415dcba --- /dev/null +++ b/x11-libs/wxGTK/wxGTK-2.4.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.1.ebuild,v 1.1 2003/07/09 00:58:58 liquidx Exp $ + +DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit." +SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2" +HOMEPAGE="http://www.wxwindows.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc" +IUSE="nls odbc opengl gtk2" + +DEPEND="virtual/x11 + media-libs/netpbm + media-libs/giflib + media-libs/libpng + media-libs/jpeg + media-libs/tiff + sys-libs/zlib + odbc? ( dev-db/unixODBC ) + opengl? ( virtual/opengl ) + gtk2? ( >=x11-libs/gtk+-2.0* dev-libs/libunicode ) : ( =x11-libs/gtk+-1.2* )" + +RDEPEND="nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-wxpython1.patch + epatch ${FILESDIR}/${P}-wxpython2.patch +} + +src_compile() { + local myconf + myconf="--enable-gif --with-libtiff --with-zlib --with-libpng \ + --enable-png --with-libjpeg" + + #Note: pcx image support enabled by default if found. + #Also, all wxWindows gui features are enabled by default. If you + #want to build a smaller library you can disable features by adding + #the appropriate flags to myconf (see INSTALL.txt). + + #The build tools include a --with-freetype option, however it doesn't + #seem to be implemented in the source yet. + + # Note: ODBC support does not work with --enable-unicode + # We only use --enable-unicode (if at all) when we use + # gtk2. + + + if [ `use odbc` ] && [ ! `use gtk2` ]; then + myconf="${myconf} --with-odbc" + elif [ `use odbc` ] && [ `use gtk2` ]; then + ewarn "" + einfo "you cannot specify both odbc and gtk2" + einfo "Choosing gtk2 over odbc" + einfo "re-run with USE=\"-gtk2\" to enable odbc" + ewarn "" + sleep 5 + myconf="${myconf} --without-odbc" + else + myconf="${myconf} --without-odbc" + fi + + use opengl \ + && myconf="${myconf} --with-opengl" \ + || myconf="${myconf} --without-opengl" + + myconf="${myconf} --with-gtk" + + # here we disable unicode support even thought gtk2 supports it + # because too many apps just don't follow the wxWindows guidelines + # for unicode support. + # + # http://www.wxwindows.org/manuals/2.4.0/wx458.htm#unicode + # + # ref #20116 - liquidx@gentoo.org (07 May 2003) + + #use gtk2 && myconf="${myconf} --enable-gtk2 --enable-unicode" + use gtk2 && myconf="${myconf} --enable-gtk2" + + econf ${myconf} + emake || die "make failed" +} + +src_install() { + einstall + dodoc *.txt +} |