README.win32 3.07 KB
Newer Older
1
very sketchy, how I (unknown who "I" is in this context; it is NOT sjburges@gimp.org) got it running:
Marc Lehmann's avatar
Marc Lehmann committed
2

Marc Lehmann's avatar
Marc Lehmann committed
3 4 5
- download tml's win32 builds of everything (gtk+2 etc.)
  http://www.gimp.org/win32
- download cygwin, including perl5.8
Marc Lehmann's avatar
Marc Lehmann committed
6 7 8

using Glib and Gtk2 from cvs (> 0.9)

Marc Lehmann's avatar
Marc Lehmann committed
9 10
tml's libs, pkg-config etc are all unpacked under /gnuwin32. if some dlls
are not in the bin dir, move them there:
Marc Lehmann's avatar
Marc Lehmann committed
11

Marc Lehmann's avatar
Marc Lehmann committed
12 13 14
   mv /gnuwin32/lib/*.dll /gnuwin32/bin

my /gnuwin32/bin looks like this:
Marc Lehmann's avatar
Marc Lehmann committed
15

Marc Lehmann's avatar
Marc Lehmann committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
   asprintf.dll        fttimer.exe                   intl.dll                 miniunz-static.exe  msgunfmt.exe            tiffdither.exe
   charset.dll         fttry.exe                     libatk-1.0-0.dll         miniunz.exe         msguniq.exe             tiffdump.exe
   example-static.exe  ftview.exe                    libfontconfig-1.dll      minizip-static.exe  ngettext.exe            tiffinfo.exe
   example.exe         gdk-pixbuf-csource.exe        libgdk-win32-2.0-0.dll   minizip.exe         pal2rgb.exe             tiffmedian.exe
   fax2ps.exe          gdk-pixbuf-query-loaders.exe  libgdk_pixbuf-2.0-0.dll  msgattrib.exe       pango-querymodules.exe  tiffset.exe
   fax2tiff.exe        gettext.exe                   libglib-2.0-0.dll        msgcat.exe          pkg-config.exe          tiffsplit.exe
   fc-cache.exe        gif2tiff.exe                  libgmodule-2.0-0.dll     msgcmp.exe          ppm2tiff.exe            untgz-static.exe
   fc-list.exe         glib-genmarshal.exe           libgobject-2.0-0.dll     msgcomm.exe         ras2tiff.exe            untgz.exe
   freetype-6.dll      glib-gettextize               libgthread-2.0-0.dll     msgconv.exe         rgb2ycbcr.exe           xgettext.exe
   freetype-config     glib-mkenums                  libgtk-win32-2.0-0.dll   msgen.exe           testnames.exe           xmlparse.dll
   ftbench.exe         gobject-query.exe             libpango-1.0-0.dll       msgexec.exe         thumbnail.exe           xmltok.dll
   ftdump.exe          gspawn-win32-helper.exe       libpangoft2-1.0-0.dll    msgfilter.exe       tiff2bw.exe             xmlwf.exe
   ftlint.exe          gtk-demo.exe                  libpangowin32-1.0-0.dll  msgfmt.exe          tiff2ps.exe             zlib-1.dll
   ftmemchk.exe        gtk-query-immodules-2.0.exe   libtiff.dll              msggrep.exe         tiff2rgba.exe
   ftmulti.exe         iconv.dll                     minigzip-static.exe      msginit.exe         tiffcmp.exe
   ftstring.exe        iconv.exe                     minigzip.exe             msgmerge.exe        tiffcp.exe

(note pkg-config!)

WARNING, THIS IS A BIG UNSUPPORTED HACK (just as windows itself)
Marc Lehmann's avatar
Marc Lehmann committed
36

Marc Lehmann's avatar
Marc Lehmann committed
37 38 39 40
    PATH=/gnuwin32/bin:$PATH

    cd Glib
    perl Makefile.PL
Marc Lehmann's avatar
Marc Lehmann committed
41
    make CC="gcc -mms-bitfields" LDLOADLIBS="$(pkg-config gthread-2.0 gmodule-2.0 gobject-2.0 --libs) -lintl"
Marc Lehmann's avatar
Marc Lehmann committed
42 43 44 45 46
    make test
    make install

    cd Gtk2
    perl Makefile.PL
Marc Lehmann's avatar
Marc Lehmann committed
47
    make CC="gcc -mms-bitfields" LDLOADLIBS="$(pkg-config gthread-2.0 gtk+-2.0 --libs) -lintl -L/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/Glib/ -lGlib"
Marc Lehmann's avatar
Marc Lehmann committed
48 49
    make install

Marc Lehmann's avatar
Marc Lehmann committed
50 51 52 53 54
    cd gimp-1.3
    CC="gcc -mms-bitfields" ./configure --prefix=/gimp
    make
    make install

Marc Lehmann's avatar
Marc Lehmann committed
55 56