[gimp] plug-ins: rename file-pdf to file-pdf-load
- From: Barak Itkin <barakitkin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: rename file-pdf to file-pdf-load
- Date: Fri, 27 Aug 2010 21:10:24 +0000 (UTC)
commit 7f10c24f4a1ddef6336247b3c43d80da166e8a87
Author: Barak Itkin <lightningismyname gmail com>
Date: Fri Aug 27 19:43:00 2010 +0300
plug-ins: rename file-pdf to file-pdf-load
Renaming the PDF import plugin to file-pdf load is needed in order to introduce
the new PDF export plugin
configure.ac | 6 +++---
plug-ins/common/.gitignore | 4 ++--
plug-ins/common/Makefile.am | 12 ++++++------
plug-ins/common/{file-pdf.c => file-pdf-load.c} | 4 ++--
plug-ins/common/plugin-defs.pl | 2 +-
5 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f40e4bc..5608494 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1317,7 +1317,7 @@ have_poppler=no
if test "x$with_poppler" != xno; then
PKG_CHECK_MODULES(POPPLER,
poppler-glib >= poppler_required_version gthread-2.0,
- FILE_PDF='file-pdf$(EXEEXT)'
+ FILE_PDF_LOAD='file-pdf-load$(EXEEXT)'
AC_DEFINE(HAVE_POPPLER, 1, [Define to 1 if libpoppler is available])
have_poppler=yes,
have_poppler="Using PostScript plug-in (libpoppler not found)")
@@ -1325,7 +1325,7 @@ else
have_poppler="Using PostScript plug-in (libpoppler support disabled)"
fi
-AC_SUBST(FILE_PDF)
+AC_SUBST(FILE_PDF_LOAD)
################################
@@ -2194,7 +2194,7 @@ Optional Plug-Ins:
JPEG: $jpeg_ok
JPEG 2000: $have_jp2
MNG: $have_libmng
- PDF: $have_poppler
+ PDF (import): $have_poppler
PNG: $have_libpng
Print: $enable_print
PSP: $have_zlib
diff --git a/plug-ins/common/.gitignore b/plug-ins/common/.gitignore
index 5589319..d94e5c1 100644
--- a/plug-ins/common/.gitignore
+++ b/plug-ins/common/.gitignore
@@ -130,8 +130,8 @@
/file-pat.exe
/file-pcx
/file-pcx.exe
-/file-pdf
-/file-pdf.exe
+/file-pdf-load
+/file-pdf-load.exe
/file-pix
/file-pix.exe
/file-png
diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am
index 9e94f1a..40eb6b7 100644
--- a/plug-ins/common/Makefile.am
+++ b/plug-ins/common/Makefile.am
@@ -101,7 +101,7 @@ libexec_PROGRAMS = \
$(FILE_MNG) \
file-pat \
file-pcx \
- $(FILE_PDF) \
+ $(FILE_PDF_LOAD) \
file-pix \
$(FILE_PNG) \
file-pnm \
@@ -186,7 +186,7 @@ EXTRA_PROGRAMS = \
file-aa \
file-jp2-load \
file-mng \
- file-pdf \
+ file-pdf-load \
file-png \
file-psp \
file-svg \
@@ -1198,12 +1198,12 @@ file_pcx_LDADD = \
$(RT_LIBS) \
$(INTLLIBS)
-file_pdf_CFLAGS = $(POPPLER_CFLAGS)
+file_pdf_load_CFLAGS = $(POPPLER_CFLAGS)
-file_pdf_SOURCES = \
- file-pdf.c
+file_pdf_load_SOURCES = \
+ file-pdf-load.c
-file_pdf_LDADD = \
+file_pdf_load_LDADD = \
$(libgimpui) \
$(libgimpwidgets) \
$(libgimpmodule) \
diff --git a/plug-ins/common/file-pdf.c b/plug-ins/common/file-pdf-load.c
similarity index 99%
rename from plug-ins/common/file-pdf.c
rename to plug-ins/common/file-pdf-load.c
index 43c9c8a..35718f3 100644
--- a/plug-ins/common/file-pdf.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -1,6 +1,6 @@
/* GIMP - The GNU Image Manipulation Program
*
- * file-pdf.c - PDF file loader
+ * file-pdf-load.c - PDF file loader
*
* Copyright (C) 2005 Nathan Summers
*
@@ -34,7 +34,7 @@
#define LOAD_PROC "file-pdf-load"
#define LOAD_THUMB_PROC "file-pdf-load-thumb"
-#define PLUG_IN_BINARY "file-pdf"
+#define PLUG_IN_BINARY "file-pdf-load"
#define THUMBNAIL_SIZE 128
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index c7ab794..3083242 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -66,7 +66,7 @@
'file-pix' => { ui => 1 },
'file-png' => { ui => 1, optional => 1, libs => 'PNG_LIBS', cflags => 'PNG_CFLAGS' },
'file-pnm' => { ui => 1 },
- 'file-pdf' => { ui => 1, optional => 1, libs => 'POPPLER_LIBS', cflags => 'POPPLER_CFLAGS' },
+ 'file-pdf-load' => { ui => 1, optional => 1, libs => 'POPPLER_LIBS', cflags => 'POPPLER_CFLAGS' },
'file-ps' => { ui => 1 },
'file-psp' => { ui => 1, optional => 1, libs => 'Z_LIBS' },
'file-raw' => { ui => 1 },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]