<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/653935e7145cdf59da058b9a315fde729bd0d012">https://github.com/macports/macports-ports/commit/653935e7145cdf59da058b9a315fde729bd0d012</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 653935e gimp-lqr-plugin: fixed invalid parameter name
</span>653935e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 653935e7145cdf59da058b9a315fde729bd0d012
</span>Author: Friedrich Beckmann <friedrich.beckmann@gmx.de>
AuthorDate: Tue Apr 14 02:01:31 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> gimp-lqr-plugin: fixed invalid parameter name
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The current gimp-lqr-plugin has a wrong parameter name "output target".
</span><span style='display:block; white-space:pre;color:#404040;'> That crashes the current gimp 2.10.18 version. The change is already in upstream:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> https://github.com/carlobaldassi/gimp-lqr-plugin/commit/8600fa6c7c611215c3cd282b8092ca5bec64f2fb
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> I took exactly the patch from upstream and added it to the
</span><span style='display:block; white-space:pre;color:#404040;'> current build. Then it works with gimp 2.10.18.
</span>---
graphics/gimp-lqr-plugin/Portfile | 5 +++--
.../files/patch-invalid-parameter-name-fix.diff | 11 +++++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gimp-lqr-plugin/Portfile b/graphics/gimp-lqr-plugin/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 211a6f8..d4cce57 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/gimp-lqr-plugin/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gimp-lqr-plugin/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup active_variants 1.1
</span>
name gimp-lqr-plugin
version 0.7.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> license GPL-2
maintainers {devans @dbevans} openmaintainer
categories graphics
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,7 +36,8 @@ depends_build port:pkgconfig \
</span> depends_lib port:liblqr \
path:lib/pkgconfig/gimp-2.0.pc:gimp2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-autogen.sh.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-autogen.sh.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-invalid-parameter-name-fix.diff
</span>
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gimp-lqr-plugin/files/patch-invalid-parameter-name-fix.diff b/graphics/gimp-lqr-plugin/files/patch-invalid-parameter-name-fix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d679f78
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gimp-lqr-plugin/files/patch-invalid-parameter-name-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/main.c.orig 2020-04-13 22:54:08.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/main.c 2020-04-13 22:55:19.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -179,7 +179,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {GIMP_PDB_INT32, "resize_aux_layers",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "Whether to resize auxiliary layers"},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {GIMP_PDB_INT32, "resize_canvas", "Whether to resize canvas"},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- {GIMP_PDB_INT32, "output target", "Output target (same layer, new layer, new image)"},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {GIMP_PDB_INT32, "output_target", "Output target (same layer, new layer, new image)"},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {GIMP_PDB_INT32, "seams", "Whether to output the seam map"},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {GIMP_PDB_INT32, "nrg_func", "Energy function to use"},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {GIMP_PDB_INT32, "res_order", "Resize order"},
</span></pre><pre style='margin:0'>
</pre>