]> www.fi.muni.cz Git - evince.git/commitdiff
generate lib/ggv-sidebar/Makefile. GPDF_0_103
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Tue, 3 Jun 2003 21:09:42 +0000 (21:09 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Tue, 3 Jun 2003 21:09:42 +0000 (21:09 +0000)
* configure.in: generate lib/ggv-sidebar/Makefile.

* lib/Makefile.am (SUBDIRS): add ggv-sidebar.

* lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h:
everything we need from the ggv files of the same name.

* lib/ggv-sidebar/ggvutils.c: plus their implementation.

* lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h.

* xpdf/Makefile.am: link with ggv-sidebar.

* xpdf/gpdf-view.cc: implement GgvDocument interface.
(gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces.
(gpdf_view_get_page_count, gpdf_view_get_page_names)
(gpdf_view_instance_init): for the interface.

* xpdf/tests/test-gpdf-view.cc: add tests for GPdfView.

* xpdf/tests/.cvsignore: ignore test-gpdf-view.

* xpdf/tests/Makefile.am: add new test, link with ggv-sidebar.

pdf/xpdf/Makefile.am

index 5c2356d6cf0f1e94a3685a58b6954290a94a73a4..184b8cb75be99b1396ad6fbd5bd6bac9e12e071c 100644 (file)
@@ -3,6 +3,7 @@ SUBDIRS = . tests
 INCLUDES =                                                     \
        -I$(top_srcdir)                                         \
        -I$(top_srcdir)/goo                                     \
+       -I$(top_srcdir)/lib/ggv-sidebar                         \
        -DDATADIR=\""$(datadir)"\"                              \
         -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
        -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"                 \
@@ -166,11 +167,12 @@ gnome_pdf_viewer_SOURCES =                \
 #      gpdf-embeddable-view.cc         \
 #      gpdf-embeddable-view.h
 
-gnome_pdf_viewer_LDADD =               \
-       libxpdf.a                       \
-       libgpdf.a                       \
-       $(top_builddir)/goo/libGoo.a    \
-       $(EXTRA_GNOME_LIBS)             \
+gnome_pdf_viewer_LDADD =                                       \
+       libxpdf.a                                               \
+       libgpdf.a                                               \
+       $(top_builddir)/goo/libGoo.a                            \
+       $(top_builddir)/lib/ggv-sidebar/libggv-sidebar.a        \
+       $(EXTRA_GNOME_LIBS)                                     \
        $(libpaper_LIBS)
 
 xpdf_SOURCES =                 \