]> Pileus Git - ~andy/gtk/commit
Win32 build setup:
authorTor Lillqvist <tml@iki.fi>
Sat, 22 Jul 2000 23:50:19 +0000 (23:50 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 22 Jul 2000 23:50:19 +0000 (23:50 +0000)
commit773aacf9b63551cd198944bf5d9c7812a14b1c76
treecba8c14163f3bcd3f268ada701c13023a6cd41b8
parenta338544d1ab74133ec0973b99b05bdea78329275
Win32 build setup:

2000-07-23  Tor Lillqvist  <tml@iki.fi>

Win32 build setup:

* makefile.mingw.in
* pixops/makefile.mingw.in
* pixbuf_*.def: New files.

* Makefile.am
* pixops/Makefile.am: Add them. Add rule to generate makefile.mingw.

* gdk-pixbuf-io.c (gtk_win32_get_installation_directory):
New function, to get the GTK+ installation directory from
the Windows Registry, where the installation program
for whatever software includes GTK+ has stored it.

Used to avoid having hardcoding the directory where to look for
loaders. This function is needed by gtk, too, so it should
really be just in one place. Maybe a small static library
one level up from here?

* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file)
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
Open file in binary mode. This *is* standard C. (No-op on Unix,
of course.)

* io-jpeg.c: If we don't HAVE_SIGSETJMP, use normal setjmp().

* io-tiff.c: Use g_get_tmp_dir(). If we don't HAVE_MKSTEMP, use
mktemp() and open().
(gdk_pixbuf__tiff_image_stop_load): g_free() also the tempname.

* pixops/*.S: The Gas from mingw32 doesn't like the .type
pseudo-op. Conditionalise on __MINGW32__, but probably
should conditionalise on Gas version instead? Or could we
do without .type on all systems?

* pixops/timescale.c: Use g_get_current_time()
instead of gettimeofday().
24 files changed:
gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am
gdk-pixbuf/gdk-pixbuf-animation.c
gdk-pixbuf/gdk-pixbuf-io.c
gdk-pixbuf/gdk_pixbuf.def [new file with mode: 0644]
gdk-pixbuf/io-jpeg.c
gdk-pixbuf/io-tiff.c
gdk-pixbuf/makefile.mingw.in [new file with mode: 0644]
gdk-pixbuf/pixbufloader_bmp.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_gif.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_ico.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_jpeg.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_png.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_pnm.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_ras.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_tiff.def [new file with mode: 0644]
gdk-pixbuf/pixbufloader_xpm.def [new file with mode: 0644]
gdk-pixbuf/pixops/Makefile.am
gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S
gdk-pixbuf/pixops/composite_line_color_22_4a4_mmx.S
gdk-pixbuf/pixops/have_mmx.S
gdk-pixbuf/pixops/makefile.mingw.in [new file with mode: 0644]
gdk-pixbuf/pixops/scale_line_22_33_mmx.S
gdk-pixbuf/pixops/timescale.c