Re: [Gimp-developer] What are the long-term plans (if any) for OS X?
The GIMP can actually already run natively on OS X, at least in theory. There is a build of Gtk+ which uses native Cocoa backend. http://gtk-osx.sourceforge.net/ I've read several posts from people claiming they have built GIMP via jhbuild. There is also the possibility to install the gtk+ from macports with +no_x11+quartz+macos flags and then compile GIMP, however in my case this resulted in a bogus pango. Currently I'm trying to make an application bundle of Gimp using Gtk+ for Cocoa, but I haven't had much time lately. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Compiling GIMP on Snow Leopard
On Tue, Jun 1, 2010 at 22:05, Sven Neumann s...@gimp.org wrote: Please be more specific and send us information about how exactly you call ./configure and what the exact error is (including the relevant parts from config.log). The call to configure I use is : ./configure --prefix=/opt/gimp-2.7 --disable-mmx and the resulting error is checking for jpeg_destroy_decompress in -ljpeg... yes checking for jpeglib.h... no (Can't include jpeglib.h) configure: error: *** Checks for JPEG library failed. You can build without it by passing *** --without-libjpeg to configure but you won't be able to use JPEGs then. The relevant part from config.log is : configure:18298: checking for jpeg_destroy_decompress in -ljpeg configure:18323: gcc -o conftest -I/opt/local/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definit$ conftest.c:65: warning: function declaration isn't a prototype conftest.c:68: warning: function declaration isn't a prototype conftest.c: In function 'main': conftest.c:68: warning: old-style function definition configure:18323: $? = 0 configure:18332: result: yes configure:18343: checking for jpeglib.h configure:18355: gcc -E conftest.c conftest.c:64:21: error: jpeglib.h: No such file or directory I do, however, have jpeglib.h in /opt/local/include folder (just where libtiff, which works, is). When I install libjpeg to /usr/local/lib the problem solves itself. Just out of interest, are you building against GTK+ compiled with the native Quartz backend or are you still using X11 for this? As for the GTK+, I'm using the X11 version. I also tried compiling stable GIMP with the GTK+ with Quartz backend using MacPorts (and succeeded), however text was displayed incorrectly (squares instead of characters). I've tried to find a way to solve this issue (probably coming from quartz backend for pango) but was unsuccessful. I will try to recompile GTK+ again with the Quartz support, but I need to find a way to isolate it from the rest of my environment since I do need functional GTK+ on daily basis. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Compiling GIMP on Snow Leopard
On Tue, Jun 1, 2010 at 23:58, Sven Neumann s...@gimp.org wrote: Well, did you add -I/opt/local/include to CPPFLAGS before calling the configure script? Actually, I didn't, just tried it and it worked. Thank you. Jozef ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Compiling GIMP on Snow Leopard
Hello, after a while of searching and some trial and error, I managed to compile the latest git version of GIMP on Snow Leopard (with 64bit kernel enabled). Since I didn't find a tutorial treating this particular subject I have written one and posted it here : http://clockwork.fr/how-to-compile-gimp-271-on-snow-leopard/ I was wondering whether anybody would have suggestions on how to improve on this process, especially on the two mac-specific problems (the twain compilation problem and the odd behavior of linking against libjpeg) Just to be more specific about these issues : when I tried to compile GIMP without installing libjpeg from source (and thus into /usr/local/lib) it complained about not being able to find the library even though other libraries (like glib, gtk or tiff) didn't seem to have problems. I did add the correct -I and -L flags to CFLAGS and LDFLAGS variables for the twain i join the compiler output at the end of this message, since I don't have a scanner I found it easier to just disable it by force Finally, I'd be more than happy to create an application bundle if someone could point me to a good tutorial on howto create those. (if there is a point of a bundle for the development release) Sincerly Jozef --- Making all in twain CC tw_func.o CC tw_util.o CC twain.o In file included from tw_func.c:68: tw_local.h:37: warning: function declaration isn’t a prototype tw_local.h:45: warning: function declaration isn’t a prototype tw_local.h:46: warning: function declaration isn’t a prototype tw_func.c:106: warning: no previous prototype for ‘FloatToFIX32’ In file included from twain.c:70: tw_local.h:37: warning: function declaration isn’t a prototype tw_local.h:45: warning: function declaration isn’t a prototype tw_local.h:46: warning: function declaration isn’t a prototype CC tw_mac.o twain.c:209: warning: no previous prototype for ‘scanImage’ twain.c: In function ‘getAppIdentity’: twain.c:235: warning: pointer targets in passing argument 1 of ‘__builtin___strcpy_chk’ differ in signedness twain.c:235: warning: pointer targets in passing argument 1 of ‘__inline_strcpy_chk’ differ in signedness twain.c:239: warning: pointer targets in passing argument 1 of ‘__builtin___strcpy_chk’ differ in signedness twain.c:239: warning: pointer targets in passing argument 1 of ‘__inline_strcpy_chk’ differ in signedness twain.c:240: warning: pointer targets in passing argument 1 of ‘__builtin___strcpy_chk’ differ in signedness twain.c:240: warning: pointer targets in passing argument 1 of ‘__inline_strcpy_chk’ differ in signedness twain.c:241: warning: pointer targets in passing argument 1 of ‘__builtin___strcpy_chk’ differ in signedness twain.c:241: warning: pointer targets in passing argument 1 of ‘__inline_strcpy_chk’ differ in signedness twain.c: At top level: twain.c:256: warning: no previous prototype for ‘initializeTwain’ In file included from tw_mac.c:36: tw_local.h:37: warning: function declaration isn’t a prototype tw_local.h:45: warning: function declaration isn’t a prototype tw_local.h:46: warning: function declaration isn’t a prototype tw_mac.c:44: warning: function declaration isn’t a prototype tw_mac.c: In function ‘twainSetupCallback’: tw_mac.c:105: warning: cast from pointer to integer of different size tw_mac.c:105: warning: assignment makes pointer from integer without a cast tw_mac.c: At top level: tw_mac.c:124: warning: no previous prototype for ‘unloadTwainLibrary’ tw_mac.c:150: warning: function declaration isn’t a prototype tw_mac.c: In function ‘twainQuitApplication’: tw_mac.c:150: warning: old-style function definition tw_mac.c:151: warning: implicit declaration of function ‘QuitApplicationEventLoop’ tw_mac.c: At top level: tw_mac.c:169: warning: function declaration isn’t a prototype tw_mac.c: In function ‘twainSetupMacUI’: tw_mac.c:169: warning: old-style function definition tw_mac.c:179: warning: ISO C90 forbids mixed declarations and code tw_mac.c:186: warning: pointer targets in passing argument 2 of ‘CFURLCreateFromFileSystemRepresentation’ differ in signedness tw_mac.c:189: warning: ISO C90 forbids mixed declarations and code tw_mac.c:195: warning: implicit declaration of function ‘BeginQDContextForApplicationDockTile’ tw_mac.c:195: warning: initialization makes pointer from integer without a cast tw_mac.c:196: warning: implicit declaration of function ‘EndQDContextForApplicationDockTile’ tw_mac.c:198: warning: implicit declaration of function ‘SetApplicationDockTileImage’ tw_mac.c: At top level: tw_mac.c:203: warning: function declaration isn’t a prototype tw_mac.c: In function ‘twainMain’: tw_mac.c:203: warning: old-style function definition tw_mac.c:224: warning: implicit declaration of function ‘RunApplicationEventLoop’ CCLD twain Undefined symbols: _EndQDContextForApplicationDockTile, referenced from: _twainSetupMacUI in tw_mac.o _BeginQDContextForApplicationDockTile, referenced from: