Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-02-25 19:56:55 (GMT)
committer Michael Zucci <zucchi@src.gnome.org>2000-02-25 19:56:55 (GMT)
commitc3d1dd25dcf509be82a92c5aeb544f08a5a604f4 (patch)
tree27ef512a375b37d27f2776b8eb8537f3c5a24f7e /pdf
parentf4fb298e749b16d591ebd1cb15cfec8c2c3efeec (diff)
Fixed up lists of sources so that distcheck works. Also, only build gpdf
2000-02-25 NotZed <NotZed@HelixCode.com> * Makefile.am: Fixed up lists of sources so that distcheck works. Also, only build gpdf if with gnome (otherwise distcheck fails). * gpdf.cc (container_about_cmd): Define i if we are going to be using it.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/xpdf/ChangeLog8
-rw-r--r--pdf/xpdf/Makefile.am36
-rw-r--r--pdf/xpdf/gpdf.cc2
3 files changed, 43 insertions, 3 deletions
diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog
index a0c2ec1..d5d39b9 100644
--- a/pdf/xpdf/ChangeLog
+++ b/pdf/xpdf/ChangeLog
@@ -1,3 +1,11 @@
+2000-02-25 NotZed <NotZed@HelixCode.com>
+
+ * Makefile.am: Fixed up lists of sources so that distcheck works.
+ Also, only build gpdf if with gnome (otherwise distcheck fails).
+
+ * gpdf.cc (container_about_cmd): Define i if we are going
+ to be using it.
+
2000-02-09 Michael Meeks <michael@helixcode.com>
* Clean unused & lack of casting all round the place.
diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am
index 87e0214..9074ebc 100644
--- a/pdf/xpdf/Makefile.am
+++ b/pdf/xpdf/Makefile.am
@@ -5,7 +5,7 @@ INCLUDES = \
$(EXTRA_GNOME_CFLAGS)
if WITH_GNOME
-gui = xpdf gpdf
+gui = gpdf
else
gui = xpdf
endif
@@ -14,29 +14,51 @@ bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui) bonobo-applic
common_sources = \
Array.cc \
+ Array.h \
BaseFile.h \
Catalog.cc \
+ Catalog.h \
+ CompactFontInfo.h \
Dict.cc \
+ Dict.h \
Error.cc \
+ Error.h \
FontEncoding.cc \
FontEncoding.h \
FontFile.cc \
FontFile.h \
FontInfo.h \
Gfx.cc \
+ Gfx.h \
GfxFont.cc \
+ GfxFont.h \
GfxState.cc \
+ GfxState.h \
Lexer.cc \
+ Lexer.h \
Link.cc \
+ Link.h \
Object.cc \
+ Object.h \
OutputDev.cc \
+ OutputDev.h \
Page.cc \
+ Page.h \
Params.cc \
+ Params.h \
Parser.cc \
+ Parser.h \
PDFDoc.cc \
+ PDFDoc.h \
+ StdFontInfo.h \
Stream.cc \
+ Stream.h \
+ Stream-CCITT.h \
+ TextOutputDev.h \
+ TextOutputFontInfo.h \
TextOutputDev.cc \
- XRef.cc
+ XRef.cc \
+ XRef.h
gpdf_CFLAGS = \
-DBONOBO_IO
@@ -57,7 +79,9 @@ bonobo_application_x_pdf_SOURCES = \
BonoboStream.h \
BonoboStream.cc \
GOutputDev.cc \
+ GOutputDev.h \
bonobo-application-x-pdf.cc \
+ bonobo-application-x-pdf.h \
gtkgesture.c \
gtkgesture.h
@@ -75,6 +99,7 @@ xpdf_SOURCES = \
XOutputDev.cc \
LTKOutputDev.cc \
PSOutputDev.cc \
+ PSOutputDev.h \
xpdf.cc
xpdf_CFLAGS = $(X_CFLAGS)
@@ -83,6 +108,7 @@ xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a -lXpm $(EXTRA_GNOME_LIBS)
pdfimages_SOURCES = \
$(common_sources) \
ImageOutputDev.cc \
+ ImageOutputDev.h \
pdfimages.cc
pdfimages_LDADD = ../goo/libgoo.a
@@ -106,7 +132,10 @@ pdfinfo_LDADD = ../goo/libgoo.a
pdftopbm_SOURCES = \
$(common_sources) \
PBMOutputDev.cc \
+ PBMOutputDev.h \
XOutputDev.cc \
+ XOutputDev.h \
+ XOutputFontInfo.h \
pdftopbm.cc
pdftopbm_LDADD = ../goo/libgoo.a $(EXTRA_GNOME_LIBS)
@@ -136,4 +165,5 @@ ltk = \
gnorbadir = $(sysconfdir)/CORBA/servers
gnorba_DATA = application-x-pdf.gnorba
-EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(gnorba_DATA)
+EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(gnorba_DATA) config.h
+
diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc
index b12ccbd..a053261 100644
--- a/pdf/xpdf/gpdf.cc
+++ b/pdf/xpdf/gpdf.cc
@@ -311,6 +311,8 @@ container_about_cmd (GtkWidget *widget, Container *container)
};
#ifdef ENABLE_NLS
+ int i;
+
for (i = 0; authors[i] != NULL; i++)
authors [i] = _(authors [i]);
#endif