Commit de5f8b5f authored by Hans Breuer's avatar Hans Breuer Committed by Hans Breuer
Browse files

#define GETTEXT_PACKAGE

2001-03-28  Hans Breuer  <hans@breuer.org>

	* config.h.win32 : #define GETTEXT_PACKAGE

	* makefile.msc : add theme rule

	* app/makefile.msc : gimp.exe depends on all the libs
	and general update

	* app/base/makefile.msc : updated

	* app/config/gimpconfig-serialize.c : #include <io.h> for win32
	* app/config/gimpconfig-types.c : #include <string.h>

	* app/core/gimpcontext.c app/core/gimpcontainer.c
	  app/core/gimptoolinfo.c : #include <string.h>

	* app/core/gimpdocuments.c (gimp_documents_save_func) :
	need to g_strescape() the filename to not make
	backslashes vanish during de-serialization

	* app/core/gimpimagefile.c : #define S_ISREG for G_OS_WIN32

	* app/core/makefile.msc : add -DGIMP_COMPILATION
	required for cpercep.c build

	* app/display/gimpdisplayshell.c : #include <string.h>

	* app/display/makefile.msc : -FImsvc_recommended_pragmas.h,
	G_LOG_DOMAIN definition and object file update

	* app/file/makefile.msc : -FImsvc_recommended_pragmas.h,
	G_LOG_DOMAIN definition

	* app/file/file-open.c (file_open_with_proc_and_display) :
	use absolute filename for gimp_documents_add()

	* app/gui/channel-commands.c app/gui/colormap-editor-commands.c
	  app/gui/edit-commands.c app/gui/vectors-commands.c :
	#include <string.h>

	* app/gui/makefile.msc : updated

	* app/gui/menus.c : use g_file_test() instead of access()
	to avoid inclusion <unistd.h>

	* app/paint/makefile.msc : updated

	* app/plug-in/plug-in-params.c : #include <string.h>

	* app/plug-in/makefile.msc : updated

	* app/plug-in/plug-in-def.h : #include <time.h> for time_t

	* app/plug-in/plug-in.c : remove definition of S_IFREG

	* app/plug-in/gap/gap_arr_dialog.c : include <config.h>
	before including libgimp/libgimp-intl.h

	* app/tools/makefile.msc : updated

	* app/vectors/makefile.msc : new file

	* app/widgets/makefile.msc : updated

	* libgimp/gimp.def : updated externals

	* libgimpwidgets/gimpwidgets.def : updated externals

	* modules/makefile.msc : updated and disabled colorsel_gtk.

	* plug-in/makefile.msc : don't define GETTEXT_PACKAGE

	* themes/Default/images/makefile.msc : moved makefile.msc from ..
	and adapted pathes to images
parent 75c63ee3
2001-03-28 Hans Breuer <hans@breuer.org>
* config.h.win32 : #define GETTEXT_PACKAGE
* makefile.msc : add theme rule
* app/makefile.msc : gimp.exe depends on all the libs
and general update
* app/base/makefile.msc : updated
* app/config/gimpconfig-serialize.c : #include <io.h> for win32
* app/config/gimpconfig-types.c : #include <string.h>
* app/core/gimpcontext.c app/core/gimpcontainer.c
app/core/gimptoolinfo.c : #include <string.h>
* app/core/gimpdocuments.c (gimp_documents_save_func) :
need to g_strescape() the filename to not make
backslashes vanish during de-serialization
* app/core/gimpimagefile.c : #define S_ISREG for G_OS_WIN32
* app/core/makefile.msc : add -DGIMP_COMPILATION
required for cpercep.c build
* app/display/gimpdisplayshell.c : #include <string.h>
* app/display/makefile.msc : -FImsvc_recommended_pragmas.h,
G_LOG_DOMAIN definition and object file update
* app/file/makefile.msc : -FImsvc_recommended_pragmas.h,
G_LOG_DOMAIN definition
* app/file/file-open.c (file_open_with_proc_and_display) :
use absolute filename for gimp_documents_add()
* app/gui/channel-commands.c app/gui/colormap-editor-commands.c
app/gui/edit-commands.c app/gui/vectors-commands.c :
#include <string.h>
* app/gui/makefile.msc : updated
* app/gui/menus.c : use g_file_test() instead of access()
to avoid inclusion <unistd.h>
* app/paint/makefile.msc : updated
* app/plug-in/plug-in-params.c : #include <string.h>
* app/plug-in/makefile.msc : updated
* app/plug-in/plug-in-def.h : #include <time.h> for time_t
* app/plug-in/plug-in.c : remove definition of S_IFREG
* app/plug-in/gap/gap_arr_dialog.c : include <config.h>
before including libgimp/libgimp-intl.h
* app/tools/makefile.msc : updated
* app/vectors/makefile.msc : new file
* app/widgets/makefile.msc : updated
* libgimp/gimp.def : updated externals
* libgimpwidgets/gimpwidgets.def : updated externals
* modules/makefile.msc : updated and disabled colorsel_gtk.
* plug-in/makefile.msc : don't define GETTEXT_PACKAGE
* themes/Default/images/makefile.msc : moved makefile.msc from ..
and adapted pathes to images
2002-03-28 Michael Natterer <mitch@gimp.org>
 
* app/config/Makefile.am
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpwidgets/gimpwidgets.h"
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpwidgets/gimpwidgets.h"
......
......@@ -15,6 +15,7 @@ PKG_LINK = \
OBJECTS = \
base.obj \
base-config.obj \
base-enums.obj \
boundary.obj \
brush-scale.obj \
gimphistogram.obj \
......@@ -31,6 +32,7 @@ OBJECTS = \
tile-swap.obj \
INCLUDES = \
-FImsvc_recommended_pragmas.h \
-I $(PRJ_TOP) \
-I $(PRJ_TOP)/app \
$(GLIB_CFLAGS) \
......
......@@ -29,6 +29,10 @@
#include <glib-object.h>
#ifdef G_OS_WIN32
#include <io.h>
#endif
#include "gimpconfig.h"
#include "gimpconfig-serialize.h"
#include "gimpconfig-types.h"
......
......@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib-object.h>
......
......@@ -25,10 +25,14 @@ OBJECTS = \
gimprc.obj \
INCLUDES = \
-FImsvc_recommended_pragmas.h \
-I $(PRJ_TOP) \
-I $(PRJ_TOP)/app \
$(GLIB_CFLAGS) \
DEFINES = \
-DG_LOG_DOMAIN=\"Gimp-Config\"
all : \
$(PRJ_TOP)\config.h \
$(PACKAGE).lib \
......
......@@ -144,7 +144,10 @@ static void
gimp_documents_save_func (GimpImagefile *imagefile,
FILE *fp)
{
fprintf (fp, "(document \"%s\")\n", GIMP_OBJECT (imagefile)->name);
gchar *escaped = g_strescape (GIMP_OBJECT (imagefile)->name, NULL);
fprintf (fp, "(document \"%s\")\n", escaped);
g_free (escaped);
}
void
......
......@@ -21,6 +21,8 @@
#include "config.h"
#include <string.h>
#include <glib-object.h>
#include "core-types.h"
......
......@@ -21,6 +21,8 @@
#include "config.h"
#include <string.h>
#include <glib-object.h>
#include "libgimpcolor/gimpcolor.h"
......
......@@ -144,7 +144,10 @@ static void
gimp_documents_save_func (GimpImagefile *imagefile,
FILE *fp)
{
fprintf (fp, "(document \"%s\")\n", GIMP_OBJECT (imagefile)->name);
gchar *escaped = g_strescape (GIMP_OBJECT (imagefile)->name, NULL);
fprintf (fp, "(document \"%s\")\n", escaped);
g_free (escaped);
}
void
......
......@@ -144,7 +144,10 @@ static void
gimp_documents_save_func (GimpImagefile *imagefile,
FILE *fp)
{
fprintf (fp, "(document \"%s\")\n", GIMP_OBJECT (imagefile)->name);
gchar *escaped = g_strescape (GIMP_OBJECT (imagefile)->name, NULL);
fprintf (fp, "(document \"%s\")\n", escaped);
g_free (escaped);
}
void
......
......@@ -32,6 +32,12 @@
#include <glib-object.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#ifdef G_OS_WIN32
# ifndef S_ISREG
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
# endif
#endif
#include "core-types.h"
#include "base/temp-buf.h"
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <glib-object.h>
#include "core-types.h"
......
......@@ -7,14 +7,19 @@ PKG_VER = 1.3
PKG_LINK = \
$(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS) \
$(LIBART_LIBS) \
..\base\appbase-$(PKG_VER).lib \
..\paint-funcs\apppaint-funcs-$(PKG_VER).lib \
..\vectors\appvectors-$(PKG_VER).lib \
..\xcf\xcf.lib \
..\..\libgimpbase\gimpbase-$(PKG_VER).lib \
..\..\libgimpcolor\gimpcolor-$(PKG_VER).lib \
..\..\libgimpmath\gimpmath-$(PKG_VER).lib \
..\..\libgimpwidgets\gimpwidgets-$(PKG_VER).lib
OBJECTS = \
# ..\undo.obj \
core-enums.obj \
cpercep.obj \
gimp.obj \
gimpbrush.obj \
......@@ -61,13 +66,16 @@ OBJECTS = \
gimpimage-scale.obj \
gimpimage-undo.obj \
gimpimagefile.obj \
gimpitem.obj \
gimplayer.obj \
gimplayer-floating-sel.obj \
gimplayermask.obj \
gimplist.obj \
gimpmarshal.obj \
gimpmoduleinfo.obj \
gimpmodules.obj \
gimpobject.obj \
gimppaintinfo.obj \
gimppalette.obj \
gimppalette-import.obj \
gimpparasite.obj \
......@@ -94,9 +102,15 @@ OTHER_FILES = \
INCLUDES = \
-FImsvc_recommended_pragmas.h \
-I$(PRJ_TOP) \
-I$(PRJ_TOP)/app \
$(GTK2_CFLAGS) \
$(LIBART_CFLAGS) \
DEFINES = \
-DGIMP_COMPILATION \
-DG_LOG_DOMAIN=\"Gimp-Core\"
all : \
$(PRJ_TOP)\config.h \
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpbase/gimpbase.h"
......
......@@ -18,6 +18,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "libgimpbase/gimpbase.h"
......
Supports Markdown
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