You are here

How to fix PortableGimp to work on your USB drive - GTK problems and plugins

2 posts / 0 new
Last post
olopert
Offline
Last seen: 17 years 1 month ago
Joined: 2006-08-20 18:40
How to fix PortableGimp to work on your USB drive - GTK problems and plugins

This is a program that I simply must have - So I fixed it.
Giving back to the open source community - enjoy.

********************************************************************************
Copy the folder contents of PortableGIMPCode into PortableGIMP
Then, delete the PortableGIMPCode folder - no longer needed

********************************************************************************
Open PortableGimp.txt file
------------------
changed the g to a b

from this:
GTKDirectory=gtk\gin

to this:
GTKDirectory=gtk\bin

********************************************************************************
Open PortableGimp.nsi file (ini file)
-----------------
changed the following lines 29,30 - the path way slashes are backwards

from this:
!define DEFAULTAPPDIR "gimp/bin"
!define DEFAULTGTKDIR "gtk/bin"

to this:
!define DEFAULTAPPDIR "gimp\bin"
!define DEFAULTGTKDIR "gtk\bin"

********************************************************************************
Comment out the following lines 166,167,168

; InitPluginsDir
; File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"
; newadvsplash::show /NOUNLOAD 2000 200 200 -1 /L $PLUGINSDIR\splash.jpg

********************************************************************************
Change line 205 - delete the last dollar sign

from this:
StrCpy $R0 "$GTKDIRECTORY;$PROGRAMDIRECTORY;$R0"

to this:
StrCpy $R0 "$GTKDIRECTORY;$PROGRAMDIRECTORY;R0"
********************************************************************************
You need to recompile the NSIS Script with no errors
Download the NSIS compiler here: http://nsis.sourceforge.net/Main_Page

********************************************************************************
This is my folder structure on my usb flash drive

- Drive Letter
+ PortableApps
+PortableGimp

Regards,
Oscar

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 57 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
GIMP Portable 2.2.12 Pre-Release

Thanks for the effort, but I believe most issues have been fixed by the GIMP Portable 2.2.12 Pre-Release. Please give that a try.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked