Received: by mail.netbsd.org (Postfix, from userid 605) id D27BB84D82; Mon, 6 Apr 2020 14:15:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5B70C84D5E for ; Mon, 6 Apr 2020 14:15:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id FD2q_jeZwAb5 for ; Mon, 6 Apr 2020 14:15:47 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 66C6884D32 for ; Mon, 6 Apr 2020 14:15:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5AD5FFB27; Mon, 6 Apr 2020 14:15:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1586182547269930" MIME-Version: 1.0 Date: Mon, 6 Apr 2020 14:15:47 +0000 From: "Santhosh Raju" Subject: CVS commit: pkgsrc/print/foliate To: pkgsrc-changes@NetBSD.org Reply-To: fox@netbsd.org X-Mailer: log_accum Message-Id: <20200406141547.5AD5FFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1586182547269930 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fox Date: Mon Apr 6 14:15:47 UTC 2020 Modified Files: pkgsrc/print/foliate: Makefile PLIST distinfo Added Files: pkgsrc/print/foliate/patches: patch-src_epubView.js Removed Files: pkgsrc/print/foliate/patches: patch-src_main.js Log Message: print/foliate: Updates to 2.0.0 Changes since 1.5.3: Interface: * A redesigned interface that works better for smaller screens (#176) * Improved fullscreen mode with an overlaid headerbar (#4) * The headerbar and the progress bar now auto-hide, for a distraction-free reading experience * Various location information, as well as a clock, can now be displayed in the footer (#175, #233) * A new location popover (Ctrl + L) that shows reading time estimates and allows skipping to locations (#155) * E-reader style navigation: go to the previous or next page by tapping on the left or right part of the view; tap on the middle to toggle header bar and progress bar * Annotations, bookmarks, and find results now show chapter titles (#162) * When looking up words in dictionaries, the query can now be edited (#156) * New shortcut for viewing metadata (Ctrl + I) and preferences (Ctrl + ,) * A new traditional menubar, which may be displayed depending on the desktop environment * Option to use a traditional titlebar and menubar instead of a headerbar (experimental) Reading: * Continuous scrolling layout * Option to show decorative shadows that mimic the appearance of a real book * Ability to zoom in and zoom out (#117) * Improved image viewer with "save as" option * Open copies of a book in new windows (Ctrl + N) * Reload book (Ctrl + R) * New built-in themes: Gray, Solarized, Gruvbox, Nord Text selection: * Ability to select text across pages * Find selected text in book * Speak selected text or from the selected location (#141) Annotations: * Spellcheck notes (requires new optional dependency "gspell") * Export annotations to Markdown (#180) * Options to use custom colors for highlights For publishers and developers: * Support for Apple Books theme attribute, which allows books to detect themes without JavaScript (#178) * WebKit's developer tools can be enabled Breaking changes: * The settings schemas has been reorganized * The format for custom themes has changed * Locations are now 1024 characters in size Bug fixes: * Fixed not restoring exact last location * Fixed navigation not working with scrolled layout * Fixed font size not changing when the book uses absolute-size keywords (#173) * Fixed text cut off at margin edge (#177) * Fixed unable to open books with "#" or "?" in the file name To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/foliate/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/foliate/PLIST \ pkgsrc/print/foliate/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/print/foliate/patches/patch-src_epubView.js cvs rdiff -u -r1.1 -r0 pkgsrc/print/foliate/patches/patch-src_main.js Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1586182547269930 Content-Disposition: inline Content-Length: 8096 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/print/foliate/Makefile diff -u pkgsrc/print/foliate/Makefile:1.4 pkgsrc/print/foliate/Makefile:1.5 --- pkgsrc/print/foliate/Makefile:1.4 Tue Mar 10 22:10:51 2020 +++ pkgsrc/print/foliate/Makefile Mon Apr 6 14:15:47 2020 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2020/03/10 22:10:51 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2020/04/06 14:15:47 fox Exp $ -DISTNAME= foliate-1.5.3 -PKGREVISION= 3 +DISTNAME= foliate-2.0.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GITHUB:=johnfactotum/} EXTRACT_USING= bsdtar @@ -18,7 +17,7 @@ DEPENDS+= gjs>=1.52.0:../../lang/gjs SUBST_CLASSES+= pyvers SUBST_MESSAGE.pyvers= Substitute the correct python version. SUBST_STAGE.pyvers= pre-configure -SUBST_FILES.pyvers= src/main.js +SUBST_FILES.pyvers= src/epubView.js SUBST_VARS.pyvers+= PYVERSSUFFIX # Fails without GNU msgfmt Index: pkgsrc/print/foliate/PLIST diff -u pkgsrc/print/foliate/PLIST:1.1 pkgsrc/print/foliate/PLIST:1.2 --- pkgsrc/print/foliate/PLIST:1.1 Sat Oct 12 13:45:20 2019 +++ pkgsrc/print/foliate/PLIST Mon Apr 6 14:15:47 2020 @@ -1,37 +1,39 @@ -@comment $NetBSD: PLIST,v 1.1 2019/10/12 13:45:20 fox Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/04/06 14:15:47 fox Exp $ bin/foliate libexec/foliate/com.github.johnfactotum.Foliate share/applications/com.github.johnfactotum.Foliate.desktop -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/__init__.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/compatibility_utils.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/kindleunpack.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_cover.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_dict.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_header.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_html.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_index.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_k8proc.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_k8resc.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_nav.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_ncx.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_opf.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_pagemap.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_sectioner.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_split.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_uncompress.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_utils.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobiml2xhtml.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/unipath.py -share/com.github.johnfactotum.Foliate/assets/KindleUnpack/unpack_structure.py -share/com.github.johnfactotum.Foliate/assets/epub.js -share/com.github.johnfactotum.Foliate/assets/jszip.min.js -share/com.github.johnfactotum.Foliate/assets/lookup.html -share/com.github.johnfactotum.Foliate/assets/utils.js -share/com.github.johnfactotum.Foliate/assets/viewer-nocsp.html -share/com.github.johnfactotum.Foliate/assets/viewer.css -share/com.github.johnfactotum.Foliate/assets/viewer.html -share/com.github.johnfactotum.Foliate/assets/viewer.js -share/com.github.johnfactotum.Foliate/com.github.johnfactotum.Foliate.src.gresource +share/foliate/assets/.eslintrc.json +share/foliate/assets/KindleUnpack/__init__.py +share/foliate/assets/KindleUnpack/compatibility_utils.py +share/foliate/assets/KindleUnpack/kindleunpack.py +share/foliate/assets/KindleUnpack/mobi_cover.py +share/foliate/assets/KindleUnpack/mobi_dict.py +share/foliate/assets/KindleUnpack/mobi_header.py +share/foliate/assets/KindleUnpack/mobi_html.py +share/foliate/assets/KindleUnpack/mobi_index.py +share/foliate/assets/KindleUnpack/mobi_k8proc.py +share/foliate/assets/KindleUnpack/mobi_k8resc.py +share/foliate/assets/KindleUnpack/mobi_nav.py +share/foliate/assets/KindleUnpack/mobi_ncx.py +share/foliate/assets/KindleUnpack/mobi_opf.py +share/foliate/assets/KindleUnpack/mobi_pagemap.py +share/foliate/assets/KindleUnpack/mobi_sectioner.py +share/foliate/assets/KindleUnpack/mobi_split.py +share/foliate/assets/KindleUnpack/mobi_uncompress.py +share/foliate/assets/KindleUnpack/mobi_utils.py +share/foliate/assets/KindleUnpack/mobiml2xhtml.py +share/foliate/assets/KindleUnpack/unipath.py +share/foliate/assets/KindleUnpack/unpack_structure.py +share/foliate/assets/epub-viewer-nocsp.html +share/foliate/assets/epub-viewer.css +share/foliate/assets/epub-viewer.html +share/foliate/assets/epub-viewer.js +share/foliate/assets/epub.js +share/foliate/assets/jszip.min.js +share/foliate/assets/lookup.html +share/foliate/assets/utils.js +share/foliate/com.github.johnfactotum.Foliate.data.gresource +share/foliate/com.github.johnfactotum.Foliate.src.gresource share/glib-2.0/schemas/com.github.johnfactotum.Foliate.gschema.xml share/icons/hicolor/scalable/apps/com.github.johnfactotum.Foliate.svg share/icons/hicolor/symbolic/apps/com.github.johnfactotum.Foliate-symbolic.svg @@ -40,8 +42,9 @@ share/locale/es/LC_MESSAGES/com.github.j share/locale/fr_FR/LC_MESSAGES/com.github.johnfactotum.Foliate.mo share/locale/id_ID/LC_MESSAGES/com.github.johnfactotum.Foliate.mo share/locale/it/LC_MESSAGES/com.github.johnfactotum.Foliate.mo -share/locale/nl_NL/LC_MESSAGES/com.github.johnfactotum.Foliate.mo +share/locale/nl/LC_MESSAGES/com.github.johnfactotum.Foliate.mo share/locale/pt_BR/LC_MESSAGES/com.github.johnfactotum.Foliate.mo share/locale/ru_RU/LC_MESSAGES/com.github.johnfactotum.Foliate.mo +share/locale/sv/LC_MESSAGES/com.github.johnfactotum.Foliate.mo share/locale/zh_TW/LC_MESSAGES/com.github.johnfactotum.Foliate.mo share/metainfo/com.github.johnfactotum.Foliate.appdata.xml Index: pkgsrc/print/foliate/distinfo diff -u pkgsrc/print/foliate/distinfo:1.1 pkgsrc/print/foliate/distinfo:1.2 --- pkgsrc/print/foliate/distinfo:1.1 Sat Oct 12 13:45:20 2019 +++ pkgsrc/print/foliate/distinfo Mon Apr 6 14:15:47 2020 @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.1 2019/10/12 13:45:20 fox Exp $ +$NetBSD: distinfo,v 1.2 2020/04/06 14:15:47 fox Exp $ -SHA1 (foliate-1.5.3.tar.gz) = 04303d725550409259417ba563f2e363a13c8b3f -RMD160 (foliate-1.5.3.tar.gz) = 77c0e8bfb0f641bb2ca90b5b06278ebd66d61579 -SHA512 (foliate-1.5.3.tar.gz) = 806640ab78794208d344145bad22c668cf17454194707f06caacc368d7f440bfdce6b3801cf8a9320d10b2a441fe4ad43e87a869107c3ed5c0af48e958638c7b -Size (foliate-1.5.3.tar.gz) = 1486573 bytes +SHA1 (foliate-2.0.0.tar.gz) = 3db1ce649536a2ac6544fbcf9650b05761be6d55 +RMD160 (foliate-2.0.0.tar.gz) = 149f864a819b47aad96fc1c02954d1238f4c6721 +SHA512 (foliate-2.0.0.tar.gz) = 7700abb9b7579750f37e18531367cd080a919a382347e0ebe77b0f59616b3482a96571b49d8d3788a6879b8a6d78d08eace7eeeb6865ce482c2cf58a5c5ba8be +Size (foliate-2.0.0.tar.gz) = 3098652 bytes SHA1 (patch-src_assets_KindleUnpack_kindleunpack.py) = 2b558fe842669982aec6087e9ce1c72f1fc52315 -SHA1 (patch-src_main.js) = 0d5f5be182af898bbe64d25a71f05fdf00a626d5 +SHA1 (patch-src_epubView.js) = 894a196410894d80ff60ab0338003f327276aa9e Added files: Index: pkgsrc/print/foliate/patches/patch-src_epubView.js diff -u /dev/null pkgsrc/print/foliate/patches/patch-src_epubView.js:1.1 --- /dev/null Mon Apr 6 14:15:47 2020 +++ pkgsrc/print/foliate/patches/patch-src_epubView.js Mon Apr 6 14:15:47 2020 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_epubView.js,v 1.1 2020/04/06 14:15:47 fox Exp $ + +Adds variable to help substitute the correct python version suffix. + +--- src/epubView.js.orig 2020-04-06 13:02:45.032535873 +0000 ++++ src/epubView.js +@@ -21,7 +21,7 @@ const { + mimetypes, execCommand, recursivelyDeleteDir + } = imports.utils + +-const python = GLib.find_program_in_path('python') || GLib.find_program_in_path('python3') ++const python = GLib.find_program_in_path('python@PYVERSSUFFIX@') + const kindleUnpack = pkg.pkgdatadir + '/assets/KindleUnpack/kindleunpack.py' + + const settings = new Gio.Settings({ schema_id: pkg.name + '.view' }) --_----------=_1586182547269930--