[gimp] packaging: Update paths for MacOS



commit ee30d50d6048712872b9de2941c4a0c695f506f1
Author: Lukas Oberhuber <lukaso gmail com>
Date:   Mon Nov 29 22:08:23 2021 +0000

    packaging: Update paths for MacOS
    
    Updates the various path variables used to run the applicaition on Mac.
    This includes update to python.

 app/main.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/app/main.c b/app/main.c
index 5de0b3027e..d385509f44 100644
--- a/app/main.c
+++ b/app/main.c
@@ -366,9 +366,6 @@ gimp_macos_setenv (const char * progname)
       tmp = g_strdup_printf ("%s/lib/gtk-3.0/3.0.0", res_dir);
       g_setenv ("GTK_PATH", tmp, TRUE);
       g_free (tmp);
-      tmp = g_strdup_printf ("%s/etc/gtk-3.0/gtk.immodules", res_dir);
-      g_setenv ("GTK_IM_MODULE_FILE", tmp, TRUE);
-      g_free (tmp);
       tmp = g_strdup_printf ("%s/lib/gegl-0.4", res_dir);
       g_setenv ("GEGL_PATH", tmp, TRUE);
       g_free (tmp);
@@ -384,7 +381,7 @@ gimp_macos_setenv (const char * progname)
       tmp = g_strdup_printf ("%s", res_dir);
       g_setenv ("PYTHONHOME", tmp, TRUE);
       g_free (tmp);
-      tmp = g_strdup_printf ("%s/lib/python2.7:%s/lib/gimp/2.0/python", res_dir, res_dir);
+      tmp = g_strdup_printf ("%s/lib/python3.9", res_dir);
       g_setenv ("PYTHONPATH", tmp, TRUE);
       g_free (tmp);
       tmp = g_strdup_printf ("%s/lib/gio/modules", res_dir);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]