Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 354709 | Differences between
and this patch

Collapse All | Expand All

(-)a/backend/pdf/ev-poppler.cc (+11 lines)
Lines 722-727 pdf_document_get_info (EvDocument *document) Link Here
722
	PopplerPermissions permissions;
722
	PopplerPermissions permissions;
723
	EvPage *page;
723
	EvPage *page;
724
	char *metadata;
724
	char *metadata;
725
#ifdef HAVE_POPPLER_DOCUMENT_IS_LINEARIZED
726
	gboolean linearized;
727
#endif
725
728
726
	info = g_new0 (EvDocumentInfo, 1);
729
	info = g_new0 (EvDocumentInfo, 1);
727
730
Lines 758-764 pdf_document_get_info (EvDocument *document) Link Here
758
		      "producer", &(info->producer),
761
		      "producer", &(info->producer),
759
		      "creation-date", &(info->creation_date),
762
		      "creation-date", &(info->creation_date),
760
		      "mod-date", &(info->modified_date),
763
		      "mod-date", &(info->modified_date),
764
#ifdef HAVE_POPPLER_DOCUMENT_IS_LINEARIZED
765
		      "linearized", &linearized,
766
#else
761
		      "linearized", &(info->linearized),
767
		      "linearized", &(info->linearized),
768
#endif
762
		      "metadata", &metadata,
769
		      "metadata", &metadata,
763
		      NULL);
770
		      NULL);
764
771
Lines 864-869 pdf_document_get_info (EvDocument *document) Link Here
864
		info->security = g_strdup (_("No"));
871
		info->security = g_strdup (_("No"));
865
	}
872
	}
866
873
874
#ifdef HAVE_POPPLER_DOCUMENT_IS_LINEARIZED
875
	info->linearized = linearized ? g_strdup (_("Yes")) : g_strdup (_("No"));
876
#endif
877
867
	return info;
878
	return info;
868
}
879
}
869
880
(-)a/configure.ac (-1 / +1 lines)
Lines 512-517 if test "x$enable_pdf" = "xyes"; then Link Here
512
	    AC_CHECK_FUNCS(poppler_page_get_text_layout)
512
	    AC_CHECK_FUNCS(poppler_page_get_text_layout)
513
	    AC_CHECK_FUNCS(poppler_page_get_selected_text)
513
	    AC_CHECK_FUNCS(poppler_page_get_selected_text)
514
	    AC_CHECK_FUNCS(poppler_page_add_annot)
514
	    AC_CHECK_FUNCS(poppler_page_add_annot)
515
	    AC_CHECK_FUNCS(poppler_document_is_linearized)
515
	    LIBS=$evince_save_LIBS
516
	    LIBS=$evince_save_LIBS
516
	    PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
517
	    PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
517
	    if test x$enable_cairo_pdf = xyes; then
518
	    if test x$enable_cairo_pdf = xyes; then
518
-

Return to bug 354709