I have tested glade on Mac OSX using the build of the main portage and the ige-mac-integration software found at http://sourceforge.net/projects/gtk-osx/files/. I will attach all needed files.
Created attachment 206009 [details]
This is the glade ebuild. The same of main portage but with ige-mac-integration dependency and x86-macos keyword
Created attachment 206012 [details]
This is the ebuild of ige-mac-integration, I used old EAPI, but is very simple.
Created attachment 206013 [details]
I needed this patch to compile the software.
how does glade's build system see that it should use the mac integration package? Can it also do X11 for instance? I prefer to have this enabled by the aqua USE-flag instead of the quadruple *-macos.
I forgot the most important message:
Thanks for the work, patches and ebuilds!
(In reply to comment #4)
> how does glade's build system see that it should use the mac integration
> package? Can it also do X11 for instance? I prefer to have this enabled by
> the aqua USE-flag instead of the quadruple *-macos.
Seeing this part of configure.ac:
dnl Check for GDK Quartz and MacOSX integration package
_gdk_tgt=`$PKG_CONFIG --variable=target gdk-2.0`
AM_CONDITIONAL([GDK_TARGET_QUARTZ], [test x$_gdk_tgt = xquartz])
if test "x$_gdk_tgt" = xquartz; then
AS_HELP_STRING([--enable-mac-bundle], [enable mac bundling]),
if test "x$build_bundle" = xyes; then
AC_MSG_NOTICE([enableing mac bundle..])
Seems that glade looks for ige-mac if gtk+ is compiled with quartz (aqua so) and with --enable-mac-bundle adds the support for mac, I've compiled with and without this last one but I didn't see the difference. In any case if you want the support for aqua, you need this library, else the software will not compile.
I didn't test X11, but I seems that it should work with ige-mac.
Anyway you are right, it's better to describe this feature with the aqua use flag. :)
I'm attaching a corrected ebuild with this modifications.
Bye and thank you too for the interest :)
Created attachment 206265 [details]
The ebuild referenced in the last comment
A note: I also added hicolor-theme dependency, that isn't present in the ebuild of the main portage. But I think that is necessary because glade use heavily these icons (on buttons that represents the widgets).
ige-mac-integration is in the tree
glade 3.6.7 seems not to do anything with --enable-mac-bundle, simply because MAC_INTEGRATION never seems to be defined by configure, the build system or included headers.