pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/gimp



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri May 13 23:05:32 UTC 2022

Modified Files:
        pkgsrc/graphics/gimp: distinfo
Added Files:
        pkgsrc/graphics/gimp/patches: patch-app_gui_gui.c

Log Message:
gimp: fix build on macOS


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 pkgsrc/graphics/gimp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gimp/patches/patch-app_gui_gui.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/gimp/distinfo
diff -u pkgsrc/graphics/gimp/distinfo:1.109 pkgsrc/graphics/gimp/distinfo:1.110
--- pkgsrc/graphics/gimp/distinfo:1.109 Tue Jan  4 13:07:18 2022
+++ pkgsrc/graphics/gimp/distinfo       Fri May 13 23:05:32 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.109 2022/01/04 13:07:18 ryoon Exp $
+$NetBSD: distinfo,v 1.110 2022/05/13 23:05:32 tnn Exp $
 
 BLAKE2s (gimp-2.10.30.tar.bz2) = 352505acd5f454e3d7183357050332cf9239b55009699cdcd8deb4e1d15ca539
 SHA512 (gimp-2.10.30.tar.bz2) = 02ca9e8846dc2ae856f720b92f3c6af69984cf0b3ce85ba5a67479e5c3c813315a0551b7d011dcf7a6c83dc771e550cc31041126bbea0be3fd483176e0eb2851
@@ -6,6 +6,7 @@ Size (gimp-2.10.30.tar.bz2) = 31731327 b
 SHA1 (patch-aa) = 403c46d7070de208769e99e512922ba3a5b7129b
 SHA1 (patch-ab) = 44d37daf37ec604f97bb5b3edf0908ada56ed6d6
 SHA1 (patch-app_core_gimpbrush-transform.cc) = 3bd3f69401ee7dabb53f7ebf533870ee9add856c
+SHA1 (patch-app_gui_gui.c) = 5a510c9a6e95e3a0aaccee29d29d523503f1c8c5
 SHA1 (patch-configure.ac) = c7e89bc9fd576eb95a9288eccea8959cbe1ee6de
 SHA1 (patch-plug-ins_common_file-mng.c) = 8ed244997cdef7125e1aa5da4d0fac5068ad5159
 SHA1 (patch-plug-ins_pygimp_py-compile) = 59dcdd00073b737f8f52e6a56832722033ee5703

Added files:

Index: pkgsrc/graphics/gimp/patches/patch-app_gui_gui.c
diff -u /dev/null pkgsrc/graphics/gimp/patches/patch-app_gui_gui.c:1.1
--- /dev/null   Fri May 13 23:05:32 2022
+++ pkgsrc/graphics/gimp/patches/patch-app_gui_gui.c    Fri May 13 23:05:32 2022
@@ -0,0 +1,18 @@
+$NetBSD: patch-app_gui_gui.c,v 1.1 2022/05/13 23:05:32 tnn Exp $
+
+Fix build on macOS when not using gimp's GTK fork.
+Upstream doesn't have this yet. Performance with pkgsrc gimp is still bad,
+but at least it won't clutter up bulk builds.
+
+--- app/gui/gui.c.orig 2021-12-19 20:48:33.000000000 +0000
++++ app/gui/gui.c
+@@ -282,6 +282,9 @@ gui_init (Gimp     *gimp,
+    * has the additional cost of an 8-bit (ARGB) to 10-bit conversion.
+    * Let's disable this mode to regain the lost performance.
+    */
++#ifndef GDK_OSX_BIG_SUR
++#define GDK_OSX_BIG_SUR GDK_OSX_MOJAVE 
++#endif
+   if (gdk_quartz_osx_version () >= GDK_OSX_BIG_SUR)
+     {
+       NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];



Home | Main Index | Thread Index | Old Index