configure.in Enable build of metadata plug-in.

2005-03-07  Raphael Quinet  <raphael@gimp.org>

	* configure.in
	* plug-ins/Makefile.am (SUBDIRS): Enable build of metadata plug-in.

	* plug-ins/metadata/xmp-gen.c
	* plug-ins/metadata/xmp-gen.h
	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-encode.h: Renamed xmp-gen.[ch] to
	xmp-encode.[ch].

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Updated accordingly + minor fixes.
This commit is contained in:
Raphael Quinet 2005-03-07 19:40:51 +00:00 committed by Raphaël Quinet
parent 804bdfafd8
commit 609543bf85
8 changed files with 35 additions and 16 deletions

View File

@ -1,3 +1,18 @@
2005-03-07 Raphaël Quinet <raphael@gimp.org>
* configure.in
* plug-ins/Makefile.am (SUBDIRS): Enable build of metadata plug-in.
* plug-ins/metadata/xmp-gen.c
* plug-ins/metadata/xmp-gen.h
* plug-ins/metadata/xmp-encode.c
* plug-ins/metadata/xmp-encode.h: Renamed xmp-gen.[ch] to
xmp-encode.[ch].
* plug-ins/metadata/Makefile.am
* plug-ins/metadata/metadata.c
* plug-ins/metadata/interface.c: Updated accordingly + minor fixes.
2005-03-07 Michael Natterer <mitch@gimp.org>
* app/tools/gimpcolortool.c: converted tabs to spaces, stylistic

View File

@ -1656,6 +1656,7 @@ plug-ins/imagemap/Makefile
plug-ins/imagemap/images/Makefile
plug-ins/jpeg/Makefile
plug-ins/maze/Makefile
plug-ins/metadata/Makefile
plug-ins/pagecurl/Makefile
plug-ins/print/Makefile
plug-ins/pygimp/Makefile

View File

@ -52,6 +52,7 @@ SUBDIRS = \
imagemap \
jpeg \
maze \
metadata \
pagecurl \
$(print) \
$(pygimp) \

View File

@ -24,14 +24,14 @@ metadata_SOURCES = \
xmp-model.c \
xmp-parse.h \
xmp-parse.c \
xmp-gen.h \
xmp-gen.c
# exif-parse.h \
# exif-parse.c \
# exif-gen.h \
# exif-gen.c \
# iptc-parse.h \
# iptc-parse.c
xmp-encode.h \
xmp-encode.c
# exif-decode.h \
# exif-decode.c \
# exif-encode.h \
# exif-encode.c \
# iptc-decode.h \
# iptc-decode.c
noinst_PROGRAMS = xmpdump
xmpdump_SOURCES = \

View File

@ -51,7 +51,7 @@
#include "interface.h"
#include "xmp-model.h"
#include "xmp-gen.h"
#include "xmp-encode.h"
#define RESPONSE_IMPORT 1
@ -418,7 +418,7 @@ file_import_dialog (GtkWidget *parent,
NULL);
gtk_dialog_set_alternative_button_order (dlg,
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dlg),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
@ -472,8 +472,10 @@ export_dialog_response (GtkWidget *dlg,
return;
}
/*
fprintf (stderr, "\nwriting %d bytes to %s...\n",
strlen (buffer), filename);
*/
if (write (fd, buffer, strlen (buffer)) < 0)
{
@ -520,7 +522,7 @@ file_export_dialog (GtkWidget *parent,
NULL);
gtk_dialog_set_alternative_button_order (dlg,
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dlg),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
@ -588,7 +590,7 @@ metadata_dialog (gint32 image_ID,
NULL);
gtk_dialog_set_alternative_button_order (mgui.dlg,
gtk_dialog_set_alternative_button_order (GTK_DIALOG (mgui.dlg),
RESPONSE_IMPORT,
RESPONSE_EXPORT,
GTK_RESPONSE_OK,

View File

@ -30,10 +30,10 @@
#include "libgimp/stdplugins-intl.h"
#include "interface.h"
#include "xmp-gen.h"
#include "xmp-encode.h"
/* FIXME: uncomment when these are working
#include "exif-parse.h"
#include "exif-gen.h"
#include "exif-decode.h"
#include "exif-encode.h"
#include "iptc-parse.h"
*/

View File

@ -29,7 +29,7 @@
#include "libgimp/stdplugins-intl.h"
#include "xmp-gen.h"
#include "xmp-encode.h"
#include "xmp-model.h"
static gssize