[Midnightbsd-cvs] mports: mports/graphics: Add evince for gnome2-lite

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Oct 24 13:08:43 EDT 2007


Log Message:
-----------
Add evince for gnome2-lite

Modified Files:
--------------
    mports/graphics:
        Makefile (r1.66 -> r1.67)

Added Files:
-----------
    mports/graphics/evince:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/graphics/evince/files:
        patch-backend_pdf_ev-poppler.cc (r1.1)
        patch-backend_ps_ps-interpreter.c (r1.1)
        patch-configure (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/Makefile,v
retrieving revision 1.66
retrieving revision 1.67
diff -Lgraphics/Makefile -Lgraphics/Makefile -u -r1.66 -r1.67
--- graphics/Makefile
+++ graphics/Makefile
@@ -13,6 +13,7 @@
     SUBDIR += dri
     SUBDIR += eog
     SUBDIR += etoile-distributedview
+    SUBDIR += evince
     SUBDIR += feh
     SUBDIR += gd
     SUBDIR += giblib
--- /dev/null
+++ graphics/evince/pkg-descr
@@ -0,0 +1,5 @@
+Evince is a document viewer for multiple document formats including PDF and
+Postscript.  The goal of evince is to replace document viewers such as ggv and
+gpdf with a single, simple application.
+
+WWW: http://www.gnome.org/projects/evince/
--- /dev/null
+++ graphics/evince/pkg-plist
@@ -0,0 +1,258 @@
+bin/evince
+bin/evince-thumbnailer
+%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.a
+%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.la
+%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.so
+%%DOCSDIR%%/EvAttachment.html
+%%DOCSDIR%%/EvJobPrint.html
+%%DOCSDIR%%/EvNavigationAction.html
+%%DOCSDIR%%/EvNavigationActionWidget.html
+%%DOCSDIR%%/EvPageAction.html
+%%DOCSDIR%%/EvPageActionWidget.html
+%%DOCSDIR%%/EvWindow.html
+%%DOCSDIR%%/evince-EvHistory.html
+%%DOCSDIR%%/evince-EvImage.html
+%%DOCSDIR%%/evince-EvPasswordDialog.html
+%%DOCSDIR%%/evince-EvPasswordView.html
+%%DOCSDIR%%/evince-EvRenderContext.html
+%%DOCSDIR%%/evince-EvSidebar.html
+%%DOCSDIR%%/evince-EvSidebarAttachments.html
+%%DOCSDIR%%/evince-EvSidebarLinks.html
+%%DOCSDIR%%/evince-EvSidebarThumbnails.html
+%%DOCSDIR%%/evince-EvTooltip.html
+%%DOCSDIR%%/evince-ev-async-renderer.html
+%%DOCSDIR%%/evince-ev-document-factory.html
+%%DOCSDIR%%/evince-ev-document-find.html
+%%DOCSDIR%%/evince-ev-document-fonts.html
+%%DOCSDIR%%/evince-ev-document-images.html
+%%DOCSDIR%%/evince-ev-document-info.html
+%%DOCSDIR%%/evince-ev-document-links.html
+%%DOCSDIR%%/evince-ev-document-misc.html
+%%DOCSDIR%%/evince-ev-document-security.html
+%%DOCSDIR%%/evince-ev-document-thumbnails.html
+%%DOCSDIR%%/evince-ev-document-transition.html
+%%DOCSDIR%%/evince-ev-document.html
+%%DOCSDIR%%/evince-ev-file-exporter.html
+%%DOCSDIR%%/evince-ev-file-helpers.html
+%%DOCSDIR%%/evince-ev-job-queue.html
+%%DOCSDIR%%/evince-ev-link-action.html
+%%DOCSDIR%%/evince-ev-link-dest.html
+%%DOCSDIR%%/evince-ev-link.html
+%%DOCSDIR%%/evince-ev-metadata-manager.html
+%%DOCSDIR%%/evince-ev-page-cache.html
+%%DOCSDIR%%/evince-ev-pixbuf-cache.html
+%%DOCSDIR%%/evince-ev-print-job.html
+%%DOCSDIR%%/evince-ev-properties-dialog.html
+%%DOCSDIR%%/evince-ev-properties-fonts.html
+%%DOCSDIR%%/evince-ev-selection.html
+%%DOCSDIR%%/evince-ev-sidebar-page.html
+%%DOCSDIR%%/evince-ev-stock-icons.html
+%%DOCSDIR%%/evince-ev-utils.html
+%%DOCSDIR%%/evince-ev-view-accessible.html
+%%DOCSDIR%%/evince-ev-view.html
+%%DOCSDIR%%/evince-ev-window-title.html
+%%DOCSDIR%%/evince.devhelp
+%%DOCSDIR%%/evince.devhelp2
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/ix01.html
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/pt01.html
+%%DOCSDIR%%/pt02.html
+%%DOCSDIR%%/pt03.html
+%%DOCSDIR%%/pt04.html
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+share/gnome/applications/evince.desktop
+share/gnome/evince/evince-password.glade
+share/gnome/evince/evince-preview-toolbar.xml
+share/gnome/evince/evince-properties.glade
+share/gnome/evince/evince-toolbar.xml
+share/gnome/evince/evince-ui.xml
+share/gnome/evince/hand-open.png
+share/gnome/evince/icons/hicolor/16x16/actions/view-page-continuous.png
+share/gnome/evince/icons/hicolor/16x16/actions/view-page-facing.png
+share/gnome/evince/icons/hicolor/16x16/actions/zoom-fit-page.png
+share/gnome/evince/icons/hicolor/16x16/actions/zoom-fit-width.png
+share/gnome/evince/icons/hicolor/22x22/actions/view-page-continuous.png
+share/gnome/evince/icons/hicolor/22x22/actions/view-page-facing.png
+share/gnome/evince/icons/hicolor/22x22/actions/zoom-fit-page.png
+share/gnome/evince/icons/hicolor/22x22/actions/zoom-fit-width.png
+share/gnome/evince/icons/hicolor/24x24/actions/view-page-continuous.png
+share/gnome/evince/icons/hicolor/24x24/actions/view-page-facing.png
+share/gnome/evince/icons/hicolor/24x24/actions/zoom-fit-page.png
+share/gnome/evince/icons/hicolor/24x24/actions/zoom-fit-width.png
+share/gnome/help/evince/C/evince.xml
+share/gnome/help/evince/C/figures/evince_start_window.png
+share/gnome/help/evince/C/legal.xml
+share/gnome/help/evince/bg/evince.xml
+share/gnome/help/evince/bg/figures/evince_start_window.png
+share/gnome/help/evince/ca/evince.xml
+share/gnome/help/evince/ca/figures/evince_start_window.png
+share/gnome/help/evince/el/evince.xml
+share/gnome/help/evince/el/figures/evince_start_window.png
+share/gnome/help/evince/en_GB/evince.xml
+share/gnome/help/evince/en_GB/figures/evince_start_window.png
+share/gnome/help/evince/es/evince.xml
+share/gnome/help/evince/es/figures/evince_start_window.png
+share/gnome/help/evince/fi/evince.xml
+share/gnome/help/evince/fi/figures/evince_start_window.png
+share/gnome/help/evince/fr/evince.xml
+share/gnome/help/evince/fr/figures/evince_start_window.png
+share/gnome/help/evince/it/evince.xml
+share/gnome/help/evince/it/figures/evince_start_window.png
+share/gnome/help/evince/nl/evince.xml
+share/gnome/help/evince/nl/figures/evince_start_window.png
+share/gnome/help/evince/ru/evince.xml
+share/gnome/help/evince/ru/figures/evince_start_window.png
+share/gnome/help/evince/sr/evince.xml
+share/gnome/help/evince/sr/figures/evince_start_window.png
+share/gnome/help/evince/sv/evince.xml
+share/gnome/help/evince/sv/figures/evince_start_window.png
+share/gnome/help/evince/uk/evince.xml
+share/gnome/help/evince/uk/figures/evince_start_window.png
+share/gnome/omf/evince/evince-C.omf
+share/gnome/omf/evince/evince-bg.omf
+share/gnome/omf/evince/evince-ca.omf
+share/gnome/omf/evince/evince-el.omf
+share/gnome/omf/evince/evince-en_GB.omf
+share/gnome/omf/evince/evince-es.omf
+share/gnome/omf/evince/evince-fi.omf
+share/gnome/omf/evince/evince-fr.omf
+share/gnome/omf/evince/evince-it.omf
+share/gnome/omf/evince/evince-nl.omf
+share/gnome/omf/evince/evince-ru.omf
+share/gnome/omf/evince/evince-sr.omf
+share/gnome/omf/evince/evince-sv.omf
+share/gnome/omf/evince/evince-uk.omf
+share/icons/hicolor/16x16/apps/evince.png
+share/icons/hicolor/22x22/apps/evince.png
+share/icons/hicolor/24x24/apps/evince.png
+share/icons/hicolor/48x48/apps/evince.png
+share/icons/hicolor/scalable/apps/evince.svg
+share/locale/ar/LC_MESSAGES/evince.mo
+share/locale/be/LC_MESSAGES/evince.mo
+share/locale/bg/LC_MESSAGES/evince.mo
+share/locale/bn/LC_MESSAGES/evince.mo
+share/locale/bn_IN/LC_MESSAGES/evince.mo
+share/locale/br/LC_MESSAGES/evince.mo
+share/locale/ca/LC_MESSAGES/evince.mo
+share/locale/cs/LC_MESSAGES/evince.mo
+share/locale/cy/LC_MESSAGES/evince.mo
+share/locale/da/LC_MESSAGES/evince.mo
+share/locale/de/LC_MESSAGES/evince.mo
+share/locale/dz/LC_MESSAGES/evince.mo
+share/locale/el/LC_MESSAGES/evince.mo
+share/locale/en_CA/LC_MESSAGES/evince.mo
+share/locale/en_GB/LC_MESSAGES/evince.mo
+share/locale/es/LC_MESSAGES/evince.mo
+share/locale/et/LC_MESSAGES/evince.mo
+share/locale/eu/LC_MESSAGES/evince.mo
+share/locale/fa/LC_MESSAGES/evince.mo
+share/locale/fi/LC_MESSAGES/evince.mo
+share/locale/fr/LC_MESSAGES/evince.mo
+share/locale/gl/LC_MESSAGES/evince.mo
+share/locale/gu/LC_MESSAGES/evince.mo
+share/locale/he/LC_MESSAGES/evince.mo
+share/locale/hi/LC_MESSAGES/evince.mo
+share/locale/hu/LC_MESSAGES/evince.mo
+share/locale/id/LC_MESSAGES/evince.mo
+share/locale/it/LC_MESSAGES/evince.mo
+share/locale/ja/LC_MESSAGES/evince.mo
+share/locale/ka/LC_MESSAGES/evince.mo
+share/locale/ko/LC_MESSAGES/evince.mo
+share/locale/ku/LC_MESSAGES/evince.mo
+share/locale/lt/LC_MESSAGES/evince.mo
+share/locale/lv/LC_MESSAGES/evince.mo
+share/locale/mg/LC_MESSAGES/evince.mo
+share/locale/mk/LC_MESSAGES/evince.mo
+share/locale/ml/LC_MESSAGES/evince.mo
+share/locale/mr/LC_MESSAGES/evince.mo
+share/locale/nb/LC_MESSAGES/evince.mo
+share/locale/ne/LC_MESSAGES/evince.mo
+share/locale/nl/LC_MESSAGES/evince.mo
+share/locale/nn/LC_MESSAGES/evince.mo
+share/locale/oc/LC_MESSAGES/evince.mo
+share/locale/or/LC_MESSAGES/evince.mo
+share/locale/pa/LC_MESSAGES/evince.mo
+share/locale/pl/LC_MESSAGES/evince.mo
+share/locale/pt/LC_MESSAGES/evince.mo
+share/locale/pt_BR/LC_MESSAGES/evince.mo
+share/locale/ro/LC_MESSAGES/evince.mo
+share/locale/ru/LC_MESSAGES/evince.mo
+share/locale/rw/LC_MESSAGES/evince.mo
+share/locale/sk/LC_MESSAGES/evince.mo
+share/locale/sl/LC_MESSAGES/evince.mo
+share/locale/sq/LC_MESSAGES/evince.mo
+share/locale/sr/LC_MESSAGES/evince.mo
+share/locale/sr at Latn/LC_MESSAGES/evince.mo
+share/locale/sv/LC_MESSAGES/evince.mo
+share/locale/ta/LC_MESSAGES/evince.mo
+share/locale/th/LC_MESSAGES/evince.mo
+share/locale/tr/LC_MESSAGES/evince.mo
+share/locale/uk/LC_MESSAGES/evince.mo
+share/locale/vi/LC_MESSAGES/evince.mo
+share/locale/wa/LC_MESSAGES/evince.mo
+share/locale/zh_CN/LC_MESSAGES/evince.mo
+share/locale/zh_HK/LC_MESSAGES/evince.mo
+share/locale/zh_TW/LC_MESSAGES/evince.mo
+ at dirrmtry share/locale/zh_HK/LC_MESSAGES
+ at dirrmtry share/locale/zh_HK
+ at dirrmtry share/locale/rw/LC_MESSAGES
+ at dirrmtry share/locale/rw
+ at dirrmtry share/locale/oc/LC_MESSAGES
+ at dirrmtry share/locale/oc
+ at dirrmtry share/locale/mr/LC_MESSAGES
+ at dirrmtry share/locale/mr
+ at dirrmtry share/locale/mg/LC_MESSAGES
+ at dirrmtry share/locale/mg
+ at dirrmtry share/locale/ku/LC_MESSAGES
+ at dirrmtry share/locale/ku
+ at dirrmtry share/locale/dz/LC_MESSAGES
+ at dirrmtry share/locale/dz
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrm share/gnome/omf/evince
+ at dirrm share/gnome/help/evince/uk/figures
+ at dirrm share/gnome/help/evince/uk
+ at dirrm share/gnome/help/evince/sv/figures
+ at dirrm share/gnome/help/evince/sv
+ at dirrm share/gnome/help/evince/sr/figures
+ at dirrm share/gnome/help/evince/sr
+ at dirrm share/gnome/help/evince/ru/figures
+ at dirrm share/gnome/help/evince/ru
+ at dirrm share/gnome/help/evince/nl/figures
+ at dirrm share/gnome/help/evince/nl
+ at dirrm share/gnome/help/evince/it/figures
+ at dirrm share/gnome/help/evince/it
+ at dirrm share/gnome/help/evince/fr/figures
+ at dirrm share/gnome/help/evince/fr
+ at dirrm share/gnome/help/evince/fi/figures
+ at dirrm share/gnome/help/evince/fi
+ at dirrm share/gnome/help/evince/es/figures
+ at dirrm share/gnome/help/evince/es
+ at dirrm share/gnome/help/evince/en_GB/figures
+ at dirrm share/gnome/help/evince/en_GB
+ at dirrm share/gnome/help/evince/el/figures
+ at dirrm share/gnome/help/evince/el
+ at dirrm share/gnome/help/evince/ca/figures
+ at dirrm share/gnome/help/evince/ca
+ at dirrm share/gnome/help/evince/bg/figures
+ at dirrm share/gnome/help/evince/bg
+ at dirrm share/gnome/help/evince/C/figures
+ at dirrm share/gnome/help/evince/C
+ at dirrm share/gnome/help/evince
+ at dirrm share/gnome/evince/icons/hicolor/24x24/actions
+ at dirrm share/gnome/evince/icons/hicolor/24x24
+ at dirrm share/gnome/evince/icons/hicolor/22x22/actions
+ at dirrm share/gnome/evince/icons/hicolor/22x22
+ at dirrm share/gnome/evince/icons/hicolor/16x16/actions
+ at dirrm share/gnome/evince/icons/hicolor/16x16
+ at dirrm share/gnome/evince/icons/hicolor
+ at dirrm share/gnome/evince/icons
+ at dirrm share/gnome/evince
+ at dirrm %%DOCSDIR%%
+ at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+ at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
--- /dev/null
+++ graphics/evince/Makefile
@@ -0,0 +1,117 @@
+# New ports collection makefile for:	evince
+# Date created:				09 January 2005
+# Whom:					Adam Weinberger <adamw at FreeBSD.org>
+#
+# $MidnightBSD: mports/graphics/evince/Makefile,v 1.1 2007/10/24 17:08:41 laffer1 Exp $
+# $FreeBSD: ports/graphics/evince/Makefile,v 1.30 2007/09/12 19:42:13 marcus Exp $
+#   $MCom: ports/graphics/evince/Makefile,v 1.64 2007/03/13 12:00:09 ahze Exp $
+#
+
+PORTNAME=	evince
+PORTVERSION=	0.8.3
+CATEGORIES=	graphics print gnome
+MASTER_SITES=	GNOME
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	GNOME 2 multi-format document viewer
+LICENSE=	gpl2
+
+LIB_DEPENDS=	poppler-glib.2:${PORTSDIR}/graphics/poppler-gtk
+
+USE_LDCONFIG=	yes
+USE_BZIP2=	yes
+GNU_CONFIGURE=	yes
+INSTALLS_ICONS=	yes
+USE_GETTEXT=	yes
+USE_XLIB=	yes
+USE_GMAKE=	yes
+USE_GHOSTSCRIPT=yes
+INSTALLS_OMF=	yes
+USE_GNOME=	gnomehack intlhack gnomeprefix libgnomeui libgnomeprintui \
+		desktopfileutils gnomedocutils
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+GCONF_SCHEMAS=	evince.schemas evince-thumbnailer.schemas \
+		evince-thumbnailer-ps.schemas
+
+MAN1=		evince.1
+
+OPTIONS=	DVI		"Enable DVI viewer support"		off \
+		T1LIB		"Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)"	off \
+		NAUTILUS	"Enable Nautilus plugin"		on  \
+		DBUS		"Enable D-BUS support"			on \
+		COMICS		"Enable comic book archives support"	off \
+		IMPRESS		"Enable Impress presentations support"	off \
+		DJVU		"Enable DJVU support"			off
+
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) || exists(${LOCALBASE}/lib/libdbus-glib-1.so)
+WITH_DBUS=	yes
+.endif
+
+.if defined(WITH_DVI) || defined(WITH_T1LIB)
+BUILD_DEPENDS+=	tex:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS+=	tex:${PORTSDIR}/print/teTeX-base
+
+CONFIGURE_ARGS+=	--enable-dvi
+GCONF_SCHEMAS+=	evince-thumbnailer-dvi.schemas
+. if defined(WITH_T1LIB)
+LIB_DEPENDS+=	t1.5:${PORTSDIR}/devel/t1lib
+
+CONFIGURE_ARGS+=	--enable-t1lib
+. endif
+.endif
+
+.if !defined(WITHOUT_NAUTILUS)
+USE_GNOME+=		nautilus2
+CONFIGURE_ARGS+=	--enable-nautilus
+PLIST_SUB+=		NAUTILUS=""
+.else
+CONFIGURE_ARGS+=	--disable-nautilus
+PLIST_SUB+=		NAUTILUS="@comment "
+.endif
+
+.if defined(WITH_IMPRESS)
+CONFIGURE_ARGS+=	--enable-impress
+.else
+CONFIGURE_ARGS+=	--disable-impress
+.endif
+
+.if exists(${X11BASE}/bin/djview)
+DJVU_DIR?=	# empty
+.else
+DJVU_DIR?=	-nox11
+.endif
+
+.if defined(WITH_DJVU)
+LIB_DEPENDS+=		djvulibre.19:${PORTSDIR}/graphics/djvulibre${DJVU_DIR}
+CONFIGURE_ARGS+=	--enable-djvu
+GCONF_SCHEMAS+=		evince-thumbnailer-djvu.schemas
+.else
+CONFIGURE_ARGS+=	--disable-djvu
+.endif
+
+.if !defined(WITHOUT_DBUS)
+LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+.endif
+
+.if defined(WITH_COMICS)
+CONFIGURE_ARGS+=	--enable-comics
+GCONF_SCHEMAS+=	evince-thumbnailer-comics.schemas
+
+RUN_DEPENDS+=	unrar:${PORTSDIR}/archivers/unrar \
+		unzip:${PORTSDIR}/archivers/unzip
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|execinfo.h|#|g ; s|[$$]POPPLER_VERSION|9|g ; \
+		s| poppler-glib <= [$$]POPPLER_MAX_REQUIRED||g' \
+			${WRKSRC}/configure
+
+post-install:
+	@-update-desktop-database
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ graphics/evince/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/evince-0.8.3.tar.bz2) = 0603d3f3f5648c88f10f75c89807c3d1
+SHA256 (gnome2/evince-0.8.3.tar.bz2) = 2b02cacecbcde7d2849e2b40239d7cdae3e0f8e117c529249ac5d327e605baac
+SIZE (gnome2/evince-0.8.3.tar.bz2) = 1515083
--- /dev/null
+++ graphics/evince/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig	Mon Dec 18 18:05:50 2006
++++ configure	Mon Dec 18 18:06:30 2006
+@@ -25315,7 +25315,7 @@ else
+ echo "${ECHO_T}yes" >&6
+ 	enable_cairo_pdf=yes
+ fi
+-	    if test x$enable_cairo_pdf == xyes; then
++	    if test x$enable_cairo_pdf = xyes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_CAIRO_PDF 1
--- /dev/null
+++ graphics/evince/files/patch-backend_pdf_ev-poppler.cc
@@ -0,0 +1,38 @@
+--- backend/pdf/ev-poppler.cc.orig	2007-09-11 02:17:19.000000000 -0400
++++ backend/pdf/ev-poppler.cc	2007-09-11 02:22:10.000000000 -0400
+@@ -654,7 +654,7 @@ pdf_document_get_text (EvDocument *docum
+ 	r.x2 = rect->x2;
+ 	r.y2 = height - rect->y1;
+ 
+-	text = poppler_page_get_text (poppler_page, &r);
++	text = poppler_page_get_text (poppler_page, POPPLER_SELECTION_GLYPH, &r);
+ 
+ 	g_object_unref (poppler_page);
+ 
+@@ -1636,7 +1636,7 @@ pdf_selection_render_selection (EvSelect
+ 						 rc->scale, rc->rotation, *pixbuf,
+ 						 (PopplerRectangle *)points,
+ 						 (PopplerRectangle *)old_points,
+-						 POPPLER_SELECTION_NORMAL,
++						 POPPLER_SELECTION_GLYPH,
+ 						 text,
+ 						 base);
+ #endif
+@@ -1655,7 +1655,7 @@ pdf_selection_get_selection_region (EvSe
+ 
+ 	set_rc_data (pdf_document, rc);
+ 
+-	retval = poppler_page_get_selection_region ((PopplerPage *)rc->data, rc->scale, (PopplerRectangle *) points);
++	retval = poppler_page_get_selection_region ((PopplerPage *)rc->data, rc->scale, POPPLER_SELECTION_GLYPH, (PopplerRectangle *) points);
+ 
+ 	return retval;
+ }
+@@ -1676,7 +1676,7 @@ pdf_selection_get_selection_map (EvSelec
+ 	points.x1 = 0.0;
+ 	points.y1 = 0.0;
+ 	poppler_page_get_size (poppler_page, &(points.x2), &(points.y2));
+-	retval = poppler_page_get_selection_region (poppler_page, 1.0, &points);
++	retval = poppler_page_get_selection_region (poppler_page, 1.0, POPPLER_SELECTION_GLYPH, &points);
+ 	g_object_unref (poppler_page);
+ 
+ 	return retval;
--- /dev/null
+++ graphics/evince/files/patch-backend_ps_ps-interpreter.c
@@ -0,0 +1,10 @@
+--- backend/ps/ps-interpreter.c.orig	Tue Mar 13 07:00:12 2007
++++ backend/ps/ps-interpreter.c	Tue Mar 13 07:00:21 2007
+@@ -29,6 +29,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <sys/wait.h>
++#include <signal.h>
+ #include <errno.h>
+ 
+ #include "ps-interpreter.h"


More information about the Midnightbsd-cvs mailing list