[Pkg-mono-devel] CLI packaging: glue module location?

Steve M. Robbins steve at sumost.ca
Fri Apr 10 04:23:58 UTC 2009


Hi again,

On Thu, Apr 09, 2009 at 11:07:19PM -0500, Steve M. Robbins wrote:

> The shared lib is not intended as a link library so it shouldn't
> really be in /usr/lib but, rather, in a directory that all cli-based
> programs have in their library path.  For example, similar glue code
> modules for python modules can be placed in
> /usr/lib/pymodules/pythonX.Y.  Is there such a directory for C#?  I
> had a look at the CLI Policy document [1] but did not see any suitable
> advice.

As often happens, right after sending a question like this, I find
that the answer was right there [1] in the document I had cited :-/

So ... is this advice still valid for the new mono layout [2] ?  And
for non-GAC stuff, should everything be in /usr/lib/package or
/usr/lib/cli/package?  The policy [2] is a bit confusing on that
point:

    3.1.2 File Locations

    The package's applications, libraries and meta-data must be
    installed into /usr/lib/upstream_package_name.

    [...]

    Never install native "glue" libraries into /usr/lib, instead
    install them at /usr/lib/cli/upstream_package_name-X.Y. When
    moving libraries update the references to the new location using a
    DLL Map. See the Mono DLL maps secion for an example.



Thanks,
-Steve


[1] http://pkg-mono.alioth.debian.org/cli-policy/ch-packaging.html#s-file-locations
[2] http://wiki.debian.org/Teams/DebianMonoGroup/Mono20Transition


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20090409/d9411bad/attachment.pgp>


More information about the Pkg-mono-devel mailing list