[grisbi-bugs] [Grisbi 0001539]: Grisbi don't compile on Mac OSX with latest version of gtk-osx

Grisbi Bug Tracker bugtracker at grisbi.org
Mon Jan 7 23:30:44 CET 2013


The following issue has been RESOLVED. 
====================================================================== 
http://www.grisbi.org/bugsreports/view.php?id=1539 
====================================================================== 
Reported By:                gerald
Assigned To:                gerald
====================================================================== 
Project:                    Grisbi
Issue ID:                   1539
Category:                   Main
Reproducibility:            always
Severity:                   block
Priority:                   high
Status:                     resolved
Target Version:             development (git)
OS:                         MacOSX 
Unstable Impact:            Yes 
Version OS:                  
Version GTK:                 
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-11-09 10:24 CET
Last Modified:              2013-01-07 23:30 CET
====================================================================== 
Summary:                    Grisbi don't compile on Mac OSX with latest version
of gtk-osx
Description: 
Compilation of grisbi abort on Mac OSX with the latest version of
gtk-mac-integration :

In file included from grisbi_osx.c:35:
grisbi_osx.h:13: error: expected ')' before '*' token
grisbi_osx.c:75: error: expected specifier-qualifier-list before
'GtkOSXApplication'
grisbi_osx.c:83: error: expected declaration specifiers or '...' before
'GtkOSXApplication'
grisbi_osx.c: In function 'attention_cb':
grisbi_osx.c:189: error: 'AttentionRequest' has no member named 'app'
grisbi_osx.c:189: error: 'AttentionRequest' has no member named 'type'
grisbi_osx.c: At top level:
grisbi_osx.c:203: error: expected declaration specifiers or '...' before
'GtkOSXApplication'
grisbi_osx.c: In function 'bounce_cb':
grisbi_osx.c:207: error: 'AttentionRequest' has no member named 'app'
grisbi_osx.c:207: error: 'app' undeclared (first use in this function)
grisbi_osx.c:207: error: (Each undeclared identifier is reported only once
grisbi_osx.c:207: error: for each function it appears in.)
grisbi_osx.c:208: error: 'AttentionRequest' has no member named 'type'
grisbi_osx.c: At top level:
grisbi_osx.c:220: error: expected ')' before '*' token
grisbi_osx.c: In function 'grisbi_osx_init_menus':
grisbi_osx.c:238: error: 'GtkOSXApplication' undeclared (first use in this
function)
grisbi_osx.c:238: error: 'theApp' undeclared (first use in this function)
grisbi_osx.c:240: error: 'GTK_TYPE_OSX_APPLICATION' undeclared (first use in
this function)
grisbi_osx.c: In function 'grisbi_osx_app_update_menus_cb':
grisbi_osx.c:289: error: 'GtkOSXApplication' undeclared (first use in this
function)
grisbi_osx.c:289: error: 'theApp' undeclared (first use in this function)
grisbi_osx.c:291: error: 'GTK_TYPE_OSX_APPLICATION' undeclared (first use in
this function)
make[3]: *** [grisbi_osx.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 (0003546) pbiava (administrator) - 2012-11-10 19:35
 http://www.grisbi.org/bugsreports/view.php?id=1539#c3546 
---------------------------------------------------------------------- 
Je pense qu'il ne trouve pas le fichier de définition des fonctions
(gtkosxapplication.h)

il faudrait voir ce qui a changé avec la dernière version de gtk-osx c'est
laquelle d'ailleurs que tu utilises ? 

---------------------------------------------------------------------- 
 (0003552) gerald (administrator) - 2012-11-27 12:42
 http://www.grisbi.org/bugsreports/view.php?id=1539#c3552 
---------------------------------------------------------------------- 
J'utilise la dernière version.
Le mieux serait que tu échanges avec le développeur principale sur la liste.
https://mail.gnome.org/mailman/listinfo/gtk-osx-devel-list 

---------------------------------------------------------------------- 
 (0003585) gerald (administrator) - 2013-01-01 21:22
 http://www.grisbi.org/bugsreports/view.php?id=1539#c3585 
---------------------------------------------------------------------- 
Changes from version gtk-mac-integration-2.0.0 to version
	gtk-mac-integration-2.0.1:
* This is a minor bug-fix release.

gtk-mac-integration-2.0.0:

*  Now fully compatible with gobject-introspection and useable with Gtk3 gi
   bindings.
      Note: Gtk_OSXApplication is now GtkOsx_Application to avoid namespace
       collision with Gtk. This requires minor changes to application code.
      Note: Bundle functions (quartz_application_foo) have been renamed to
       gtkosx_application_foo so that they are introspected.
      Note: Introspection of Gtk2 doesn't work, so it's ignored in
       GtkOsxApplication. Gtk2 python applications should continue to use pyGtk.
*  Change 'NSAlternate' to be used with GDK_MOD1_MASK, matching changes
         in Gtk keyhandling.
*  Add support for icons in menus.
*  Fix object release issues found with Clang static analysis 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-09 10:24 gerald         New Issue                                    
2012-11-10 19:35 pbiava         Note Added: 0003546                          
2012-11-27 12:42 gerald         Note Added: 0003552                          
2013-01-01 21:22 gerald         Note Added: 0003585                          
2013-01-07 23:30 gerald         Status                   new => resolved     
2013-01-07 23:30 gerald         Resolution               open => fixed       
2013-01-07 23:30 gerald         Assigned To               => gerald          
======================================================================



More information about the bugsreports mailing list