This is an update for the newest visualboyadvance. This ebuild adds support for the optional gtk+ interface just added in v 1.7.2. This ebuild also introduces a new USE flag, "gui." I think this USE flag is a good idea because some people might like the option to compile a program without a gui (if a program permits it, of coarse.) Also, the use of the "gui" flag could also lessen the confusion of exactly what libraries a program such as visualboyadvance (which allows an optional gui) depends upon to the user. Jason Perez Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 32192 [details] visualboyadvance-1.7.2.ebuild (Update)
I believe the common practice is that if the gtk USE flag is present, it should compile with the GTK GUI, otherwise it shouldn't so it might be better to replace the gui USE flag you introduced with the gtk USE flag.
Created attachment 33714 [details] Changed gui USE to gtk.
Created attachment 34014 [details] visualboyadvance-1.7.2.ebuild cleaned up ebuild ... someone needs to check it since my libglade stuff is screwed up atm
Created attachment 34015 [details] visualboyadvance slightly touched up wrapper script
The first ebuilds build fine, but this is what happens with SpanKY's ebuild: checking for gtkmm-2.0 >= 2.0.0 libglademm-2.0 >= 2.1.0... Package gtkmm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkmm-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkmm-2.0' found configure: error: Library requirements (gtkmm-2.0 >= 2.0.0 libglademm-2.0 >= 2.1.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. !!! ERROR: games-emulation/visualboyadvance-1.7.2 failed. !!! Function egamesconf, Line 47, Exitcode 1 !!! egamesconf failed
Created attachment 37313 [details, diff] visualboyadvance-1.7.2-gcc3.4.patch Maybe a fresh gcc-3.4 patch will convince someone to put this thing in portage :) It fixes some libglade errors. See bug #50713 for more details.
added gtk support to cvs, sorry about that
*** Bug 61917 has been marked as a duplicate of this bug. ***