Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138940 - wxwidgets.eclass needs some lovin (gtk2 and wxgtk1)
Summary: wxwidgets.eclass needs some lovin (gtk2 and wxgtk1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
: 146756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-02 18:45 UTC by Ryan Hill (RETIRED)
Modified: 2007-01-02 00:10 UTC (History)
3 users (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 Ryan Hill (RETIRED) gentoo-dev 2006-07-02 18:45:37 UTC
wxwidgets.eclass gives the user some confusing advice if need-wxwidgets fails.

        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";;


the arguments that don't start with "wx" correspond with wxGTK-2.6, which as of ver 2.6.2 doesn't have gtk2 or wxgtk1 USE flags.  all archs except arm currently have at least 2.6.2-r1 stable.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-07 14:51:19 UTC
*** Bug 146756 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-07 14:52:47 UTC
This still spits out confusing messages about non-existant use flags, please fix this.
Comment 3 Mart Raudsepp gentoo-dev 2006-09-07 15:55:31 UTC
*** Bug 146756 has been marked as a duplicate of this bug. ***
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-01-02 00:10:50 UTC
Fixed, for now.  If any ebuilds are doing something stupid like requesting GTK-1 support with WX_GTK_VER=2.6 they'll get this message:

!!! GTK-1 support is not available in wxGTK-2.6.
!!! Please search bugzilla for this package and file a new bug if one is not already present.

But that shouldn't happen since they wouldn't have been able to build anyways.

Everything else should give the appropriate action they need to take.

We really need to rewrite this eclass.