Re: Os X Intel build of cinepaint
Thomas Huffman <[email protected]> Sun, 2 Mar 2008 00:09:05 -0600
| Newsgroups | gmane.comp.video.cinepaint.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Rob, below is my crazy 13 steps to get cinepaint compiled under OS X leopard on my MacBook using X11. > /opt/local/var/macports/software/py25-gtk/2.12.1_0 > I've never used macports (or fink). I did everything from tarballs. Weather or not the following plays nicely with these other install I don't know, but it shouldn't be to hard to modify to work with libs already installed on your system. Also, you shouldn't have to worry about the endianness issue. That should only be a problem if you are trying to build a universal binary. If you also need it to work on a ppc based machine, then I would sugest that you build it separately on that machine. best of luck and feel free to hit me up for any questions you have, my writing isn't the clearest in the world :) laters, Tom ---------begin build instructions----------- My 13 steps to installing cinepaint (gtk+1.2 and X11) on MacBook running Leopard. A few notes: - I don't have anthing else that uses X11, gtk, or anything that wasn't compiled from source. - Because of this, I don't think it will play nicely if you have installed gtk+1.2 from fink. I don't have a way to test this. - There is no 'resource fork' attached to the binary. it doesn't show up on the dock, and is seen by the finder simply as a shell program. - I used the directory '/sw' as the prefix directory for all packages. You can change this to whatever you want, but I recomend installing everything to the same prefix. If you want to mix it up, you will need to add extra options to the calls to ./configure - This was built on a MacBook running 10.5.2 and Xcode 3.0. I hope this can help people out, and feel free to email me with any questions at [email protected] best of luck, Tom 1) I grabbed the following source tarballs off the net and uncompressed each of them into the same directory to keep things neet. glib-1.2.10 gtk+-1.2.10 zlib-1.2.3 libpng-1.2.25 jpeg-6b tiff-3.8.2 lcms-1.17 fltk-1.1.7 ilmbase-1.0.1 openexr-1.6.1 gettext-0.16 cinepaint-0.22-1 2) build pkg-config-0.23 - run configure as './configure --prefix=/sw' - run make; make install 3) build glib - copy config.guess and config.sub from cinepaint-0.22-1 folder into glib. - edit gstrfuncs.c. There are four instances of G_GNUC_PRETTY_FUNCTION, add a comma(,) after each. - run configure as './configure --prefix=/sw' - run make; make install 4) build gtk+-1.2.10 - copy config.guess and config.sub from cinepaint-0.22-1 folder into gtk+. - run configure as './configure --prefix=/sw' - run make; make install 5) build zlib-1.2.3 - run configure as './configure --prefix=/sw' - run make; make install 6) build libpng-1.2.25 - run configure as './configure --prefix=/sw' - run make; make install 7) build jpeg-6b - copy config.guess and config.sub from cinepaint-0.22-1 folder into gtk+. - copy 'libtool' from glib-1.2.10 to jpeg-6b. - run configure as './configure --prefix=/sw --enable-shared' - run make; make install 8) build tiff-3.8.2 - run configure as './configure --prefix=/sw --enable-shared --with- jpeg-lib-dir=/sw/lib --with-jpeg-include-dir=/sw/include' - run make; make install 8) build lcms-1.17 - run configure as './configure --prefix=/sw ' - run make; make install 9) build fltk-1.1.7 - run configure as './configure --prefix=/sw --enable-threads' - run make; make install 10) build ilmbase-1.0.1 - run configure as './configure --prefix=/sw' - run make; make install 11) build openexr-1.6.1 - run configure as './configure --prefix=/sw' - run make; make install 12) build gettext-0.16 - run configure as './configure --prefix=/sw' - run make; make install 13) build cinepaint-0.22-1 - edit configure.in - comment out line 282 which checks for AM_GLIB_GNU_GETTEXT. - edit Makefile.am - remove po, po-plug-ins, and po-script-fu from SUBDIRS list - edit lib/Makefile.am - remove fl_i18n from SUBDIRS list - edit plug-ins/Makefile.am - remove the following from the SUBDIRS list: @BRACKETING@, @ICC_EXAM@, @PDF@, @COLLECT@ - run aclocal as 'aclocal -I/sw/share/aclocal' - run automake; autoconf - run configure as './configure --prefix=/sw --disable-print LIBJPEG_LIB=/sw/lib/libjpeg.a' - ignore the generated error about icc_exam... we aren't building it anyway. - copy the 'libtool' file from libpng-1.2.25's root directory and replace the 'libtool' file in cinepaint's root directory. you must do this after running ./configure - run make - run chmod on ./install-sh - 'chmod +x ./install-sh' - run make install - run cinepaint through the finder or directly from the terminal. ---------end build instructions-------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/