chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] deprecate chicken-home


From: felix . winkelmann
Subject: [PATCH] deprecate chicken-home
Date: Mon, 22 Jan 2024 21:55:50 +0100

Currently "chicken-home" can be used to obtain the location for
sundry "data" files installed by eggs and usually required at runtime.
This location may need to be changed when installing eggs into
custom locations or when a CHICKEN installation via package
manager uses a non-writable directory.

The attached patch deprecates "chicken-home" in favor of using
the include-path, which is already changable (via environment
variable) and also can hold several locations which makes it possible
to have a set of possible locations, probably in addition to the
default system directory (usually $PREFIX/share/chicken),
quite similar to the repository-path.

This patch addes "include-path" as a quasi-replacement for
"chicken-home" (also chicken.platform module). Eggs that want to
operate on installed data files at run-time should use "include-path"
from now on to locate any files, or, if they wish to be backwards
compatible, can access the variable "##sys#include-pathnames"
as a temporary workaround.


felix


Attachment: 0001-Deprecate-chicken-home-add-include-path.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]