* po/POTFILES.in: add xpdf/gpdf-link-canvas-item.cc
xpdf/gpdf-links-canvas-layer.cc
* xpdf/gpdf-view.cc (gpdf_view_motion_notify_event)
(gpdf_view_handle_drag_motion): chain up to parent implementation
of motion-notify, factor out dragging
(gpdf_view_button_press_event): chain up to parent
(gpdf_view_render_page): use GPdfLinksCanvasLayer to draw links
(link_clicked_cb, gpdf_view_link_action_goto): implement simple
GoTo links
(gpdf_view_dispose): unref the links_layer
* xpdf/gpdf-persist-stream.cc: store bonoboStream as BaseStream
* xpdf/gpdf-marshal.list: add VOID:POINTER
* xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-links-canvas-layer.h:
new class, links are grouped in such layers
* xpdf/gpdf-link-canvas-item.cc, xpdf/gpdf-link-canvas-item.h: new
class, representing links in the GPdfView
* xpdf/Makefile.am: move away from $common_sources to convenience
libraries, add gpdf-link-canvas-item.{cc,h},
gpdf-links-canvas-layer.{cc,h}
* xpdf/BonoboStream.cc (bfread, bfseek): fix debug messages
+# SUBDIRS = . tests
+
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/goo \
libexec_PROGRAMS = gnome-pdf-viewer
-common_sources = \
+noinst_LIBRARIES = libxpdf.a libgpdf.a
+
+libxpdf_a_SOURCES = \
Annot.cc \
Annot.h \
Array.cc \
Array.h \
- BaseFile.h \
BuiltinFont.cc \
BuiltinFont.h \
BuiltinFontTables.cc \
BuiltinFontTables.h \
- CMap.cc \
- CMap.h \
Catalog.cc \
Catalog.h \
CharCodeToUnicode.cc \
CharCodeToUnicode.h \
- CharTypes.h \
- CompactFontTables.h \
+ CMap.cc \
+ CMap.h \
Decrypt.cc \
Decrypt.h \
Dict.cc \
Dict.h \
- DisplayFontTable.h \
Error.cc \
Error.h \
- ErrorCodes.h \
- FTFont.cc \
- FTFont.h \
FontEncodingTables.cc \
FontEncodingTables.h \
FontFile.cc \
Link.h \
NameToCharCode.cc \
NameToCharCode.h \
- NameToUnicodeTable.h \
Object.cc \
Object.h \
Outline.cc \
Outline.h \
- OutputDev.cc \
- OutputDev.h \
+ Page.cc \
+ Page.h \
+ Parser.cc \
+ Parser.h \
PDFDoc.cc \
PDFDoc.h \
PDFDocEncoding.cc \
PDFDocEncoding.h \
PSTokenizer.cc \
PSTokenizer.h \
- Page.cc \
- Page.h \
- Parser.cc \
- Parser.h \
- SFont.cc \
- SFont.h \
Stream-CCITT.h \
Stream.cc \
Stream.h \
+ UnicodeMap.cc \
+ UnicodeMap.h \
+ UnicodeMapTables.h \
+ XRef.cc \
+ XRef.h
+
+common_sources = \
+ BaseFile.h \
+ CharTypes.h \
+ CompactFontTables.h \
+ DisplayFontTable.h \
+ ErrorCodes.h \
+ FTFont.cc \
+ FTFont.h \
+ NameToUnicodeTable.h \
+ OutputDev.cc \
+ OutputDev.h \
+ SFont.cc \
+ SFont.h \
T1Font.cc \
T1Font.h \
TTFont.cc \
TTFont.h \
TextOutputDev.cc \
TextOutputDev.h \
- UTF8.h \
- UnicodeMap.cc \
- UnicodeMap.h \
- UnicodeMapTables.h \
- XRef.cc \
- XRef.h
+ UTF8.h
+
+libgpdf_a_SOURCES = \
+ gpdf-link-canvas-item.cc \
+ gpdf-link-canvas-item.h \
+ gpdf-links-canvas-layer.cc \
+ gpdf-links-canvas-layer.h
gnome_pdf_viewer_SOURCES = \
$(common_sources) \
pdf-properties-display.h \
$(BUILT_SOURCES)
+
# Old files
# GOutputDev.cc \
# GOutputDev.h \
# gpdf-embeddable-view.h
gnome_pdf_viewer_LDADD = \
+ libxpdf.a \
+ libgpdf.a \
$(top_builddir)/goo/libGoo.a \
$(EXTRA_GNOME_LIBS) \
$(libpaper_LIBS)
xpdf_CFLAGS = $(X_CFLAGS)
xpdf_LDADD = \
+ libxpdf.a \
$(top_builddir)/goo/libGoo.a \
-lXpm \
$(EXTRA_GNOME_LIBS) \