Created attachment 153599 [details] Proposed patch (since 370129 revision) Patch to update graphics/djview4 port from 4.9 to 4.10 version. Look following link for changes: http://sourceforge.net/p/djvu/djview-git/ci/3d46e3/tree/NEWS?diff=78575a - Remove Qt version from COMMENT and pkg-descr file - Add LICENSE_FILE - Add build dependency from graphics/librsvg2 for icon generation - Add libtiff.so to LIB_DEPENDS as required shared library - Use install-strip for INSTALL_TARGET to strip files - Add "autoreconf", "desktop-file-utils" and "gmake" to USES - Remove QT_NONSTANDARD to use QT configure environment variables - Add additional QT variables to CONFIGURE_ENV - Allow to build with using Qt4 or Qt5 toolkit library through QT4 or QT5 port's options - Adapt (sed) patches for new version - Adapt pkg-plist file - Add upstream patch to simplify "lrelease rule" [1] Reference links: 1: http://sourceforge.net/p/djvu/djview-git/ci/e664af/tree/src/Makefile.am?diff=975258
Created attachment 153600 [details] The poudriere testport log (FreeBSD 10 amd64)
Created attachment 153601 [details] The poudriere testport log (FreeBSD 10 amd64, with QT4 option enabled)
Created attachment 153602 [details] The graphics/djview4-qt4 port in shar format Also I created graphics/djview4-qt4 port, which uses QT4 option.
Created attachment 153603 [details] The new poudriere testport log (FreeBSD 10 amd64): graphics/djview4-qt4
Created attachment 153604 [details] Proposed patch (after bug 196409) Also, there is a patch to apply, in case of bugs 196409 resolve, which improves 4.9 version. While the 4.10 version installs translation files, it couldn't use them for some reason. The 4.9 version (with improvements) is ok, for this case.
(In reply to comment #5) > in case of bugs 196409 resolve in case of bug 196409 resolve
Created attachment 153605 [details] Proposed patch (since 370129 revision) Restore indentation near USES.
Created attachment 153606 [details] Proposed patch (after bug 196409)
Created attachment 153703 [details] Proposed patch (since 380305 revision) Patch updated after ports 380305 changes.
Created attachment 153704 [details] Proposed patch (after bug 196409)
Created attachment 161476 [details] Proposed patch (since 398102 revision) Updated to 4.10.3 version. > - Add LICENSE_FILE > - Add libtiff.so to LIB_DEPENDS as required shared library was added in ports r398050 > - Add upstream patch to simplify "lrelease rule" [1] The patch was included in 4.10.3 version, therefore was removed from the proposed patch.
Created attachment 161477 [details] The poudriere testport log (FreeBSD 10.2 amd64)
Created attachment 161478 [details] The poudriere testport log (FreeBSD 10.2 amd64, with QT4 option enabled)
Created attachment 161479 [details] The poudriere testport log (FreeBSD 10.2 amd64): graphics/djview4-qt4
Created attachment 161480 [details] The poudriere testport log (FreeBSD 10.2 amd64) with djvulibre-3.5.27 with updated djvulibre-3.5.27 from bug 198087
Created attachment 161481 [details] The poudriere testport log (FreeBSD 10.2 amd64, with QT4 option enabled) with djvulibre-3.5.27 with updated djvulibre-3.5.27 from bug 198087
Created attachment 161482 [details] The poudriere testport log (FreeBSD 10.2 amd64): graphics/djview4-qt4 with djvulibre-3.5.27 with updated djvulibre-3.5.27 from bug 198087
Created attachment 161490 [details] Proposed patch (since 398102 revision) I changed the patch and removed following part of it: # Allow to strip binary ${REINPLACE_CMD} -e '/^bin_/s/SCRIPTS/PROGRAMS/' \ ${WRKSRC}/src/Makefile.am This is because, for some reason (may be because of usage of nsdejavu.so as a browser's plugin), the developer considers to install djview application as a script instead of program, e.g. ${WRKSRC}/src/Makefile.am: -8<-- # program djview # - can we do better than pretending djview is a script? bin_SCRIPTS = djview -->8- The difference is 100555 instead of 100755 for djview file permissions, as for current 4.9 version. But in this case it doesn't allow to strip the ${STAGEDIR}/${PREFIX}/bin/djview file: Warning: 'bin/djview' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} even if install-strip used, because of 100555 read file permissions only.
Created attachment 161491 [details] The poudriere testport log (FreeBSD 10.2 amd64) Other poudriere testport logs are the same, except of following line added: Warning: 'bin/djview' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Created attachment 161492 [details] Proposed patch (since 398102 revision) Manually change write permissions to strip a ${STAGEDIR}/${PREFIX}/bin/djview file.
Created attachment 161493 [details] The poudriere testport log (FreeBSD 10.2 amd64)
A commit references this bug: Author: rm Date: Fri Nov 6 17:11:34 UTC 2015 New revision: 400947 URL: https://svnweb.freebsd.org/changeset/ports/400947 Log: graphics/djview4: update to 4.10.3 - Remove Qt version from COMMENT and pkg-descr file - Add LICENSE_FILE - Add build dependency from graphics/librsvg2 for icon generation - Add libtiff.so to LIB_DEPENDS as required shared library - Use install-strip for INSTALL_TARGET to strip files - Add "autoreconf", "desktop-file-utils" and "gmake" to USES - Remove QT_NONSTANDARD to use QT configure environment variables - Add additional QT variables to CONFIGURE_ENV - Allow to build with using Qt4 or Qt5 toolkit library through QT4 or QT5 port's options - Adapt (sed) patches for new version - Adapt pkg-plist file - Add upstream patch to simplify "lrelease rule" [1] [1] http://sourceforge.net/p/djvu/djview-git/ci/e664af/tree/src/Makefile.am?diff=975258 PR: 198088 Submitted by: lightside <lightside@gmx.com> Changes: head/graphics/djview4/Makefile head/graphics/djview4/distinfo head/graphics/djview4/files/ head/graphics/djview4/pkg-descr head/graphics/djview4/pkg-plist
A commit references this bug: Author: rm Date: Fri Nov 6 17:24:36 UTC 2015 New revision: 400948 URL: https://svnweb.freebsd.org/changeset/ports/400948 Log: Add slave port for djview4 with QT4 interface PR: 198088 Submitted by: lightside <lightside@gmx.com> Changes: head/graphics/Makefile head/graphics/djview4-qt4/ head/graphics/djview4-qt4/Makefile
Update committed, with new slave port added. Thank you much!