[MacPorts] #25962: gimp2-devel @2.7.1 +no_x11 +quartz fails to build

MacPorts noreply at macports.org
Thu Aug 5 13:42:52 PDT 2010


#25962: gimp2-devel @2.7.1 +no_x11 +quartz fails to build
-----------------------------+----------------------------------------------
 Reporter:  jk@…             |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.9.1                                
 Keywords:                   |        Port:  gimp2-devel                          
-----------------------------+----------------------------------------------
 1. PYGTK doesn't get found (might be a bug in py26-gtk @2.16.0):


 {{{
 [...]
 checking for PYGTK... no
 configure: error:
 *** Could not find PyGTK 2.10.4 or newer.
 *** Please install it, or skip building the python scripting extension by
 *** passing --disable-python to configure (but then you will not be able
 *** to use scripts for GIMP that are written in Python).
 }}}


 Fix: ln -s
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig/pygtk-2.0.pc
 /opt/local/lib/pkgconfig/


 2. pygtk-codegen-2.0 isn't found:  (again, might be a bug in py26-gtk
 @2.16.0)


 {{{
 [...]
 checking for PYGTK... yes
 checking for pygtk-codegen-2.0... no
 configure: error:
 *** Could not find pygtk-codegen-2.0 script.
 *** Please install it, or skip building the python scripting extension by
 *** passing --disable-python to configure (but then you will not be able
 *** to use scripts for GIMP that are written in Python).
 }}}


 Fix: ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin
 /pygtk-codegen-2.0 /opt/local/bin/

 3. ige-mac-menu.c seems to use outdated stuff:

 {{{
 [...]
   CC     ige-mac-menu.o
 ige-mac-menu.c: In function 'carbon_menu_item_update_state':
 ige-mac-menu.c:222: warning: implicit declaration of function
 'ChangeMenuItemAttributes'
 ige-mac-menu.c: In function 'carbon_menu_item_update_active':
 ige-mac-menu.c:236: warning: implicit declaration of function
 'CheckMenuItem'
 ige-mac-menu.c: In function 'carbon_menu_item_update_submenu':
 ige-mac-menu.c:258: warning: implicit declaration of function
 'CreateNewMenu'
 ige-mac-menu.c:259: warning: implicit declaration of function
 'SetMenuTitleWithCFString'
 ige-mac-menu.c:260: warning: implicit declaration of function
 'SetMenuItemHierarchicalMenu'
 ige-mac-menu.c: In function 'carbon_menu_item_update_label':
 ige-mac-menu.c:288: warning: implicit declaration of function
 'SetMenuItemTextWithCFString'
 ige-mac-menu.c: In function 'carbon_menu_item_update_accelerator':
 ige-mac-menu.c:304: error: 'GtkAccelLabel' has no member named
 'accel_closure'
 ige-mac-menu.c:308: error: 'GtkAccelLabel' has no member named
 'accel_group'
 ige-mac-menu.c:310: error: 'GtkAccelLabel' has no member named
 'accel_closure'
 ige-mac-menu.c:326: warning: implicit declaration of function
 'SetMenuItemCommandKey'
 ige-mac-menu.c:345: warning: implicit declaration of function
 'SetMenuItemModifiers'
 ige-mac-menu.c: In function 'carbon_menu_item_accel_changed':
 ige-mac-menu.c:375: error: 'GtkAccelLabel' has no member named
 'accel_closure'
 ige-mac-menu.c: In function 'carbon_menu_item_update_accel_closure':
 ige-mac-menu.c:401: error: 'GtkAccelLabel' has no member named
 'accel_closure'
 ige-mac-menu.c: In function 'menu_event_handler_func':
 ige-mac-menu.c:524: warning: implicit declaration of function
 'GetMenuItemProperty'
 ige-mac-menu.c: In function 'sync_menu_shell':
 ige-mac-menu.c:655: warning: implicit declaration of function
 'DeleteMenuItem'
 ige-mac-menu.c:677: warning: implicit declaration of function
 'GTK_WIDGET_IS_SENSITIVE'
 ige-mac-menu.c:680: warning: implicit declaration of function
 'GTK_WIDGET_VISIBLE'
 ige-mac-menu.c:683: warning: implicit declaration of function
 'InsertMenuItemTextWithCFString'
 ige-mac-menu.c:686: warning: implicit declaration of function
 'SetMenuItemProperty'
 ige-mac-menu.c: In function 'parent_set_emission_hook':
 ige-mac-menu.c:733: error: 'GtkWidget' has no member named 'parent'
 ige-mac-menu.c:735: error: 'GtkWidget' has no member named 'parent'
 ige-mac-menu.c: In function 'ige_mac_menu_set_menu_bar':
 ige-mac-menu.c:800: warning: implicit declaration of function
 'SetRootMenu'
 ige-mac-menu.c: In function 'ige_mac_menu_set_quit_menu_item':
 ige-mac-menu.c:838: warning: implicit declaration of function
 'GetIndMenuItemWithCommandID'
 ige-mac-menu.c:841: warning: implicit declaration of function
 'SetMenuItemCommandID'
 make[3]: *** [ige-mac-menu.o] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/25962>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list