Index: Makefile =================================================================== --- Makefile (revision 417329) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= zathura-pdf-mupdf PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://pwmt.org/projects/zathura-pdf-mupdf/download/ @@ -16,14 +17,15 @@ mupdf>=1.8,1:graphics/mupdf RUN_DEPENDS= zathura:graphics/zathura LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \ - libopenjp2.so:graphics/openjpeg + libopenjp2.so:graphics/openjpeg \ + libgirara-gtk3.so:x11-toolkits/girara PLIST_FILES= lib/zathura/pdf.so share/applications/zathura-pdf-mupdf.desktop MAKE_ARGS= MUPDF_LIB=-lmupdf_pic OPENSSL_INC=-I${OPENSSLINC} \ OPENSSL_LIB="-L${OPENSSLLIB} -lcrypto" -USES= compiler:c11 desktop-file-utils gmake pkgconfig -USE_GNOME= glib20 gtk30 +USES= compiler:c11 desktop-file-utils gmake gettext jpeg pkgconfig +USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 USE_OPENSSL= yes CONFLICTS_INSTALL= zathura-pdf-poppler-[0-9]* Index: files/patch-document.c =================================================================== --- files/patch-document.c (revision 0) +++ files/patch-document.c (working copy) @@ -0,0 +1,11 @@ +--- document.c.orig 2016-06-23 07:20:41 UTC ++++ document.c +@@ -113,7 +113,7 @@ pdf_document_save_as(zathura_document_t* + * pdf_write_document does not check if the third arguments is NULL for some + * options. */ + +- fz_write_options opts = { 0 }; /* just use the default options */ ++ pdf_write_options opts = { 0 }; /* just use the default options */ + fz_write_document(mupdf_document->ctx, mupdf_document->document, (char*) path, &opts); + } fz_catch (mupdf_document->ctx) { + return ZATHURA_ERROR_UNKNOWN; Property changes on: files/patch-document.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-plugin.h =================================================================== --- files/patch-plugin.h (revision 0) +++ files/patch-plugin.h (working copy) @@ -0,0 +1,13 @@ +--- plugin.h.orig 2016-02-14 22:49:46 UTC ++++ plugin.h +@@ -21,8 +21,8 @@ typedef struct mupdf_page_s + { + fz_page* page; /**< Reference to the mupdf page */ + fz_context* ctx; /**< Context */ +- fz_text_sheet* sheet; /**< Text sheet */ +- fz_text_page* text; /**< Page text */ ++ fz_stext_sheet* sheet; /**< Text sheet */ ++ fz_stext_page* text; /**< Page text */ + fz_rect bbox; /**< Bbox */ + bool extracted_text; /**< If text has already been extracted */ + } mupdf_page_t; Property changes on: files/patch-plugin.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property