Commit 1baa2d45 authored by Hans Breuer's avatar Hans Breuer Committed by Hans Breuer
Browse files

[ I've postponed my reservations against pangoft2/fontconfig/freetype2

2003-12-12  Hans Breuer  <hans@breuer.org>

	[
	 I've postponed my reservations against pangoft2/fontconfig/freetype2
	 usage, so The Gimp should now build with msvc without patching it.
	]

	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.

	* libgimpthumb/makefile.msc : (new file)
	* makefile.msc : added libgimpthumb

	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
	with GIMP_THUMB_SIZE_FAIL but *size

	* plug-ins/makefile.msc : handle libgimpoldpreview

	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__

	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h

	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
	but still win32/msvc has no unistd.h

	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
	need to patch glib, see bug #98737

	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"

	* **/Makefile.am : added makefile.msc to EXTRA_DIST
parent b3481c80
2003-12-12 Hans Breuer <hans@breuer.org>
[
I've postponed my reservations against pangoft2/fontconfig/freetype2
usage, so The Gimp should now build with msvc without patching it.
]
* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.
* libgimpthumb/makefile.msc : (new file)
* makefile.msc : added libgimpthumb
* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
with GIMP_THUMB_SIZE_FAIL but *size
* plug-ins/makefile.msc : handle libgimpoldpreview
* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__
* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h
* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
but still win32/msvc has no unistd.h
* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
need to patch glib, see bug #98737
* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"
* **/Makefile.am : added makefile.msc to EXTRA_DIST
2003-12-12 Michael Natterer <mitch@gimp.org>
 
* libgimp/gimplayer.h: removed preserve_transparency #defines.
......@@ -60,6 +60,7 @@ EXTRA_DIST = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
makefile.msc \
po-libgimp/update.sh \
po-plug-ins/update.sh \
po-script-fu/update.sh
......
......@@ -64,6 +64,7 @@ regenerate: gimp-composite-generic.o gimp-composite-mmx.o gimp-composite-sse.o g
EXTRA_DIST = \
make-installer.py \
makefile.msc \
ns.py
......
......@@ -58,6 +58,8 @@ INCLUDES = \
EXTRA_PROGRAMS = test-config
EXTRA_DIST = makefile.msc
#
# unit tests for the GimpConfig system
#
......
......@@ -71,6 +71,8 @@ libappdisplay_a_SOURCES = \
$(libappdisplay_a_built_sources) \
$(libappdisplay_a_sources)
EXTRA_DIST = makefile.msc
#
# rules to generate built sources
#
......
......@@ -20,3 +20,5 @@ INCLUDES = \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
-I$(includedir)
EXTRA_DIST = makefile.msc
......@@ -44,9 +44,10 @@ PKG_LINK = \
plug-in/appplug-in.lib \
$(PRJ_TOP)/regexrepl/regexrepl.lib \
\
$(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
$(top_builddir)/libgimpcolor/gimpcolor-$(LT_RELEASE).lib \
$(top_builddir)/libgimpmath/gimpmath-$(LT_RELEASE).lib \
$(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
$(top_builddir)/libgimpthumb/gimpthumb-$(LT_RELEASE).lib \
$(top_builddir)/libgimpmodule/gimpmodule-$(LT_RELEASE).lib \
$(top_builddir)/libgimpwidgets/gimpwidgets-$(LT_RELEASE).lib \
$(GLIB_LIBS) \
......@@ -55,7 +56,12 @@ PKG_LINK = \
$(GIMP_MP_LIBS) \
$(INTL_LIBS) \
$(LIBART_LIBS) \
$(PANGOWIN32_LIBS)
$(PANGOWIN32_LIBS) \
!IFNDEF PANGO_WIN32_EXTENDED
$(PANGOFT2_LIBS) \
$(FREETYPE2_LIBS) \
$(FONTCONFIG_LIBS) \
!ENDIF
gimp_LDFLAGS = \
-export-dynamic -export-symbols $(srcdir)/gimp.sym
......
......@@ -64,6 +64,8 @@ libapppaint_a_built_sources = paint-enums.c
libapppaint_a_SOURCES = $(libapppaint_a_built_sources) $(libapppaint_a_sources)
EXTRA_DIST = makefile.msc
#
# rules to generate built sources
#
......
......@@ -58,3 +58,5 @@ INCLUDES = \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
-I$(includedir)
EXTRA_DIST = makefile.msc
......@@ -37,3 +37,5 @@ libappplug_in_a_SOURCES = \
plug-in-run.h \
plug-in-shm.c \
plug-in-shm.h
EXTRA_DIST = makefile.msc
......@@ -51,6 +51,8 @@ libapptext_a_built_sources = text-enums.c
libapptext_a_SOURCES = $(libapptext_a_built_sources) $(libapptext_a_sources)
EXTRA_DIST = makefile.msc
#
# rules to generate built sources
#
......
......@@ -7,6 +7,7 @@ PKG_VER = 1.3
PKG_LINK = \
$(GLIB_LIBS) $(PANGOFT2_LIBS) \
$(FREETYPE2_LIBS) \
..\config\appconfig-$(PKG_VER).lib \
..\base\appbase-$(PKG_VER).lib \
..\..\libgimpbase\gimpbase-$(PKG_VER).lib \
......@@ -19,9 +20,14 @@ OBJECTS = \
gimpfontlist.obj \
gimptext.obj \
gimptext-parasite.obj \
!IFNDEF PANGO_WIN32_EXTENDED
gimptext-bitmap.obj \
gimptext-vectors.obj \
!ELSE
gimptext-bitmap-win32.obj \
gimptext-compat.obj \
gimptext-vectors-win32.obj \
!ENDIF
gimptext-compat.obj \
gimptext-xlfd.obj \
gimptextlayer.obj \
gimptextlayer-xcf.obj \
......@@ -37,8 +43,9 @@ INCLUDES = \
$(GLIB_CFLAGS) \
$(FONTCONFIG_CFLAGS) \
$(PANGO_CFLAGS) $(GTK2_CFLAGS) \
# $(FREETYPE2_CFLAGS)
!IFNDEF PANGO_WIN32_EXTENDED
$(FREETYPE2_CFLAGS)
!ENDIF
all : \
$(PRJ_TOP)\config.h \
......
......@@ -157,6 +157,7 @@ INCLUDES = \
$(GTK_CFLAGS) \
-I$(includedir)
EXTRA_DIST = makefile.msc
#
# rules to generate built sources
......
......@@ -34,3 +34,5 @@ libappvectors_a_SOURCES = \
gimpvectors-import.h \
gimpvectors-preview.c \
gimpvectors-preview.h
EXTRA_DIST = makefile.msc
......@@ -200,6 +200,8 @@ libappwidgets_a_built_sources = widgets-enums.c
libappwidgets_a_SOURCES = \
$(libappwidgets_a_built_sources) $(libappwidgets_a_sources)
EXTRA_DIST = makefile.msc
#
# rules to generate built sources
#
......
......@@ -29,6 +29,7 @@ OBJECTS = \
gimpcellrenderertoggle.obj \
gimpcellrendererviewable.obj \
gimpchanneltreeview.obj \
gimpcolordisplayeditor.obj \
gimpcoloreditor.obj \
gimpcolorframe.obj \
gimpcolormapeditor.obj \
......
......@@ -27,3 +27,5 @@ INCLUDES = \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
-I$(includedir)
EXTRA_DIST = makefile.msc
......@@ -57,14 +57,15 @@ EXPORTS
gimp_drawable_fill
gimp_drawable_flush
gimp_drawable_get
gimp_drawable_get_name
gimp_drawable_get_image
gimp_drawable_get_linked
gimp_drawable_get_name
gimp_drawable_get_tattoo
gimp_drawable_get_visible
gimp_drawable_get_thumbnail_data
gimp_drawable_get_tile
gimp_drawable_get_tile2
gimp_drawable_get_visible
gimp_drawable_get_visible
gimp_drawable_has_alpha
gimp_drawable_height
gimp_drawable_is_channel
......@@ -83,12 +84,11 @@ EXPORTS
gimp_drawable_parasite_list
gimp_drawable_set_linked
gimp_drawable_set_name
gimp_drawable_set_visible
gimp_drawable_set_tattoo
gimp_drawable_set_visible
gimp_drawable_type
gimp_drawable_type_with_alpha
gimp_drawable_update
gimp_drawable_visible
gimp_drawable_width
gimp_edit_clear
gimp_edit_copy
......@@ -123,8 +123,8 @@ EXPORTS
gimp_fuzzy_select
gimp_gamma
gimp_get_bg_guchar
gimp_get_fg_guchar
gimp_get_default_comment
gimp_get_fg_guchar
gimp_get_module_load_inhibit
gimp_get_monitor_resolution
gimp_get_path_by_tattoo
......@@ -147,11 +147,9 @@ EXPORTS
gimp_help
gimp_histogram
gimp_hue_saturation
gimp_image_active_drawable
gimp_image_add_channel
gimp_image_add_hguide
gimp_image_add_layer
gimp_image_add_layer_mask
gimp_image_add_vguide
gimp_image_attach_new_parasite
gimp_image_base_type
......@@ -169,6 +167,7 @@ EXPORTS
gimp_image_floating_sel_attached_to
gimp_image_free_shadow
gimp_image_get_active_channel
gimp_image_get_active_drawable
gimp_image_get_active_layer
gimp_image_get_channel_by_tattoo
gimp_image_get_channels
......@@ -206,7 +205,6 @@ EXPORTS
gimp_image_raise_layer_to_top
gimp_image_remove_channel
gimp_image_remove_layer
gimp_image_remove_layer_mask
gimp_image_resize
gimp_image_scale
gimp_image_set_active_channel
......@@ -232,6 +230,7 @@ EXPORTS
gimp_install_temp_proc
gimp_invert
gimp_layer_add_alpha
gimp_layer_add_mask
gimp_layer_copy
gimp_layer_create_mask
gimp_layer_get_apply_mask
......@@ -244,6 +243,7 @@ EXPORTS
gimp_layer_is_floating_sel
gimp_layer_new
gimp_layer_new_from_drawable
gimp_layer_remove_mask
gimp_layer_resize
gimp_layer_resize_to_image_size
gimp_layer_scale
......@@ -376,13 +376,13 @@ EXPORTS
gimp_selection_translate
gimp_selection_value
gimp_shear
gimp_shm_ID
gimp_shm_addr
gimp_shm_ID
gimp_show_tool_tips
gimp_smudge
gimp_smudge_default
gimp_temp_PDB_name
gimp_temp_name
gimp_temp_PDB_name
gimp_text
gimp_text_fontname
gimp_text_get_extents
......@@ -401,3 +401,4 @@ EXPORTS
gimp_version
gimp_wm_class
gimp_wm_name
......@@ -5,16 +5,6 @@ EXPORTS
gimp_channel_menu_new
gimp_drawable_menu_new
gimp_export_image
gimp_fixme_preview_do_row
gimp_fixme_preview_fill
gimp_fixme_preview_fill_scaled
gimp_fixme_preview_fill_with_thumb
gimp_fixme_preview_free
gimp_fixme_preview_get_pixel
gimp_fixme_preview_new
gimp_fixme_preview_new2
gimp_fixme_preview_put_pixel
gimp_fixme_preview_update
gimp_font_select_widget_close
gimp_font_select_widget_new
gimp_font_select_widget_set
......@@ -23,7 +13,6 @@ EXPORTS
gimp_gradient_select_widget_set
gimp_image_menu_new
gimp_layer_menu_new
gimp_parameter_settings_new
gimp_pattern_select_widget_close
gimp_pattern_select_widget_new
gimp_pattern_select_widget_set
......
......@@ -176,7 +176,7 @@ gimp_thumb_find_thumb (const gchar *uri,
gint i, n;
g_return_val_if_fail (gimp_thumb_initialized, NULL);
g_return_val_if_fail (size > GIMP_THUMB_SIZE_FAIL, NULL);
g_return_val_if_fail (*size > GIMP_THUMB_SIZE_FAIL, NULL);
name = gimp_thumb_png_name (uri);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment