<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aa42b233eacdfc762b0cd1fb90421531d4b8c76b">https://github.com/macports/macports-ports/commit/aa42b233eacdfc762b0cd1fb90421531d4b8c76b</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 aa42b233eac link-grammar: Update to 5.12.4
</span>aa42b233eac is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aa42b233eacdfc762b0cd1fb90421531d4b8c76b
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Sat Apr 20 23:12:47 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> link-grammar: Update to 5.12.4
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Project has moved to GitHub with releases hosted on gnucash.org.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> As of version 5 the license has changed from BSD to LGPL-2.1.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add dependencies hunspell, libedit, and sqlite3, and pkg-config to find
</span><span style='display:block; white-space:pre;color:#404040;'> them.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Enable optional sat solver.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Disable language bindings for now for simplicity.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove no_track_space_usage variant and associated patches because
</span><span style='display:block; white-space:pre;color:#404040;'> tracking space usage is off by default as of 4.8.3. Add new
</span><span style='display:block; white-space:pre;color:#404040;'> track_space_usage variant for anyone who wants to turn it back on.
</span>---
textproc/link-grammar/Portfile | 78 +++++++++++++++++-----
...-link-grammar-link-grammar.def.track_space.diff | 10 ---
.../files/patch-link-grammar-utilities.h.diff | 11 ---
3 files changed, 63 insertions(+), 36 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/link-grammar/Portfile b/textproc/link-grammar/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 589fa221371..4036f97bae5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/link-grammar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/link-grammar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,30 +1,78 @@
</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> PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup opencog link-grammar 5.12.4 link-grammar-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 37c3bf7eaace1a77d0749b6002770f0fbcb56c6a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9bb7b8764d0e78c198e994af0b70a69cada3a35aa48a6deea620487fc75cfb00 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4720724
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name link-grammar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 4.6.1
</span> categories textproc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license BSD Apache-2 MIT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1 MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ryandesign @ryandesign} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description Link Grammar Parser
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> long_description The Link Grammar Parser is a syntactic parser of English, \
based on link grammar, an original theory of English \
syntax. Given a sentence, the system assigns to it a \
syntactic structure, which consists of a set of labeled \
links connecting pairs of words. The parser also produces \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- a "constituent" (Penn tree-bank style phrase tree) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a \"constituent\" (Penn tree-bank style phrase tree) \
</span> representation of a sentence (showing noun phrases, \
verb phrases, etc.).
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.abisource.com/projects/link-grammar/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://www.abisource.com/downloads/link-grammar/${version}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 e0bd3ff6d0d9e59b4c2948958f7174ac \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 1e74356d03e30ea9eeaae99f01c4c55eba7a776b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 78de8b4c015fe6be419cdce3e4869ded6c56c474
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://opencog.github.io/link-grammar-website/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://www.gnucash.org/link-grammar/downloads/${version}/
</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;'>+ path:bin/pkg-config:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:hunspell \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libedit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlite3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# port:pcre2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang: error: no such file or directory: '/usr/bin/clang"'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ccache no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/wiki/WimplicitFunctionDeclaration#strchr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.checks.implicit_function_declaration.whitelist-append strchr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Using pcre2 is recommended but it fails to build on macOS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/opencog/link-grammar/issues/1495
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-pcre2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-editline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-regexlib=c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# --with-regexlib=pcre2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# link-grammar does not recommend the use of aspell due to memory leaks and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# disables the use of aspell if hunspell is used.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-aspell \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-hunspell
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Enabling language bindings has not yet been investigated; they're disabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# in the interest of simplicity.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-java-bindings \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-perl-bindings \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-python-bindings
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --enable-pthreads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Enable the sat solver because why not. When the sat solver is enabled, it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# builds with C++ and links with zlib. Use the bundled copy of minisat because
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the minisat port only provides a binary, not the needed library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-sat-solver=bundled
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant no_track_space_usage description "Disable track space usage" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-link-grammar-utilities.h.diff patch-link-grammar-link-grammar.def.track_space.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant track_space_usage description {Track space usage to help with debugging} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -DTRACK_SPACE_USAGE
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff b/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 647606fe84a..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- link-grammar/link-grammar.def.orig 2008-12-31 07:36:33.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ link-grammar/link-grammar.def 2008-12-31 07:37:05.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -131,7 +131,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- parse_options_print_total_time
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- match
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract_thin_linkage
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--xfree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- count_set_effective_distance
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- intersect_strings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xalloc
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff b/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 19454459809..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- link-grammar/utilities.h.orig 2008-12-31 07:35:22.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ link-grammar/utilities.h 2008-12-31 07:35:24.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -200,7 +200,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void * xrealloc(void *, size_t oldsize, size_t newsize);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void * exalloc(size_t);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#define TRACK_SPACE_USAGE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* #define TRACK_SPACE_USAGE */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifdef TRACK_SPACE_USAGE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void xfree(void *, size_t);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void exfree(void *, size_t);
</span></pre><pre style='margin:0'>
</pre>