Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 5BF58A646B for ; Thu, 9 Jan 2014 14:25:32 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id C219314A2B5; Thu, 9 Jan 2014 14:25:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CADA714A2B6 for ; Thu, 9 Jan 2014 14:25:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id BBBw3EqwIILP for ; Thu, 9 Jan 2014 14:25:23 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id C42BF14A2B5 for ; Thu, 9 Jan 2014 14:25:23 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 8079896; Thu, 9 Jan 2014 14:25:23 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 9 Jan 2014 14:25:23 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/print/mupdf To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20140109142523.8079896@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: mef Date: Thu Jan 9 14:25:23 UTC 2014 Modified Files: pkgsrc/print/mupdf: Makefile PLIST buildlink3.mk distinfo pkgsrc/print/mupdf/files: mupdf.pc pkgsrc/print/mupdf/patches: patch-ab patch-ac patch-ae Added Files: pkgsrc/print/mupdf/patches: patch-Makethird Removed Files: pkgsrc/print/mupdf/patches: patch-fitz_image_jpx.c Log Message: Update print/mupdf to 1.3 (via pkgsrc-wip by Leonardo Taccari, thanks) ============================================================================= Notes on updating mupdf to mupdf-1.3 (maybe useful for future updates too) * mupdf-1.3 depends on openjpeg-2.0 (previously mupdf-1.1 depended on openjpeg-1.5). ${WRKSRC}/Makerules is NOT correct and still looks for openjpeg-1.5 so patches/patch-ab was modified in order to fix this behaviour. Please also note the SUBST.makerules class in Makefile. * mupdf should be build with "build=release" (the default is "build=debug" and that may be indesiderable for the common user). * In order to completely disable the building of third party libraries (it is better to use the ones provided/handled by pkgsrc) a brutal ${RM} -fr completely remove the ${WRKSRC}/thirdparty directory. For more information please read ${WRKSRC}/Makethird and the post-extract target in Makefile. * ${WRKSRC}/docs/thirdparty.txt may help for adding correct version of the dependencies. * To add libcurl support (www/curl) patches/patch-Makethird was introduced and patches/patch-ab was modified in order to use pkg-config for $(SYS_CURL_CFLAGS) and $(SYS_CURL_LIBS). * By default now mupdf install different binaries, e.g. mupdf-x11 (previous it was just "mupdf"), mupdf-x11-curl, etc.. In pkgsrc we install *only* the featureful version of mupdf simply as "mupdf". For more information please give a look to patches/patch-ac. ============================================================================= (Upstream) List of changes on master since MuPDF 1.2 * Windows RT viewer app for MuPDF. * Library changes to support progressive loading (display PDF files as they download). Windows/Linux/MacOS viewer supports this using curl. * Incremental updates to PDF files are now (optionally) preserved on loading/saving. * Prototype support for checking PDF Digital Signatures. * Initial annotation support (strike-out, underline, highlight and ink) (library and android builds only). * Fix operation on Android API level 8. * Android redraw optimisations. * Android app now supports Google Cloud Print. * Android app translated into many languages. * Android support for more architectures. * Improvements to store (avoid collisions causing unnecessary evictions). * Windows apps use Unicode filenames now. * PDF function handling improved; functions can now be passed to devices without 'sampling'. * PDF image handling improved; images can now be passed to devices without decompression. * Indexed images are no longer uncompressed at load time, saving memory. * Caching of rendered tiles for speed. * Improved text analysis mode, capable of spotting columns/indents, right-to-left text etc. * HTML output mode now includes image output. * PDF password encoding handling improved. * MuPDF now opens Jpeg, Tiff and PNG files directly. * Bug preventing OpenXPS files from being opened fixed. * Initial (feature incomplete) SVG and PDF output devices. * PWG raster (mono/grey/RGB) and PCL (mono) output devices. * Various performance improvements (including tilings and mesh based shadings). * Revamped directory structure to reflect recent changes. * Various potential SEGV, SoftMask and rendering fixes. * Many potential crashes in Jpeg2000 and JBIG2 images fixed. List of changes on master since MuPDF 1.1 * Important API changes: * fz_bbox is now fz_irect. * APIs (including fz_device) now pass fz_rect/fz_matrix by reference. * fz_device API is now more consistent with regards to use of fz_rect rather than fz_bbox. * Add support for Javascript and forms handling. * Fix many SEGVs with out of spec files. Many thanks to Mateusz "j00ru" Jurczyk and Gynvael Coldwind of the Google Security team, zeniko, Sebastian Rasmussen and all other contributors. * Add fz_open_document_with_stream to allow non-file based operation. * Move to using git submodules for third party libraries. * Much enhanced Android application. Now on Google Play! * Oversized and stroke text clipping implemented. * Change shadings to decompose at render times; massive memory savings. * Renamed 'mubusy' to 'mutool'. * PDF 1.7 Extension Level 8 encryption implemented. * Added consts to various parts of the API to help C++ interworking. * Prototype transition support. * Text searching API moved to fitz. * Highlight and copy text selections. * Performance enhancements for color conversion and fax decompression. * ARM optimisations for color conversion and bitmap scaling. * Bitmap subsampling stage introduced, with ARM optimisations. * Type 3 fonts; glyphs are now handled as display lists. * Scan converter performance improvements. * Various rendering fixes. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 pkgsrc/print/mupdf/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/print/mupdf/PLIST cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/mupdf/buildlink3.mk cvs rdiff -u -r1.9 -r1.10 pkgsrc/print/mupdf/distinfo cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/mupdf/files/mupdf.pc cvs rdiff -u -r0 -r1.1 pkgsrc/print/mupdf/patches/patch-Makethird cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/mupdf/patches/patch-ab cvs rdiff -u -r1.5 -r1.6 pkgsrc/print/mupdf/patches/patch-ac cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/mupdf/patches/patch-ae cvs rdiff -u -r1.1 -r0 pkgsrc/print/mupdf/patches/patch-fitz_image_jpx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.