added -lX11 to LIBXMU since GTK_LIBS doesn't provide it for us anymore

2002-05-30  Sven Neumann  <sven@gimp.org>

	* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
	it for us anymore (reported by Tomas Ogren).

	* libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.

	* app/base/Makefile.am: conditionally build detect-mmx.S to avoid
	warnings about empty object files (reported by Tomas Ogren).

	* plug-ins/Makefile.am: commented out plugin-helper since it's just
	too broken to be distributed.

	* themes/Default/images/Makefile.am: echo -n is not portable and not
	needed, so removed it (reported by Tomas Ogren).
This commit is contained in:
Sven Neumann 2002-05-30 02:13:11 +00:00 committed by Sven Neumann
parent 0633d0c09b
commit 892d319eae
8 changed files with 47 additions and 15 deletions

View File

@ -1,3 +1,19 @@
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
it for us anymore (reported by Tomas Ogren).
* libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.
* app/base/Makefile.am: conditionally build detect-mmx.S to avoid
warnings about empty object files (reported by Tomas Ogren).
* plug-ins/Makefile.am: commented out plugin-helper since it's just
too broken to be distributed.
* themes/Default/images/Makefile.am: echo -n is not portable and not
needed, so removed it (reported by Tomas Ogren).
2002-05-30 Sven Neumann <sven@gimp.org> 2002-05-30 Sven Neumann <sven@gimp.org>
* app/gui/gui.c (gui_get_screen_resolution): do some sanity checks * app/gui/gui.c (gui_get_screen_resolution): do some sanity checks

6
NEWS
View File

@ -8,6 +8,12 @@ development takes place on the road to the next stable release
dubbed GIMP 1.4. dubbed GIMP 1.4.
Overview of Changes in GIMP 1.3.7
=================================
- Build fixes.
- Bug fixes.
Overview of Changes in GIMP 1.3.6 Overview of Changes in GIMP 1.3.6
================================= =================================
- Support tile cache > 4GB on machines with 64bit long integers [Sven] - Support tile cache > 4GB on machines with 64bit long integers [Sven]

View File

@ -2,6 +2,12 @@
noinst_LIBRARIES = libappbase.a noinst_LIBRARIES = libappbase.a
if HAVE_ASM_MMX
mmx_sources = detect-mmx.S
else
mmx_sources =
endif
libappbase_a_SOURCES = @STRIP_BEGIN@ \ libappbase_a_SOURCES = @STRIP_BEGIN@ \
base.c \ base.c \
base.h \ base.h \
@ -14,7 +20,7 @@ libappbase_a_SOURCES = @STRIP_BEGIN@ \
boundary.h \ boundary.h \
brush-scale.c \ brush-scale.c \
brush-scale.h \ brush-scale.h \
detect-mmx.S \ $(mmx_sources) \
detect-mmx.h \ detect-mmx.h \
gimphistogram.c \ gimphistogram.c \
gimphistogram.h \ gimphistogram.h \
@ -53,11 +59,15 @@ AM_CPPFLAGS = @STRIP_BEGIN@ \
@GIMP_MP_FLAGS@ \ @GIMP_MP_FLAGS@ \
@STRIP_END@ @STRIP_END@
AM_ASFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/app
INCLUDES = @STRIP_BEGIN@ \ INCLUDES = @STRIP_BEGIN@ \
-I$(top_srcdir) \ -I$(top_srcdir) \
-I$(top_srcdir)/app \ -I$(top_srcdir)/app \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-I$(includedir) \ -I$(includedir) \
@STRIP_END@ @STRIP_END@
# #

View File

@ -552,15 +552,15 @@ if test "$gdk_target" = x11; then
[AC_CHECK_HEADER(X11/Xmu/WinUtil.h, [AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
GIMP_REMOTE='gimp-remote-1.3'; GIMP_REMOTE='gimp-remote-1.3';
WEBBROWSER='webbrowser'; WEBBROWSER='webbrowser';
LIBXMU="$X_LIBS -lXmu -lXt -lSM -lICE", LIBXMU="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt",
[AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU header file not found) ***)])], [AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU header file not found) ***)])],
[AC_CHECK_LIB(Xmu, XmuUpdateMapHints, [AC_CHECK_LIB(Xmu, XmuUpdateMapHints,
[AC_CHECK_HEADER(X11/Xmu/WinUtil.h, [AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
GIMP_REMOTE='gimp-remote-1.3'; GIMP_REMOTE='gimp-remote-1.3';
WEBBROWSER='webbrowser'; WEBBROWSER='webbrowser';
LIBXMU="$X_LIBS -lXmu -lXt", LIBXMU="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt",
[AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU header file not found) ***)])], [AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU header file not found) ***)])],
AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU library not found) ***), -lXt)], -lXt -lSM -lICE) AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU library not found) ***), -lXt)], -lXt)
LDFLAGS="$gimp_save_LDFLAGS" LDFLAGS="$gimp_save_LDFLAGS"
fi fi
else else
@ -1063,6 +1063,7 @@ dnl plug-ins/perl/config.pl
dnl plug-ins/gap/Makefile dnl plug-ins/gap/Makefile
dnl plug-ins/gdyntext/Makefile dnl plug-ins/gdyntext/Makefile
dnl plug-ins/perl/po/Makefile.in dnl plug-ins/perl/po/Makefile.in
dnl plug-ins/plugin-helper/Makefile
dnl plug-ins/tools/common/Makefile dnl plug-ins/tools/common/Makefile
AC_OUTPUT([ AC_OUTPUT([
@ -1140,7 +1141,6 @@ plug-ins/print/Makefile
plug-ins/rcm/Makefile plug-ins/rcm/Makefile
plug-ins/sel2path/Makefile plug-ins/sel2path/Makefile
plug-ins/sgi/Makefile plug-ins/sgi/Makefile
plug-ins/plugin-helper/Makefile
plug-ins/tools/Makefile plug-ins/tools/Makefile
modules/Makefile modules/Makefile
modules/makefile.mingw modules/makefile.mingw

View File

@ -375,7 +375,8 @@ gimp_gtkrc (void)
/** /**
* gimp_path_runtime_fix: * gimp_path_runtime_fix:
* @path: A pointer to a string (allocated with g_malloc) that is (or could be) a pathname. * @path: A pointer to a string (allocated with g_malloc) that is
* (or could be) a pathname.
* *
* On Windows, this function checks if the string pointed to by @path * On Windows, this function checks if the string pointed to by @path
* starts with the compile-time prefix, and in that case, replaces the * starts with the compile-time prefix, and in that case, replaces the
@ -387,8 +388,7 @@ gimp_gtkrc (void)
* *
* On Unix, does nothing. * On Unix, does nothing.
*/ */
static void
void
gimp_path_runtime_fix (gchar **path) gimp_path_runtime_fix (gchar **path)
{ {
#if defined (G_OS_WIN32) && defined (PREFIX) #if defined (G_OS_WIN32) && defined (PREFIX)

View File

@ -32,7 +32,7 @@ G_BEGIN_DECLS
const gchar * gimp_directory (void) G_GNUC_CONST; const gchar * gimp_directory (void) G_GNUC_CONST;
const gchar * gimp_data_directory (void) G_GNUC_CONST; const gchar * gimp_data_directory (void) G_GNUC_CONST;
const gchar * gimp_locale_directory (void) G_GNUC_CONST; const gchar * gimp_locale_directory (void) G_GNUC_CONST;
const gchar * gimp_sysconf_directory (void) G_GNUC_CONST; const gchar * gimp_sysconf_directory (void) G_GNUC_CONST;
const gchar * gimp_plug_in_directory (void) G_GNUC_CONST; const gchar * gimp_plug_in_directory (void) G_GNUC_CONST;
const gchar * gimp_gtkrc (void) G_GNUC_CONST; const gchar * gimp_gtkrc (void) G_GNUC_CONST;

View File

@ -57,9 +57,9 @@ SUBDIRS = \
sel2path \ sel2path \
$(WEBBROWSER) \ $(WEBBROWSER) \
$(XJT) \ $(XJT) \
plugin-helper \
common \ common \
tools tools
## plugin-helper \
## gap \ ## gap \
## gdyntext \ ## gdyntext \

View File

@ -153,7 +153,7 @@ CLEANFILES = $(noinst_DATA) stock-icons.list
stock-icons.list: $(STOCK_IMAGES) Makefile.am stock-icons.list: $(STOCK_IMAGES) Makefile.am
( rm -f $@; \ ( rm -f $@; \
for image in $(STOCK_IMAGES); do \ for image in $(STOCK_IMAGES); do \
echo -n $$image | \ echo $$image | \
sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \ sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
echo " $(srcdir)/$$image" >> $@; \ echo " $(srcdir)/$$image" >> $@; \
done ) done )