diff options
author | drochner <drochner> | 2008-09-14 14:35:27 +0000 |
---|---|---|
committer | drochner <drochner> | 2008-09-14 14:35:27 +0000 |
commit | 5bf1a8b082c6ab1a1fb46aad5226324c0e47ae0e (patch) | |
tree | 4b11dd4454bb478ba8bae45d4bb9ca6a384e41db /print | |
parent | bec4bc37fc9ba1cba486fb3adb0d5ddf7ffa80f6 (diff) | |
download | pkgsrc-5bf1a8b082c6ab1a1fb46aad5226324c0e47ae0e.tar.gz |
Treat FITB* references like their counterparts w/o 'B' instead
of just spitting out an "unimplemented" warning. The pdf spec
defines a differing zoom setting for them which is ignored here.
bump PKGREVISION
Diffstat (limited to 'print')
-rw-r--r-- | print/evince/Makefile | 4 | ||||
-rw-r--r-- | print/evince/distinfo | 3 | ||||
-rw-r--r-- | print/evince/patches/patch-aa | 41 |
3 files changed, 46 insertions, 2 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile index c002c5ca60b..87bc6c8dd2d 100644 --- a/print/evince/Makefile +++ b/print/evince/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.42 2008/06/12 02:14:43 joerg Exp $ +# $NetBSD: Makefile,v 1.43 2008/09/14 14:35:27 drochner Exp $ PKG_DESTDIR_SUPPORT= user-destdir .include "../../print/evince/Makefile.common" +PKGREVISION= 1 + COMMENT= Document viewer for the GNOME Desktop GCONF_SCHEMAS= evince.schemas diff --git a/print/evince/distinfo b/print/evince/distinfo index e5126ea8402..26a7f53c789 100644 --- a/print/evince/distinfo +++ b/print/evince/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.19 2008/05/29 16:51:09 drochner Exp $ +$NetBSD: distinfo,v 1.20 2008/09/14 14:35:27 drochner Exp $ SHA1 (evince-2.22.2.tar.bz2) = c1be08426c8d7220021d20502a7ffafbe82108b4 RMD160 (evince-2.22.2.tar.bz2) = 3221c07cfcb0699697122aebeca2be35b5973fc8 Size (evince-2.22.2.tar.bz2) = 1629323 bytes +SHA1 (patch-aa) = 83ee189d752c0f8770c565130ca578a2456058e7 diff --git a/print/evince/patches/patch-aa b/print/evince/patches/patch-aa new file mode 100644 index 00000000000..d0799be87f7 --- /dev/null +++ b/print/evince/patches/patch-aa @@ -0,0 +1,41 @@ +$NetBSD: patch-aa,v 1.7 2008/09/14 14:35:27 drochner Exp $ + +--- backend/pdf/ev-poppler.cc.orig 2008-08-29 19:38:51.000000000 +0200 ++++ backend/pdf/ev-poppler.cc +@@ -885,9 +885,11 @@ ev_link_dest_from_dest (PdfDocument *pdf + g_object_unref (poppler_page); + } + break; +- case POPPLER_DEST_FIT: ++ case POPPLER_DEST_FITB: ++ case POPPLER_DEST_FIT: + ev_dest = ev_link_dest_new_fit (dest->page_num - 1); + break; ++ case POPPLER_DEST_FITBH: + case POPPLER_DEST_FITH: { + PopplerPage *poppler_page; + double height; +@@ -901,6 +903,7 @@ ev_link_dest_from_dest (PdfDocument *pdf + g_object_unref (poppler_page); + } + break; ++ case POPPLER_DEST_FITBV: + case POPPLER_DEST_FITV: + ev_dest = ev_link_dest_new_fitv (dest->page_num - 1, + dest->left, +@@ -921,6 +924,7 @@ ev_link_dest_from_dest (PdfDocument *pdf + g_object_unref (poppler_page); + } + break; ++#if 0 + case POPPLER_DEST_FITB: + unimplemented_dest = "POPPLER_DEST_FITB"; + break; +@@ -930,6 +934,7 @@ ev_link_dest_from_dest (PdfDocument *pdf + case POPPLER_DEST_FITBV: + unimplemented_dest = "POPPLER_DEST_FITBV"; + break; ++#endif + case POPPLER_DEST_NAMED: + ev_dest = ev_link_dest_new_named (dest->named_dest); + break; |