After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139580 - Relocatability support for Gimp
Relocatability support for Gimp
Status: RESOLVED WONTFIX
Product: GIMP
Classification: Other
Component: General
2.0.x
Other Linux
: High enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-09 12:40 UTC by Hongli Lai
Modified: 2004-09-29 22:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Mostly completed patch; please review (13.06 KB, patch)
2004-04-09 12:42 UTC, Hongli Lai
none Details | Review

Description Hongli Lai 2004-04-09 12:40:37 UTC
On Win32, Gimp is relocatable. It can find out it's own path at runtime and find
out where it's data files are. On Linux, all paths in Gimp are hardcoded at
compile time. This means the app is not relocatable.

I work for the autopackage project (http://autopackage.org/), a new installation
system for Linux. One of the features of autopackage is that packages can be
installed to any prefix (although that's not recommended), which means the
software must be relocatable. I'm currently maintaing the Gimp package (mainly
for testing purposes) and it is important that Gimp is relocatable.

I modified Gimp to make it relocatable on Linux. It utilizes a special version
on BinReloc: http://autopackage.org/docs/binreloc/
This relocability on Linux support does not harm portability because it's
autodetect in configure.
Here's a patch against 2.0.0. It's mostly finished (though not 100%). I'd like
this patch to be reviewed.
Comment 1 Hongli Lai 2004-04-09 12:42:56 UTC
Created attachment 26521 [details] [review]
Mostly completed patch; please review
Comment 2 Sven Neumann 2004-04-09 13:29:21 UTC
I've answered on the gimp-developer mailing-list. Let's keep the discussion there.
Comment 3 weskaggs 2004-09-28 21:49:30 UTC
Closing as WONTFIX based on discussion.  If this needs to be reconsidered,
please re-open the bug report.