Post Reply 

GIMP 2.6.12: Unexpected %USERPROFILE%\Documents\gegl-0.0\plug-ins folder

Mar 9, 2012, 10:14 (This post was last modified: Mar 9, 2012 12:00 by berix.)
Post: #1
GIMP 2.6.12: Unexpected %USERPROFILE%\Documents\gegl-0.0\plug-ins folder
I've just installed GIMP 2.6.12 on a Win 7 system. Everything looks OK except for two directory locations Gimp uses.

Firstly I noticed the %USERPROFILE%\.gimp-2.6 folder created in the user's home directory. I'd rather expect it created in some directory like %USERPROFILE%\AppData\Roaming\Gimp.
I fortunately found out a solution as commented in the setup file C:\Program Files (x86)\GIMP-2.0\etc\gimp\2.0\gimprc which states :

"The variable ${gimp_dir} is set to the value of the environment variable GIMP2_DIRECTORY or, if that is not set, the compiled-in default value is used. If GIMP2_DIRECTORY is not an absolute path, it is interpreted relative to your home directory."

So I defined one environment variable to redirect that .gimp-2.6 folder to a more appropriate location:

GIMP2_DIRECTORY = "%USERPROFILE%\AppData\Roaming\Gimp"

This works nice and %USERPROFILE%\.gimp-2.6 is no longer used by Gimp and every data are now in "%USERPROFILE%\AppData\Roaming\Gimp.

So far so good. But one another annoyance remains. Program C:\Program Files (x86)\GIMP-2.0\bin\gimp-2.6.exe creates (or re-creates whenever deleted) a folder %USERPROFILE%\Documents\gegl-0.0\plug-ins every time it is launched. That folder contains a Makefile file, nothing else, that reads:

# This is a generic makefile for GEGL operations. Just add .c files,
# rename mentions of the filename and opname to the new name, and it should
# compile. Operations in this dir should be loaded by GEGL by default
# If the operation being written depends on extra libraries, you'd better
# add a dedicated target with the extra bits linked in.


CFLAGS += `pkg-config gegl --cflags` -I. -fPIC
SHREXT=.so
CFILES = $(wildcard ./*.c)
SOBJS = $(subst ./,,$(CFILES:.c=$(SHREXT)))
all: $(SOBJS)
%$(SHREXT): %.c $(GEGLHEADERS)
@echo $@; $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDADD)
clean:
rm -f *$(SHREXT) $(OFILES)



Why is this Makefile stored in the %USERPROFILE%\Documents directory instead of in %USERPROFILE%\.gimp-2.6 or as directed by the GIMP2_DIRECTORY variable ?

I've read many pages throughout the web and saw this is a common issue since a long time but cannot find one solution to get rid of that \gegl-0.0 folder stored in the Documents directory that is quite an inappropriate location in a Win7 environment.

Can anyone help with this problem ?
Find all posts by this user
Quote this message in a reply
Mar 9, 2012, 13:46
Post: #2
RE: GIMP 2.6.12: Unexpected %USERPROFILE%\Documents\gegl-0.0\plug-ins folder
It isn't really a "problem" since Gimp has several million users on Windows who live with the current setup. I do agree that from a system admin point of view, not using Application data and "Local data" (or is it "local settings"?) makes it difficult for roaming users on a Windows domain; but this isn't really the targeted audience of Gimp. Gimp comes from Linux where its way of doing things is completely standard (and, IMHO, much better done than in Windows, where things are always more complicated that they should).

The recent Windows versions of Gimp (2.7 and coming 2.8)(and this includes babl/gegl) are built & distributed by an individual going by the name "partha" (http://www.partha.com) and you could b able to convince him to do things the Windows way. Changing releases will anyway mean that we are going to use a new Gimp profile anyway.

partha shows up on the Gimp developers mailing list (see http://www.gimp.org/mail_lists.html) and on gimpchat.com.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  "Open Image" change default folder and thumbnail view? Dave001 1 64 Aug 15, 2017 19:56
Last Post: ofnuts
Tongue Installing GIMP User Manual ozdoug 2 63 Aug 9, 2017 00:54
Last Post: ozdoug
  Running GIMP from cmd without new window appearing llipowicz 2 106 Jun 27, 2017 15:07
Last Post: ythgilb
  GIMP crashed, and all my saved changes are gone LostGoldfish 1 128 Jun 23, 2017 13:20
Last Post: ythgilb
  GIMP 2.6 won't uninstall maxwelldm 2 225 Oct 11, 2014 01:00
Last Post: maxwelldm

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS