diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-10 13:11:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-10 13:11:28 +0000 |
commit | bcf3a830a4f4c1c5453ee72607fea3aa99a4b5cc (patch) | |
tree | e98877eaeb5e2a44f00691183c3f6564168e2955 /graphics/atril/files | |
parent | f9f9a731b4169a1148866d9821539fe3f5dd5aa6 (diff) |
Notes
Diffstat (limited to 'graphics/atril/files')
-rw-r--r-- | graphics/atril/files/patch-backend_pdf_ev-poppler.cc | 28 | ||||
-rw-r--r-- | graphics/atril/files/patch-libview_ev-view.c | 10 |
2 files changed, 38 insertions, 0 deletions
diff --git a/graphics/atril/files/patch-backend_pdf_ev-poppler.cc b/graphics/atril/files/patch-backend_pdf_ev-poppler.cc new file mode 100644 index 000000000000..debe49cbba30 --- /dev/null +++ b/graphics/atril/files/patch-backend_pdf_ev-poppler.cc @@ -0,0 +1,28 @@ +--- backend/pdf/ev-poppler.cc.orig 2012-07-28 17:20:48.000000000 -0500 ++++ backend/pdf/ev-poppler.cc 2012-07-28 17:20:50.000000000 -0500 +@@ -640,6 +640,7 @@ + PopplerPermissions permissions; + EvPage *page; + char *metadata; ++ gboolean linearized; + + info = g_new0 (EvDocumentInfo, 1); + +@@ -676,7 +677,7 @@ + "producer", &(info->producer), + "creation-date", &(info->creation_date), + "mod-date", &(info->modified_date), +- "linearized", &(info->linearized), ++ "linearized", &linearized, + "metadata", &metadata, + NULL); + +@@ -782,6 +783,8 @@ + info->security = g_strdup (_("No")); + } + ++ info->linearized = linearized ? g_strdup (_("Yes")) : g_strdup (_("No")); ++ + return info; + } + diff --git a/graphics/atril/files/patch-libview_ev-view.c b/graphics/atril/files/patch-libview_ev-view.c new file mode 100644 index 000000000000..9f38e94f4158 --- /dev/null +++ b/graphics/atril/files/patch-libview_ev-view.c @@ -0,0 +1,10 @@ +--- libview/ev-view.c.orig 2014-02-21 19:08:58.000000000 +0100 ++++ libview/ev-view.c 2014-02-21 19:09:45.000000000 +0100 +@@ -840,6 +840,7 @@ + } + + #if !GTK_CHECK_VERSION (3, 0, 0) ++static void + ev_view_set_scroll_adjustments (GtkLayout *layout, + GtkAdjustment *hadjustment, + GtkAdjustment *vadjustment) |