Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing icons in GIMP 2.10 custom compilation
#1
Hi, I just compiled GIMP 2.10.38 (under an up-to-date Archlinux) from the sources in download.gimp.org, after a couple of tiny fix to get rid of some errors, and now I am trying to execute it without installation.

It seems to work well from the source directory when I run the command "GIMP2_DATADIR=$(pwd) app/gimp-2.10", but (most of) the UI icons are replaced by papers with gray warning signs: See my attachment "no-icons_warn.png".

I suspected the icon management to be an XDG stuff, and since I noticed the icons are present in the "icon" sub-folder of the current directory, I prepended the command line with "XDG_DATA_DIRS=$(pwd)", which changed the icons but not in a way that pleased me: See my attachment "no-icons_cross.png".

I am far from being an expert about Gimp/GTK and FreeDesktop icon management, does somebody know why the icons are missing? Should I tell GIMP where to find them? How?

*** Note ***
The edition I made on the sources are unrelated, they are :

1. Replaced the line 1372 of the file "plug-ins/file-tiff/file-tiff-load.c" by something like
gdouble xfix, yfix; gimp_image_get_resolution(*image, &xfix, &yfix); xres = xfix; yres = yfix;

2. Replaced the line 2143 of the file "plug-ins/metadata/metadata-editor.c" by something like
if (!g_strv_contains((const gchar* const*)values, equiv_values[evi]))


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
Missing icons in GIMP 2.10 custom compilation - by Sadakokiri - 06-11-2025, 08:53 PM

Forum Jump: