Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2003-02-15 15:07:21 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2003-02-15 15:07:21 (GMT)
commite9705183293f22e3a45dd59ba3df42d1c5a77dd8 (patch)
tree405febbd636c73b02a9e123ab0adc8ff25b09bc1 /pdf
parent1c57f46721837926785742850714d341c904d0f4 (diff)
change (disabled) font embedding code
* xpdf/GPOutputDev.cc (getFontFaceEmbedded): change (disabled) font embedding code * shell/gpdf.c (gw_setup_window): set window title * xpdf/GNOME_PDF.server.in.in, shell/gpdf.c: s/Gnome/GNOME/ in strings * xpdf/page-control.c, xpdf/gpdf-view.cc, xpdf/gpdf-persist-stream.cc: use our own marshallers * configure.in, xpdf/Makefile.am, xpdf/gpdf-marshal.list: check for and use glib-genmarshal * xpdf/.cvsignore: ignore generated marshallers * xpdf/Makefile.am: clean up server.in, server files * Makefile.am, gpdf.mime: remove gpdf.mime, application/pdf is provided by gnome-vfs.mime
Diffstat (limited to 'pdf')
-rw-r--r--pdf/xpdf/.cvsignore2
-rw-r--r--pdf/xpdf/Makefile.am20
2 files changed, 19 insertions, 3 deletions
diff --git a/pdf/xpdf/.cvsignore b/pdf/xpdf/.cvsignore
index 1898fa0..6ebaacb 100644
--- a/pdf/xpdf/.cvsignore
+++ b/pdf/xpdf/.cvsignore
@@ -7,6 +7,8 @@ Makefile.in
bonobo-application-x-pdf
gnome-pdf-viewer
gpdf
+gpdf-marshal.c
+gpdf-marshal.h
pdfimages
pdfinfo
pdftopbm
diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am
index cfebfdf..e37d6f3 100644
--- a/pdf/xpdf/Makefile.am
+++ b/pdf/xpdf/Makefile.am
@@ -14,6 +14,10 @@ else
gui = xpdf
endif
+BUILT_SOURCES = \
+ gpdf-marshal.c \
+ gpdf-marshal.h
+
bin_PROGRAMS = $(gui)
# pdftops pdftotext
# pdfinfo pdftopbm
@@ -118,7 +122,8 @@ gnome_pdf_viewer_SOURCES = \
gtkgesture.c \
gtkgesture.h \
page-control.c \
- page-control.h
+ page-control.h \
+ $(BUILT_SOURCES)
# Font embedding hack for Gnome Print < 2.1.?2?
# gpdf-gnome-font.c \
@@ -207,6 +212,12 @@ xpdf-ltk.h: xpdf.ltk
# zoomIn.xbm
# zoomOut.xbm
+gpdf-marshal.h: gpdf-marshal.list $(GLIB_GENMARSHAL)
+ $(GLIB_GENMARSHAL) $< --header --prefix=gpdf_marshal > $@
+
+gpdf-marshal.c: gpdf-marshal.list $(GLIB_GENMARSHAL)
+ echo "#include \"gpdf-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --body --prefix=gpdf_marshal >> $@
stockdir = $(datadir)/pixmaps/gpdf
stock_DATA = fitwidth.png
@@ -216,7 +227,6 @@ ltk = \
xpdf-top.ltk \
xpdf.ltk
-
server_in_files = GNOME_PDF.server.in.in
serverdir = $(libdir)/bonobo/servers
@@ -230,5 +240,9 @@ ui_DATA = \
bonobo-application-x-pdf-ui.xml \
gpdf-control-ui.xml
-EXTRA_DIST = $(stock_DATA) $(ltk) \
+CLEANFILES = $(server_DATA) $(BUILT_SOURCES)
+DISTCLEANFILES = $(server_in_files:.server.in.in=.server.in)
+
+EXTRA_DIST = $(stock_DATA) \
+ gpdf-marshal.list \
$(server_in_files) config.h $(ui_DATA)