--- evince-0.6.0.orig/debian/control
+++ evince-0.6.0/debian/control
@@ -0,0 +1,23 @@
+Source: evince
+Section: gnome
+Priority: optional
+Maintainer: Sebastien Bacher <seb128@debian.org>
+Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Clément Stenac <zorglub@debian.org>, Dafydd Harries <daf@debian.org>, Guilherme de S. Pastore <gpastore@debian.org>, Gustavo Franco <stratus@debian.org>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Dassen (Ray) <jdassen@debian.org>, Jordi Mallach <jordi@debian.org>, Jose Carlos Garcia Sogo <jsogo@debian.org>, Josselin Mouette <joss@debian.org>, Loic Minier <lool@dooz.org>, Marc 'HE' Brockschmidt <he@debian.org>, Marco Cabizza <marco87@gmail.com>, Oystein Gisnas <oystein@gisnas.net>, Ondřej Surý <ondrej@debian.org>, Ross Burton <ross@debian.org>, Sjoerd Simons <sjoerd@debian.org>
+Build-Depends: cdbs, debhelper (>= 4.0.0), gnome-pkg-tools, libgtk2.0-dev (>= 2.10.0), libgnomeui-dev (>= 2.4.0), libgnomevfs2-dev, libglade2-dev, libxml-parser-perl, gs, libxt-dev, libpoppler-glib-dev (>= 0.5.3), libdjvulibre-dev (>= 3.5.17), libkpathsea-dev | libkpathsea4-dev, scrollkeeper, libtiff4-dev, libnautilus-extension-dev, gnome-doc-utils (>= 0.3.2), libgnome-keyring-dev, liblaunchpad-integration-dev
+Standards-Version: 3.7.2
+
+Package: evince
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, gs-esp | gs
+Provides: pdf-viewer, postscript-viewer
+Description: Document (postscript, pdf) viewer
+ Evince is a simple multi-page document viewer.  It can display and print
+ PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI and Portable 
+ Document Format (PDF) files.  
+ When supported by the document, it also allows searching for text, 
+ copying text to the clipboard, hypertext navigation, and 
+ table-of-contents bookmarks.
+ .
+ The PDF renderer is based on poppler.  The PS renderer uses Ghostscript.
+ .
+ Homepage: http://www.gnome.org/projects/evince/
--- evince-0.6.0.orig/debian/changelog
+++ evince-0.6.0/debian/changelog
@@ -0,0 +1,257 @@
+evince (0.6.0-0ubuntu1) edgy; urgency=low
+
+  * New upstream version:
+    Bug Fixes:
+    - Links aren't lost while resizing
+    - Tiff backend crash is fixed
+    - Recent code and icons code are screen safe
+    - Crash while handling password-protected documents is fixed
+    Translations:
+    - bg bn bn_IN ca de dz el et fa fi fr gu hi hu ja ko lt lv mk ml 
+      mr nb or pt pt_BR ro ru sl sv th tr vi zh_CN zh_HK zh_TW
+  * debian/control.in:
+    - updated poppler requirement according to configure
+  * debian/watch:
+    - updated
+
+ -- Sebastien Bacher <seb128@canonical.com>  Mon,  4 Sep 2006 23:55:06 +0200
+
+evince (0.5.5-0ubuntu2) edgy; urgency=low
+
+  * Rebuild against dbus 0.90
+
+ -- Sebastian Dröge <slomo@ubuntu.com>  Thu, 24 Aug 2006 17:36:43 +0200
+
+evince (0.5.5-0ubuntu1) edgy; urgency=low
+
+  * New upstream version:
+    New Features:
+    - Evince have preview mode for using with gtk+
+    - New print dialog is used with gtk 2.10
+    - New recent files framework is used   
+    UI Improvements:
+    - Sidebar is unified with Epiphany
+    - Escape unfocus page entry
+    Bug Fixes:
+    - Automake updates
+    - Link coordinates now used correctly
+    - Desktop file is corrected
+    - Memory leak fixes
+    Translations:
+    - ca cs de dz el es et eu fi fr gu ja ko mk nl ru sl sv th zh_HK zh_TW
+  * debian/control.in:
+    - don't Build-Depends on libgnomeprint2.2-dev, libgnomeprintui2.2-dev
+    - updated GTK requirement to 2.10 for GTK printing
+
+ -- Sebastien Bacher <seb128@canonical.com>  Tue,  8 Aug 2006 00:27:24 +0200
+
+evince (0.5.4-0ubuntu3) edgy; urgency=low
+
+  * debian/control.in:
+    + Build-Depend on liblaunchpad-integration-dev
+
+ -- Sebastian Dröge <slomo@ubuntu.com>  Tue, 25 Jul 2006 03:07:49 +0200
+
+evince (0.5.4-0ubuntu2) edgy; urgency=low
+
+  * debian/control.in:
+    - Build-Depends on "libkpathsea-dev | libkpathsea4-dev" instead of
+      "libkpathsea4-dev | libkpathsea-dev"
+
+ -- Sebastien Bacher <seb128@canonical.com>  Mon, 24 Jul 2006 10:07:44 +0200
+
+evince (0.5.4-0ubuntu1) edgy; urgency=low
+
+  * New upstream version:
+    New Features:
+    - Evince supports impress slides with --enable-impress
+    - URI's with anchors can be opened
+    Bug Fixes:
+    - PAPI printing crash was fixed
+    - Threads-related crash was fixed
+    - Assertion on document types that don't support
+      links don't cause crash now
+    - Reload crash was fixed as loading of
+      password-protected documents
+    - Page-label command line option works again
+    Translations:
+    - be bg bn_IN ca cs de dz es et eu fi fr gl gu he id ko mk nb ne
+      nl ru ta th vi zh_CN zh_HK zh_TW
+  * debian/patches/02_autoconf.patch:
+    - updated
+  * debian/patches/04_gdk_threads_init.patch:
+    - fixed with the new version
+  * debian/rules:
+    - add --enable-impress option
+
+ -- Sebastien Bacher <seb128@canonical.com>  Tue, 11 Jul 2006 00:02:43 +0200
+
+evince (0.5.3-1ubuntu1) edgy; urgency=low
+
+  * Sync with Debian
+  * debian/patches/01_launchpad.patch:
+    - launchpad integration
+  * debian/patches/02_autoconf.patch:
+    - configure update
+  * debian/watch:
+    - updated
+
+ -- Sebastien Bacher <seb128@canonical.com>  Mon,  3 Jul 2006 11:08:45 +0200
+
+evince (0.5.3-1) experimental; urgency=low
+
+  [ Sebastien Bacher ]
+  * New upstream versions:
+    - fix a typo to the documentation (Closes: #320266)
+    - odd pages are placed to the right in dual page mode (Closes: #356040)
+    - store window settings by document (Closes: #327408)
+  * Patches from the Ubuntu package:
+  * debian/patches/03_presentation_change_page.patch:
+    - fix previous and next keys usage to presentation mode (GNOME: #332993)
+  * debian/patches/04_gdk_threads_init.patch:
+    - call gdk_threads_init, fix issues when using an authentification dialog
+      (Ubuntu: #343347)
+  * debian/patches/05_fix_build_with_djvulibre.patch:
+    - fix build with the new djvulibre
+  * debian/control.in:
+    - Build-Depends on gnome-doc-utils and gnome-keyring according to configure
+    - Depends on "gs-esp | gs" (Closes: #335108)
+    - updated djvulibre requirement according to the configure
+    - updated the description to mention poppler instead of xpdf
+      (Closes: #332197)
+    - updated the poppler requirement to build with the new soname
+  * debian/evince.mime:
+    - list dvi and djvu, change suggested
+      by Pierre THIERRY <nowhere.man@levallois.eu.org> (Closes: #337784)
+
+  [ Josselin Mouette ]
+  * Even newer upstream release.
+  * 03_presentation_change_page.patch, 05_fix_build_with_djvulibre.patch:
+    removed, integrated upstream.
+
+ -- Josselin Mouette <joss@debian.org>  Sun, 18 Jun 2006 16:40:50 +0200
+
+evince (0.4.0-2) unstable; urgency=low
+
+  * Build-depend on libkpathsea4-dev | libkpathsea-dev instead of
+    libkpathsea-dev, thanks Frank Küster. (Closes: #357262)
+    [debian/control, debian/control.in]
+  * Bump up Standards-Version to 3.7.2.
+    [debian/control, debian/control.in]
+
+ -- Loic Minier <lool@dooz.org>  Tue, 30 May 2006 13:47:04 +0200
+
+evince (0.4.0-1) unstable; urgency=low
+
+  * New upstream version: (Closes: #311134)
+    - Document properties (Closes: #300761).
+    - Document rotation (Closes: #294555).
+    - Fix the number of pages for some ps files (Closes: #309905).
+    - Fix zoom value update (Closes: #310089).
+    - Support for printing page ranges (Closes: #299453).
+    - Update of the mimetype list (Closes: #308378).
+    - Updated translations (Closes: #308727).
+  * debian/control.in:
+    - updated the Build-Depends.
+    - updated the Standards-Version.
+  * debian/rules:
+    - clean the static files for the nautilus properties page.
+    - don't update scrollkeeper files on build.
+
+ -- Sebastien Bacher <seb128@debian.org>  Tue,  6 Sep 2005 17:38:16 +0200
+
+evince (0.3.0-2) unstable; urgency=low
+
+  * debian/control.in:
+    - updated the Build-Depends and the description.
+  * debian/rules:
+    - build with djvu and dvi options (Closes: #308021).
+  * debian/watch:
+    - updated.
+
+ -- Sebastien Bacher <seb128@debian.org>  Sat,  7 May 2005 14:40:25 +0200
+
+evince (0.3.0-1) unstable; urgency=low
+
+  * New upstream version:
+    - Continous mode.
+    - Dual page mode.
+    - Control + Scroll does zooming.
+    - Shift + Scroll scrolls horizontally.
+    - Zoom control in the toolbar.
+
+ -- Sebastien Bacher <seb128@debian.org>  Sat,  7 May 2005 12:55:06 +0200
+
+evince (0.2.1-1) unstable; urgency=low
+
+  * New upstream version (Closes: #306615):
+    - fix the crasher on copy (Closes: #294511).
+  * debian/control.in:
+    - updated.
+  * debian/evince.menu:
+    - menu entry (Closes: #297560).
+  * debian/evince.mime:
+    - register with the mimesystem (Closes: #303887).
+  * debian/watch:
+    - new file.
+
+ -- Sebastien Bacher <seb128@debian.org>  Fri,  6 May 2005 15:01:45 +0200
+
+evince (0.1.5-2) unstable; urgency=low
+
+  * Rebuilt for the libhowl transition (Closes: #298807).
+  * debian/control.in:
+    - updated the gnome-vfs requirements.
+
+ -- Sebastien Bacher <seb128@debian.org>  Thu, 10 Mar 2005 19:44:16 +0100
+
+evince (0.1.5-1) unstable; urgency=low
+
+  * New upstream release:
+    - reload menu.
+    - support for DnD of files.
+  * debian/control.in:
+    - Depends on gs (Closes: #294512).
+    - Description update based on the text sent 
+      by Andre Lehovich <andrel@U.Arizona.EDU> (Closes: #294519).
+    - Provides pdf-viewer, postscript-viewer (Closes: #294516).
+  * debian/evince.xml, debian/evince.1:
+    - manpage written by Lars Wirzenius <liw@iki.fi> with some changes 
+      by Andre Lehovich <andrel@U.Arizona.EDU> (Closes: #295095).
+  * po/pt_BR.po:
+    - translation update by 
+      Fábio Brito d'Araújo e Oliveira <fabio@debian-ba.org>.
+
+ -- Sebastien Bacher <seb128@debian.org>  Sat, 26 Feb 2005 23:34:50 +0100
+
+evince (0.1.4-1) unstable; urgency=low
+
+  * New upstream release:
+    - epiphany like fullscreen mode.
+    - save chromes state between sessions.
+    - improve toolbar layout and icons.
+    - really fix postscript rendering.
+  * debian/control.in:
+    - don't mention DVI in the description (Closes: #294011).
+    - typos fix in the description (Closes: #294348).
+  
+ -- Sebastien Bacher <seb128@debian.org>  Wed,  9 Feb 2005 15:13:54 +0100
+
+evince (0.1.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sebastien Bacher <seb128@debian.org>  Sat,  5 Feb 2005 01:55:16 +0100
+
+evince (0.1.2-1) unstable; urgency=low
+
+  * Upload to unstable.
+  * New upstream release.
+
+ -- Sebastien Bacher <seb128@debian.org>  Fri,  4 Feb 2005 14:53:13 +0100
+
+evince (0.1.1-1) experimental; urgency=low
+
+  * Initial Release.
+
+ -- Sebastien Bacher <seb128@debian.org>  Mon, 24 Jan 2005 13:21:42 +0100
--- evince-0.6.0.orig/debian/watch
+++ evince-0.6.0/debian/watch
@@ -0,0 +1,4 @@
+version=2
+ftp://ftp.gnome.org/pub/GNOME/sources/evince/0.6/ \
+	evince-(.*)\.tar\.gz \
+	debian uupdate
--- evince-0.6.0.orig/debian/evince.xml
+++ evince-0.6.0/debian/evince.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+
+Copyright 2005 Lars Wirzenius (liw@iki.fi)
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-->
+
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" 
+     "/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd" []>
+
+<refentry>
+
+  <refentryinfo>
+    <address>
+      <email>liw@iki.fi</email>
+    </address>
+    <author>
+      <firstname>Lars</firstname>
+      <surname>Wirzenius</surname>
+    </author>
+    <date>2005-02-21</date>
+  </refentryinfo>
+
+  <refmeta>
+    <refentrytitle>evince</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>evince</refname> 
+    <refpurpose>view PostScript and PDF documents</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>evince</command>
+      <arg><replaceable>file</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  
+  <refsect1>
+    <title>DESCRIPTION</title>
+    
+    <para><command>evince</command> is a GNOME program for viewing
+    PostScript (PS) and Portable Document Format (PDF) documents.
+    It uses GhostScript for showing PS, and XPDF for showing PDF.</para>
+    
+  </refsect1>
+  
+  <refsect1>
+    <title>OPTIONS</title>
+    
+    <para><command>evince</command> obeys all normal GNOME and GTK+ 
+    command line options, and has no application specific options.</para>
+
+    </refsect1>
+
+  <refsect1>
+    <title>SEE ALSO</title>
+    
+    <para>
+        <citerefentry><refentrytitle>gnome-options</refentrytitle>
+                      <manvolnum>7</manvolnum></citerefentry>,
+        <citerefentry><refentrytitle>gtk-options</refentrytitle>
+                      <manvolnum>7</manvolnum></citerefentry>.
+    </para>
+    
+    <para><ulink url="http://www.gnome.org/projects/evince/"
+    >http://www.gnome.org/projects/evince/</ulink></para>
+    
+  </refsect1>
+
+</refentry>
--- evince-0.6.0.orig/debian/rules
+++ evince-0.6.0/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-scrollkeeper --enable-djvu --enable-impress --enable-dvi
+
+binary-install/evince::
+	dh_installmime
+	rm -f debian/evince/usr/lib/nautilus/extensions-1.0/libevince-properties-page.{a,la} 
--- evince-0.6.0.orig/debian/compat
+++ evince-0.6.0/debian/compat
@@ -0,0 +1 @@
+4
--- evince-0.6.0.orig/debian/evince.1
+++ evince-0.6.0/debian/evince.1
@@ -0,0 +1,17 @@
+.TH evince 1 2005\-02\-21  
+.SH NAME
+evince \- view PostScript and PDF documents
+.SH SYNOPSIS
+\fBevince\fR [\fBfile\fR]
+.SH DESCRIPTION
+evince is a GNOME program for viewing
+PostScript (PS) and Portable Document Format (PDF) documents.
+It uses GhostScript for showing PS, and XPDF for showing PDF.
+.SH OPTIONS
+evince obeys all normal GNOME and GTK+ 
+command line options, and has no application specific options.
+.SH "SEE ALSO"
+\fBgnome\-options\fR(7),
+\fBgtk\-options\fR(7).
+.PP
+http://www.gnome.org/projects/evince/
--- evince-0.6.0.orig/debian/patches/01_launchpad.patch
+++ evince-0.6.0/debian/patches/01_launchpad.patch
@@ -0,0 +1,47 @@
+diff -Nur evince-0.5.5/configure.ac evince-0.5.5.new/configure.ac
+--- evince-0.5.5/configure.ac	2006-08-07 23:33:06.000000000 +0200
++++ evince-0.5.5.new/configure.ac	2006-08-08 00:32:19.000000000 +0200
+@@ -55,7 +55,7 @@
+ PKG_CHECK_MODULES(BACKEND, gtk+-2.0 >= $GTK_REQUIRED gnome-vfs-2.0)
+ PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libglade-2.0 poppler-glib >= $POPPLER_REQUIRED)
+ PKG_CHECK_MODULES(POPPLER, poppler-glib >= $POPPLER_REQUIRED)
+-PKG_CHECK_MODULES(SHELL_CORE, gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED)
++PKG_CHECK_MODULES(SHELL_CORE, gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED)
+ 
+ GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`  
+ AC_SUBST(GLIB_GENMARSHAL)
+diff -Nur evince-0.5.5/data/evince-ui.xml evince-0.5.5.new/data/evince-ui.xml
+--- evince-0.5.5/data/evince-ui.xml	2006-08-07 23:33:06.000000000 +0200
++++ evince-0.5.5.new/data/evince-ui.xml	2006-08-08 00:32:19.000000000 +0200
+@@ -56,6 +56,9 @@
+ 
+     <menu name="HelpMenu" action="Help">
+       <menuitem name="HelpContentsMenu" action="HelpContents"/>
++      <separator/>
++      <placeholder name="LaunchpadItems" />
++      <separator/>
+       <menuitem name="HelpAboutMenu" action="HelpAbout"/>
+     </menu>
+   </menubar>
+diff -Nur evince-0.5.5/shell/ev-window.c evince-0.5.5.new/shell/ev-window.c
+--- evince-0.5.5/shell/ev-window.c	2006-08-07 23:33:14.000000000 +0200
++++ evince-0.5.5.new/shell/ev-window.c	2006-08-08 00:33:13.000000000 +0200
+@@ -86,6 +86,8 @@
+ #include <libgnomevfs/gnome-vfs-utils.h>
+ #include <gconf/gconf-client.h>
+ 
++#include <launchpad-integration.h>
++
+ #include <string.h>
+ 
+ typedef enum {
+@@ -4049,6 +4051,9 @@
+ 				  ev_window);
+ #endif /* HAVE_GTK_RECENT */
+ 	
++	launchpad_integration_add_ui (ev_window->priv->ui_manager,
++				      "/MainMenu/HelpMenu/LaunchpadItems");
++	
+ 	ev_window->priv->menubar =
+ 		 gtk_ui_manager_get_widget (ev_window->priv->ui_manager,
+ 					    "/MainMenu");
--- evince-0.6.0.orig/debian/patches/02_autoconf.patch
+++ evince-0.6.0/debian/patches/02_autoconf.patch
@@ -0,0 +1,62 @@
+diff -Nur evince-0.5.4/configure evince-0.5.4.new/configure
+--- evince-0.5.4/configure	2006-07-10 23:52:41.000000000 +0200
++++ evince-0.5.4.new/configure	2006-07-11 00:06:44.000000000 +0200
+@@ -23113,12 +23113,12 @@
+         pkg_cv_SHELL_CORE_CFLAGS="$SHELL_CORE_CFLAGS"
+     else
+         if test -n "$PKG_CONFIG" && \
+-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= \$POPPLER_REQUIRED gnome-keyring-1 >= \$KEYRING_REQUIRED\"") >&5
+-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED") 2>&5
++    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= \$POPPLER_REQUIRED gnome-keyring-1 >= \$KEYRING_REQUIRED\"") >&5
++  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED") 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+-  pkg_cv_SHELL_CORE_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED" 2>/dev/null`
++  pkg_cv_SHELL_CORE_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED" 2>/dev/null`
+ else
+   pkg_failed=yes
+ fi
+@@ -23131,12 +23131,12 @@
+         pkg_cv_SHELL_CORE_LIBS="$SHELL_CORE_LIBS"
+     else
+         if test -n "$PKG_CONFIG" && \
+-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= \$POPPLER_REQUIRED gnome-keyring-1 >= \$KEYRING_REQUIRED\"") >&5
+-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED") 2>&5
++    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= \$POPPLER_REQUIRED gnome-keyring-1 >= \$KEYRING_REQUIRED\"") >&5
++  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED") 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+-  pkg_cv_SHELL_CORE_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED" 2>/dev/null`
++  pkg_cv_SHELL_CORE_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED" 2>/dev/null`
+ else
+   pkg_failed=yes
+ fi
+@@ -23155,14 +23155,14 @@
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-	        SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED"`
++	        SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED"`
+         else
+-	        SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED"`
++	        SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED"`
+         fi
+ 	# Put the nasty error message in config.log where it belongs
+ 	echo "$SHELL_CORE_PKG_ERRORS" >&5
+ 
+-	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED) were not met:
++	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED) were not met:
+ 
+ $SHELL_CORE_PKG_ERRORS
+ 
+@@ -23173,7 +23173,7 @@
+ and SHELL_CORE_LIBS to avoid the need to call pkg-config.
+ See the pkg-config man page for more details.
+ " >&5
+-echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED) were not met:
++echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED gnome-vfs-2.0 libglade-2.0 launchpad-integration gconf-2.0 poppler-glib >= $POPPLER_REQUIRED gnome-keyring-1 >= $KEYRING_REQUIRED) were not met:
+ 
+ $SHELL_CORE_PKG_ERRORS
+ 
--- evince-0.6.0.orig/debian/copyright
+++ evince-0.6.0/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Sebastien Bacher <seb128@debian.org> on
+Mon, 10 Jan 2005 13:23:55 +0100.
+
+It was downloaded from ftp://ftp.gnome.org/pub/gnome/sources/evince/
+
+Copyright:
+
+Upstream Authors: Martin Kretzschmar <martink@gnome.org>
+		  Marco Pesenti Gritti <marco@gnome.org>
+		  Jonathan Blandford <jrb@redhat.com>
+
+License:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- evince-0.6.0.orig/debian/evince.menu
+++ evince-0.6.0/debian/evince.menu
@@ -0,0 +1,3 @@
+?package(evince):needs="X11" section="Apps/Viewers"\
+ title="Evince" command="/usr/bin/evince"\
+ hints="Documents,GNOME" icon="/usr/share/evince/pdf-icon.png"
--- evince-0.6.0.orig/debian/evince.mime
+++ evince-0.6.0/debian/evince.mime
@@ -0,0 +1,4 @@
+application/pdf; evince %s; test=test -n "$DISPLAY" ; nametemplate=%s.pdf; priority=5
+application/postscript; evince %s; test=test -n "$DISPLAY" ; nametemplate=%s.ps; priority=5
+application/x-dvi; evince %s; test=test -n "$DISPLAY" ; nametemplate=%s.dvi; priority=5
+image/vnd.djvu; evince %s; test=test -n "$DISPLAY" ; nametemplate=%s.djvu; priority=5
--- evince-0.6.0.orig/debian/evince.manpages
+++ evince-0.6.0/debian/evince.manpages
@@ -0,0 +1 @@
+debian/evince.1
--- evince-0.6.0.orig/debian/control.in
+++ evince-0.6.0/debian/control.in
@@ -0,0 +1,23 @@
+Source: evince
+Section: gnome
+Priority: optional
+Maintainer: Sebastien Bacher <seb128@debian.org>
+Uploaders: @GNOME_TEAM@
+Build-Depends: cdbs, debhelper (>= 4.0.0), gnome-pkg-tools, libgtk2.0-dev (>= 2.10.0), libgnomeui-dev (>= 2.4.0), libgnomevfs2-dev, libglade2-dev, libxml-parser-perl, gs, libxt-dev, libpoppler-glib-dev (>= 0.5.3), libdjvulibre-dev (>= 3.5.17), libkpathsea-dev | libkpathsea4-dev, scrollkeeper, libtiff4-dev, libnautilus-extension-dev, gnome-doc-utils (>= 0.3.2), libgnome-keyring-dev, liblaunchpad-integration-dev
+Standards-Version: 3.7.2
+
+Package: evince
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, gs-esp | gs
+Provides: pdf-viewer, postscript-viewer
+Description: Document (postscript, pdf) viewer
+ Evince is a simple multi-page document viewer.  It can display and print
+ PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI and Portable 
+ Document Format (PDF) files.  
+ When supported by the document, it also allows searching for text, 
+ copying text to the clipboard, hypertext navigation, and 
+ table-of-contents bookmarks.
+ .
+ The PDF renderer is based on poppler.  The PS renderer uses Ghostscript.
+ .
+ Homepage: http://www.gnome.org/projects/evince/