head 1.10; access; symbols pkgsrc-2022Q2:1.8.0.6 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.4 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.2 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.7.0.12 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.10 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.8 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.6 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.4 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.2 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.6.0.6 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.8 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.4 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.2 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.5.0.4 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.2 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.4.0.4 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.2 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.3.0.4 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.2 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.2.0.6 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.2 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.1.0.8 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.6 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.4 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @# @; 1.10 date 2022.09.01.13.56.53; author nia; state dead; branches; next 1.9; commitid boIR8Kn1x80CjaSD; 1.9 date 2022.07.23.15.09.43; author leot; state Exp; branches; next 1.8; commitid FjjMZn4CTTEk02ND; 1.8 date 2021.10.23.15.22.07; author leot; state Exp; branches; next 1.7; commitid gdBXh9Ik56aEQWdD; 1.7 date 2020.05.07.20.42.57; author leot; state Exp; branches; next 1.6; commitid BKBJtenIADtQMl7C; 1.6 date 2019.05.12.12.27.02; author ryoon; state Exp; branches; next 1.5; commitid SnbP30nbqNReEUmB; 1.5 date 2018.10.04.19.02.33; author leot; state Exp; branches; next 1.4; commitid LVpLHA7pNeIfUFUA; 1.4 date 2018.05.06.13.19.10; author leot; state Exp; branches; next 1.3; commitid COhp9WCCCo6oReBA; 1.3 date 2017.12.18.15.06.34; author leot; state Exp; branches; next 1.2; commitid piDUW6ZgHXgvUnjA; 1.2 date 2017.04.12.13.03.08; author leot; state Exp; branches; next 1.1; commitid PbHMIboXP7i4hfNz; 1.1 date 2016.04.27.12.34.58; author leot; state Exp; branches; next ; commitid slCnl0SRdIXYmg4z; desc @@ 1.10 log @mupdf: Use mujs from pkgsrc. Delete no-longer-needed patches. @ text @$NetBSD: patch-thirdparty_mujs_Makefile,v 1.9 2022/07/23 15:09:43 leot Exp $ - Add libtool support to mujs. - Avoid to set (unused) VERSION variable. --- thirdparty/mujs/Makefile.orig 2021-12-08 11:56:12.000000000 +0000 +++ thirdparty/mujs/Makefile @@@@ -9,12 +9,6 @@@@ bindir ?= $(prefix)/bin incdir ?= $(prefix)/include libdir ?= $(prefix)/lib -ifeq "$(wildcard .git)" ".git" - VERSION := $(shell git describe --tags --always) -else - VERSION := $(shell basename $$PWD | sed -e s,^mujs-,,) -endif - ifeq ($(shell uname),Darwin) SO_EXT := dylib else @@@@ -60,7 +54,7 @@@@ HDRS := $(wildcard js*.h mujs.h utf.h re default: shell shell: $(OUT)/mujs $(OUT)/mujs-pp -static: $(OUT)/libmujs.a +static: $(OUT)/libmujs.la shared: $(OUT)/libmujs.$(SO_EXT) astnames.h: jsparse.h @@@@ -74,15 +68,15 @@@@ one.c: $(SRCS) jsdump.c: astnames.h opnames.h -$(OUT)/%.o: %.c $(HDRS) +$(OUT)/%.lo: %.c $(HDRS) @@ mkdir -p $(dir $@@) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@@ -c $< -$(OUT)/libmujs.o: one.c $(HDRS) +$(OUT)/libmujs.lo: one.c $(HDRS) @@ mkdir -p $(dir $@@) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@@ -c $< -$(OUT)/libmujs.a: $(OUT)/libmujs.o +$(OUT)/libmujs.la: $(OUT)/libmujs.lo @@ mkdir -p $(dir $@@) $(AR) cr $@@ $^ @@@@ -90,11 +84,11 @@@@ $(OUT)/libmujs.$(SO_EXT): one.c $(HDRS) @@ mkdir -p $(dir $@@) $(CC) $(CFLAGS) $(CPPFLAGS) -fPIC -shared $(LDFLAGS) -o $@@ $< -lm -$(OUT)/mujs: $(OUT)/libmujs.o $(OUT)/main.o +$(OUT)/mujs: $(OUT)/libmujs.lo $(OUT)/main.lo @@ mkdir -p $(dir $@@) $(CC) $(LDFLAGS) -o $@@ $^ $(LIBREADLINE) -lm -$(OUT)/mujs-pp: $(OUT)/libmujs.o $(OUT)/pp.o +$(OUT)/mujs-pp: $(OUT)/libmujs.lo $(OUT)/pp.lo @@ mkdir -p $(dir $@@) $(CC) $(LDFLAGS) -o $@@ $^ -lm @@@@ -120,8 +114,8 @@@@ install-common: $(OUT)/mujs $(OUT)/mujs. install -m 644 $(OUT)/mujs.pc $(DESTDIR)$(libdir)/pkgconfig install -m 755 $(OUT)/mujs $(DESTDIR)$(bindir) -install-static: install-common $(OUT)/libmujs.a - install -m 644 $(OUT)/libmujs.a $(DESTDIR)$(libdir) +install-static: install-common $(OUT)/libmujs.la + ${LIBTOOL} --mode=install $(OUT)/libmujs.la $(DESTDIR)$(libdir) install-shared: install-common $(OUT)/libmujs.$(SO_EXT) install -m 755 $(OUT)/libmujs.$(SO_EXT) $(DESTDIR)$(libdir) @ 1.9 log @mupdf: Update to 1.20.0 Changes: 1.20.0 ------ Experimental C# bindings. Cross compilation should no longer need a host compiler. Major additions to JNI bindings. New API to edit outline New API to resolve and create links New API to toggle individual layers in PDF Layer panel in mupdf-gl Layer option in mutool draw New API to add a Javascript console Console panel in mupdf-gl Text search API extended to be able to distinguish between separate search hits. Command line tool improvements: all: Negative page numbers to index from the last page mutool draw: Add option to render document without text mutool draw and convert: Support DPI option in text and HTML output New hybrid HTML output format using "scripts/pdftohtml" script: Graphics in a background image Text on top Improved WASM viewer demo Support high DPI screens Progressive loading Update to zlib 1.2.12 for security fix. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.8 2021/10/23 15:22:07 leot Exp $ @ 1.8 log @mupdf: Update to 1.19.0 Changes: 1.19.0 ------ * Removed support for Luratech JBIG2 and JPEG2000 decoders. * Added 'extract' library for more output options: Added DOCX output format Added ODT output format * Notable new features: Journal for undo and redo Snapshot for auto-save and restore (for backgrounding mobile apps) Reflow document wrapper Rollover appearance for annotations and widgets Customize appearance of signed digital signatures Progress and cancel callbacks to OCR functions Create signature form fields * Minor new features: Support CJK fonts in pdfwrite output Support JBIG2 images in pdfwrite output Support opacity for all markup annotation types High-DPI aware UI in mupdf-gl mutool extract -a option to embed SMasks as alpha channel * API changes: Removed pdf_widget type alias (was always same as pdf_annot) Updated annotation 'dirty' logic Fix typo in function and type names: designated name -> distinguished name More functions available to 'mutool run' More functions available to Java library * New unicode scripts and fonts for EPUB: Dogra, Elymaic, Gondi, Hanifi Rohingya, Masaram Gondi, Medefaidrin, Nushu, Nyiakeng Puachue Hmong, Old Sogdian, Sogdian, Soyombo, Wancho, Yezidi, and Zanabazar Square. * C++ and Python bindings: C++ and Python bindings now work on Windows. Python bindings are available as pre-built binaries on pypi.org. Added demo PDF viewer using the Python MuPDF bindings and PyQt. Better access to data in generated wrapper classes. Improved handling of out-parameters in generated Python. Text representation of POD types via C++ operator<< and Python str(). Fixed ref-counting bug in iterators. Updates for new MuPDF functions. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.7 2020/05/07 20:42:57 leot Exp $ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2021-06-08 11:41:51.000000000 +0000 d18 4 a21 4 # Compiler flags for various configurations: CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter @@@@ -54,7 +48,7 @@@@ HDRS := $(wildcard js*.h mujs.h utf.h re d27 1 a27 1 shared: $(OUT)/libmujs.so d30 1 a30 1 @@@@ -68,15 +62,15 @@@@ one.c: $(SRCS) d49 1 a49 1 @@@@ -84,11 +78,11 @@@@ $(OUT)/libmujs.so: one.c $(HDRS) d63 1 a63 1 @@@@ -114,8 +108,8 @@@@ install-common: $(OUT)/mujs $(OUT)/mujs. d72 2 a73 2 install-shared: install-common $(OUT)/libmujs.so install -m 755 $(OUT)/libmujs.so $(DESTDIR)$(libdir) @ 1.7 log @mupdf: Update to 1.17.0 pkgsrc changes: - Remove patches/patch-platform_x11_pdfapp.c, no longer needed Changes: 1.17.0 ------ api: Improved accessors for markup/ink/polygon annotation data. api: Chapter based API for faster EPUB loading. api: Add more documentation to header files. api: Improved digital signature signing and verification. api: Validate changes in a signed PDF file. build: Moved windows build to VS2019 solution. pdf: Redaction now works on images and links as well as text. pdf: Greek, Cyrillic, Chinese, Japanese, and Korean scripts in forms and annotations. pdf: File attachment annotations. pdf: Use CCITT Fax compression for 1-bit images when creating PDF files. epub: More forgiving XHTML parsing. epub: Accelerator files to cache chapter data for faster EPUB loading. epub: Optimized memory use. mutool run: Edit Markup, Ink, and Polygon annotation data. mutool run: Fill out form fields. viewer: Ask for confirmation before closing a PDF with unsaved changes. viewer: Embed and extract file attachment annotations. library: Miscellaneous bugfixes. library: Fixes to store operation. thirdparty: Updated Harfbuzz to 2.6.4. thirdparty: Updated jbig2dec to 0.18. thirdparty: Updated MuJS to 1.0.7. thirdparty: Updated OpenJPEG to 2.3.1. thirdparty: Updated cURL to 7.66.0 (windows only). @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.6 2019/05/12 12:27:02 ryoon Exp $ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2020-03-17 13:10:18.000000000 +0000 d8 1 a8 1 @@@@ -7,12 +7,6 @@@@ bindir ?= $(prefix)/bin d21 1 a21 1 @@@@ -51,7 +45,7 @@@@ HDRS := $(wildcard js*.h mujs.h utf.h re d30 1 a30 1 @@@@ -65,15 +59,15 @@@@ one.c: $(SRCS) d37 1 a37 1 $(CC) $(CFLAGS) -o $@@ -c $< d42 1 a42 1 $(CC) $(CFLAGS) -o $@@ -c $< d49 1 a49 1 @@@@ -81,11 +75,11 @@@@ $(OUT)/libmujs.so: one.c $(HDRS) d51 1 a51 1 $(CC) $(CFLAGS) -fPIC -shared -o $@@ $< -lm d63 1 a63 1 @@@@ -111,8 +105,8 @@@@ install-common: $(OUT)/mujs $(OUT)/mujs. @ 1.6 log @Update to 1.15.0 * Update lcms2 comment * Remove removed www/curl option Changelog: List of changes in MuPDF 1.15.0 General improvements: * WebAssembly build target and examples. * Improved forms API in both C and Java bindings. * Improved forms JavaScript support. * Create appearance streams for more form field types. * Fixed many bugs in ICC color management. * Fixed many memory leaks in error cleanup. * Fixed bugs in pdfwrite output. * Improved text extraction from LaTeX documents with math symbols. * Improved trace device formatting. * Support CBZ and CBT files larger than 2Gb. * Show table of contents for FB2 and XHTML documents. * Show embedded raster images in SVG and XHTML documents. * Show FB2 cover page. * Add option to save PDF files without encryption. * Add inhibit-spaces option to stext device to turn off missing space detection. * Simplified fz_try/fz_always/fz_catch macros. mupdf-gl improvements: * Automatically open annotation editor when selecting an annotation. * Full page color tinting option in mupdf-gl. * Show/hide table of contents sections. * Trigger a reload with sighup. * Toggle spot color mode with 'e'. mutool improvements: mutool show $PDF outline -- show outline with open/closed state indicator. mutool show $PDF js -- show document level javascript. mutool clean -A -- create appearance streams when missing. mutool clean -AA -- recreate all appearance streams. mutool run docs/examples/portfolio.js -- extract embedded files from PDF document. mutool run docs/examples/pdf-dejpx.js -- decompress JPEG2000 images in PDF document. mutool run docs/examples/fix-s22pdf.js -- fix fonts in documents generated by S22PDF. Significant API changes: * New and improved forms API. * Renamed -DNO_ICC to -DFZ_ENABLE_ICC=0 * Removed fz_annot superclass. Use pdf_annot and pdf_widget directly instead. * Annotations and Widgets now have separate enumerators. * Added optional separations argument to pixmap rendering utility functions. Various cleanups: Per-function documentation comments moved to the source file. Hopefully they will stay up to date more often than when they were hidden away in the header file. Removed unused internal testing tools: mjsgen and jstest. Removed TGA output support. Use one of the more common and useful PAM, PNM, PNG, or TIFF formats instead. Removed support for PDF portfolios. This work-in-progress feature was never completed, and only worked for a small subset of files. Removed support for progressive loading. This rarely used feature added a lot of complexity and was an unending source of bugs and strange behaviour. Removing this feature has allowed us to clean up and simplify large amounts of code, and fix dozens of bugs in one fell swoop. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.5 2018/10/04 19:02:33 leot Exp $ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2019-04-04 10:41:04.000000000 +0000 d21 9 d63 2 a64 1 @@@@ -112,7 +106,7 @@@@ install-common: shell $(OUT)/mujs.pc d67 1 a67 1 install-static: install-common static d69 1 d72 1 a72 1 install-shared: install-common shared @ 1.5 log @mupdf: Update print/mupdf to 1.14.0 pkgsrc changes: - Pass USE_SYSTEM_LIBS=yes via MAKE_ENV in order to honor system (pkgsrc) packages {C,LD}FLAGS - Rewrite the logic to disable lcms2 in patch-ab and inject -DNO_ICC directly via CFLAGS Changes: MuPDF 1.14.0 ------------ * New features: * Added "Source Han Serif" CJK fallback font. * Added more scripts to the Noto fallback fonts. * Multi-page PNM support. * "mutool show" now supports a path syntax for selecting objects to show. * Build system simplifications: * Auto-generated CMap, ICC, and JS source files are checked in to git. * Embedded CMap resources are now generated by a python script. * Embedded font resources are linked directly if using GNU ld or windows. * Namegen tool replaced by use of C macros. * Simplified Makefile. * Annotation editing: * New annotation editing mode in mupdf-gl. * Can create, edit, and delete most annotation types. * Can create appearance streams for most annotation types. * Can create appearance streams for Tx form fields. * Can create appearance streams for Ch form fields. * Form filling in mupdf-gl: * Can click buttons, checkboxes, and radioboxes. * Can fill out text fields using dialog box. * Can select choice options using dialog box. * Can verify and sign digital signatures. * Improved UI for mupdf-gl: * Password dialog. * Error dialog. * Open/save file dialog. * Snap selection to words or lines by holding control or control+shift. * Save and restore current location, bookmarks, and navigation history. * Bug fixes: * Improved CJK character fallback handling in EPUB. * API changes: * Pass rectangle and matrix structs by value. * Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx). * Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros. * Added helper functions: pdf_dict_get_int, etc. * Removed 'doc' argument in pdf_new_int, etc. * Quads instead of rects when highlighting and searching text. * mutool run: Pass arguments to script in scriptArgs global. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.4 2018/05/06 13:19:10 leot Exp $ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2018-09-11 10:47:31.000000000 +0000 d21 1 a21 1 @@@@ -64,15 +58,15 @@@@ one.c: $(SRCS) d40 1 a40 1 @@@@ -80,11 +74,11 @@@@ $(OUT)/libmujs.so: one.c $(HDRS) d54 2 a55 2 @@@@ -110,7 +104,7 @@@@ install-common: release install -m 755 build/release/mujs $(DESTDIR)$(bindir) d57 3 a59 3 install-static: install-common - install -m 644 build/release/libmujs.a $(DESTDIR)$(libdir) + install -m 644 build/release/libmujs.la $(DESTDIR)$(libdir) d61 2 a62 2 install-shared: install-common install -m 755 build/release/libmujs.so $(DESTDIR)$(libdir) @ 1.4 log @mupdf: Update print/mupdf to 1.13.0 pkgsrc changes: - Directly override VERSION in files/mupdf.pc in the post-build phase (to avoid an extra manual step for every mupdf update) - Get rid of OPJ_STATIC patch hunk in patches/patch-source_fitz_load-jpx.c (it is no more needed, because the `-DOPJ_STATIC' is now passed in Makefile-s when the bundled openjpeg is used). - Pass HAVE_LIBCRYPTO=no to avoid requiring openssl>=1.1.0. Changes: 1.13.0 ------ * This is primarily a bugfix release. * New "mutool sign" tool for showing and verifying digital signatures. * Chinese, Japanese, Korean, Cyrillic, and Greek font support in mutool create. * Improvements to annotation editing API. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.3 2017/12/18 15:06:34 leot Exp $ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2018-01-24 15:55:49.000000000 +0000 d13 1 a13 1 -VERSION := $(shell git describe --tags --always) d15 1 a15 1 -VERSION := $(shell basename $$PWD | sed -e s,^mujs-,,) d21 1 a21 3 @@@@ -63,19 +57,19 @@@@ jsdump.c: astnames.h opnames.h $(OUT): mkdir -p $(OUT) d23 5 a27 2 -$(OUT)/main.o: main.c $(HDRS) +$(OUT)/main.lo: main.c $(HDRS) d32 1 d37 2 a38 1 $(AR) cru $@@ $^ d40 2 a41 1 $(OUT)/libmujs.so: one.c $(HDRS) d46 6 d54 1 a54 2 $(OUT)/mujs.pc: @@@@ -100,7 +94,7 @@@@ install-common: release @ 1.3 log @mupdf: Update print/mupdf to 1.12.0 pkgsrc changes: - Add support for the `opengl' option via graphics/glut and remove the `glfw' option to follow upstream changes. Adjust options.mk and buildlink3.mk accordingly. - Add patches/patch-platform_gl_gl-app.h to not force freeglut GLUT implementation to every non-APPLE platforms (glut also works!) and adjust the glut.h include. - Add a commented out lcms2 bl3 inclusion entry, lcms2>=2.9 is needed (due "lcms2art.h" et al. inclusion, so disable it for now) - Explain the OPJ_STATIC comment in patches/patch-source_fitz_load-jpx.c a bit more in depth... ...this will hopefully save some time to debug opj_* undefined symbols when trying to link libmupdf and accidently omitting the patches/patch-source_fitz_load-jpx.c hunk (for extra debugging stories fun, if OPJ_STATIC is defined some opj_* symbols are defined while others are not defined, making the debugging of that problem more naughty!). - Inject HAVE_{CURL,GLUT} variables via MAKE_ENV in options.mk to avoid depending on www/curl and graphics/glut (yes, that's a bit kludgy but unfortunately mupdf doesn't have a configure and so there isn't a more sensible way to do it). This is needed to avoid building mupdf-gl for native X.org where the glut.pc pkg-config file is available at build time. Also adjust patches/patch-ab accordingly. - Remove patches/patch-CVE*, they are no longer needed (all applied in 1.12.0) - Bump BUILDLINK_API_DEPENDS.mupdf to 1.12.0 (there were several API changes from 1.11 to 1.12.0) and remove the now redundant and no longer needed BUILDLINK_ABI_DEPENDS.mupdf. Changes: List of changes in MuPDF 1.12.0 * Color management: * LCMS2 library for color management. * CMYK rendering with overprint simulation. * Spot color rendering. * Transparency rendering fixes. * Structured text output improvements: * Reworked structured text API. * Faster text searching. * Highlight and copy text by selecting lines instead of by area. * New semantic XHTML output format. * New layout preserving HTML output format. * Features and improvements: * Improved non-AA rendering with new scan converter. * Improved LARGEFILE support. * Improved TIFF support. * Improved documentation. * PCLm output. * PSD output. * New "mutool trace" tool. * New "mutool sign" tool (work in progress). * Text redaction (work in progress). * Lots of bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.2 2017/04/12 13:03:08 leot Exp $ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2017-03-29 13:56:39.000000000 +0000 d8 20 a27 11 @@@@ -1,6 +1,6 @@@@ SRCS := $(wildcard js*.c utf*.c regexp.c) HDRS := $(wildcard js*.h mujs.h utf.h regexp.h) -OBJS := $(SRCS:%.c=build/%.o) +OBJS := $(SRCS:%.c=build/%.lo) prefix ?= /usr/local bindir ?= $(prefix)/bin @@@@ -41,16 +41,16 @@@@ jsdump.c: astnames.h opnames.h build: mkdir -p build d29 2 a30 2 -build/%.o: %.c $(HDRS) +build/%.lo: %.c $(HDRS) d33 2 a34 2 -build/libmujs.a: $(OBJS) +build/libmujs.la: $(OBJS) d37 2 a38 3 -build/mujs: build/main.o build/libmujs.a +build/mujs: build/main.lo build/libmujs.la $(CC) $(LDFLAGS) -o $@@ $^ -lm d40 2 a41 2 -build/mujsone: build/main.o build/one.o +build/mujsone: build/main.lo build/one.lo d44 7 a50 21 install: release @@@@ -58,15 +58,15 @@@@ install: release install -d $(DESTDIR)$(libdir) install -d $(DESTDIR)$(bindir) install mujs.h $(DESTDIR)$(incdir) - install build/libmujs.a $(DESTDIR)$(libdir) + install build/libmujs.la $(DESTDIR)$(libdir) install build/mujs $(DESTDIR)$(bindir) -VERSION = $(shell git describe --tags --always) - -tarball: - git archive --format=zip --prefix=mujs-$(VERSION)/ HEAD > mujs-$(VERSION).zip - git archive --format=tar --prefix=mujs-$(VERSION)/ HEAD | gzip > mujs-$(VERSION).tar.gz - git archive --format=tar --prefix=mujs-$(VERSION)/ HEAD | xz > mujs-$(VERSION).tar.xz +#VERSION = $(shell git describe --tags --always) +# +#tarball: +# git archive --format=zip --prefix=mujs-$(VERSION)/ HEAD > mujs-$(VERSION).zip +# git archive --format=tar --prefix=mujs-$(VERSION)/ HEAD | gzip > mujs-$(VERSION).tar.gz +# git archive --format=tar --prefix=mujs-$(VERSION)/ HEAD | xz > mujs-$(VERSION).tar.xz d52 2 a53 2 tags: $(SRCS) main.c $(HDRS) ctags $^ @ 1.2 log @Update print/mupdf to 1.11 Changes: List of changes in MuPDF 1.11 ----------------------------- * This is primarily a bug fix release. * Split Android and iOS viewers into separate projects: - mupdf-viewer-ios.git has the iOS viewer. - mupdf-viewer-android-old.git has the Android viewer. - mupdf-viewer-android-nui.git has a new advanced Android viewer. - mupdf-viewer-android-mini.git has a new minimalist Android viewer. * PDF portfolio support with command line tool "mutool portfolio". * Add callbacks to load fallback fonts from the system. * Use system fonts in Android to reduce install size. * Flag to disable publisher styles in EPUB layout. * Improved SVG output. @ text @d1 1 a1 1 $NetBSD: patch-thirdparty_mujs_Makefile,v 1.1 2016/04/27 12:34:58 leot Exp $ d3 2 a4 2 o Add libtool support lo mujs. o Avoid to set (unused) VERSION variable. @ 1.1 log @Update print/mupdf to 1.9a. pkgsrc changes: o Update MASTER_SITES (archive/ subdirectory contains all the distfiles, latest stable version and also older ones) o Bump BUILDLINK_A[BP]I_DEPENDS.mupdf to 1.9a due to several API and ABI changes Changes: MuPDF 1.9a (2016-04-26) ----------------------- Version 1.9a is a bug fix release. If you run into issues with selecting or searching for text with ligatures, you should upgrade from 1.9. MuPDF 1.9 (2016-04-18) ----------------------- The 1.9 release is here! Headline changes: * New command line tools: create and run. * New low-level Java interface for desktop and android. * Bidirectional layout for Arabic and Hebrew scripts. * Shaping complex scripts for EPUB text layout. * Noto fallback fonts for EPUB layout. mutool create: * Create new PDF files from scratch. * Read an annotated content stream in a text file and write a PDF file, automatically embedding font and image resources. mutool run: * Run javascript scripts with MuPDF bindings. * The interface is similar to the new Java interface. mutool draw: * Optional multi-threaded operation (Windows and pthreads). * Optional low memory mode (primarily for testing). @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- thirdparty/mujs/Makefile.orig 2016-03-01 20:52:00.000000000 +0000 d8 8 d33 1 a33 1 +build/mujsone: build/main.o build/one.lo d37 6 a42 2 @@@@ -61,12 +61,12 @@@@ install: release install build/libmujs.a $(DESTDIR)$(libdir) @