Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

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

olopert - August 20, 2006 - 5:48pm

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


( categories: )

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!