Nam Nguyen writes:

> The solution is to bump resource limits. It might be nice to include a
> MESSAGE or README as in games/dolphin/pkg/README

Here is a diff to give users a hint. With default resource limits, gimp
will crash on operations like resizing due to memory-hungry
graphics/babl. This is copied from productivity/thinkingrock.

OK?

Index: snapshot/Makefile
===================================================================
RCS file: /cvs/ports/graphics/gimp/snapshot/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- snapshot/Makefile   12 Sep 2022 14:21:07 -0000      1.3
+++ snapshot/Makefile   19 Sep 2022 05:48:13 -0000
@@ -1,6 +1,7 @@
 COMMENT=       GNU Image Manipulation Program
 V=2.99
 DISTNAME =     gimp-${V}.12
+REVISION =     0
 
 .for i in gimp gimpbase gimpcolor gimpconfig gimpmath gimpmodule \
        gimpthumb gimpui gimpwidgets gimp-scriptfu
Index: snapshot/pkg/MESSAGE
===================================================================
RCS file: snapshot/pkg/MESSAGE
diff -N snapshot/pkg/MESSAGE
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ snapshot/pkg/MESSAGE        19 Sep 2022 05:48:13 -0000
@@ -0,0 +1,2 @@
+Users need their data size limit increased in /etc/login.conf in order to
+run GIMP.
Index: stable/Makefile
===================================================================
RCS file: /cvs/ports/graphics/gimp/stable/Makefile,v
retrieving revision 1.154
diff -u -p -u -p -r1.154 Makefile
--- stable/Makefile     10 Sep 2022 12:49:22 -0000      1.154
+++ stable/Makefile     19 Sep 2022 05:48:13 -0000
@@ -1,7 +1,7 @@
 COMMENT=       GNU Image Manipulation Program
 
 DISTNAME =     gimp-2.10.32
-REVISION =     0
+REVISION =     1
 
 .for i in gimp gimpbase gimpcolor gimpconfig gimpmath gimpmodule \
        gimpthumb gimpui gimpwidgets
Index: stable/pkg/MESSAGE
===================================================================
RCS file: stable/pkg/MESSAGE
diff -N stable/pkg/MESSAGE
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ stable/pkg/MESSAGE  19 Sep 2022 05:48:13 -0000
@@ -0,0 +1,2 @@
+Users need their data size limit increased in /etc/login.conf in order to
+run GIMP.

Reply via email to