Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287652 - Mac native dev-util/glade and dependencies
Summary: Mac native dev-util/glade and dependencies
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High enhancement (vote)
Assignee: Gentoo Prefix
Depends on:
Reported: 2009-10-04 17:38 UTC by Luca Marturana
Modified: 2010-12-11 14:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

glade-3.6.7.ebuild (glade-3.6.7.ebuild,1.30 KB, text/plain)
2009-10-04 17:39 UTC, Luca Marturana
ige-mac-integration-0.8.6.ebuild (ige-mac-integration-0.8.6.ebuild,664 bytes, text/plain)
2009-10-04 17:41 UTC, Luca Marturana
ige-mac-integration-0.8.6-codegen.patch (ige-mac-integration-0.8.6-codegen.patch,422 bytes, text/plain)
2009-10-04 17:43 UTC, Luca Marturana
glade-3.6.7.ebuild (glade-3.6.7.ebuild,1.33 KB, text/plain)
2009-10-06 21:36 UTC, Luca Marturana

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Marturana 2009-10-04 17:38:22 UTC
I have tested glade on Mac OSX using the build of the main portage and the ige-mac-integration software found at I will attach all needed files.
Comment 1 Luca Marturana 2009-10-04 17:39:41 UTC
Created attachment 206009 [details]

This is the glade ebuild. The same of main portage but with ige-mac-integration dependency and x86-macos keyword
Comment 2 Luca Marturana 2009-10-04 17:41:51 UTC
Created attachment 206012 [details]

This is the ebuild of ige-mac-integration, I used old EAPI, but is very simple.
Comment 3 Luca Marturana 2009-10-04 17:43:44 UTC
Created attachment 206013 [details]

I needed this patch to compile the software.
Comment 4 Fabian Groffen gentoo-dev 2009-10-06 18:07:23 UTC
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.
Comment 5 Fabian Groffen gentoo-dev 2009-10-06 18:08:11 UTC
I forgot the most important message:

Thanks for the work, patches and ebuilds!
Comment 6 Luca Marturana 2009-10-06 21:33:12 UTC
(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

dnl ================================================================
dnl Check for GDK Quartz and MacOSX integration package
dnl ================================================================
_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
   PKG_CHECK_MODULES(IGE_MAC, ige-mac-integration)


      AS_HELP_STRING([--enable-mac-bundle], [enable mac bundling]),
      build_bundle=yes, build_bundle=no)

   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 :)
Comment 7 Luca Marturana 2009-10-06 21:36:18 UTC
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).
Comment 8 Fabian Groffen gentoo-dev 2010-12-11 14:22:18 UTC
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.