pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/zathura-pdf-mupdf



Module Name:    pkgsrc
Committed By:   leot
Date:           Tue Jan 31 10:12:02 UTC 2017

Modified Files:
        pkgsrc/print/zathura-pdf-mupdf: Makefile distinfo
        pkgsrc/print/zathura-pdf-mupdf/patches: patch-document.c
Removed Files:
        pkgsrc/print/zathura-pdf-mupdf/patches: patch-image.c patch-index.c
            patch-links.c patch-page.c patch-plugin.h patch-render.c
            patch-search.c patch-utils.c

Log Message:
Update print/zathura-pdf-mupdf to zathura-pdf-mupdf-0.3.1

Changes:
 - Compatible with mupdf 1.10
 - Added flags for freetype, harfbuzz and zlib
 - Correctly use pdf_save_document


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/print/zathura-pdf-mupdf/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/zathura-pdf-mupdf/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/print/zathura-pdf-mupdf/patches/patch-document.c
cvs rdiff -u -r1.2 -r0 pkgsrc/print/zathura-pdf-mupdf/patches/patch-image.c \
    pkgsrc/print/zathura-pdf-mupdf/patches/patch-page.c \
    pkgsrc/print/zathura-pdf-mupdf/patches/patch-plugin.h \
    pkgsrc/print/zathura-pdf-mupdf/patches/patch-search.c \
    pkgsrc/print/zathura-pdf-mupdf/patches/patch-utils.c
cvs rdiff -u -r1.1 -r0 pkgsrc/print/zathura-pdf-mupdf/patches/patch-index.c \
    pkgsrc/print/zathura-pdf-mupdf/patches/patch-links.c
cvs rdiff -u -r1.3 -r0 pkgsrc/print/zathura-pdf-mupdf/patches/patch-render.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/zathura-pdf-mupdf/Makefile
diff -u pkgsrc/print/zathura-pdf-mupdf/Makefile:1.10 pkgsrc/print/zathura-pdf-mupdf/Makefile:1.11
--- pkgsrc/print/zathura-pdf-mupdf/Makefile:1.10        Sun Jan  1 16:06:35 2017
+++ pkgsrc/print/zathura-pdf-mupdf/Makefile     Tue Jan 31 10:12:02 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2017/01/01 16:06:35 adam Exp $
+# $NetBSD: Makefile,v 1.11 2017/01/31 10:12:02 leot Exp $
 #
 
-DISTNAME=      zathura-pdf-mupdf-0.3.0
-PKGREVISION=   7
+DISTNAME=      zathura-pdf-mupdf-0.3.1
 CATEGORIES=    print
 MASTER_SITES=  http://pwmt.org/projects/zathura/plugins/download/
 

Index: pkgsrc/print/zathura-pdf-mupdf/distinfo
diff -u pkgsrc/print/zathura-pdf-mupdf/distinfo:1.4 pkgsrc/print/zathura-pdf-mupdf/distinfo:1.5
--- pkgsrc/print/zathura-pdf-mupdf/distinfo:1.4 Mon Nov 28 14:41:40 2016
+++ pkgsrc/print/zathura-pdf-mupdf/distinfo     Tue Jan 31 10:12:02 2017
@@ -1,15 +1,7 @@
-$NetBSD: distinfo,v 1.4 2016/11/28 14:41:40 leot Exp $
+$NetBSD: distinfo,v 1.5 2017/01/31 10:12:02 leot Exp $
 
-SHA1 (zathura-pdf-mupdf-0.3.0.tar.gz) = ae0be41ea7c75b8ddc083fe01f1366673ea9751a
-RMD160 (zathura-pdf-mupdf-0.3.0.tar.gz) = 377e7848a5ea7f43f020e131aacc24c51453bf8f
-SHA512 (zathura-pdf-mupdf-0.3.0.tar.gz) = c83eef453176c6317be338260e311c39e049b8ae1ae719445c6303725b4e993758ed3f3a61f0af31032d09f1f2f03574f862d24e36b27fa38732e0b6c7aa18ea
-Size (zathura-pdf-mupdf-0.3.0.tar.gz) = 9914 bytes
-SHA1 (patch-document.c) = ed5a34515767482b83c9cb3f3a20d1c492a80307
-SHA1 (patch-image.c) = 15e60ede84c3b9a5f4d9b927bb5572c78a4409c3
-SHA1 (patch-index.c) = 8ec60bb5965abbc9d91be63305bf6b5a5244b30c
-SHA1 (patch-links.c) = 9e133625f5c45a9dd490d15bd19ae3529999a990
-SHA1 (patch-page.c) = bc3bd7325f4005986182949c5e66b1ee3040431b
-SHA1 (patch-plugin.h) = 8b12c096d265b397ae9f3a8aee7057a23dea3def
-SHA1 (patch-render.c) = c65ec3d6e9622149d987798b69c680c886b7f970
-SHA1 (patch-search.c) = 1cbed6cc8a8cf672e6330bd2e91e0976f90bc352
-SHA1 (patch-utils.c) = 914ca7ea673be3bcb1a76661762ac7e343f57264
+SHA1 (zathura-pdf-mupdf-0.3.1.tar.gz) = ef37a181de96d6fca36db3ac818f790dcf3627ae
+RMD160 (zathura-pdf-mupdf-0.3.1.tar.gz) = 7497475ba55d2e7f96d23f378cbefeddd56089e4
+SHA512 (zathura-pdf-mupdf-0.3.1.tar.gz) = 87b5b8a750a6911be37a0195b0f4bc3304350f9d29173091b3eeece40350b10cb98b009b2722a69ae1e617b4242292f3eba17fea97d5276e485069180f2bd67d
+Size (zathura-pdf-mupdf-0.3.1.tar.gz) = 9755 bytes
+SHA1 (patch-document.c) = b4695700ffc3a85667a292af059d0af58b3150f1

Index: pkgsrc/print/zathura-pdf-mupdf/patches/patch-document.c
diff -u pkgsrc/print/zathura-pdf-mupdf/patches/patch-document.c:1.3 pkgsrc/print/zathura-pdf-mupdf/patches/patch-document.c:1.4
--- pkgsrc/print/zathura-pdf-mupdf/patches/patch-document.c:1.3 Mon Nov 28 14:41:40 2016
+++ pkgsrc/print/zathura-pdf-mupdf/patches/patch-document.c     Tue Jan 31 10:12:02 2017
@@ -1,15 +1,11 @@
-$NetBSD: patch-document.c,v 1.3 2016/11/28 14:41:40 leot Exp $
+$NetBSD: patch-document.c,v 1.4 2017/01/31 10:12:02 leot Exp $
 
-o Correct the glib-2.0 include header file path.
-o Update to mupdf-1.10 API
+Correct the glib-2.0 include header file path.
 
---- document.c.orig    2016-02-14 22:49:46.000000000 +0000
+--- document.c.orig    2017-01-11 21:21:14.000000000 +0000
 +++ document.c
-@@ -3,10 +3,9 @@
- #define _POSIX_C_SOURCE 1
- 
+@@ -5,7 +5,7 @@
  #include <mupdf/fitz.h>
--#include <mupdf/xps.h>
  #include <mupdf/pdf.h>
  
 -#include <glib-2.0/glib.h>
@@ -17,17 +13,3 @@ o Update to mupdf-1.10 API
  
  #include "plugin.h"
  
-@@ -109,12 +108,7 @@ pdf_document_save_as(zathura_document_t*
-   }
- 
-   fz_try (mupdf_document->ctx) {
--    /* fz_write_document claims to accepts NULL as third argument but doesn'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 */
--    fz_write_document(mupdf_document->ctx, mupdf_document->document, (char*) path, &opts);
-+    pdf_save_document(mupdf_document->ctx, pdf_specifics(mupdf_document->ctx, mupdf_document->document), (char*) path, NULL);
-   } fz_catch (mupdf_document->ctx) {
-     return ZATHURA_ERROR_UNKNOWN;
-   }



Home | Main Index | Thread Index | Old Index