[gtk-osx-users] Latest issues with gtk-osx



Just tried to rebuild latest GTK for OS X (tested with GTK2, 32-bit), I am using OSX 10.7.5, building modulesets-stable.
Note that I've downloaded latest gtk-osx-build-setup.sh from GitHub.

Few issues:

1. jhbuild fails at trying to build cups (read in git commits that it should skip building cups if not on Tiger?)

Compiling pap.c...
pap.c:87:29: error: netat/appletalk.h: No such file or directory
pap.c:88:23: error: netat/atp.h: No such file or directory
pap.c:89:23: error: netat/ddp.h: No such file or directory
pap.c:90:23: error: netat/nbp.h: No such file or directory
pap.c:91:23: error: netat/pap.h: No such file or directory
pap.c:105: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c:107: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c:109: error: expected declaration specifiers or '...' before 'at_resp_t'
pap.c:111: error: expected ')' before '*' token
pap.c:112: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c:114: error: expected declaration specifiers or '...' before 'at_resp_t'
pap.c:114: error: expected declaration specifiers or '...' before 'at_retry_t'
pap.c:115: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c:116: error: expected declaration specifiers or '...' before 'at_resp_t'
pap.c:118: error: expected ')' before '*' token
pap.c:120: error: expected ')' before '*' token
pap.c:122: error: expected declaration specifiers or '...' before 'at_nvestr_t'
pap.c:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gSessionAddr'
pap.c:160: error: expected ')' before '*' token
pap.c:163: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c:165: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c:167: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c: In function 'main':
pap.c:197: error: 'NBP_NVE_STR_SIZE' undeclared (first use in this function)
pap.c:197: error: (Each undeclared identifier is reported only once
pap.c:197: error: for each function it appears in.)
pap.c:199: warning: unused variable 'zone'
pap.c:198: warning: unused variable 'type'
pap.c:197: warning: unused variable 'name'
pap.c: In function 'listDevices':
pap.c:276: error: 'at_nvestr_t' undeclared (first use in this function)
pap.c:276: error: expected ';' before 'at_zone'
pap.c:277: error: 'at_entity_t' undeclared (first use in this function)
pap.c:277: error: expected ';' before 'entity'
pap.c:278: error: 'at_nbptuple_t' undeclared (first use in this function)
pap.c:278: error: expected ';' before 'buf'
pap.c:279: error: 'at_retry_t' undeclared (first use in this function)
pap.c:279: error: expected ';' before 'retry'
pap.c:280: error: 'NBP_NVE_STR_SIZE' undeclared (first use in this function)
pap.c:292: error: 'at_zone' undeclared (first use in this function)
pap.c:292: error: too many arguments to function 'zip_getmyzone'
pap.c:306: warning: implicit declaration of function 'nbp_make_entity'
pap.c:306: error: 'entity' undeclared (first use in this function)
pap.c:307: error: 'retry' undeclared (first use in this function)
pap.c:311: warning: implicit declaration of function 'nbp_lookup'
pap.c:311: error: 'buf' undeclared (first use in this function)
pap.c:283: warning: unused variable 'encodedZone'
pap.c:282: warning: unused variable 'zone'
pap.c:281: warning: unused variable 'encodedName'
pap.c:280: warning: unused variable 'name'
pap.c: In function 'printFile':
pap.c:393: error: 'AT_PAP_DATA_SIZE' undeclared (first use in this function)
pap.c:396: error: 'at_nbptuple_t' undeclared (first use in this function)
pap.c:396: error: expected ';' before 'tuple'
pap.c:397: error: 'at_inet_t' undeclared (first use in this function)
pap.c:397: error: expected ';' before 'sendDataAddr'
pap.c:398: error: expected ';' before 'src'
pap.c:399: error: 'at_resp_t' undeclared (first use in this function)
pap.c:399: error: expected ';' before 'resp'
pap.c:414: error: 'at_entity_t' undeclared (first use in this function)
pap.c:414: error: expected ';' before 'entity'
pap.c:415: error: 'at_retry_t' undeclared (first use in this function)
pap.c:415: error: expected ';' before 'retry'
pap.c:422: error: 'entity' undeclared (first use in this function)
pap.c:434: error: 'retry' undeclared (first use in this function)
pap.c:450: error: 'tuple' undeclared (first use in this function)
pap.c:462: warning: implicit declaration of function 'papOpen'
pap.c:462: error: 'gSessionAddr' undeclared (first use in this function)
pap.c:537: error: 'sendDataAddr' undeclared (first use in this function)
pap.c:540: error: 'AT_PAP_TYPE_TICKLE' undeclared (first use in this function)
pap.c:540: error: too many arguments to function 'papSendRequest'
pap.c:546: error: 'PAP_TIMEOUT' undeclared (first use in this function)
pap.c:549: error: 'AT_PAP_TYPE_SEND_DATA' undeclared (first use in this function)
pap.c:549: error: too many arguments to function 'papSendRequest'
pap.c:600: error: 'AT_PAP_TYPE_SEND_STATUS' undeclared (first use in this function)
pap.c:600: error: too many arguments to function 'papSendRequest'
pap.c:620: warning: passing argument 5 of 'papWrite' makes pointer from integer without a cast
pap.c:620: warning: passing argument 6 of 'papWrite' makes integer from pointer without a cast
pap.c:620: error: too many arguments to function 'papWrite'
pap.c:652: error: 'resp' undeclared (first use in this function)
pap.c:656: error: too many arguments to function 'atp_getresp'
pap.c:667: error: 'src' undeclared (first use in this function)
pap.c:667: warning: passing argument 6 of 'atp_getreq' from incompatible pointer type
pap.c:667: warning: passing argument 7 of 'atp_getreq' from incompatible pointer type
pap.c:667: warning: passing argument 8 of 'atp_getreq' makes integer from pointer without a cast
pap.c:667: error: too many arguments to function 'atp_getreq'
pap.c:678: error: 'AT_PAP_TYPE_SEND_STS_REPLY' undeclared (first use in this function)
pap.c:694: warning: passing argument 5 of 'papWrite' makes pointer from integer without a cast
pap.c:694: warning: passing argument 6 of 'papWrite' makes integer from pointer without a cast
pap.c:694: error: too many arguments to function 'papWrite'
pap.c:714: error: 'AT_PAP_TYPE_DATA' undeclared (first use in this function)
pap.c:715: error: 'ATP_TRESP_MAX' undeclared (first use in this function)
pap.c:792: error: too many arguments to function 'papSendRequest'
pap.c:802: error: 'AT_PAP_TYPE_CLOSE_CONN' undeclared (first use in this function)
pap.c:804: error: too many arguments to function 'papCloseResp'
pap.c:818: error: 'AT_PAP_TYPE_OPEN_CONN' undeclared (first use in this function)
pap.c:819: error: 'AT_PAP_TYPE_OPEN_CONN_REPLY' undeclared (first use in this function)
pap.c:821: error: 'AT_PAP_TYPE_CLOSE_CONN_REPLY' undeclared (first use in this function)
pap.c:393: warning: unused variable 'atpReqBuf'
pap.c: At top level:
pap.c:862: error: expected ')' before '*' token
pap.c: In function 'papClose':
pap.c:986: error: 'ATP_DATA_SIZE' undeclared (first use in this function)
pap.c:989: error: 'at_resp_t' undeclared (first use in this function)
pap.c:989: error: expected ';' before 'resp'
pap.c:990: error: 'at_retry_t' undeclared (first use in this function)
pap.c:990: error: expected ';' before 'retry'
pap.c:1024: error: 'AT_PAP_TYPE_CLOSE_CONN' undeclared (first use in this function)
pap.c:1031: error: 'retry' undeclared (first use in this function)
pap.c:1034: error: 'resp' undeclared (first use in this function)
pap.c:1038: error: 'gSessionAddr' undeclared (first use in this function)
pap.c:1038: error: too many arguments to function 'atp_sendreq'
pap.c:986: warning: unused variable 'rdata'
pap.c: At top level:
pap.c:1061: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c: In function 'papWrite':
pap.c:1066: error: 'at_resp_t' undeclared (first use in this function)
pap.c:1066: error: expected ';' before 'resp'
pap.c:1070: error: 'AT_PAP_DATA_SIZE' undeclared (first use in this function)
pap.c:1084: error: 'resp' undeclared (first use in this function)
pap.c:1088: error: 'AT_PAP_TYPE_DATA' undeclared (first use in this function)
pap.c:1107: error: 'dest' undeclared (first use in this function)
pap.c:1107: error: too many arguments to function 'atp_sendrsp'
pap.c: At top level:
pap.c:1127: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c: In function 'papCloseResp':
pap.c:1130: error: 'at_resp_t' undeclared (first use in this function)
pap.c:1130: error: expected ';' before 'resp'
pap.c:1132: error: 'resp' undeclared (first use in this function)
pap.c:1136: error: 'AT_PAP_TYPE_CLOSE_CONN_REPLY' undeclared (first use in this function)
pap.c:1141: error: 'dest' undeclared (first use in this function)
pap.c:1141: error: too many arguments to function 'atp_sendrsp'
pap.c: At top level:
pap.c:1163: error: expected declaration specifiers or '...' before 'at_inet_t'
pap.c: In function 'papSendRequest':
pap.c:1170: error: 'at_retry_t' undeclared (first use in this function)
pap.c:1170: error: expected ';' before 'retry'
pap.c:1171: error: 'at_resp_t' undeclared (first use in this function)
pap.c:1171: error: expected ';' before 'resp'
pap.c:1178: error: 'resp' undeclared (first use in this function)
pap.c:1179: error: 'retry' undeclared (first use in this function)
pap.c:1196: error: 'dest' undeclared (first use in this function)
pap.c:1196: warning: passing argument 8 of 'atp_sendreq' makes integer from pointer without a cast
pap.c:1196: error: too many arguments to function 'atp_sendreq'
pap.c: In function 'papCancelRequest':
pap.c:1221: warning: passing argument 2 of 'atp_abort' makes integer from pointer without a cast
pap.c:1221: error: too many arguments to function 'atp_abort'
pap.c: In function 'parseUri':
pap.c:1404: error: 'NBP_NVE_STR_SIZE' undeclared (first use in this function)
pap.c: In function 'nbptuple_compare':
pap.c:1499: error: 'at_nbptuple_t' undeclared (first use in this function)
pap.c:1499: error: expected _expression_ before ')' token
pap.c:1499: error: expected _expression_ before ')' token
pap.c:1499: error: expected _expression_ before ')' token
pap.c:1499: error: expected _expression_ before ')' token
pap.c:1502: error: expected _expression_ before ')' token
pap.c:1502: error: expected _expression_ before ')' token
pap.c:1504: error: expected _expression_ before ')' token
pap.c:1504: error: expected _expression_ before ')' token
pap.c:1506: error: expected _expression_ before ')' token
pap.c:1506: error: expected _expression_ before ')' token
pap.c: In function 'packet_name':
pap.c:1545: error: 'AT_PAP_TYPE_OPEN_CONN' undeclared (first use in this function)
pap.c:1546: error: 'AT_PAP_TYPE_OPEN_CONN_REPLY' undeclared (first use in this function)
pap.c:1547: error: 'AT_PAP_TYPE_SEND_DATA' undeclared (first use in this function)
pap.c:1548: error: 'AT_PAP_TYPE_DATA' undeclared (first use in this function)
pap.c:1549: error: 'AT_PAP_TYPE_TICKLE' undeclared (first use in this function)
pap.c:1550: error: 'AT_PAP_TYPE_CLOSE_CONN' undeclared (first use in this function)
pap.c:1551: error: 'AT_PAP_TYPE_CLOSE_CONN_REPLY' undeclared (first use in this function)
pap.c:1552: error: 'AT_PAP_TYPE_SEND_STATUS' undeclared (first use in this function)
pap.c:1553: error: 'AT_PAP_TYPE_SEND_STS_REPLY' undeclared (first use in this function)
pap.c:1554: error: 'AT_PAP_TYPE_READ_LW' undeclared (first use in this function)
make[1]: *** [pap.o] Error 1
make: *** [all] Error 1

I've skipped building cups, and the GTK was build successfully

2. building gtksourceview library fails (this used to work long time ago):

 GEN    stamp-gtksourceview-typebuiltins.c
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:131: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_TAB     | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:132: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_NEWLINE | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:133: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_NBSP | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:134: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_LEADING | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:135: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_TEXT | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:136: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_TRAILING) '
  GEN    stamp-gtksourceview-typebuiltins.h
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:131: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_TAB     | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:132: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_NEWLINE | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:133: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_NBSP | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:134: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_LEADING | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:135: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_TEXT | \ '
/Users/helix/gtk/inst/bin/glib-mkenums: gtksourceview.h:136: Failed to parse `                                     GTK_SOURCE_DRAW_SPACES_TRAILING) '
...
 CC     gtksourceview-i18n.lo
gtksourceview-i18n.c: In function 'get_locale_dir':
gtksourceview-i18n.c:48: warning: implicit declaration of function 'quartz_application_get_bundle_id'
gtksourceview-i18n.c:48: warning: nested extern declaration of 'quartz_application_get_bundle_id'
gtksourceview-i18n.c:48: warning: comparison between pointer and integer
gtksourceview-i18n.c:50: warning: implicit declaration of function 'quartz_application_get_resource_path'
gtksourceview-i18n.c:50: warning: nested extern declaration of 'quartz_application_get_resource_path'
gtksourceview-i18n.c:50: warning: passing argument 1 of 'g_build_filename' makes pointer from integer without a cast
...
  CCLD   libgtksourceview-2.0.la
Undefined symbols for architecture i386:
  "_quartz_application_get_bundle_id", referenced from:
      _get_locale_dir in gtksourceview-i18n.o
  "_quartz_application_get_resource_path", referenced from:
      _get_locale_dir in gtksourceview-i18n.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[4]: *** [libgtksourceview-2.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


3. Issue previously reported in the forum, seen when bundling the application:
"Warning, found X11 library dependency, you most likely don't want that: /usr/X11/lib/libfreetype.6.dylib
Warning, library not available in any prefix: /usr/X11/lib/libfreetype.6.dylib"

This issue is due to cairo using freetype backend, and it was solved by adding the following line to .jhbuild-custom file:
module_autogenargs['cairo'] = '--enable-ft=no'

4. Another previously reported issue in forum about fonts working badly (drawing square boxes instead letters) was resolved per suggestion of another user to add
following lines in the launcher.sh:
export PANGO_LIBDIR="$bundle_lib"
export PANGO_SYSCONFDIR="$bundle_etc"

Perhaps you can update your launcher example to add those lines:
https://github.com/jralls/gtk-mac-bundler/blob/master/examples/launcher.sh


Any chance to fix gtksourceview ?

Regards,
  Miroslav


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]