Summary: | Mac native dev-util/glade and dependencies | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Luca Marturana <lucamarturana> |
Component: | Mac OSX | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED NEEDINFO | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
glade-3.6.7.ebuild
ige-mac-integration-0.8.6.ebuild ige-mac-integration-0.8.6-codegen.patch glade-3.6.7.ebuild |
Description
Luca Marturana
2009-10-04 17:38:22 UTC
Created attachment 206009 [details]
glade-3.6.7.ebuild
This is the glade ebuild. The same of main portage but with ige-mac-integration dependency and x86-macos keyword
Created attachment 206012 [details]
ige-mac-integration-0.8.6.ebuild
This is the ebuild of ige-mac-integration, I used old EAPI, but is very simple.
Created attachment 206013 [details]
ige-mac-integration-0.8.6-codegen.patch
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. > Hi Seeing this part of configure.ac: ------------------------------------- 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) IGE_MAC_BUNDLE_FLAG= AC_ARG_ENABLE(mac-bundle, 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 :) Created attachment 206265 [details]
glade-3.6.7.ebuild
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. |