From dbf6fafd2939f4ff959d2eff4181f880ebd7ceaf Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Sun, 22 May 2005 03:21:31 +0000 Subject: Rough TIFF backend. Sat May 21 23:18:30 2005 Jonathan Blandford * tiff/tiff-document.c: Rough TIFF backend. --- (limited to 'shell') diff --git a/shell/Makefile.am b/shell/Makefile.am index 032735d..43279e5 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -10,6 +10,7 @@ INCLUDES= \ -I$(top_srcdir)/backend \ -I$(top_srcdir)/pdf \ -I$(top_srcdir)/pixbuf \ + -I$(top_srcdir)/tiff \ -I$(top_srcdir)/ps \ -I$(top_srcdir)/djvu \ -I$(top_srcdir)/dvi \ @@ -29,6 +30,7 @@ libevbackendfactory_la_SOURCES= \ libevbackendfactory_la_LIBADD = \ $(top_builddir)/pdf/libpdfdocument.la \ $(top_builddir)/pixbuf/libpixbufdocument.la \ + $(top_builddir)/tiff/libtiffdocument.la \ $(top_builddir)/ps/libgtkgs.la \ $(top_builddir)/backend/libevbackend.la \ $(NULL) @@ -84,6 +86,7 @@ evince_SOURCES= \ evince_LDADD= \ $(SHELL_LIBS) \ + $(LIBTIFF) \ $(top_builddir)/cut-n-paste/recent-files/librecent.la \ $(top_builddir)/cut-n-paste/zoom-control/libephymisc.la \ $(top_builddir)/cut-n-paste/zoom-control/libephywidgets.la \ diff --git a/shell/ev-document-types.c b/shell/ev-document-types.c index a373d18..b39cfd7 100644 --- a/shell/ev-document-types.c +++ b/shell/ev-document-types.c @@ -27,6 +27,7 @@ /* The various document type backends: */ #include "ev-poppler.h" #include "pixbuf-document.h" +#include "tiff-document.h" #include "ps-document.h" #ifdef ENABLE_DVI #include "dvi-document.h" @@ -56,6 +57,9 @@ const EvDocumentType document_types[] = { {"application/x-gzpostscript", ps_document_get_type}, {"image/x-eps", ps_document_get_type}, + /* Tiff: */ + {"image/tiff", tiff_document_get_type}, + #ifdef ENABLE_DJVU /* djvu: */ {"image/vnd.djvu", djvu_document_get_type}, -- cgit v0.9.1