Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57215 Details for
Bug 89937
wxWidgets 2.6.0 is out
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
wxwidgets.eclass
wxwidgets.eclass (text/plain), 3.62 KB, created by
Rob Cakebread (RETIRED)
on 2005-04-25 13:18:50 UTC
(
hide
)
Description:
wxwidgets.eclass
Filename:
MIME Type:
Creator:
Rob Cakebread (RETIRED)
Created:
2005-04-25 13:18:50 UTC
Size:
3.62 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.5 2005/01/11 00:02:00 pythonhead Exp $ ># ># Author Rob Cakebread <pythonhead@gentoo.org> > ># This eclass helps you find the correct wx-config script so ebuilds ># can use gtk, gtk2 or gtk2+unicode versions of wxGTK > ># FUNCTIONS: ># need-wxwidgets: ># Arguments: ># 2.4: gtk gtk2 unicode ># 2.6: gtk gtk2 gtk2-unicode base base-unicode mac mac-unicode ># ># ># set-wxconfig ># Arguments: (wxGTK 2.4) wxgtk, wxgtk2, or wxgtk2u ># Arguments: (wxGTK 2.6) gtk-ansi gtk2-ansi gtk2-unicode base-ansi base-unicode mac-ansi mac-unicode ># Note: Don't call this function directly from ebuilds > >ECLASS=wxwidgets >INHERITED="$INHERITED $ECLASS" > >need-wxwidgets() { > debug-print-function $FUNCNAME $* > #If you want to use wxGTK-2.6* export WX_GTK_VER in your ebuild: > if [ "${WX_GTK_VER}" = "2.6" ]; then > case $1 in > gtk) set-wxconfig gtk-ansi;; > gtk2) set-wxconfig gtk2-ansi;; > gtk2-unicode) set-wxconfig gtk2-unicode;; > base) set-wxconfig base-ansi;; > base-unicode) set-wxconfig base-unicode;; > mac) set-wxconfig mac-ansi;; > mac-unicode) set-wxconfig mac-unicode;; > *) echo "!!! $FUNCNAME: Error: unrecognized wxconfig version $1 requested" > exit 1;; > esac > > else > WX_GTK_VER="2.4" > case $1 in > gtk) set-wxconfig wxgtk;; > gtk2) set-wxconfig wxgtk2;; > unicode) set-wxconfig wxgtk2u;; > *) echo "!!! $FUNCNAME: Error: unrecognized wxconfig version $1 requested" > exit 1;; > esac > fi >} > > >set-wxconfig() { > > debug-print-function $FUNCNAME $* > > if [ "${WX_GTK_VER}" = "2.6" ] ; then > wxconfig_prefix="/usr/lib/wx/config" > wxconfig_name="${1}-release-${WX_GTK_VER}" > wxconfig="${wxconfig_prefix}/${wxconfig_name}" > wxconfig_debug_name="${1}-debug-${WX_GTK_VER}" > wxconfig_debug="${wxconfig_prefix}/${wxconfig_debug_name}" > else > # Default is 2.4: > wxconfig_prefix="/usr/bin" > wxconfig_name="${1}-${WX_GTK_VER}-config" > wxconfig="${wxconfig_prefix}/${wxconfig_name}" > wxconfig_debug_name="${1}d-${WX_GTK_VER}-config" > wxconfig_debug="${wxconfig_prefix}/${wxconfig_debug_name}" > fi > > if [ -e ${wxconfig} ] ; then > export WX_CONFIG=${wxconfig} > export WX_CONFIG_NAME=${wxconfig_name} > export WXBASE_CONFIG_NAME=${wxconfig_name} > echo " * Using ${wxconfig}" > elif [ -e ${wxconfig_debug} ] ; then > export WX_CONFIG=${wxconfig_debug} > export WX_CONFIG_NAME=${wxconfig_debug_name} > export WXBASE_CONFIG_NAME=${wxconfig_debug_name} > echo " * Using ${wxconfig_debug}" > else > echo "!!! $FUNCNAME: Error: Can't find normal or debug version:" > echo "!!! $FUNCNAME: ${wxconfig} not found" > echo "!!! $FUNCNAME: ${wxconfig_debug} not found" > case $1 in > wxgtk) echo "!!! You need to emerge wxGTK with wxgtk1 in your USE";; > wxgtkd) echo "!!! You need to emerge wxGTK with wxgtk1 in your USE";; > gtk-ansi) echo "!!! You need to emerge wxGTK with wxgtk1 in your USE";; > gtkd-ansi) echo "!!! You need to emerge wxGTK with wxgtk1 in your USE";; > > wxgtk2) echo "!!! You need to emerge wxGTK with gtk2 in your USE";; > wxgtk2d) echo "!!! You need to emerge wxGTK with gtk2 in your USE";; > gtk2-ansi) echo "!!! You need to emerge wxGTK with gtk2 in your USE";; > gtk2d-ansi) echo "!!! You need to emerge wxGTK with gtk2 in your USE";; > > wxgtk2u) echo "!!! You need to emerge wxGTK with unicode in your USE";; > wxgtk2ud) echo "!!! You need to emerge wxGTK with unicode in your USE";; > gtk2-unicode) echo "!!! You need to emerge wxGTK with unicode in your USE";; > gtk2d-unicode) echo "!!! You need to emerge wxGTK with unicode in your USE";; > esac > exit 1 > fi >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 89937
:
57214
| 57215 |
57216
|
57217
|
57342
|
57343
|
57345