<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ccd4010e442c6ed579d463fed3cbd7d98a67143b">https://github.com/macports/macports-ports/commit/ccd4010e442c6ed579d463fed3cbd7d98a67143b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ccd4010e442 DiffPDF: new port, version 2.1.3
</span>ccd4010e442 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ccd4010e442c6ed579d463fed3cbd7d98a67143b
</span>Author: Davide Liessi <davide.liessi@gmail.com>
AuthorDate: Mon Dec 7 07:17:35 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> DiffPDF: new port, version 2.1.3
</span>---
graphics/DiffPDF/Portfile | 60 ++++++++++++++++++++++
.../DiffPDF/files/patch-include-poppler-qt4.diff | 40 +++++++++++++++
2 files changed, 100 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/DiffPDF/Portfile b/graphics/DiffPDF/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..257b762a394
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/DiffPDF/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,60 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup qmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name DiffPDF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.1.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:davide.liessi @dliessi} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Compare two PDF files textually or visually
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${name} can compare two PDF files. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It offers three comparison modes: \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Words, Characters, and Appearance.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.qtrac.eu/diffpdf-foss.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites http://www.qtrac.eu/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname [string tolower ${name}-${version}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha1 663ecb7666a4b7d6fbd1a37327fd1f895fae69b8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 12a5f6921b8a53d98d9786af25e408e27611f56f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c6142ee038a78108397f45b0c456dca7a4fe1d75250f21a514a134101d322433 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 91856
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:poppler-qt4-mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/poppler-qt4-mac/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:makeicns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-include-poppler-qt4.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|@@PREFIX@@|${prefix}| ${worksrcpath}/[string tolower ${name}].pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|@@ICON@@|${worksrcpath}/images/icon.icns| ${worksrcpath}/[string tolower ${name}].pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${qt_lrelease_cmd} [string tolower ${name}].pro"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[catch {system -W ${worksrcpath}/images "${prefix}/bin/makeicns -in icon.png 2>&1"}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "icon.png could not be converted to icon.icns: $::errorInfo"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/[string tolower ${name}].app ${worksrcpath}/${name}.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${qt_bins_dir}/macdeployqt ${name}.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex [string tolower ${name}]-(\\d+(?:\\.\\d+)*)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/DiffPDF/files/patch-include-poppler-qt4.diff b/graphics/DiffPDF/files/patch-include-poppler-qt4.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7a48548c2f0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/DiffPDF/files/patch-include-poppler-qt4.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,40 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git diffpdf.pro.orig diffpdf.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 24db88f..12f2f9a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- diffpdf.pro.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ diffpdf.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,31 +31,13 @@ TRANSLATIONS += diffpdf_fr.ts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TRANSLATIONS += diffpdf_de.ts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TRANSLATIONS += diffpdf_es.ts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CODECFORTR = UTF-8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS += -lpoppler-qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIBS += -L@@PREFIX@@/libexec/poppler-qt4-mac/lib -lpoppler-qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG += release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-exists($(HOME)/opt/poppler024/) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- message(Using locally built Poppler library)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBS += -Wl,-rpath -Wl,$(HOME)/opt/poppler024/lib -L$(HOME)/opt/poppler024/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exists(/poppler_lib) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- message(Using locally built Poppler library on Windows)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += /c/poppler_lib/include/poppler/cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += /c/poppler_lib/include/poppler/qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBS += -Wl,-rpath -Wl,/c/poppler_lib/bin -Wl,-L/c/poppler_lib/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exists(/usr/include/poppler/qt4) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += /usr/include/poppler/cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += /usr/include/poppler/qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += /usr/local/include/poppler/cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += /usr/local/include/poppler/qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INCLUDEPATH += @@PREFIX@@/libexec/poppler-qt4-mac/include/poppler/cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INCLUDEPATH += @@PREFIX@@/libexec/poppler-qt4-mac/include/poppler/qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ICON = @@ICON@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #exists($(HOME)/opt/podofo09/) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # message(Using locally built PoDoFo library)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/cpp
</span></pre><pre style='margin:0'>
</pre>