goffice 0.10.x series and gtk-osx-application...
Submitted by c.h..@..me.com
Link to original bug (#707251)
Description
Created attachment 253792 complete build-fail log
As I understand it, ige-mac-integration has been deprecated in favor of gtk-osx-application. However, when trying to compile goffice with gtk-osx-application, the following errors come:
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_sly_gnome_goffice/goffice/work/goffice-0.10.7/goffice' :info:build CC go-doc.lo :info:build CC goffice.lo :info:build goffice.c:180:9: error: implicit declaration of function 'quartz_application_get_bundle_id' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build if (quartz_application_get_bundle_id ()) :info:build ^ :info:build goffice.c:180:9: note: did you mean 'gtkosx_application_get_bundle_id'? :info:build if (quartz_application_get_bundle_id ()) :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build gtkosx_application_get_bundle_id :info:build /opt/local/include/gtkmacintegration/gtkosxapplication.h:141:8: note: 'gtkosx_application_get_bundle_id' declared here :info:build gchar *gtkosx_application_get_bundle_id(void); :info:build ^ :info:build goffice.c:184:15: error: implicit declaration of function 'quartz_application_get_resource_path' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build dir = quartz_application_get_resource_path (); :info:build ^ :info:build goffice.c:184:15: note: did you mean 'gtkosx_application_get_resource_path'? :info:build dir = quartz_application_get_resource_path (); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build gtkosx_application_get_resource_path :info:build /opt/local/include/gtkmacintegration/gtkosxapplication.h:139:8: note: 'gtkosx_application_get_resource_path' declared here :info:build gchar *gtkosx_application_get_resource_path(void); :info:build ^ :info:build goffice.c:184:13: warning: incompatible integer to pointer conversion assigning to 'gchar *' (aka 'char *') from 'int' [-Wint-conversion] :info:build dir = quartz_application_get_resource_path (); :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 1 warning and 2 errors generated.
I'm not sure if it has anything to do with the ige-mac-integration vs gtk-osx-application, but the two cannot be installed on the same prefix, and other ports are using gtk-osx-application. If this is something that needs patching, I will be happy to apply, compile and test whatever you suggest.
Attachment 253792, "complete build-fail log":
main.log
Version: GIT