Re: [gtk-osx-users] Building on PPC fails - what is the current status?
On Mar 31, 2013, at 10:55 AM, t.te...@gmx.de wrote: Dear all, dear John, John has recommended: [current Gtk-OSX-build fails on Tiger: no fonts displayed] The easiest way for you to proceed would be to clone gtk-osx and checkout a revision from before last November and build against those modulesets. HOORAY, I MADE IT!!! Thanks for all recommendations and helpful instructions! I went back to some pango version without harfbuzz and it worked out. My Macports setup (extract...) is: cairo @1.12.14_0+quartz gtk2@2.24.16_0+no_x11+quartz pango @1.30.1_1+no_x11+quartz gdk-pixbuf2 @2.26.5_4 glib2 @2.34.3_0 Unfortunately deprecated routines (like gdk_font_draw_text) do not work, but I have now ported my program to use Cairo exclusively and now everything is fine. I did not expect deprecated routines to fail silently: either they should work or compilation/linking should fail. Yay! So are you building with MacPorts or GtkOSX? The two are mutually incompatible... There is no function gdk_font_draw_text, deprecated or otherwise. There's a gdk_draw_text, which isn't deprecated -- but it's also not in Gtk3, so rewriting your program to use Cairo directly is a good step. If there are functions that fail silently in quartz it's likely that they are stubbed out -- meaning an empty function present just to get your program to build and run. The choices are to implement them or (as you have done) work around them. If you feel strongly that they shouldn't be there the place to take that up is gtk-devel-list. Regards, John Ralls ___ Gtk-osx-users-list mailing list Gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
[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: