<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/161270af8e1909e1713b98f8609afb46147b6da3">https://github.com/macports/macports-ports/commit/161270af8e1909e1713b98f8609afb46147b6da3</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 161270af8e1 dvisvgm-devel: new port for testing - Proposed fix for parallel build issues: Use GNU 'gtouch', rather than 'touch' See: https://trac.macports.org/ticket/57528
</span>161270af8e1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 161270af8e1909e1713b98f8609afb46147b6da3
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Nov 27 11:42:51 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> dvisvgm-devel: new port for testing
</span><span style='display:block; white-space:pre;color:#404040;'> - Proposed fix for parallel build issues: Use GNU 'gtouch', rather than 'touch'
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/57528
</span>---
graphics/dvisvgm-devel/Portfile | 80 ++++++++++++++++++++++++++
graphics/dvisvgm-devel/files/patch-gtouch.diff | 24 ++++++++
2 files changed, 104 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/dvisvgm-devel/Portfile b/graphics/dvisvgm-devel/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d85bea38acc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/dvisvgm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,80 @@
</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;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup openssl 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mgieseki dvisvgm 2.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name dvisvgm-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts dvisvgm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set my_name dvisvgm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 037d06784902d1792c901459783ab9817b744ca1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 55ecd1014c2e66fae285e41da33e832ab20aa7f2fdc42388b695c1233e7d78e8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2694386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics textproc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {michaelld @michaelld} {mascguy @mascguy} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description DVI to SVG converter
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description DVI to SVG converter. The command-line utility dvisvgm is a tool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for TeX/LaTeX users. It converts DVI files to the XML-based scalable \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vector graphics format SVG.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir ${my_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Use 'gtouch', rather than macOS 'touch', as latter causes intermittent build hang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-gtouch.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/63553
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 900}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoconf.cmd ${worksrcpath}/autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Setting autoconf.cmd to a non-default value after setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# 'use_autoconf yes' removes the automatic dependencies, so re-add them.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:asciidoc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Needed for 'gtouch'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:coreutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:brotli \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ghostscript \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:potrace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-bin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:woff2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xxhashlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# prevent opportunistic dependency on gawk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AWK=/usr/bin/awk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && ([vercmp [lindex $vers 1] 47446] < 0 ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [vercmp [lindex $vers 1] 47446] == 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && [vercmp [lindex $vers 2] 1] < 1)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ registry_deactivate_composite texlive-bin-extra "" [list ports_nodepcheck 1]
</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;color:#808080;'>diff --git a/graphics/dvisvgm-devel/files/patch-gtouch.diff b/graphics/dvisvgm-devel/files/patch-gtouch.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..150d7e524da
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/dvisvgm-devel/files/patch-gtouch.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- autogen.sh.orig 2021-11-26 12:41:22.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ autogen.sh 2021-11-26 12:41:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1016,7 +1016,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ ! -f $file ] ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $VERBOSE_ECHO "Touching ${file} since it does not exist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _suggest_foreign=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- touch $file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ gtouch $file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- doc/Makefile.am.orig 2021-11-26 12:41:29.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ doc/Makefile.am 2021-11-26 12:42:08.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -76,8 +76,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dvisvgm.txt: dvisvgm.txt.in ../configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sed -e 's/@VERSION[@]/@VERSION@/g' -e 's/@PACKAGE_BUGREPORT[@]/@PACKAGE_BUGREPORT@/g' $< >$@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ $< -nt ../configure.ac ]; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- then touch -r $< $@; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else touch -r ../configure.ac $@; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ then gtouch -r $< $@; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ else gtouch -r ../configure.ac $@; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ epub: dvisvgm.epub
</span></pre><pre style='margin:0'>
</pre>