Relocation Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Techniques: | Techniques: | ||
* KDE Applications | * KDE Applications | ||
** KStandardDirs class | ** [http://api.kde.org/4.0-api/kdelibs-apidocs/kdecore/html/classKStandardDirs.html KStandardDirs] class | ||
Interesting resources: | Interesting resources: | ||
Line 18: | Line 18: | ||
* [http://osdir.com/ml/lib.gnulib.bugs/2003-03/msg00020.html relocatable packages] | * [http://osdir.com/ml/lib.gnulib.bugs/2003-03/msg00020.html relocatable packages] | ||
* [http://lackingrhoticity.blogspot.com/2008/10/making-relocatable-packages-with.html Making relocatable packages with JHBuild] - this discusses search/replace hacks, and talks specifically about how [http://www.nixos.org/ nix] does it with their /nix/store/...<hash>... paths. | * [http://lackingrhoticity.blogspot.com/2008/10/making-relocatable-packages-with.html Making relocatable packages with JHBuild] - this discusses search/replace hacks, and talks specifically about how [http://www.nixos.org/ nix] does it with their /nix/store/...<hash>... paths. | ||
* [http://www.itee.uq.edu.au/~daniel/using_origin/ Using ORIGIN for a dynamic runtime library search path] |
Latest revision as of 17:44, 10 March 2010
Techniques:
- KDE Applications
- KStandardDirs class
Interesting resources:
- Relocation macros in the Autoconf Macro Archive
- Autopackage project
- Apbuild / Apgcc
- Guide to Making Relocatable Applications (BinReloc 2.0)
- Gnulib relocation macro(s)
- The nixpkgs project uses a few techniques for working around relocation issues, but the main one appears to be a "wrapper generator" script to create wrappers that set env vars.
- For .NET software using the Mono framework, see http://www.mono-project.com/Guidelines:Application_Deployment#Relocation.
- Producing relocatable packages with the GNU build system
- Tablet Python #1 - Relocatable Software
- Relocatable Wrinkles: Things to Consider
- relocatable packages
- Making relocatable packages with JHBuild - this discusses search/replace hacks, and talks specifically about how nix does it with their /nix/store/...<hash>... paths.
- Using ORIGIN for a dynamic runtime library search path