configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl

2003-03-30  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mng.c: added MNG save plug-in written by
	S. Mukund <muks@mukund.org>.
This commit is contained in:
Sven Neumann 2003-03-30 22:06:46 +00:00 committed by Sven Neumann
parent f50c7a5748
commit d9dfddc204
9 changed files with 2960 additions and 1302 deletions

View File

@ -1,3 +1,11 @@
2003-03-30 Sven Neumann <sven@gimp.org>
* configure.in
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/mng.c: added MNG save plug-in written by
S. Mukund <muks@mukund.org>.
2003-03-30 Sven Neumann <sven@gimp.org>
* app/widgets/gimpbrusheditor.c: increased the upper limit for the

View File

@ -752,6 +752,27 @@ AC_SUBST(PNG)
AC_SUBST(LIBPNG)
##################
# Check for libmng
##################
AC_ARG_WITH(libmng, [ --without-libmng build without MNG support])
if test x$with_libmng != xno && test -z "$LIBMNG" &&
test -n "$LIBPNG" && test -n "$LIBJPEG" && test -n "$LIBZ"; then
AC_CHECK_LIB(mng, mng_create,
[AC_CHECK_HEADER(libmng.h, mng_ok=yes)],
[AC_MSG_WARN(*** MNG plug-in will not be built (MNG library not found) ***)], -lz -lm)
if test "$mng_ok" = yes; then
MNG='mng'; LIBMNG="-lmng $LIBJPEG $LIBPNG"
else
AC_MSG_WARN(*** MNG plug-in will not be built (MNG header file not found) ***)
fi
fi
AC_SUBST(MNG)
AC_SUBST(LIBMNG)
#################
# Check for libaa
#################
@ -1031,7 +1052,7 @@ AC_SUBST(GIMPINSTALL)
dnl FIXME: Do we need to do this?
if test -n "$DISTMAKE"; then
TIFF=tiff JPEG=jpeg PNG=png AA=aa PRINT=print
TIFF=tiff JPEG=jpeg PNG=png MNG=mng AA=aa PRINT=print
WEBBROWSER=webbrowser HELPBROWSER=helpbrowser
XJT=xjt XPM=xpm
fi

View File

@ -71,6 +71,7 @@ mail
mapcolor
max_rgb
mblur
mng
newsprint
nlfilt
noisify

View File

@ -88,6 +88,7 @@ libexec_PROGRAMS = \
mapcolor \
max_rgb \
mblur \
$(MNG) \
newsprint \
nlfilt \
noisify \
@ -156,6 +157,7 @@ EXTRA_PROGRAMS = \
bz2 \
jpeg \
mail \
mng \
png \
psp \
screenshot \
@ -989,6 +991,19 @@ mblur_LDADD = \
$(GTK_LIBS) \
$(INTLLIBS)
mng_SOURCES = \
mng.c
mng_LDADD = \
$(top_builddir)/libgimp/libgimpui-$(LT_RELEASE).la \
$(top_builddir)/libgimp/libgimp-$(LT_RELEASE).la \
$(top_builddir)/libgimpwidgets/libgimpwidgets-$(LT_RELEASE).la \
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la \
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
$(LIBMNG) \
$(GTK_LIBS) \
$(INTLLIBS)
newsprint_SOURCES = \
newsprint.c

1546
plug-ins/common/mng.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -68,6 +68,7 @@
'mapcolor' => { libdep => 'gtk', ui => 1 },
'max_rgb' => { libdep => 'gtk', ui => 1 },
'mblur' => { libdep => 'gtk', ui => 1 },
'mng' => { libdep => 'gtk', ui => 1, optional => 1 },
'newsprint' => { libdep => 'gtk', ui => 1 },
'nlfilt' => { libdep => 'gtk', ui => 1 },
'noisify' => { libdep => 'gtk', ui => 1 },

View File

@ -1,3 +1,8 @@
2003-03-31 Sven Neumann <sven@gimp.org>
* POTFILES.in
* de.po: updated.
2003-03-27 Jan Morén <jan.moren@lucs.lu.se>
* sv.po: Updated Swedish translation.
@ -17,7 +22,7 @@
2003-03-05 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
* pt.po: Updated Portuguese translation.
2003-03-03 Pablo Gonzalo del Campo <pablodc@bigfoot.com>

View File

@ -80,6 +80,7 @@ plug-ins/common/mail.c
plug-ins/common/mapcolor.c
plug-ins/common/max_rgb.c
plug-ins/common/mblur.c
plug-ins/common/mng.c
plug-ins/common/newsprint.c
plug-ins/common/nlfilt.c
plug-ins/common/noisify.c

File diff suppressed because it is too large Load Diff