Relocation Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Techniques: | |||
* KDE Applications | |||
** [http://api.kde.org/4.0-api/kdelibs-apidocs/kdecore/html/classKStandardDirs.html KStandardDirs] class | |||
Interesting resources: | Interesting resources: | ||
* Relocation macros in the Autoconf Macro Archive | * Relocation macros in the Autoconf Macro Archive | ||
** [http://www.gnu.org/software/autoconf-archive/ax_compute_relative_paths.html AX_COMPUTE_RELATIVE_PATHS(PATH-LIST)] | |||
** [http://www.gnu.org/software/autoconf-archive/ax_compute_standard_relative_paths.html AX_COMPUTE_STANDARD_RELATIVE_PATHS] | |||
* Autopackage project | * Autopackage project | ||
** Apbuild / Apgcc | ** Apbuild / Apgcc | ||
Line 7: | Line 13: | ||
* 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. | * 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. | * For .NET software using the Mono framework, see http://www.mono-project.com/Guidelines:Application_Deployment#Relocation. | ||
* [http://wp.colliertech.org/cj/?p=164 Producing relocatable packages with the GNU build system] | |||
* [http://pycage.blogspot.com/2007/12/tablet-python-1-relocatable-software.html Tablet Python #1 - Relocatable Software] | |||
* [http://rpm.org/max-rpm/s1-rpm-reloc-wrinkles.html Relocatable Wrinkles: Things to Consider] | |||
* [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://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